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MACM2a,ECtBiBC,EAAEpvB,EAAUqvB,KACnC,IAAIC,EAAY,KAChB,MAAO,IAAKh8C,KACX5E,OAAO6gD,aAAcD,GACrBA,EAAY5gD,OAAOua,YAAY,KAC9B+W,EAASntB,MAAO,KAAMS,EAAM,GDiBc,GChB/B,CACZ,EDewB87C,CAAU5a,GAGnCrqC,SAAS2e,iBAvBmB,+BAuBqBqmC,GAGjDhlD,SAASk2B,KAAKvX,iBAAkB,sBAAuBqmC,GACvDhlD,SAASk2B,KAAKvX,iBAAkB,mBAAoBqmC,GAGpDlmC,YAAY,KACX9e,SAASk2B,KAAKvX,iBACb,sBACAqmC,GAEDhlD,SAASk2B,KAAKvX,iBACb,yBACAqmC,EACA,GAnBwB,IAqB3B,ED7BCK,EAAmB,WACbN,GACJA,EAAQD,QAEV,IAEA9kD,SAAS2e,iBAAkB,oBAAoB,WAC9C,QACyB,IAAjBmlB,QACe,IAAfC,EAFR,CAMA,IAAMuhB,EAAavhB,EAAWwhB,0BACxBC,EAAWnuB,EAAQ,IAAMyM,EAAawT,OAAOn3B,SAAU3qB,OAAS,EAGtE,GAAO8vD,GAAgBE,EAAvB,CAIA,IAAIC,GAAe,EACfC,GAAe,EACfC,GAAiB,EAEfC,EAAY,YACVH,GAAgBC,GAAgBC,IACtCF,GAAe,GA/BjBV,EAAU,IAAIN,GAAiB3gB,EAAcC,IACrC7f,OAiCR,EAGA4O,EAAkB,CAAEG,IAAK6Q,EAAa+hB,UAAY9zC,MAAM,WACvD4zC,GAAiB,EACjBC,GACD,IAGA1rB,EAAkB6J,GAAY,WAC7B2hB,GAAe,EACfE,GACD,GAvBA,CAPA,CA+BD,GACA,CApDD,CAoDK,CACJ9hB,aAAcv/B,OAAOuhD,iBACrB/hB,WAAYx/B,OAAOk5B,sBACnBpG,OAAQ9yB,OAAO8yB","sources":["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/advance-string-index.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-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-simple.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/base64-map.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/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-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-all.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-exception-constants.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/engine-ff-version.js","webpack://ppcp-applepay/./node_modules/core-js/internals/engine-is-browser.js","webpack://ppcp-applepay/./node_modules/core-js/internals/engine-is-deno.js","webpack://ppcp-applepay/./node_modules/core-js/internals/engine-is-ie-or-edge.js","webpack://ppcp-applepay/./node_modules/core-js/internals/engine-is-ios-pebble.js","webpack://ppcp-applepay/./node_modules/core-js/internals/engine-is-ios.js","webpack://ppcp-applepay/./node_modules/core-js/internals/engine-is-node.js","webpack://ppcp-applepay/./node_modules/core-js/internals/engine-is-webos-webkit.js","webpack://ppcp-applepay/./node_modules/core-js/internals/engine-user-agent.js","webpack://ppcp-applepay/./node_modules/core-js/internals/engine-v8-version.js","webpack://ppcp-applepay/./node_modules/core-js/internals/engine-webkit-version.js","webpack://ppcp-applepay/./node_modules/core-js/internals/enum-bug-keys.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/error-to-string.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/fix-regexp-well-known-symbol-logic.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-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/get-substitution.js","webpack://ppcp-applepay/./node_modules/core-js/internals/global.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-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-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-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-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-abstract.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/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-node-require.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/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-primitive.js","webpack://ppcp-applepay/./node_modules/core-js/modules/es.error.cause.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-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.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.iterator.js","webpack://ppcp-applepay/./node_modules/core-js/modules/es.string.replace.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/web.btoa.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.dom-exception.constructor.js","webpack://ppcp-applepay/./node_modules/core-js/modules/web.dom-exception.stack.js","webpack://ppcp-applepay/./node_modules/core-js/modules/web.dom-exception.to-string-tag.js","webpack://ppcp-applepay/../ppcp-button/node_modules/deepmerge/dist/cjs.js","webpack://ppcp-applepay/webpack/bootstrap","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/./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/../ppcp-button/resources/js/modules/DataClientIdAttributeHandler.js","webpack://ppcp-applepay/../ppcp-button/resources/js/modules/Renderer/WidgetBuilder.js","webpack://ppcp-applepay/../ppcp-button/resources/js/modules/Helper/Utils.js","webpack://ppcp-applepay/../ppcp-button/resources/js/modules/Helper/CheckoutMethodState.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/ScriptLoading.js","webpack://ppcp-applepay/../ppcp-button/resources/js/modules/ButtonModuleWatcher.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/FormHelper.js","webpack://ppcp-applepay/../ppcp-button/resources/js/modules/ActionHandler/SingleProductActionHandler.js","webpack://ppcp-applepay/../ppcp-button/resources/js/modules/Helper/CartHelper.js","webpack://ppcp-applepay/../ppcp-button/resources/js/modules/ErrorHandler.js","webpack://ppcp-applepay/./resources/js/Context/BaseHandler.js","webpack://ppcp-applepay/../ppcp-button/resources/js/modules/ActionHandler/CartActionHandler.js","webpack://ppcp-applepay/./resources/js/Context/SingleProductHandler.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/./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/Helper/FormValidator.js","webpack://ppcp-applepay/../ppcp-button/resources/js/modules/Helper/CheckoutFormValidation.js","webpack://ppcp-applepay/../ppcp-button/resources/js/modules/ActionHandler/CheckoutActionHandler.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/Helper/applePayError.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/Helper/ApmButtons.js","webpack://ppcp-applepay/./resources/js/ApplepayButton.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":["var 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 $TypeError(tryToString(argument) + ' is not a function');\n};\n","var 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 $TypeError(tryToString(argument) + ' is not a constructor');\n};\n","var isCallable = require('../internals/is-callable');\n\nvar $String = String;\nvar $TypeError = TypeError;\n\nmodule.exports = function (argument) {\n if (typeof argument == 'object' || isCallable(argument)) return argument;\n throw $TypeError(\"Can't set \" + $String(argument) + ' as a prototype');\n};\n","var 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 charAt = require('../internals/string-multibyte').charAt;\n\n// `AdvanceStringIndex` abstract operation\n// https://tc39.es/ecma262/#sec-advancestringindex\nmodule.exports = function (S, index, unicode) {\n return index + (unicode ? charAt(S, index).length : 1);\n};\n","var 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 $TypeError('Incorrect invocation');\n};\n","var 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 $TypeError($String(argument) + ' is not an object');\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 iterator = getIterator(O, iteratorMethod);\n next = iterator.next;\n result = IS_CONSTRUCTOR ? new this() : [];\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","var 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 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","var 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 boundFunction = bind(callbackfn, that);\n var length = lengthOfArrayLike(self);\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","var fails = require('../internals/fails');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar V8_VERSION = require('../internals/engine-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 $TypeError('Cannot set read only .length');\n } return O.length = length;\n} : function (O, length) {\n return O.length = length;\n};\n","var toAbsoluteIndex = require('../internals/to-absolute-index');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar createProperty = require('../internals/create-property');\n\nvar $Array = Array;\nvar max = Math.max;\n\nmodule.exports = function (O, start, end) {\n var length = lengthOfArrayLike(O);\n var k = toAbsoluteIndex(start, length);\n var fin = toAbsoluteIndex(end === undefined ? length : end, length);\n var result = $Array(max(fin - k, 0));\n for (var n = 0; k < fin; k++, n++) createProperty(result, n, O[k]);\n result.length = n;\n return result;\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\n\nmodule.exports = uncurryThis([].slice);\n","var arraySlice = require('../internals/array-slice-simple');\n\nvar floor = Math.floor;\n\nvar mergeSort = function (array, comparefn) {\n var length = array.length;\n var middle = floor(length / 2);\n return length < 8 ? insertionSort(array, comparefn) : merge(\n array,\n mergeSort(arraySlice(array, 0, middle), comparefn),\n mergeSort(arraySlice(array, middle), comparefn),\n comparefn\n );\n};\n\nvar insertionSort = function (array, comparefn) {\n var length = array.length;\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 } return array;\n};\n\nvar merge = function (array, left, right, 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 } return array;\n};\n\nmodule.exports = mergeSort;\n","var 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","var 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","var itoc = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=';\nvar ctoi = {};\n\nfor (var index = 0; index < 66; index++) ctoi[itoc.charAt(index)] = index;\n\nmodule.exports = {\n itoc: itoc,\n ctoi: ctoi\n};\n","var 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","var 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 if (!SKIP_CLOSING && !SAFE_CLOSING) return false;\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","var 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","var 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","var 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","var 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","// `CreateIterResultObject` abstract operation\n// https://tc39.es/ecma262/#sec-createiterresultobject\nmodule.exports = function (value, done) {\n return { value: value, done: done };\n};\n","var 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","module.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 toPropertyKey = require('../internals/to-property-key');\nvar definePropertyModule = require('../internals/object-define-property');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\n\nmodule.exports = function (object, key, value) {\n var propertyKey = toPropertyKey(key);\n if (propertyKey in object) definePropertyModule.f(object, propertyKey, createPropertyDescriptor(0, value));\n else object[propertyKey] = 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 $TypeError('Incorrect hint');\n return ordinaryToPrimitive(this, hint);\n};\n","var 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","var 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","var global = require('../internals/global');\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(global, key, { value: value, configurable: true, writable: true });\n } catch (error) {\n global[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 $TypeError('Cannot delete property ' + tryToString(P) + ' of ' + tryToString(O));\n};\n","var 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","var documentAll = typeof document == 'object' && document.all;\n\n// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot\n// eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing\nvar IS_HTMLDDA = typeof documentAll == 'undefined' && documentAll !== undefined;\n\nmodule.exports = {\n all: documentAll,\n IS_HTMLDDA: IS_HTMLDDA\n};\n","var global = require('../internals/global');\nvar isObject = require('../internals/is-object');\n\nvar document = global.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","var $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","module.exports = {\n IndexSizeError: { s: 'INDEX_SIZE_ERR', c: 1, m: 1 },\n DOMStringSizeError: { s: 'DOMSTRING_SIZE_ERR', c: 2, m: 0 },\n HierarchyRequestError: { s: 'HIERARCHY_REQUEST_ERR', c: 3, m: 1 },\n WrongDocumentError: { s: 'WRONG_DOCUMENT_ERR', c: 4, m: 1 },\n InvalidCharacterError: { s: 'INVALID_CHARACTER_ERR', c: 5, m: 1 },\n NoDataAllowedError: { s: 'NO_DATA_ALLOWED_ERR', c: 6, m: 0 },\n NoModificationAllowedError: { s: 'NO_MODIFICATION_ALLOWED_ERR', c: 7, m: 1 },\n NotFoundError: { s: 'NOT_FOUND_ERR', c: 8, m: 1 },\n NotSupportedError: { s: 'NOT_SUPPORTED_ERR', c: 9, m: 1 },\n InUseAttributeError: { s: 'INUSE_ATTRIBUTE_ERR', c: 10, m: 1 },\n InvalidStateError: { s: 'INVALID_STATE_ERR', c: 11, m: 1 },\n SyntaxError: { s: 'SYNTAX_ERR', c: 12, m: 1 },\n InvalidModificationError: { s: 'INVALID_MODIFICATION_ERR', c: 13, m: 1 },\n NamespaceError: { s: 'NAMESPACE_ERR', c: 14, m: 1 },\n InvalidAccessError: { s: 'INVALID_ACCESS_ERR', c: 15, m: 1 },\n ValidationError: { s: 'VALIDATION_ERR', c: 16, m: 0 },\n TypeMismatchError: { s: 'TYPE_MISMATCH_ERR', c: 17, m: 1 },\n SecurityError: { s: 'SECURITY_ERR', c: 18, m: 1 },\n NetworkError: { s: 'NETWORK_ERR', c: 19, m: 1 },\n AbortError: { s: 'ABORT_ERR', c: 20, m: 1 },\n URLMismatchError: { s: 'URL_MISMATCH_ERR', c: 21, m: 1 },\n QuotaExceededError: { s: 'QUOTA_EXCEEDED_ERR', c: 22, m: 1 },\n TimeoutError: { s: 'TIMEOUT_ERR', c: 23, m: 1 },\n InvalidNodeTypeError: { s: 'INVALID_NODE_TYPE_ERR', c: 24, m: 1 },\n DataCloneError: { s: 'DATA_CLONE_ERR', c: 25, m: 1 }\n};\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","// 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","var userAgent = require('../internals/engine-user-agent');\n\nvar firefox = userAgent.match(/firefox\\/(\\d+)/i);\n\nmodule.exports = !!firefox && +firefox[1];\n","var IS_DENO = require('../internals/engine-is-deno');\nvar IS_NODE = require('../internals/engine-is-node');\n\nmodule.exports = !IS_DENO && !IS_NODE\n && typeof window == 'object'\n && typeof document == 'object';\n","/* global Deno -- Deno case */\nmodule.exports = typeof Deno == 'object' && Deno && typeof Deno.version == 'object';\n","var UA = require('../internals/engine-user-agent');\n\nmodule.exports = /MSIE|Trident/.test(UA);\n","var userAgent = require('../internals/engine-user-agent');\n\nmodule.exports = /ipad|iphone|ipod/i.test(userAgent) && typeof Pebble != 'undefined';\n","var userAgent = require('../internals/engine-user-agent');\n\n// eslint-disable-next-line redos/no-vulnerable -- safe\nmodule.exports = /(?:ipad|iphone|ipod).*applewebkit/i.test(userAgent);\n","var classof = require('../internals/classof-raw');\n\nmodule.exports = typeof process != 'undefined' && classof(process) == 'process';\n","var userAgent = require('../internals/engine-user-agent');\n\nmodule.exports = /web0s(?!.*chrome)/i.test(userAgent);\n","module.exports = typeof navigator != 'undefined' && String(navigator.userAgent) || '';\n","var global = require('../internals/global');\nvar userAgent = require('../internals/engine-user-agent');\n\nvar process = global.process;\nvar Deno = global.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","var userAgent = require('../internals/engine-user-agent');\n\nvar webkit = userAgent.match(/AppleWebKit\\/(\\d+)\\./);\n\nmodule.exports = !!webkit && +webkit[1];\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","var uncurryThis = require('../internals/function-uncurry-this');\n\nvar $Error = Error;\nvar replace = uncurryThis(''.replace);\n\nvar TEST = (function (arg) { return String($Error(arg).stack); })('zxcasd');\n// eslint-disable-next-line redos/no-vulnerable -- 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","var 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","var fails = require('../internals/fails');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\n\nmodule.exports = !fails(function () {\n var error = 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 DESCRIPTORS = require('../internals/descriptors');\nvar fails = require('../internals/fails');\nvar anObject = require('../internals/an-object');\nvar create = require('../internals/object-create');\nvar normalizeStringArgument = require('../internals/normalize-string-argument');\n\nvar nativeErrorToString = Error.prototype.toString;\n\nvar INCORRECT_TO_STRING = fails(function () {\n if (DESCRIPTORS) {\n // Chrome 32- incorrectly call accessor\n // eslint-disable-next-line es/no-object-defineproperty -- safe\n var object = create(Object.defineProperty({}, 'name', { get: function () {\n return this === object;\n } }));\n if (nativeErrorToString.call(object) !== 'true') return true;\n }\n // FF10- does not properly handle non-strings\n return nativeErrorToString.call({ message: 1, name: 2 }) !== '2: 1'\n // IE8 does not properly handle defaults\n || nativeErrorToString.call({}) !== 'Error';\n});\n\nmodule.exports = INCORRECT_TO_STRING ? function toString() {\n var O = anObject(this);\n var name = normalizeStringArgument(O.name, 'Error');\n var message = normalizeStringArgument(O.message);\n return !name ? message : !message ? name : name + ': ' + message;\n} : nativeErrorToString;\n","var global = require('../internals/global');\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 = global;\n } else if (STATIC) {\n target = global[TARGET] || defineGlobalProperty(TARGET, {});\n } else {\n target = (global[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","module.exports = function (exec) {\n try {\n return !!exec();\n } catch (error) {\n return true;\n }\n};\n","'use strict';\n// TODO: Remove from `core-js@4` since it's moved to entry points\nrequire('../modules/es.regexp.exec');\nvar uncurryThis = require('../internals/function-uncurry-this-clause');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar regexpExec = require('../internals/regexp-exec');\nvar fails = require('../internals/fails');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\n\nvar SPECIES = wellKnownSymbol('species');\nvar RegExpPrototype = RegExp.prototype;\n\nmodule.exports = function (KEY, exec, FORCED, SHAM) {\n var SYMBOL = wellKnownSymbol(KEY);\n\n var DELEGATES_TO_SYMBOL = !fails(function () {\n // String methods call symbol-named RegEp methods\n var O = {};\n O[SYMBOL] = function () { return 7; };\n return ''[KEY](O) != 7;\n });\n\n var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails(function () {\n // Symbol-named RegExp methods call .exec\n var execCalled = false;\n var re = /a/;\n\n if (KEY === 'split') {\n // We can't use real regex here since it causes deoptimization\n // and serious performance degradation in V8\n // https://github.com/zloirock/core-js/issues/306\n re = {};\n // RegExp[@@split] doesn't call the regex's exec method, but first creates\n // a new one. We need to return the patched regex when creating the new one.\n re.constructor = {};\n re.constructor[SPECIES] = function () { return re; };\n re.flags = '';\n re[SYMBOL] = /./[SYMBOL];\n }\n\n re.exec = function () { execCalled = true; return null; };\n\n re[SYMBOL]('');\n return !execCalled;\n });\n\n if (\n !DELEGATES_TO_SYMBOL ||\n !DELEGATES_TO_EXEC ||\n FORCED\n ) {\n var uncurriedNativeRegExpMethod = uncurryThis(/./[SYMBOL]);\n var methods = exec(SYMBOL, ''[KEY], function (nativeMethod, regexp, str, arg2, forceStringMethod) {\n var uncurriedNativeMethod = uncurryThis(nativeMethod);\n var $exec = regexp.exec;\n if ($exec === regexpExec || $exec === RegExpPrototype.exec) {\n if (DELEGATES_TO_SYMBOL && !forceStringMethod) {\n // The native String method already delegates to @@method (this\n // polyfilled function), leasing to infinite recursion.\n // We avoid it by directly calling the native @@method method.\n return { done: true, value: uncurriedNativeRegExpMethod(regexp, str, arg2) };\n }\n return { done: true, value: uncurriedNativeMethod(str, regexp, arg2) };\n }\n return { done: false };\n });\n\n defineBuiltIn(String.prototype, KEY, methods[0]);\n defineBuiltIn(RegExpPrototype, SYMBOL, methods[1]);\n }\n\n if (SHAM) createNonEnumerableProperty(RegExpPrototype[SYMBOL], 'sham', true);\n};\n","var 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","var 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","var 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 for (var list = [], i = 0; 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","var 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","var 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","var 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","var 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","var 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","var global = require('../internals/global');\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(global[namespace]) : global[namespace] && global[namespace][method];\n};\n","var 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","var 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 $TypeError(tryToString(argument) + ' is not iterable');\n};\n","var 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","var 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","var uncurryThis = require('../internals/function-uncurry-this');\nvar toObject = require('../internals/to-object');\n\nvar floor = Math.floor;\nvar charAt = uncurryThis(''.charAt);\nvar replace = uncurryThis(''.replace);\nvar stringSlice = uncurryThis(''.slice);\n// eslint-disable-next-line redos/no-vulnerable -- safe\nvar SUBSTITUTION_SYMBOLS = /\\$([$&'`]|\\d{1,2}|<[^>]*>)/g;\nvar SUBSTITUTION_SYMBOLS_NO_NAMED = /\\$([$&'`]|\\d{1,2})/g;\n\n// `GetSubstitution` abstract operation\n// https://tc39.es/ecma262/#sec-getsubstitution\nmodule.exports = function (matched, str, position, captures, namedCaptures, replacement) {\n var tailPos = position + matched.length;\n var m = captures.length;\n var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED;\n if (namedCaptures !== undefined) {\n namedCaptures = toObject(namedCaptures);\n symbols = SUBSTITUTION_SYMBOLS;\n }\n return replace(replacement, symbols, function (match, ch) {\n var capture;\n switch (charAt(ch, 0)) {\n case '$': return '$';\n case '&': return matched;\n case '`': return stringSlice(str, 0, position);\n case \"'\": return stringSlice(str, tailPos);\n case '<':\n capture = namedCaptures[stringSlice(ch, 1, -1)];\n break;\n default: // \\d\\d?\n var n = +ch;\n if (n === 0) return match;\n if (n > m) {\n var f = floor(n / 10);\n if (f === 0) return match;\n if (f <= m) return captures[f - 1] === undefined ? charAt(ch, 1) : captures[f - 1] + charAt(ch, 1);\n return match;\n }\n capture = captures[n - 1];\n }\n return capture === undefined ? '' : capture;\n });\n};\n","var 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 // eslint-disable-next-line no-new-func -- fallback\n (function () { return this; })() || this || Function('return this')();\n","var 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","module.exports = {};\n","module.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","var getBuiltIn = require('../internals/get-built-in');\n\nmodule.exports = getBuiltIn('document', 'documentElement');\n","var 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","var 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","var 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","var 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 `core-js@3.4.1-3.4.4`, 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","var 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","var NATIVE_WEAK_MAP = require('../internals/weak-map-basic-detection');\nvar global = require('../internals/global');\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 = global.TypeError;\nvar WeakMap = global.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 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 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 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","var 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","var 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","var $documentAll = require('../internals/document-all');\n\nvar documentAll = $documentAll.all;\n\n// `IsCallable` abstract operation\n// https://tc39.es/ecma262/#sec-iscallable\nmodule.exports = $documentAll.IS_HTMLDDA ? function (argument) {\n return typeof argument == 'function' || argument === documentAll;\n} : function (argument) {\n return typeof argument == 'function';\n};\n","var 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 empty = [];\nvar construct = getBuiltIn('Reflect', 'construct');\nvar constructorRegExp = /^\\s*(?:class|function)\\b/;\nvar exec = uncurryThis(constructorRegExp.exec);\nvar INCORRECT_TO_STRING = !constructorRegExp.exec(noop);\n\nvar isConstructorModern = function isConstructor(argument) {\n if (!isCallable(argument)) return false;\n try {\n construct(noop, empty, 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","var 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","// 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","var isCallable = require('../internals/is-callable');\nvar $documentAll = require('../internals/document-all');\n\nvar documentAll = $documentAll.all;\n\nmodule.exports = $documentAll.IS_HTMLDDA ? function (it) {\n return typeof it == 'object' ? it !== null : isCallable(it) || it === documentAll;\n} : function (it) {\n return typeof it == 'object' ? it !== null : isCallable(it);\n};\n","module.exports = false;\n","var 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","var 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 $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","var 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 in IterablePrototype) return IterablePrototype[KIND];\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 } 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","module.exports = {};\n","var 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","var 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","var 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","var global = require('../internals/global');\nvar bind = require('../internals/function-bind-context');\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar macrotask = require('../internals/task').set;\nvar Queue = require('../internals/queue');\nvar IS_IOS = require('../internals/engine-is-ios');\nvar IS_IOS_PEBBLE = require('../internals/engine-is-ios-pebble');\nvar IS_WEBOS_WEBKIT = require('../internals/engine-is-webos-webkit');\nvar IS_NODE = require('../internals/engine-is-node');\n\nvar MutationObserver = global.MutationObserver || global.WebKitMutationObserver;\nvar document = global.document;\nvar process = global.process;\nvar Promise = global.Promise;\n// Node.js 11 shows ExperimentalWarning on getting `queueMicrotask`\nvar queueMicrotaskDescriptor = getOwnPropertyDescriptor(global, 'queueMicrotask');\nvar microtask = queueMicrotaskDescriptor && queueMicrotaskDescriptor.value;\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, global);\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 $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","var 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();\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","/* 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 activeXDocument = null; // avoid memory leak\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","var 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","var 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 $TypeError('Accessors not supported');\n if ('value' in Attributes) O[P] = Attributes.value;\n return O;\n};\n","var 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","/* 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-simple');\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","var 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","// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe\nexports.f = Object.getOwnPropertySymbols;\n","var 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","var uncurryThis = require('../internals/function-uncurry-this');\n\nmodule.exports = uncurryThis({}.isPrototypeOf);\n","var 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","var 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","/* eslint-disable no-proto -- safe */\nvar uncurryThisAccessor = require('../internals/function-uncurry-this-accessor');\nvar anObject = require('../internals/an-object');\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 anObject(O);\n aPossiblePrototype(proto);\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","var 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 $TypeError(\"Can't convert object to primitive value\");\n};\n","var 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","var global = require('../internals/global');\n\nmodule.exports = global;\n","module.exports = function (exec) {\n try {\n return { error: false, value: exec() };\n } catch (error) {\n return { error: true, value: error };\n }\n};\n","var global = require('../internals/global');\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 IS_BROWSER = require('../internals/engine-is-browser');\nvar IS_DENO = require('../internals/engine-is-deno');\nvar IS_PURE = require('../internals/is-pure');\nvar V8_VERSION = require('../internals/engine-v8-version');\n\nvar NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructor.prototype;\nvar SPECIES = wellKnownSymbol('species');\nvar SUBCLASSING = false;\nvar NATIVE_PROMISE_REJECTION_EVENT = isCallable(global.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 && (IS_BROWSER || IS_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","var global = require('../internals/global');\n\nmodule.exports = global.Promise;\n","var 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","var 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","var 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","var 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","var call = require('../internals/function-call');\nvar anObject = require('../internals/an-object');\nvar isCallable = require('../internals/is-callable');\nvar classof = require('../internals/classof-raw');\nvar regexpExec = require('../internals/regexp-exec');\n\nvar $TypeError = TypeError;\n\n// `RegExpExec` abstract operation\n// https://tc39.es/ecma262/#sec-regexpexec\nmodule.exports = function (R, S) {\n var exec = R.exec;\n if (isCallable(exec)) {\n var result = call(exec, R, S);\n if (result !== null) anObject(result);\n return result;\n }\n if (classof(R) === 'RegExp') return call(regexpExec, R, S);\n throw $TypeError('RegExp#exec called on incompatible receiver');\n};\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","var 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","var fails = require('../internals/fails');\nvar global = require('../internals/global');\n\n// babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError\nvar $RegExp = global.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","var fails = require('../internals/fails');\nvar global = require('../internals/global');\n\n// babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError\nvar $RegExp = global.RegExp;\n\nmodule.exports = fails(function () {\n var re = $RegExp('.', 's');\n return !(re.dotAll && re.exec('\\n') && re.flags === 's');\n});\n","var fails = require('../internals/fails');\nvar global = require('../internals/global');\n\n// babel-minify and Closure Compiler transpiles RegExp('(?b)', 'g') -> /(?b)/g and it causes SyntaxError\nvar $RegExp = global.RegExp;\n\nmodule.exports = fails(function () {\n var re = $RegExp('(?b)', 'g');\n return re.exec('b').groups.a !== 'b' ||\n 'b'.replace(re, '$c') !== 'bc';\n});\n","var 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 $TypeError(\"Can't call method on \" + it);\n return it;\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","var 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","var 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","var global = require('../internals/global');\nvar defineGlobalProperty = require('../internals/define-global-property');\n\nvar SHARED = '__core-js_shared__';\nvar store = global[SHARED] || defineGlobalProperty(SHARED, {});\n\nmodule.exports = store;\n","var IS_PURE = require('../internals/is-pure');\nvar store = require('../internals/shared-store');\n\n(module.exports = function (key, value) {\n return store[key] || (store[key] = value !== undefined ? value : {});\n})('versions', []).push({\n version: '3.31.0',\n mode: IS_PURE ? 'pure' : 'global',\n copyright: '© 2014-2023 Denis Pushkarev (zloirock.ru)',\n license: 'https://github.com/zloirock/core-js/blob/v3.31.0/LICENSE',\n source: 'https://github.com/zloirock/core-js'\n});\n","var 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","var 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","var 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","/* eslint-disable es/no-symbol -- required for testing */\nvar V8_VERSION = require('../internals/engine-v8-version');\nvar fails = require('../internals/fails');\nvar global = require('../internals/global');\n\nvar $String = global.String;\n\n// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing\nmodule.exports = !!Object.getOwnPropertySymbols && !fails(function () {\n var symbol = Symbol();\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","var 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","var NATIVE_SYMBOL = require('../internals/symbol-constructor-detection');\n\n/* eslint-disable es/no-symbol -- safe */\nmodule.exports = NATIVE_SYMBOL && !!Symbol['for'] && !!Symbol.keyFor;\n","var global = require('../internals/global');\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/engine-is-ios');\nvar IS_NODE = require('../internals/engine-is-node');\n\nvar set = global.setImmediate;\nvar clear = global.clearImmediate;\nvar process = global.process;\nvar Dispatch = global.Dispatch;\nvar Function = global.Function;\nvar MessageChannel = global.MessageChannel;\nvar String = global.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 = global.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 global.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 global.addEventListener &&\n isCallable(global.postMessage) &&\n !global.importScripts &&\n $location && $location.protocol !== 'file:' &&\n !fails(globalPostMessageDefer)\n ) {\n defer = globalPostMessageDefer;\n global.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","var 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","var 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","// 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","var 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","var 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 return argument > 0 ? min(toIntegerOrInfinity(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991\n};\n","var 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","var 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 $TypeError(\"Can't convert object to primitive value\");\n }\n if (pref === undefined) pref = 'number';\n return ordinaryToPrimitive(input, pref);\n};\n","var 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","var 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","var classof = require('../internals/classof');\n\nvar $String = String;\n\nmodule.exports = function (argument) {\n if (classof(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string');\n return $String(argument);\n};\n","var IS_NODE = require('../internals/engine-is-node');\n\nmodule.exports = function (name) {\n try {\n // eslint-disable-next-line no-new-func -- safe\n if (IS_NODE) return Function('return require(\"' + name + '\")')();\n } catch (error) { /* empty */ }\n};\n","var $String = String;\n\nmodule.exports = function (argument) {\n try {\n return $String(argument);\n } catch (error) {\n return 'Object';\n }\n};\n","var 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","/* 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","var 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","var $TypeError = TypeError;\n\nmodule.exports = function (passed, required) {\n if (passed < required) throw $TypeError('Not enough arguments');\n return passed;\n};\n","var global = require('../internals/global');\nvar isCallable = require('../internals/is-callable');\n\nvar WeakMap = global.WeakMap;\n\nmodule.exports = isCallable(WeakMap) && /native code/.test(String(WeakMap));\n","var 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","var wellKnownSymbol = require('../internals/well-known-symbol');\n\nexports.f = wellKnownSymbol;\n","var global = require('../internals/global');\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 = global.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","// 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/engine-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","var $ = 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 kind = state.kind;\n var index = state.index++;\n if (!target || index >= target.length) {\n state.target = undefined;\n return createIterResultObject(undefined, true);\n }\n if (kind == 'keys') return createIterResultObject(index, false);\n if (kind == '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 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/engine-ff-version');\nvar IE_OR_EDGE = require('../internals/engine-is-ie-or-edge');\nvar V8 = require('../internals/engine-v8-version');\nvar WEBKIT = require('../internals/engine-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","var 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","/* eslint-disable no-unused-vars -- required for functions `.length` */\nvar $ = require('../internals/export');\nvar global = require('../internals/global');\nvar apply = require('../internals/function-apply');\nvar wrapErrorConstructorWithCause = require('../internals/wrap-error-constructor-with-cause');\n\nvar WEB_ASSEMBLY = 'WebAssembly';\nvar WebAssembly = global[WEB_ASSEMBLY];\n\nvar FORCED = 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\n// https://github.com/tc39/proposal-error-cause\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","var $ = 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')();\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","var global = require('../internals/global');\nvar setToStringTag = require('../internals/set-to-string-tag');\n\n// JSON[@@toStringTag] property\n// https://tc39.es/ecma262/#sec-json-@@tostringtag\nsetToStringTag(global.JSON, 'JSON', true);\n","var 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 global = require('../internals/global');\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 = global[NUMBER];\nvar PureNumberNamespace = path[NUMBER];\nvar NumberPrototype = NativeNumber.prototype;\nvar TypeError = global.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 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 case 66: case 98: radix = 2; maxCode = 49; break; // fast equal of /^0b[01]+$/i\n case 79: case 111: radix = 8; maxCode = 55; break; // fast equal of /^0o[0-7]+$/i\n default: 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","var $ = 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","var $ = require('../internals/export');\nvar iterate = require('../internals/iterate');\nvar createProperty = require('../internals/create-property');\n\n// `Object.fromEntries` method\n// https://github.com/tc39/proposal-object-from-entries\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","var $ = 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","var $ = 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","var $ = 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","var $ = 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","var 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/engine-is-node');\nvar global = require('../internals/global');\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 = global.TypeError;\nvar document = global.document;\nvar process = global.process;\nvar newPromiseCapability = newPromiseCapabilityModule.f;\nvar newGenericPromiseCapability = newPromiseCapability;\n\nvar DISPATCH_EVENT = !!(document && document.createEvent && global.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(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 global.dispatchEvent(event);\n } else event = { promise: promise, reason: reason };\n if (!NATIVE_PROMISE_REJECTION_EVENT && (handler = global['on' + name])) handler(event);\n else if (name === UNHANDLED_REJECTION) hostReportErrors('Unhandled promise rejection', reason);\n};\n\nvar onUnhandled = function (state) {\n call(task, global, 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, global, 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 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: undefined\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$({ global: true, constructor: true, wrap: true, forced: FORCED_PROMISE_CONSTRUCTOR }, {\n Promise: PromiseConstructor\n});\n\nsetToStringTag(PromiseConstructor, PROMISE, false, true);\nsetSpecies(PROMISE);\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 call = require('../internals/function-call');\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 call(capability.reject, undefined, 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","var $ = 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","var $ = require('../internals/export');\nvar global = require('../internals/global');\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(global.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(RegExp.prototype, 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 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 apply = require('../internals/function-apply');\nvar call = require('../internals/function-call');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar fixRegExpWellKnownSymbolLogic = require('../internals/fix-regexp-well-known-symbol-logic');\nvar fails = require('../internals/fails');\nvar anObject = require('../internals/an-object');\nvar isCallable = require('../internals/is-callable');\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar toLength = require('../internals/to-length');\nvar toString = require('../internals/to-string');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar advanceStringIndex = require('../internals/advance-string-index');\nvar getMethod = require('../internals/get-method');\nvar getSubstitution = require('../internals/get-substitution');\nvar regExpExec = require('../internals/regexp-exec-abstract');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar REPLACE = wellKnownSymbol('replace');\nvar max = Math.max;\nvar min = Math.min;\nvar concat = uncurryThis([].concat);\nvar push = uncurryThis([].push);\nvar stringIndexOf = uncurryThis(''.indexOf);\nvar stringSlice = uncurryThis(''.slice);\n\nvar maybeToString = function (it) {\n return it === undefined ? it : String(it);\n};\n\n// IE <= 11 replaces $0 with the whole match, as if it was $&\n// https://stackoverflow.com/questions/6024666/getting-ie-to-replace-a-regex-with-the-literal-string-0\nvar REPLACE_KEEPS_$0 = (function () {\n // eslint-disable-next-line regexp/prefer-escape-replacement-dollar-char -- required for testing\n return 'a'.replace(/./, '$0') === '$0';\n})();\n\n// Safari <= 13.0.3(?) substitutes nth capture where n>m with an empty string\nvar REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = (function () {\n if (/./[REPLACE]) {\n return /./[REPLACE]('a', '$0') === '';\n }\n return false;\n})();\n\nvar REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function () {\n var re = /./;\n re.exec = function () {\n var result = [];\n result.groups = { a: '7' };\n return result;\n };\n // eslint-disable-next-line regexp/no-useless-dollar-replacements -- false positive\n return ''.replace(re, '$') !== '7';\n});\n\n// @@replace logic\nfixRegExpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNative) {\n var UNSAFE_SUBSTITUTE = REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE ? '$' : '$0';\n\n return [\n // `String.prototype.replace` method\n // https://tc39.es/ecma262/#sec-string.prototype.replace\n function replace(searchValue, replaceValue) {\n var O = requireObjectCoercible(this);\n var replacer = isNullOrUndefined(searchValue) ? undefined : getMethod(searchValue, REPLACE);\n return replacer\n ? call(replacer, searchValue, O, replaceValue)\n : call(nativeReplace, toString(O), searchValue, replaceValue);\n },\n // `RegExp.prototype[@@replace]` method\n // https://tc39.es/ecma262/#sec-regexp.prototype-@@replace\n function (string, replaceValue) {\n var rx = anObject(this);\n var S = toString(string);\n\n if (\n typeof replaceValue == 'string' &&\n stringIndexOf(replaceValue, UNSAFE_SUBSTITUTE) === -1 &&\n stringIndexOf(replaceValue, '$<') === -1\n ) {\n var res = maybeCallNative(nativeReplace, rx, S, replaceValue);\n if (res.done) return res.value;\n }\n\n var functionalReplace = isCallable(replaceValue);\n if (!functionalReplace) replaceValue = toString(replaceValue);\n\n var global = rx.global;\n if (global) {\n var fullUnicode = rx.unicode;\n rx.lastIndex = 0;\n }\n var results = [];\n while (true) {\n var result = regExpExec(rx, S);\n if (result === null) break;\n\n push(results, result);\n if (!global) break;\n\n var matchStr = toString(result[0]);\n if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);\n }\n\n var accumulatedResult = '';\n var nextSourcePosition = 0;\n for (var i = 0; i < results.length; i++) {\n result = results[i];\n\n var matched = toString(result[0]);\n var position = max(min(toIntegerOrInfinity(result.index), S.length), 0);\n var captures = [];\n // NOTE: This is equivalent to\n // captures = result.slice(1).map(maybeToString)\n // but for some reason `nativeSlice.call(result, 1, result.length)` (called in\n // the slice polyfill when slicing native arrays) \"doesn't work\" in safari 9 and\n // causes a crash (https://pastebin.com/N21QzeQA) when trying to debug it.\n for (var j = 1; j < result.length; j++) push(captures, maybeToString(result[j]));\n var namedCaptures = result.groups;\n if (functionalReplace) {\n var replacerArgs = concat([matched], captures, position, S);\n if (namedCaptures !== undefined) push(replacerArgs, namedCaptures);\n var replacement = toString(apply(replaceValue, undefined, replacerArgs));\n } else {\n replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue);\n }\n if (position >= nextSourcePosition) {\n accumulatedResult += stringSlice(S, nextSourcePosition, position) + replacement;\n nextSourcePosition = position + matched.length;\n }\n }\n return accumulatedResult + stringSlice(S, nextSourcePosition);\n }\n ];\n}, !REPLACE_SUPPORTS_NAMED_GROUPS || !REPLACE_KEEPS_$0 || REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE);\n","var 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 global = require('../internals/global');\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 = global.Symbol;\nvar SymbolPrototype = $Symbol && $Symbol[PROTOTYPE];\nvar TypeError = global.TypeError;\nvar QObject = global.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 setSymbolDescriptor = DESCRIPTORS && fails(function () {\n return nativeObjectCreate(nativeDefineProperty({}, 'a', {\n get: function () { return nativeDefineProperty(this, 'a', { value: 7 }).a; }\n })).a != 7;\n}) ? 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} : 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, {}));\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 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 if (this === ObjectPrototype) call(setter, ObjectPrototypeSymbols, value);\n if (hasOwn(this, HIDDEN) && hasOwn(this[HIDDEN], tag)) this[HIDDEN][tag] = false;\n setSymbolDescriptor(this, tag, createPropertyDescriptor(1, value));\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 global = require('../internals/global');\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 = global.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 ? 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('test')) == 'Symbol(test)';\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","var $ = 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","var 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","// 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","var $ = 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 TypeError(tryToString(sym) + ' is not a symbol');\n if (hasOwn(SymbolToStringRegistry, sym)) return SymbolToStringRegistry[sym];\n }\n});\n","var 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","var 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","var $ = require('../internals/export');\nvar global = require('../internals/global');\nvar getBuiltIn = require('../internals/get-built-in');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar call = require('../internals/function-call');\nvar fails = require('../internals/fails');\nvar toString = require('../internals/to-string');\nvar validateArgumentsLength = require('../internals/validate-arguments-length');\nvar itoc = require('../internals/base64-map').itoc;\n\nvar $btoa = getBuiltIn('btoa');\nvar charAt = uncurryThis(''.charAt);\nvar charCodeAt = uncurryThis(''.charCodeAt);\n\nvar NO_ARG_RECEIVING_CHECK = !!$btoa && !fails(function () {\n $btoa();\n});\n\nvar WRONG_ARG_CONVERSION = !!$btoa && fails(function () {\n return $btoa(null) !== 'bnVsbA==';\n});\n\nvar WRONG_ARITY = !!$btoa && $btoa.length !== 1;\n\n// `btoa` method\n// https://html.spec.whatwg.org/multipage/webappapis.html#dom-btoa\n$({ global: true, bind: true, enumerable: true, forced: NO_ARG_RECEIVING_CHECK || WRONG_ARG_CONVERSION || WRONG_ARITY }, {\n btoa: function btoa(data) {\n validateArgumentsLength(arguments.length, 1);\n // `webpack` dev server bug on IE global methods - use call(fn, global, ...)\n if (NO_ARG_RECEIVING_CHECK || WRONG_ARG_CONVERSION || WRONG_ARITY) return call($btoa, global, toString(data));\n var string = toString(data);\n var output = '';\n var position = 0;\n var map = itoc;\n var block, charCode;\n while (charAt(string, position) || (map = '=', position % 1)) {\n charCode = charCodeAt(string, position += 3 / 4);\n if (charCode > 0xFF) {\n throw new (getBuiltIn('DOMException'))('The string contains characters outside of the Latin1 range', 'InvalidCharacterError');\n }\n block = block << 8 | charCode;\n output += charAt(map, 63 & block >> 8 - position % 1 * 8);\n } return output;\n }\n});\n","var global = require('../internals/global');\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(global[COLLECTION_NAME] && global[COLLECTION_NAME].prototype);\n }\n}\n\nhandlePrototype(DOMTokenListPrototype);\n","var global = require('../internals/global');\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 wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar ITERATOR = wellKnownSymbol('iterator');\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\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 if (!CollectionPrototype[TO_STRING_TAG]) {\n createNonEnumerableProperty(CollectionPrototype, TO_STRING_TAG, COLLECTION_NAME);\n }\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(global[COLLECTION_NAME] && global[COLLECTION_NAME].prototype, COLLECTION_NAME);\n}\n\nhandlePrototype(DOMTokenListPrototype, 'DOMTokenList');\n","'use strict';\nvar $ = require('../internals/export');\nvar tryNodeRequire = require('../internals/try-node-require');\nvar getBuiltIn = require('../internals/get-built-in');\nvar fails = require('../internals/fails');\nvar create = require('../internals/object-create');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar defineProperty = require('../internals/object-define-property').f;\nvar defineBuiltIn = require('../internals/define-built-in');\nvar defineBuiltInAccessor = require('../internals/define-built-in-accessor');\nvar hasOwn = require('../internals/has-own-property');\nvar anInstance = require('../internals/an-instance');\nvar anObject = require('../internals/an-object');\nvar errorToString = require('../internals/error-to-string');\nvar normalizeStringArgument = require('../internals/normalize-string-argument');\nvar DOMExceptionConstants = require('../internals/dom-exception-constants');\nvar clearErrorStack = require('../internals/error-stack-clear');\nvar InternalStateModule = require('../internals/internal-state');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar IS_PURE = require('../internals/is-pure');\n\nvar DOM_EXCEPTION = 'DOMException';\nvar DATA_CLONE_ERR = 'DATA_CLONE_ERR';\nvar Error = getBuiltIn('Error');\n// NodeJS < 17.0 does not expose `DOMException` to global\nvar NativeDOMException = getBuiltIn(DOM_EXCEPTION) || (function () {\n try {\n // NodeJS < 15.0 does not expose `MessageChannel` to global\n var MessageChannel = getBuiltIn('MessageChannel') || tryNodeRequire('worker_threads').MessageChannel;\n // eslint-disable-next-line es/no-weak-map, unicorn/require-post-message-target-origin -- safe\n new MessageChannel().port1.postMessage(new WeakMap());\n } catch (error) {\n if (error.name == DATA_CLONE_ERR && error.code == 25) return error.constructor;\n }\n})();\nvar NativeDOMExceptionPrototype = NativeDOMException && NativeDOMException.prototype;\nvar ErrorPrototype = Error.prototype;\nvar setInternalState = InternalStateModule.set;\nvar getInternalState = InternalStateModule.getterFor(DOM_EXCEPTION);\nvar HAS_STACK = 'stack' in Error(DOM_EXCEPTION);\n\nvar codeFor = function (name) {\n return hasOwn(DOMExceptionConstants, name) && DOMExceptionConstants[name].m ? DOMExceptionConstants[name].c : 0;\n};\n\nvar $DOMException = function DOMException() {\n anInstance(this, DOMExceptionPrototype);\n var argumentsLength = arguments.length;\n var message = normalizeStringArgument(argumentsLength < 1 ? undefined : arguments[0]);\n var name = normalizeStringArgument(argumentsLength < 2 ? undefined : arguments[1], 'Error');\n var code = codeFor(name);\n setInternalState(this, {\n type: DOM_EXCEPTION,\n name: name,\n message: message,\n code: code\n });\n if (!DESCRIPTORS) {\n this.name = name;\n this.message = message;\n this.code = code;\n }\n if (HAS_STACK) {\n var error = Error(message);\n error.name = DOM_EXCEPTION;\n defineProperty(this, 'stack', createPropertyDescriptor(1, clearErrorStack(error.stack, 1)));\n }\n};\n\nvar DOMExceptionPrototype = $DOMException.prototype = create(ErrorPrototype);\n\nvar createGetterDescriptor = function (get) {\n return { enumerable: true, configurable: true, get: get };\n};\n\nvar getterFor = function (key) {\n return createGetterDescriptor(function () {\n return getInternalState(this)[key];\n });\n};\n\nif (DESCRIPTORS) {\n // `DOMException.prototype.code` getter\n defineBuiltInAccessor(DOMExceptionPrototype, 'code', getterFor('code'));\n // `DOMException.prototype.message` getter\n defineBuiltInAccessor(DOMExceptionPrototype, 'message', getterFor('message'));\n // `DOMException.prototype.name` getter\n defineBuiltInAccessor(DOMExceptionPrototype, 'name', getterFor('name'));\n}\n\ndefineProperty(DOMExceptionPrototype, 'constructor', createPropertyDescriptor(1, $DOMException));\n\n// FF36- DOMException is a function, but can't be constructed\nvar INCORRECT_CONSTRUCTOR = fails(function () {\n return !(new NativeDOMException() instanceof Error);\n});\n\n// Safari 10.1 / Chrome 32- / IE8- DOMException.prototype.toString bugs\nvar INCORRECT_TO_STRING = INCORRECT_CONSTRUCTOR || fails(function () {\n return ErrorPrototype.toString !== errorToString || String(new NativeDOMException(1, 2)) !== '2: 1';\n});\n\n// Deno 1.6.3- DOMException.prototype.code just missed\nvar INCORRECT_CODE = INCORRECT_CONSTRUCTOR || fails(function () {\n return new NativeDOMException(1, 'DataCloneError').code !== 25;\n});\n\n// Deno 1.6.3- DOMException constants just missed\nvar MISSED_CONSTANTS = INCORRECT_CONSTRUCTOR\n || NativeDOMException[DATA_CLONE_ERR] !== 25\n || NativeDOMExceptionPrototype[DATA_CLONE_ERR] !== 25;\n\nvar FORCED_CONSTRUCTOR = IS_PURE ? INCORRECT_TO_STRING || INCORRECT_CODE || MISSED_CONSTANTS : INCORRECT_CONSTRUCTOR;\n\n// `DOMException` constructor\n// https://webidl.spec.whatwg.org/#idl-DOMException\n$({ global: true, constructor: true, forced: FORCED_CONSTRUCTOR }, {\n DOMException: FORCED_CONSTRUCTOR ? $DOMException : NativeDOMException\n});\n\nvar PolyfilledDOMException = getBuiltIn(DOM_EXCEPTION);\nvar PolyfilledDOMExceptionPrototype = PolyfilledDOMException.prototype;\n\nif (INCORRECT_TO_STRING && (IS_PURE || NativeDOMException === PolyfilledDOMException)) {\n defineBuiltIn(PolyfilledDOMExceptionPrototype, 'toString', errorToString);\n}\n\nif (INCORRECT_CODE && DESCRIPTORS && NativeDOMException === PolyfilledDOMException) {\n defineBuiltInAccessor(PolyfilledDOMExceptionPrototype, 'code', createGetterDescriptor(function () {\n return codeFor(anObject(this).name);\n }));\n}\n\n// `DOMException` constants\nfor (var key in DOMExceptionConstants) if (hasOwn(DOMExceptionConstants, key)) {\n var constant = DOMExceptionConstants[key];\n var constantName = constant.s;\n var descriptor = createPropertyDescriptor(6, constant.c);\n if (!hasOwn(PolyfilledDOMException, constantName)) {\n defineProperty(PolyfilledDOMException, constantName, descriptor);\n }\n if (!hasOwn(PolyfilledDOMExceptionPrototype, constantName)) {\n defineProperty(PolyfilledDOMExceptionPrototype, constantName, descriptor);\n }\n}\n","'use strict';\nvar $ = require('../internals/export');\nvar global = require('../internals/global');\nvar getBuiltIn = require('../internals/get-built-in');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar defineProperty = require('../internals/object-define-property').f;\nvar hasOwn = require('../internals/has-own-property');\nvar anInstance = require('../internals/an-instance');\nvar inheritIfRequired = require('../internals/inherit-if-required');\nvar normalizeStringArgument = require('../internals/normalize-string-argument');\nvar DOMExceptionConstants = require('../internals/dom-exception-constants');\nvar clearErrorStack = require('../internals/error-stack-clear');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar IS_PURE = require('../internals/is-pure');\n\nvar DOM_EXCEPTION = 'DOMException';\nvar Error = getBuiltIn('Error');\nvar NativeDOMException = getBuiltIn(DOM_EXCEPTION);\n\nvar $DOMException = function DOMException() {\n anInstance(this, DOMExceptionPrototype);\n var argumentsLength = arguments.length;\n var message = normalizeStringArgument(argumentsLength < 1 ? undefined : arguments[0]);\n var name = normalizeStringArgument(argumentsLength < 2 ? undefined : arguments[1], 'Error');\n var that = new NativeDOMException(message, name);\n var error = Error(message);\n error.name = DOM_EXCEPTION;\n defineProperty(that, 'stack', createPropertyDescriptor(1, clearErrorStack(error.stack, 1)));\n inheritIfRequired(that, this, $DOMException);\n return that;\n};\n\nvar DOMExceptionPrototype = $DOMException.prototype = NativeDOMException.prototype;\n\nvar ERROR_HAS_STACK = 'stack' in Error(DOM_EXCEPTION);\nvar DOM_EXCEPTION_HAS_STACK = 'stack' in new NativeDOMException(1, 2);\n\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar descriptor = NativeDOMException && DESCRIPTORS && Object.getOwnPropertyDescriptor(global, DOM_EXCEPTION);\n\n// Bun ~ 0.1.1 DOMException have incorrect descriptor and we can't redefine it\n// https://github.com/Jarred-Sumner/bun/issues/399\nvar BUGGY_DESCRIPTOR = !!descriptor && !(descriptor.writable && descriptor.configurable);\n\nvar FORCED_CONSTRUCTOR = ERROR_HAS_STACK && !BUGGY_DESCRIPTOR && !DOM_EXCEPTION_HAS_STACK;\n\n// `DOMException` constructor patch for `.stack` where it's required\n// https://webidl.spec.whatwg.org/#es-DOMException-specialness\n$({ global: true, constructor: true, forced: IS_PURE || FORCED_CONSTRUCTOR }, { // TODO: fix export logic\n DOMException: FORCED_CONSTRUCTOR ? $DOMException : NativeDOMException\n});\n\nvar PolyfilledDOMException = getBuiltIn(DOM_EXCEPTION);\nvar PolyfilledDOMExceptionPrototype = PolyfilledDOMException.prototype;\n\nif (PolyfilledDOMExceptionPrototype.constructor !== PolyfilledDOMException) {\n if (!IS_PURE) {\n defineProperty(PolyfilledDOMExceptionPrototype, 'constructor', createPropertyDescriptor(1, PolyfilledDOMException));\n }\n\n for (var key in DOMExceptionConstants) if (hasOwn(DOMExceptionConstants, key)) {\n var constant = DOMExceptionConstants[key];\n var constantName = constant.s;\n if (!hasOwn(PolyfilledDOMException, constantName)) {\n defineProperty(PolyfilledDOMException, constantName, createPropertyDescriptor(6, constant.c));\n }\n }\n}\n","var getBuiltIn = require('../internals/get-built-in');\nvar setToStringTag = require('../internals/set-to-string-tag');\n\nvar DOM_EXCEPTION = 'DOMException';\n\n// `DOMException.prototype[@@toStringTag]` property\nsetToStringTag(getBuiltIn(DOM_EXCEPTION), DOM_EXCEPTION);\n","'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 target.propertyIsEnumerable(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","// 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","// 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))","/*!\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} 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} 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.0 (2023-06-02T19:54:59.307Z)\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} 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} 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.0\";\n\nexport { loadCustomScript, loadScript, version };\n","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( `
` );\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","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","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};\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","const randomUUID = typeof crypto !== 'undefined' && crypto.randomUUID && crypto.randomUUID.bind(crypto);\nexport default {\n randomUUID\n};","// Unique ID creation requires a high quality random # generator. In the browser we therefore\n// require the crypto API and do not support built-in fallback to lower quality random number\n// generators (like Math.random()).\nlet getRandomValues;\nconst rnds8 = new Uint8Array(16);\nexport default function rng() {\n // lazy load so that environments that need to polyfill have a chance to do so\n if (!getRandomValues) {\n // getRandomValues needs to be invoked in a context where \"this\" is a Crypto implementation.\n getRandomValues = typeof crypto !== 'undefined' && crypto.getRandomValues && crypto.getRandomValues.bind(crypto);\n\n if (!getRandomValues) {\n throw new Error('crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported');\n }\n }\n\n return getRandomValues(rnds8);\n}","import validate from './validate.js';\n/**\n * Convert array of 16 byte values to UUID string format of the form:\n * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\n */\n\nconst byteToHex = [];\n\nfor (let i = 0; i < 256; ++i) {\n byteToHex.push((i + 0x100).toString(16).slice(1));\n}\n\nexport function unsafeStringify(arr, offset = 0) {\n // Note: Be careful editing this code! It's been tuned for performance\n // and works in ways you may not expect. See https://github.com/uuidjs/uuid/pull/434\n return byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + '-' + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + '-' + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + '-' + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + '-' + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]];\n}\n\nfunction stringify(arr, offset = 0) {\n const uuid = unsafeStringify(arr, offset); // Consistency check for valid UUID. If this throws, it's likely due to one\n // of the following:\n // - One or more input array values don't map to a hex octet (leading to\n // \"undefined\" in the uuid)\n // - Invalid input values for the RFC `version` or `variant` fields\n\n if (!validate(uuid)) {\n throw TypeError('Stringified UUID is invalid');\n }\n\n return uuid;\n}\n\nexport default stringify;","import native from './native.js';\nimport rng from './rng.js';\nimport { unsafeStringify } from './stringify.js';\n\nfunction v4(options, buf, offset) {\n if (native.randomUUID && !buf && !options) {\n return native.randomUUID();\n }\n\n options = options || {};\n const rnds = options.random || (options.rng || rng)(); // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`\n\n rnds[6] = rnds[6] & 0x0f | 0x40;\n rnds[8] = rnds[8] & 0x3f | 0x80; // Copy bytes to buffer, if provided\n\n if (buf) {\n offset = offset || 0;\n\n for (let i = 0; i < 16; ++i) {\n buf[offset + i] = rnds[i];\n }\n\n return buf;\n }\n\n return unsafeStringify(rnds);\n}\n\nexport default v4;","import dataClientIdAttributeHandler from '../DataClientIdAttributeHandler';\nimport { loadScript } from '@paypal/paypal-js';\nimport widgetBuilder from '../Renderer/WidgetBuilder';\nimport merge from 'deepmerge';\nimport { keysToCamelCase } from './Utils';\nimport { getCurrentPaymentMethod } from './CheckoutMethodState';\nimport { v4 as uuidv4 } from 'uuid';\n\n// This component may be used by multiple modules. This assures that options are shared between all instances.\nconst options = ( window.ppcpWidgetBuilder = window.ppcpWidgetBuilder || {\n\tisLoading: false,\n\tonLoadedCallbacks: [],\n\tonErrorCallbacks: [],\n} );\n\nexport const loadPaypalScript = ( config, onLoaded, onError = null ) => {\n\t// If PayPal is already loaded call the onLoaded callback and return.\n\tif ( typeof paypal !== 'undefined' ) {\n\t\tonLoaded();\n\t\treturn;\n\t}\n\n\t// Add the onLoaded callback to the onLoadedCallbacks stack.\n\toptions.onLoadedCallbacks.push( onLoaded );\n\tif ( onError ) {\n\t\toptions.onErrorCallbacks.push( onError );\n\t}\n\n\t// Return if it's still loading.\n\tif ( options.isLoading ) {\n\t\treturn;\n\t}\n\toptions.isLoading = true;\n\n\tconst resetState = () => {\n\t\toptions.isLoading = false;\n\t\toptions.onLoadedCallbacks = [];\n\t\toptions.onErrorCallbacks = [];\n\t};\n\n\t// Callback to be called once the PayPal script is loaded.\n\tconst callback = ( paypal ) => {\n\t\twidgetBuilder.setPaypal( paypal );\n\n\t\tfor ( const onLoadedCallback of options.onLoadedCallbacks ) {\n\t\t\tonLoadedCallback();\n\t\t}\n\n\t\tresetState();\n\t};\n\tconst errorCallback = ( err ) => {\n\t\tfor ( const onErrorCallback of options.onErrorCallbacks ) {\n\t\t\tonErrorCallback( err );\n\t\t}\n\n\t\tresetState();\n\t};\n\n\t// Build the PayPal script options.\n\tlet scriptOptions = keysToCamelCase( config.url_params );\n\tif ( config.script_attributes ) {\n\t\tscriptOptions = merge( scriptOptions, config.script_attributes );\n\t}\n\n\t// Axo SDK options\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\n\t// Load PayPal script for special case with data-client-token\n\tif (\n\t\tconfig.data_client_id?.set_attribute &&\n\t\tconfig.vault_v3_enabled !== '1'\n\t) {\n\t\tdataClientIdAttributeHandler(\n\t\t\tscriptOptions,\n\t\t\tconfig.data_client_id,\n\t\t\tcallback,\n\t\t\terrorCallback\n\t\t);\n\t\treturn;\n\t}\n\n\t// Adds data-user-id-token to script options.\n\tconst userIdToken = config?.save_payment_methods?.id_token;\n\tif ( userIdToken && ! sdkClientToken ) {\n\t\tscriptOptions[ 'data-user-id-token' ] = userIdToken;\n\t}\n\n\t// Load PayPal script\n\tloadScript( scriptOptions ).then( callback ).catch( errorCallback );\n};\n\nexport const loadPaypalScriptPromise = ( config ) => {\n\treturn new Promise( ( resolve, reject ) => {\n\t\tloadPaypalScript( config, resolve, reject );\n\t} );\n};\n\nexport const loadPaypalJsScript = ( options, buttons, container ) => {\n\tloadScript( options ).then( ( paypal ) => {\n\t\tpaypal.Buttons( buttons ).render( container );\n\t} );\n};\n\nexport const loadPaypalJsScriptPromise = ( options ) => {\n\treturn new Promise( ( resolve, reject ) => {\n\t\tloadScript( options ).then( resolve ).catch( reject );\n\t} );\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","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\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\tshould_create_wc_order:\n\t\t\t\t\t! context.config.vaultingEnabled ||\n\t\t\t\t\tdata.paymentSource !== 'venmo',\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\tif ( ! data.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 = data.data?.order_received_url;\n\n\t\t\t\tlocation.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","export const payerData = () => {\n\tconst payer = PayPalCommerceGateway.payer;\n\tif ( ! payer ) {\n\t\treturn null;\n\t}\n\n\tconst phone =\n\t\tdocument.querySelector( '#billing_phone' ) ||\n\t\ttypeof payer.phone !== 'undefined'\n\t\t\t? {\n\t\t\t\t\tphone_type: 'HOME',\n\t\t\t\t\tphone_number: {\n\t\t\t\t\t\tnational_number: document.querySelector(\n\t\t\t\t\t\t\t'#billing_phone'\n\t\t\t\t\t\t)\n\t\t\t\t\t\t\t? document.querySelector( '#billing_phone' ).value\n\t\t\t\t\t\t\t: payer.phone.phone_number.national_number,\n\t\t\t\t\t},\n\t\t\t }\n\t\t\t: null;\n\tconst payerData = {\n\t\temail_address: document.querySelector( '#billing_email' )\n\t\t\t? document.querySelector( '#billing_email' ).value\n\t\t\t: payer.email_address,\n\t\tname: {\n\t\t\tsurname: document.querySelector( '#billing_last_name' )\n\t\t\t\t? document.querySelector( '#billing_last_name' ).value\n\t\t\t\t: payer.name.surname,\n\t\t\tgiven_name: document.querySelector( '#billing_first_name' )\n\t\t\t\t? document.querySelector( '#billing_first_name' ).value\n\t\t\t\t: payer.name.given_name,\n\t\t},\n\t\taddress: {\n\t\t\tcountry_code: document.querySelector( '#billing_country' )\n\t\t\t\t? document.querySelector( '#billing_country' ).value\n\t\t\t\t: payer.address.country_code,\n\t\t\taddress_line_1: document.querySelector( '#billing_address_1' )\n\t\t\t\t? document.querySelector( '#billing_address_1' ).value\n\t\t\t\t: payer.address.address_line_1,\n\t\t\taddress_line_2: document.querySelector( '#billing_address_2' )\n\t\t\t\t? document.querySelector( '#billing_address_2' ).value\n\t\t\t\t: payer.address.address_line_2,\n\t\t\tadmin_area_1: document.querySelector( '#billing_state' )\n\t\t\t\t? document.querySelector( '#billing_state' ).value\n\t\t\t\t: payer.address.admin_area_1,\n\t\t\tadmin_area_2: document.querySelector( '#billing_city' )\n\t\t\t\t? document.querySelector( '#billing_city' ).value\n\t\t\t\t: payer.address.admin_area_2,\n\t\t\tpostal_code: document.querySelector( '#billing_postcode' )\n\t\t\t\t? document.querySelector( '#billing_postcode' ).value\n\t\t\t\t: payer.address.postal_code,\n\t\t},\n\t};\n\n\tif ( phone ) {\n\t\tpayerData.phone = phone;\n\t}\n\treturn payerData;\n};\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 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","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","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 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 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_str,\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","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}\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}\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 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 */\n;(function(){var h;function l(a){var b=0;return function(){return b>>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 {\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","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","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 '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( '
' )\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\taddPaymentMethodConfiguration() {\n\t\treturn {\n\t\t\tcreateVaultSetupToken: async () => {\n\t\t\t\tconst response = await fetch(\n\t\t\t\t\tthis.config.ajax.create_setup_token.endpoint,\n\t\t\t\t\t{\n\t\t\t\t\t\tmethod: 'POST',\n\t\t\t\t\t\tcredentials: 'same-origin',\n\t\t\t\t\t\theaders: {\n\t\t\t\t\t\t\t'Content-Type': 'application/json',\n\t\t\t\t\t\t},\n\t\t\t\t\t\tbody: JSON.stringify( {\n\t\t\t\t\t\t\tnonce: this.config.ajax.create_setup_token.nonce,\n\t\t\t\t\t\t} ),\n\t\t\t\t\t}\n\t\t\t\t);\n\n\t\t\t\tconst result = await response.json();\n\t\t\t\tif ( result.data.id ) {\n\t\t\t\t\treturn result.data.id;\n\t\t\t\t}\n\n\t\t\t\tconsole.error( result );\n\t\t\t},\n\t\t\tonApprove: async ( { vaultSetupToken } ) => {\n\t\t\t\tconst response = await fetch(\n\t\t\t\t\tthis.config.ajax.create_payment_token_for_guest.endpoint,\n\t\t\t\t\t{\n\t\t\t\t\t\tmethod: 'POST',\n\t\t\t\t\t\tcredentials: 'same-origin',\n\t\t\t\t\t\theaders: {\n\t\t\t\t\t\t\t'Content-Type': 'application/json',\n\t\t\t\t\t\t},\n\t\t\t\t\t\tbody: JSON.stringify( {\n\t\t\t\t\t\t\tnonce: this.config.ajax\n\t\t\t\t\t\t\t\t.create_payment_token_for_guest.nonce,\n\t\t\t\t\t\t\tvault_setup_token: vaultSetupToken,\n\t\t\t\t\t\t} ),\n\t\t\t\t\t}\n\t\t\t\t);\n\n\t\t\t\tconst result = await response.json();\n\t\t\t\tif ( result.success === true ) {\n\t\t\t\t\tdocument.querySelector( '#place_order' ).click();\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tconsole.error( result );\n\t\t\t},\n\t\t\tonError: ( error ) => {\n\t\t\t\tconsole.error( error );\n\t\t\t},\n\t\t};\n\t}\n}\n\nexport default CheckoutActionHandler;\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\tconstructor( buttonConfig, ppcpConfig, externalHandler ) {\n\t\tsuper( buttonConfig, ppcpConfig, externalHandler );\n\t}\n\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( data, actions ) {\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","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","/**\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","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","import ContextHandlerFactory from './Context/ContextHandlerFactory';\nimport { createAppleErrors } from './Helper/applePayError';\nimport { setVisible } from '../../../ppcp-button/resources/js/modules/Helper/Hiding';\nimport { setEnabled } from '../../../ppcp-button/resources/js/modules/Helper/ButtonDisabler';\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 { apmButtonsInit } from '../../../ppcp-button/resources/js/modules/Helper/ApmButtons';\n\nclass ApplepayButton {\n\tconstructor( context, externalHandler, buttonConfig, ppcpConfig ) {\n\t\tapmButtonsInit( ppcpConfig );\n\n\t\tthis.isInitialized = false;\n\n\t\tthis.context = context;\n\t\tthis.externalHandler = externalHandler;\n\t\tthis.buttonConfig = buttonConfig;\n\t\tthis.ppcpConfig = ppcpConfig;\n\t\tthis.paymentsClient = null;\n\t\tthis.formData = null;\n\n\t\tthis.contextHandler = ContextHandlerFactory.create(\n\t\t\tthis.context,\n\t\t\tthis.buttonConfig,\n\t\t\tthis.ppcpConfig\n\t\t);\n\n\t\tthis.updatedContactInfo = [];\n\t\tthis.selectedShippingMethod = [];\n\t\tthis.nonce =\n\t\t\tdocument.getElementById( 'woocommerce-process-checkout-nonce' )\n\t\t\t\t?.value || buttonConfig.nonce;\n\n\t\t// Stores initialization data sent to the button.\n\t\tthis.initialPaymentRequest = null;\n\n\t\t// Default eligibility status.\n\t\tthis.isEligible = true;\n\n\t\tthis.log = function () {\n\t\t\tif ( this.buttonConfig.is_debug ) {\n\t\t\t\t//console.log('[ApplePayButton]', ...arguments);\n\t\t\t}\n\t\t};\n\n\t\tthis.refreshContextData();\n\n\t\t// Debug helpers\n\t\tjQuery( document ).on( 'ppcp-applepay-debug', () => {\n\t\t\tconsole.log( 'ApplePayButton', this.context, this );\n\t\t} );\n\t\tdocument.ppcpApplepayButtons = document.ppcpApplepayButtons || {};\n\t\tdocument.ppcpApplepayButtons[ this.context ] = this;\n\t}\n\n\tinit( config ) {\n\t\tif ( this.isInitialized ) {\n\t\t\treturn;\n\t\t}\n\n\t\tif ( ! this.contextHandler.validateContext() ) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis.log( 'Init', this.context );\n\t\tthis.initEventHandlers();\n\t\tthis.isInitialized = true;\n\t\tthis.applePayConfig = config;\n\t\tthis.isEligible =\n\t\t\t( this.applePayConfig.isEligible && window.ApplePaySession ) ||\n\t\t\tthis.buttonConfig.is_admin;\n\n\t\tif ( this.isEligible ) {\n\t\t\tthis.fetchTransactionInfo().then( () => {\n\t\t\t\tthis.addButton();\n\t\t\t\tconst id_minicart =\n\t\t\t\t\t'#apple-' + this.buttonConfig.button.mini_cart_wrapper;\n\t\t\t\tconst id = '#apple-' + this.buttonConfig.button.wrapper;\n\n\t\t\t\tif ( this.context === 'mini-cart' ) {\n\t\t\t\t\tdocument\n\t\t\t\t\t\t.querySelector( id_minicart )\n\t\t\t\t\t\t?.addEventListener( 'click', ( evt ) => {\n\t\t\t\t\t\t\tevt.preventDefault();\n\t\t\t\t\t\t\tthis.onButtonClick();\n\t\t\t\t\t\t} );\n\t\t\t\t} else {\n\t\t\t\t\tdocument\n\t\t\t\t\t\t.querySelector( id )\n\t\t\t\t\t\t?.addEventListener( 'click', ( evt ) => {\n\t\t\t\t\t\t\tevt.preventDefault();\n\t\t\t\t\t\t\tthis.onButtonClick();\n\t\t\t\t\t\t} );\n\t\t\t\t}\n\t\t\t} );\n\t\t} else {\n\t\t\tjQuery( '#' + this.buttonConfig.button.wrapper ).hide();\n\t\t\tjQuery( '#' + this.buttonConfig.button.mini_cart_wrapper ).hide();\n\t\t\tjQuery( '#express-payment-method-ppcp-applepay' ).hide();\n\t\t}\n\t}\n\n\treinit() {\n\t\tif ( ! this.applePayConfig ) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis.isInitialized = false;\n\t\tthis.init( this.applePayConfig );\n\t}\n\n\tasync fetchTransactionInfo() {\n\t\tthis.transactionInfo = await this.contextHandler.transactionInfo();\n\t}\n\n\t/**\n\t * Returns configurations relative to this button context.\n\t */\n\tcontextConfig() {\n\t\tconst config = {\n\t\t\twrapper: this.buttonConfig.button.wrapper,\n\t\t\tppcpStyle: this.ppcpConfig.button.style,\n\t\t\tbuttonStyle: this.buttonConfig.button.style,\n\t\t\tppcpButtonWrapper: this.ppcpConfig.button.wrapper,\n\t\t};\n\n\t\tif ( this.context === 'mini-cart' ) {\n\t\t\tconfig.wrapper = this.buttonConfig.button.mini_cart_wrapper;\n\t\t\tconfig.ppcpStyle = this.ppcpConfig.button.mini_cart_style;\n\t\t\tconfig.buttonStyle = this.buttonConfig.button.mini_cart_style;\n\t\t\tconfig.ppcpButtonWrapper = this.ppcpConfig.button.mini_cart_wrapper;\n\t\t}\n\n\t\tif (\n\t\t\t[ 'cart-block', 'checkout-block' ].indexOf( this.context ) !== -1\n\t\t) {\n\t\t\tconfig.ppcpButtonWrapper =\n\t\t\t\t'#express-payment-method-ppcp-gateway-paypal';\n\t\t}\n\n\t\treturn config;\n\t}\n\n\tinitEventHandlers() {\n\t\tconst { wrapper, ppcpButtonWrapper } = this.contextConfig();\n\t\tconst wrapper_id = '#' + wrapper;\n\n\t\tif ( wrapper_id === ppcpButtonWrapper ) {\n\t\t\tthrow new Error(\n\t\t\t\t`[ApplePayButton] \"wrapper\" and \"ppcpButtonWrapper\" values must differ to avoid infinite loop. Current value: \"${ wrapper_id }\"`\n\t\t\t);\n\t\t}\n\n\t\tconst syncButtonVisibility = () => {\n\t\t\tif ( ! this.isEligible ) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tconst $ppcpButtonWrapper = jQuery( ppcpButtonWrapper );\n\t\t\tsetVisible( wrapper_id, $ppcpButtonWrapper.is( ':visible' ) );\n\t\t\tsetEnabled(\n\t\t\t\twrapper_id,\n\t\t\t\t! $ppcpButtonWrapper.hasClass( 'ppcp-disabled' )\n\t\t\t);\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\tif ( jQuery( data.selector ).is( ppcpButtonWrapper ) ) {\n\t\t\t\t\tsyncButtonVisibility();\n\t\t\t\t}\n\t\t\t}\n\t\t);\n\n\t\tsyncButtonVisibility();\n\t}\n\n\t/**\n\t * Starts an ApplePay session.\n\t * @param paymentRequest\n\t */\n\tapplePaySession( paymentRequest ) {\n\t\tthis.log( 'applePaySession', paymentRequest );\n\t\tconst session = new ApplePaySession( 4, paymentRequest );\n\t\tsession.begin();\n\n\t\tif ( this.shouldRequireShippingInButton() ) {\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\t\tsession.onvalidatemerchant = this.onValidateMerchant( session );\n\t\tsession.onpaymentauthorized = this.onPaymentAuthorized( session );\n\t\treturn session;\n\t}\n\n\t/**\n\t * Adds an Apple Pay purchase button.\n\t */\n\taddButton() {\n\t\tthis.log( 'addButton', this.context );\n\n\t\tconst { wrapper, ppcpStyle } = this.contextConfig();\n\n\t\tconst appleContainer = document.getElementById( wrapper );\n\t\tconst type = this.buttonConfig.button.type;\n\t\tconst language = this.buttonConfig.button.lang;\n\t\tconst color = this.buttonConfig.button.color;\n\t\tconst id = 'apple-' + wrapper;\n\n\t\tif ( appleContainer ) {\n\t\t\tappleContainer.innerHTML = ``;\n\t\t}\n\n\t\tconst $wrapper = jQuery( '#' + wrapper );\n\t\t$wrapper.addClass( 'ppcp-button-' + ppcpStyle.shape );\n\n\t\tif ( ppcpStyle.height ) {\n\t\t\t$wrapper.css(\n\t\t\t\t'--apple-pay-button-height',\n\t\t\t\t`${ ppcpStyle.height }px`\n\t\t\t);\n\t\t\t$wrapper.css( 'height', `${ ppcpStyle.height }px` );\n\t\t}\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', this.context );\n\n\t\tconst paymentRequest = this.paymentRequest();\n\n\t\twindow.ppcpFundingSource = 'apple_pay'; // Do this on another place like on create order endpoint handler.\n\n\t\t// Trigger woocommerce validation if we are in the checkout page.\n\t\tif ( this.context === 'checkout' ) {\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\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\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 show the shipping fields.\n\t *\n\t * @return {false|*}\n\t */\n\tshouldRequireShippingInButton() {\n\t\treturn (\n\t\t\tthis.contextHandler.shippingAllowed() &&\n\t\t\tthis.buttonConfig.product.needShipping &&\n\t\t\t( this.context !== 'checkout' ||\n\t\t\t\tthis.shouldUpdateButtonWithFormData() )\n\t\t);\n\t}\n\n\t/**\n\t * If the button should be updated with the form addresses.\n\t *\n\t * @return {boolean}\n\t */\n\tshouldUpdateButtonWithFormData() {\n\t\tif ( this.context !== 'checkout' ) {\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 actions.\n\t * Or with ApplePay module specific completion.\n\t *\n\t * @return {boolean}\n\t */\n\tshouldCompletePaymentWithContextHandler() {\n\t\t// Data already handled, ex: PayNow\n\t\tif ( ! this.contextHandler.shippingAllowed() ) {\n\t\t\treturn true;\n\t\t}\n\t\t// Use WC form data mode in Checkout.\n\t\tif (\n\t\t\tthis.context === 'checkout' &&\n\t\t\t! this.shouldUpdateButtonWithFormData()\n\t\t) {\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t}\n\n\t/**\n\t * Updates ApplePay paymentRequest with form data.\n\t * @param paymentRequest\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\t// Add custom data.\n\t\t// \"applicationData\" is originating a \"PayPalApplePayError: An internal server error has occurred\" on paypal.Applepay().confirmOrder().\n\t\t// paymentRequest.applicationData = this.fillApplicationData(this.formData);\n\n\t\tif ( ! this.shouldRequireShippingInButton() ) {\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\trequiredBillingContactFields: [ 'postalAddress' ], // ApplePay does not implement billing email and phone fields.\n\t\t};\n\n\t\tif ( ! this.shouldRequireShippingInButton() ) {\n\t\t\tif ( this.shouldCompletePaymentWithContextHandler() ) {\n\t\t\t\t// Data needs handled externally.\n\t\t\t\tbaseRequest.requiredShippingContactFields = [];\n\t\t\t} else {\n\t\t\t\t// Minimum data required for order creation.\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\trefreshContextData() {\n\t\tswitch ( this.context ) {\n\t\t\tcase 'product':\n\t\t\t\t// Refresh product data that makes the price change.\n\t\t\t\tthis.productQuantity =\n\t\t\t\t\tdocument.querySelector( 'input.qty' )?.value;\n\t\t\t\tthis.products = this.contextHandler.products();\n\t\t\t\tthis.log( 'Products updated', this.products );\n\t\t\t\tbreak;\n\t\t}\n\t}\n\n\t//------------------------\n\t// Payment process\n\t//------------------------\n\n\tonValidateMerchant( session ) {\n\t\tthis.log( 'onvalidatemerchant', this.buttonConfig.ajax_url );\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\tthis.log( 'onvalidatemerchant ok' );\n\t\t\t\t\tsession.completeMerchantValidation(\n\t\t\t\t\t\tvalidateResult.merchantSession\n\t\t\t\t\t);\n\t\t\t\t\t//call backend to update validation to true\n\t\t\t\t\tjQuery.ajax( {\n\t\t\t\t\t\turl: this.buttonConfig.ajax_url,\n\t\t\t\t\t\ttype: 'POST',\n\t\t\t\t\t\tdata: {\n\t\t\t\t\t\t\taction: 'ppcp_validate',\n\t\t\t\t\t\t\tvalidation: true,\n\t\t\t\t\t\t\t'woocommerce-process-checkout-nonce': this.nonce,\n\t\t\t\t\t\t},\n\t\t\t\t\t} );\n\t\t\t\t} )\n\t\t\t\t.catch( ( validateError ) => {\n\t\t\t\t\tthis.log( 'onvalidatemerchant error', validateError );\n\t\t\t\t\tconsole.error( validateError );\n\t\t\t\t\t//call backend to update validation to false\n\t\t\t\t\tjQuery.ajax( {\n\t\t\t\t\t\turl: this.buttonConfig.ajax_url,\n\t\t\t\t\t\ttype: 'POST',\n\t\t\t\t\t\tdata: {\n\t\t\t\t\t\t\taction: 'ppcp_validate',\n\t\t\t\t\t\t\tvalidation: false,\n\t\t\t\t\t\t\t'woocommerce-process-checkout-nonce': this.nonce,\n\t\t\t\t\t\t},\n\t\t\t\t\t} );\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 ajax_url = 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: ajax_url,\n\t\t\t\tmethod: 'POST',\n\t\t\t\tdata,\n\t\t\t\tsuccess: (\n\t\t\t\t\tapplePayShippingMethodUpdate,\n\t\t\t\t\ttextStatus,\n\t\t\t\t\tjqXHR\n\t\t\t\t) => {\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 the first one.\n\t\t\t\t\tresponse.newShippingMethods =\n\t\t\t\t\t\tresponse.newShippingMethods.sort( ( a, b ) => {\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 ajax_url = 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: ajax_url,\n\t\t\t\tmethod: 'POST',\n\t\t\t\tdata,\n\t\t\t\tsuccess: (\n\t\t\t\t\tapplePayShippingContactUpdate,\n\t\t\t\t\ttextStatus,\n\t\t\t\t\tjqXHR\n\t\t\t\t) => {\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 product_id = this.buttonConfig.product.id;\n\n\t\tthis.refreshContextData();\n\n\t\tswitch ( this.context ) {\n\t\t\tcase 'product':\n\t\t\t\treturn {\n\t\t\t\t\taction: 'ppcp_update_shipping_contact',\n\t\t\t\t\tproduct_id,\n\t\t\t\t\tproducts: JSON.stringify( this.products ),\n\t\t\t\t\tcaller_page: 'productDetail',\n\t\t\t\t\tproduct_quantity: this.productQuantity,\n\t\t\t\t\tsimplified_contact: event.shippingContact,\n\t\t\t\t\tneed_shipping: this.shouldRequireShippingInButton(),\n\t\t\t\t\t'woocommerce-process-checkout-nonce': this.nonce,\n\t\t\t\t};\n\t\t\tcase 'cart':\n\t\t\tcase 'checkout':\n\t\t\tcase 'cart-block':\n\t\t\tcase 'checkout-block':\n\t\t\tcase 'mini-cart':\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.shouldRequireShippingInButton(),\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 product_id = this.buttonConfig.product.id;\n\n\t\tthis.refreshContextData();\n\n\t\tswitch ( this.context ) {\n\t\t\tcase '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,\n\t\t\t\t\tproducts: JSON.stringify( this.products ),\n\t\t\t\t\tcaller_page: 'productDetail',\n\t\t\t\t\tproduct_quantity: this.productQuantity,\n\t\t\t\t\t'woocommerce-process-checkout-nonce': this.nonce,\n\t\t\t\t};\n\t\t\tcase 'cart':\n\t\t\tcase 'checkout':\n\t\t\tcase 'cart-block':\n\t\t\tcase 'checkout-block':\n\t\t\tcase 'mini-cart':\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\tfunction form() {\n\t\t\t\treturn document.querySelector( 'form.cart' );\n\t\t\t}\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 request_data = {\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.products ),\n\t\t\t\t\t\t\tproduct_quantity: this.productQuantity ?? null,\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: request_data,\n\t\t\t\t\t\t\tcomplete: ( jqXHR, textStatus ) => {\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: (\n\t\t\t\t\t\t\t\tauthorizationResult,\n\t\t\t\t\t\t\t\ttextStatus,\n\t\t\t\t\t\t\t\tjqXHR\n\t\t\t\t\t\t\t) => {\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.log( 'onpaymentauthorized catch', error );\n\t\t\t\t\t\tconsole.log( error ); // handle 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 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(\n\t\t\t\t\t\t\t\t\t\t\t\t( resolve, reject ) => {\n\t\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\t\tresolve();\n\t\t\t\t\t\t\t\t\t\t\t\t}\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(\n\t\t\t\t\t\t\t\t\t\t\t\t\t( resolve, reject ) => {\n\t\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\t}\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.log(\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\tconsole.error( error );\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\tfillBillingContact( data ) {\n\t\treturn {\n\t\t\tgivenName: data.billing_first_name ?? '',\n\t\t\tfamilyName: data.billing_last_name ?? '',\n\t\t\temailAddress: data.billing_email ?? '',\n\t\t\tphoneNumber: data.billing_phone ?? '',\n\t\t\taddressLines: [ data.billing_address_1, data.billing_address_2 ],\n\t\t\tlocality: data.billing_city ?? '',\n\t\t\tpostalCode: data.billing_postcode ?? '',\n\t\t\tcountryCode: data.billing_country ?? '',\n\t\t\tadministrativeArea: data.billing_state ?? '',\n\t\t};\n\t}\n\n\tfillShippingContact( data ) {\n\t\tif ( data.shipping_first_name === '' ) {\n\t\t\treturn this.fillBillingContact( data );\n\t\t}\n\t\treturn {\n\t\t\tgivenName:\n\t\t\t\tdata?.shipping_first_name && data.shipping_first_name !== ''\n\t\t\t\t\t? data.shipping_first_name\n\t\t\t\t\t: data?.billing_first_name,\n\t\t\tfamilyName:\n\t\t\t\tdata?.shipping_last_name && data.shipping_last_name !== ''\n\t\t\t\t\t? data.shipping_last_name\n\t\t\t\t\t: data?.billing_last_name,\n\t\t\temailAddress:\n\t\t\t\tdata?.shipping_email && data.shipping_email !== ''\n\t\t\t\t\t? data.shipping_email\n\t\t\t\t\t: data?.billing_email,\n\t\t\tphoneNumber:\n\t\t\t\tdata?.shipping_phone && data.shipping_phone !== ''\n\t\t\t\t\t? data.shipping_phone\n\t\t\t\t\t: data?.billing_phone,\n\t\t\taddressLines: [\n\t\t\t\tdata.shipping_address_1 ?? '',\n\t\t\t\tdata.shipping_address_2 ?? '',\n\t\t\t],\n\t\t\tlocality:\n\t\t\t\tdata?.shipping_city && data.shipping_city !== ''\n\t\t\t\t\t? data.shipping_city\n\t\t\t\t\t: data?.billing_city,\n\t\t\tpostalCode:\n\t\t\t\tdata?.shipping_postcode && data.shipping_postcode !== ''\n\t\t\t\t\t? data.shipping_postcode\n\t\t\t\t\t: data?.billing_postcode,\n\t\t\tcountryCode:\n\t\t\t\tdata?.shipping_country && data.shipping_country !== ''\n\t\t\t\t\t? data.shipping_country\n\t\t\t\t\t: data?.billing_country,\n\t\t\tadministrativeArea:\n\t\t\t\tdata?.shipping_state && data.shipping_state !== ''\n\t\t\t\t\t? data.shipping_state\n\t\t\t\t\t: data?.billing_state,\n\t\t};\n\t}\n\n\tfillApplicationData( data ) {\n\t\tconst jsonString = JSON.stringify( data );\n\t\tconst utf8Str = encodeURIComponent( jsonString ).replace(\n\t\t\t/%([0-9A-F]{2})/g,\n\t\t\t( match, p1 ) => {\n\t\t\t\treturn String.fromCharCode( '0x' + p1 );\n\t\t\t}\n\t\t);\n\n\t\treturn btoa( utf8Str );\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","import buttonModuleWatcher from '../../../ppcp-button/resources/js/modules/ButtonModuleWatcher';\nimport ApplepayButton from './ApplepayButton';\n\nclass ApplepayManager {\n\tconstructor( buttonConfig, ppcpConfig ) {\n\t\tthis.buttonConfig = buttonConfig;\n\t\tthis.ppcpConfig = ppcpConfig;\n\t\tthis.ApplePayConfig = null;\n\t\tthis.buttons = [];\n\n\t\tbuttonModuleWatcher.watchContextBootstrap( ( bootstrap ) => {\n\t\t\tconst button = new ApplepayButton(\n\t\t\t\tbootstrap.context,\n\t\t\t\tbootstrap.handler,\n\t\t\t\tbuttonConfig,\n\t\t\t\tppcpConfig\n\t\t\t);\n\n\t\t\tthis.buttons.push( button );\n\n\t\t\tif ( this.ApplePayConfig ) {\n\t\t\t\tbutton.init( this.ApplePayConfig );\n\t\t\t}\n\t\t} );\n\t}\n\n\tinit() {\n\t\t( async () => {\n\t\t\tawait this.config();\n\t\t\tfor ( const button of this.buttons ) {\n\t\t\t\tbutton.init( this.ApplePayConfig );\n\t\t\t}\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\t/**\n\t * Gets ApplePay configuration of the PayPal merchant.\n\t * @return {Promise}\n\t */\n\tasync config() {\n\t\tthis.ApplePayConfig = await paypal.Applepay().config();\n\t\treturn this.ApplePayConfig;\n\t}\n}\n\nexport default ApplepayManager;\n","import { loadCustomScript } from '@paypal/paypal-js';\nimport { loadPaypalScript } from '../../../ppcp-button/resources/js/modules/Helper/ScriptLoading';\nimport ApplepayManager from './ApplepayManager';\nimport { setupButtonEvents } from '../../../ppcp-button/resources/js/modules/Helper/ButtonRefreshHelper';\n\n( function ( { buttonConfig, ppcpConfig, jQuery } ) {\n\tlet manager;\n\n\tconst bootstrap = function () {\n\t\tmanager = new ApplepayManager( buttonConfig, ppcpConfig );\n\t\tmanager.init();\n\t};\n\n\tsetupButtonEvents( function () {\n\t\tif ( manager ) {\n\t\t\tmanager.reinit();\n\t\t}\n\t} );\n\n\tdocument.addEventListener( 'DOMContentLoaded', () => {\n\t\tif (\n\t\t\ttypeof buttonConfig === 'undefined' ||\n\t\t\ttypeof ppcpConfig === 'undefined'\n\t\t) {\n\t\t\treturn;\n\t\t}\n\t\tconst isMiniCart = ppcpConfig.mini_cart_buttons_enabled;\n\t\tconst isButton = jQuery( '#' + buttonConfig.button.wrapper ).length > 0;\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 ( ! isMiniCart && ! isButton ) {\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( ppcpConfig, () => {\n\t\t\tpaypalLoaded = true;\n\t\t\ttryToBoot();\n\t\t} );\n\t} );\n} )( {\n\tbuttonConfig: window.wc_ppcp_applepay,\n\tppcpConfig: window.PayPalCommerceGateway,\n\tjQuery: window.jQuery,\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\tdocument.body.addEventListener( 'updated_cart_totals', debouncedRefresh );\n\tdocument.body.addEventListener( '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\tlet timeoutId = null;\n\treturn ( ...args ) => {\n\t\twindow.clearTimeout( timeoutId );\n\t\ttimeoutId = window.setTimeout( () => {\n\t\t\tcallback.apply( null, args );\n\t\t}, delayMs );\n\t};\n};\n"],"names":["isCallable","tryToString","$TypeError","TypeError","module","exports","argument","isConstructor","$String","String","wellKnownSymbol","create","defineProperty","UNSCOPABLES","ArrayPrototype","Array","prototype","undefined","configurable","value","key","charAt","S","index","unicode","length","isPrototypeOf","it","Prototype","isObject","$forEach","STRICT_METHOD","arrayMethodIsStrict","forEach","callbackfn","this","arguments","bind","call","toObject","callWithSafeIterationClosing","isArrayIteratorMethod","lengthOfArrayLike","createProperty","getIterator","getIteratorMethod","$Array","arrayLike","O","IS_CONSTRUCTOR","argumentsLength","mapfn","mapping","result","step","iterator","next","iteratorMethod","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","target","map","filter","some","every","find","findIndex","filterReject","fails","V8_VERSION","SPECIES","METHOD_NAME","array","constructor","foo","Boolean","method","DESCRIPTORS","isArray","getOwnPropertyDescriptor","Object","SILENT_ON_NON_WRITABLE_LENGTH_SET","writable","error","max","Math","start","end","k","fin","n","slice","arraySlice","floor","mergeSort","comparefn","middle","insertionSort","merge","element","j","i","left","right","llength","rlength","lindex","rindex","originalArray","C","arraySpeciesConstructor","itoc","ctoi","anObject","iteratorClose","fn","ENTRIES","ITERATOR","SAFE_CLOSING","called","iteratorWithReturn","from","exec","SKIP_CLOSING","ITERATION_SUPPORT","object","toString","stringSlice","TO_STRING_TAG_SUPPORT","classofRaw","TO_STRING_TAG","$Object","CORRECT_ARGUMENTS","tag","tryGet","callee","hasOwn","ownKeys","getOwnPropertyDescriptorModule","definePropertyModule","source","exceptions","keys","f","F","getPrototypeOf","createPropertyDescriptor","bitmap","enumerable","toPropertyKey","propertyKey","ordinaryToPrimitive","hint","makeBuiltIn","name","descriptor","get","getter","set","setter","defineGlobalProperty","options","simple","global","unsafe","nonConfigurable","nonWritable","P","documentAll","document","all","IS_HTMLDDA","EXISTS","createElement","IndexSizeError","s","c","m","DOMStringSizeError","HierarchyRequestError","WrongDocumentError","InvalidCharacterError","NoDataAllowedError","NoModificationAllowedError","NotFoundError","NotSupportedError","InUseAttributeError","InvalidStateError","SyntaxError","InvalidModificationError","NamespaceError","InvalidAccessError","ValidationError","TypeMismatchError","SecurityError","NetworkError","AbortError","URLMismatchError","QuotaExceededError","TimeoutError","InvalidNodeTypeError","DataCloneError","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","IS_DENO","IS_NODE","window","Deno","version","UA","test","userAgent","Pebble","classof","process","navigator","versions","v8","split","webkit","$Error","Error","replace","TEST","stack","V8_OR_CHAKRA_STACK_ENTRY","IS_V8_OR_CHAKRA_STACK","dropEntries","prepareStackTrace","createNonEnumerableProperty","clearErrorStack","ERROR_STACK_INSTALLABLE","captureStackTrace","normalizeStringArgument","nativeErrorToString","INCORRECT_TO_STRING","message","defineBuiltIn","copyConstructorProperties","isForced","targetProperty","sourceProperty","TARGET","GLOBAL","STATIC","stat","dontCallGetSet","forced","sham","regexpExec","RegExpPrototype","RegExp","KEY","FORCED","SHAM","SYMBOL","DELEGATES_TO_SYMBOL","DELEGATES_TO_EXEC","execCalled","re","flags","uncurriedNativeRegExpMethod","methods","nativeMethod","regexp","str","arg2","forceStringMethod","uncurriedNativeMethod","$exec","NATIVE_BIND","FunctionPrototype","Function","apply","Reflect","aCallable","hasOwnProperty","$Function","concat","join","factories","partArgs","args","argsLength","list","construct","getDescriptor","PROPER","CONFIGURABLE","uncurryThisWithBind","namespace","getMethod","isNullOrUndefined","Iterators","usingIterator","replacer","rawLength","keysLength","root","V","func","SUBSTITUTION_SYMBOLS","SUBSTITUTION_SYMBOLS_NO_NAMED","matched","position","captures","namedCaptures","replacement","tailPos","symbols","ch","capture","check","globalThis","g","a","b","console","getBuiltIn","propertyIsEnumerable","setPrototypeOf","dummy","Wrapper","NewTarget","NewTargetPrototype","store","functionToString","inspectSource","cause","has","NATIVE_WEAK_MAP","shared","sharedKey","hiddenKeys","OBJECT_ALREADY_INITIALIZED","WeakMap","state","metadata","facade","STATE","enforce","getterFor","type","$documentAll","noop","empty","constructorRegExp","isConstructorModern","isConstructorLegacy","feature","detection","data","normalize","POLYFILL","NATIVE","string","toLowerCase","USE_SYMBOL_AS_UID","$Symbol","Result","stopped","ResultPrototype","iterable","unboundFunction","iterFn","AS_ENTRIES","IS_RECORD","IS_ITERATOR","INTERRUPTED","stop","condition","callFn","kind","innerResult","innerError","IteratorPrototype","setToStringTag","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","CurrentIteratorPrototype","getIterationMethod","KIND","defaultIterator","IterablePrototype","INCORRECT_VALUES_NAME","nativeIterator","anyNativeIterator","entries","values","proto","PrototypeOfArrayIteratorPrototype","arrayIterator","toLength","obj","InternalStateModule","enforceInternalState","getInternalState","CONFIGURABLE_LENGTH","TEMPLATE","arity","ceil","trunc","x","notify","toggle","node","promise","then","macrotask","Queue","IS_IOS","IS_IOS_PEBBLE","IS_WEBOS_WEBKIT","MutationObserver","WebKitMutationObserver","Promise","queueMicrotaskDescriptor","microtask","queue","flush","parent","domain","exit","head","enter","resolve","nextTick","createTextNode","observe","characterData","add","PromiseCapability","reject","$$resolve","$$reject","$default","objectKeys","getOwnPropertySymbolsModule","propertyIsEnumerableModule","$assign","assign","A","B","symbol","Symbol","alphabet","chr","T","getOwnPropertySymbols","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","src","contentWindow","open","Properties","V8_PROTOTYPE_DEFINE_BUG","defineProperties","props","IE8_DOM_DEFINE","$defineProperty","$getOwnPropertyDescriptor","ENUMERABLE","WRITABLE","Attributes","current","$getOwnPropertyNames","windowNames","getOwnPropertyNames","getWindowNames","internalObjectKeys","CORRECT_PROTOTYPE_GETTER","ObjectPrototype","names","$propertyIsEnumerable","NASHORN_BUG","uncurryThisAccessor","aPossiblePrototype","CORRECT_SETTER","__proto__","input","pref","val","valueOf","getOwnPropertyNamesModule","NativePromiseConstructor","IS_BROWSER","NativePromisePrototype","SUBCLASSING","NATIVE_PROMISE_REJECTION_EVENT","PromiseRejectionEvent","FORCED_PROMISE_CONSTRUCTOR","PROMISE_CONSTRUCTOR_SOURCE","GLOBAL_CORE_JS_PROMISE","FakePromise","CONSTRUCTOR","REJECTION_EVENT","newPromiseCapability","promiseCapability","checkCorrectnessOfIteration","Target","Source","tail","item","entry","R","re1","re2","regexpFlags","stickyHelpers","UNSUPPORTED_DOT_ALL","UNSUPPORTED_NCG","nativeReplace","nativeExec","patchedExec","UPDATES_LAST_INDEX_WRONG","lastIndex","UNSUPPORTED_Y","BROKEN_CARET","NPCG_INCLUDED","reCopy","group","raw","groups","sticky","charsAdded","strCopy","multiline","hasIndices","ignoreCase","dotAll","unicodeSets","regExpFlags","$RegExp","MISSED_STICKY","defineBuiltInAccessor","CONSTRUCTOR_NAME","Constructor","TAG","uid","SHARED","mode","copyright","license","aConstructor","defaultConstructor","toIntegerOrInfinity","requireObjectCoercible","charCodeAt","CONVERT_TO_STRING","pos","first","second","size","codeAt","whitespaces","ltrim","rtrim","trim","SymbolPrototype","TO_PRIMITIVE","NATIVE_SYMBOL","keyFor","$location","defer","channel","port","validateArgumentsLength","setImmediate","clear","clearImmediate","Dispatch","MessageChannel","counter","ONREADYSTATECHANGE","location","run","id","runner","eventListener","event","globalPostMessageDefer","postMessage","protocol","host","handler","now","port2","port1","onmessage","addEventListener","importScripts","removeChild","setTimeout","min","integer","number","isSymbol","exoticToPrim","toPrimitive","postfix","random","passed","required","path","wrappedWellKnownSymbolModule","WellKnownSymbolsStore","createWellKnownSymbol","withoutSetter","proxyAccessor","inheritIfRequired","installErrorCause","installErrorStack","FULL_NAME","wrapper","IS_AGGREGATE_ERROR","STACK_TRACE_LIMIT","OPTIONS_POSITION","ERROR_NAME","OriginalError","OriginalErrorPrototype","BaseError","WrappedError","doesNotExceedSafeInteger","arrayMethodHasSpeciesSupport","IS_CONCAT_SPREADABLE","IS_CONCAT_SPREADABLE_SUPPORT","isConcatSpreadable","spreadable","arg","len","E","$indexOf","nativeIndexOf","NEGATIVE_ZERO","searchElement","addToUnscopables","defineIterator","createIterResultObject","ARRAY_ITERATOR","setInternalState","iterated","Arguments","setArrayLength","properErrorOnNonWritableLength","argCount","nativeReverse","reverse","nativeSlice","HAS_SPECIES_SUPPORT","deletePropertyOrThrow","internalSort","FF","IE_OR_EDGE","V8","WEBKIT","nativeSort","sort","FAILS_ON_UNDEFINED","FAILS_ON_NULL","STABLE_SORT","code","fromCharCode","v","itemsLength","items","arrayLength","y","getSortCompare","dateToPrimitive","DatePrototype","Date","wrapErrorConstructorWithCause","WEB_ASSEMBLY","WebAssembly","exportGlobalErrorCauseWrapper","exportWebAssemblyErrorCauseWrapper","init","getReplacerFunction","$stringify","numberToString","tester","low","hi","WRONG_SYMBOLS_CONVERSION","ILL_FORMED_UNICODE","stringifyWithSymbolsFix","$replacer","fixIllFormed","offset","prev","stringify","space","JSON","thisNumberValue","NUMBER","NativeNumber","PureNumberNamespace","NumberPrototype","NumberWrapper","primValue","third","radix","maxCode","digits","NaN","parseInt","toNumber","toNumeric","wrap","Number","iterate","fromEntries","$getOwnPropertySymbols","nativeGetPrototypeOf","nativeKeys","newPromiseCapabilityModule","perform","capability","$promiseResolve","remaining","alreadyCalled","real","onRejected","Internal","OwnPromiseCapability","nativeThen","setSpecies","anInstance","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","promiseResolve","PromiseConstructorWrapper","CHECK_WRAPPER","nativeConstruct","NEW_TARGET_BUG","ARGS_BUG","newTarget","$args","instance","nativeTest","$toString","getRegExpFlags","TO_STRING","nativeToString","NOT_GENERIC","INCORRECT_NAME","STRING_ITERATOR","point","fixRegExpWellKnownSymbolLogic","advanceStringIndex","getSubstitution","regExpExec","REPLACE","stringIndexOf","REPLACE_KEEPS_$0","REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE","_","maybeCallNative","UNSAFE_SUBSTITUTE","searchValue","replaceValue","rx","res","functionalReplace","fullUnicode","results","accumulatedResult","nextSourcePosition","replacerArgs","defineWellKnownSymbol","nativeObjectCreate","getOwnPropertyNamesExternal","defineSymbolToPrimitive","HIDDEN","QObject","nativeGetOwnPropertyDescriptor","nativeDefineProperty","nativeGetOwnPropertyNames","nativePropertyIsEnumerable","AllSymbols","ObjectPrototypeSymbols","USE_SETTER","findChild","setSymbolDescriptor","ObjectPrototypeDescriptor","description","$defineProperties","properties","IS_OBJECT_PROTOTYPE","useSetter","useSimple","NativeSymbol","EmptyStringDescriptionStore","SymbolWrapper","thisSymbolValue","symbolDescriptiveString","desc","NATIVE_SYMBOL_REGISTRY","StringToSymbolRegistry","SymbolToStringRegistry","sym","$btoa","NO_ARG_RECEIVING_CHECK","WRONG_ARG_CONVERSION","WRONG_ARITY","btoa","block","charCode","output","DOMIterables","handlePrototype","CollectionPrototype","COLLECTION_NAME","ArrayIteratorMethods","ArrayValues","tryNodeRequire","errorToString","DOMExceptionConstants","DOM_EXCEPTION","DATA_CLONE_ERR","NativeDOMException","NativeDOMExceptionPrototype","ErrorPrototype","HAS_STACK","codeFor","$DOMException","DOMExceptionPrototype","createGetterDescriptor","INCORRECT_CONSTRUCTOR","INCORRECT_CODE","MISSED_CONSTANTS","FORCED_CONSTRUCTOR","DOMException","PolyfilledDOMException","PolyfilledDOMExceptionPrototype","constant","constantName","ERROR_HAS_STACK","DOM_EXCEPTION_HAS_STACK","BUGGY_DESCRIPTOR","isMergeableObject","isNonNullObject","stringValue","$$typeof","REACT_ELEMENT_TYPE","isReactElement","isSpecial","for","cloneUnlessOtherwiseSpecified","clone","deepmerge","defaultArrayMerge","getKeys","getEnumerableOwnPropertySymbols","propertyIsOnObject","property","arrayMerge","sourceIsArray","destination","propertyIsUnsafe","customMerge","getMergeFunction","mergeObject","reduce","deepmerge_1","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","__webpack_modules__","__esModule","d","definition","o","e","prop","loadCustomScript","PromisePonyfill","validateArguments","url","attributes","_a","onSuccess","onError","newScript","defaultError","fetch","response","status","text","parseMessage","originalErrorText","parseErrorMessage","catch","err","setAttribute","createScriptElement","onerror","onload","insertBefore","firstElementChild","sdkBaseUrl","params","queryString","optionsWithStringIndex","accumulator","indexOfMatch","substring","dataAttributes","queryParams","existingWindowNamespace","currentScript","querySelector","nextScript","currentScriptClone","cloneNode","dataset","uidAuto","isExactMatch","newWindowNamespace","dataClientIdAttributeHandler","scriptOptions","config","callback","errorCallback","endpoint","headers","credentials","body","nonce","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","append","PaymentMethods","randomUUID","crypto","getRandomValues","rnds8","Uint8Array","rng","byteToHex","buf","rnds","arr","unsafeStringify","ppcpWidgetBuilder","isLoading","onLoadedCallbacks","onErrorCallbacks","loadPaypalScript","onLoaded","resetState","onLoadedCallback","onErrorCallback","toUpperCase","keysToCamelCase","url_params","script_attributes","sdkClientToken","axo","sdk_client_token","uuid","uuidv4","data_client_id","set_attribute","vault_v3_enabled","userIdToken","save_payment_methods","id_token","ppcpResources","ButtonModuleWatcher","contextBootstrapRegistry","contextBootstrapWatchers","watchContextBootstrap","callable","registerContextBootstrap","context","quantity","variations","extra","Product","booking","super","onApprove","errorHandler","actions","ajax","approve_order","order_id","orderID","funding_source","ppcpFundingSource","should_create_wc_order","vaultingEnabled","paymentSource","success","genericError","restart","orderReceivedUrl","order_received_url","href","redirect","payerData","payer","PayPalCommerceGateway","phone","phone_type","phone_number","national_number","email_address","surname","given_name","address","country_code","address_line_1","address_line_2","admin_area_1","admin_area_2","postal_code","FormHelper","static","formElement","prefix","formData","FormData","fields","startsWith","exactFilters","prefixFilters","counters","prefixFilter","updateCart","cartHelper","subscriptionsConfiguration","subscription_plan","createSubscription","subscription","plan_id","approve_subscription","subscription_id","subscriptionID","products","getSubscriptionProducts","change_cart","extraFields","configuration","createOrder","refreshMiniCart","isBookingProduct","onCancel","cleanCart","getProducts","BookingProduct","getPrefixedFields","isGroupedProduct","querySelectorAll","elementName","getAttribute","qty","getFilteredFields","update","purchase_units","cartItemKeys","getEndpoint","ajaxUrl","wc_cart_fragments_params","wc_ajax_url","addFromPurchaseUnits","purchaseUnits","purchaseUnit","cart_item_key","removeFromCart","numRequests","numResponses","tryToResolve","cartItemKey","URLSearchParams","bnCode","bn_codes","create_order","bn_code","payment_method","updateCartOptions","hasVariations","contains","genericErrorText","appendPreparedErrorMessageElement","errorMessageElement","_getMessageContainer","replaceWith","_addMessage","_scrollToMessages","texts","t","currentHtml","outerHTML","messageContainer","messageNode","_prepareMessageElement","scroll_to_notices","prepend","li","innerHTML","remove","BaseHandler","buttonConfig","ppcpConfig","_classCallCheck","_this$ppcpConfig","_this$ppcpConfig2","_this$ppcpConfig3","paypal_subscriptions_enabled","can_save_vault_token","_this$ppcpConfig4","locations_with_subscription_product","cart","isVaultV3Mode","product","needShipping","_this","cart_script_params","separator","countryCode","currencyCode","currency_code","totalPriceStatus","totalPrice","total_str","chosenShippingMethods","chosen_shipping_methods","shippingPackages","shipping_packages","actionHandler","subscription_plan_id","ErrorHandler","labels","generic","_BaseHandler","_inherits","SingleProductHandler","_super","SingleProductActionHandler","has_subscriptions","simulate","onResolve","resolved","simulate_cart","keepShipping","CartHandler","setTarget","overlayCSS","background","opacity","unblock","h","l","w","q","u","D","G","H","return","J","throw","I","K","L","Blob","M","N","File","Q","XMLHttpRequest","send","Request","U","sendBeacon","Element","W","toStringTag","lastModified","escape","X","elements","disabled","matches","files","selected","checked","getAll","p","_asNative","_blob","matchesSelector","mozMatchesSelector","msMatchesSelector","oMatchesSelector","webkitMatchesSelector","ownerDocument","Y","setRequestHeader","spinner","click","FormValidator","async","form","form_encoded","refresh","errors","Spinner","formSelector","formValidator","early_checkout_validation_enabled","validate_checkout","validate","createaccount","is","paymentMethod","getCurrentPaymentMethod","fundingSource","savePaymentMethod","getElementById","save_payment_method","domParser","DOMParser","parseFromString","details","issue","custom_id","addPaymentMethodConfiguration","createVaultSetupToken","create_setup_token","vaultSetupToken","create_payment_token_for_guest","vault_setup_token","CheckoutHandler","CheckoutActionHandler","CartBlockHandler","CheckoutBlockHandler","MiniCartHandler","PreviewHandler","externalHandler","_regeneratorRuntime","Op","iteratorSymbol","asyncIteratorSymbol","asyncIterator","toStringTagSymbol","define","innerFn","outerFn","tryLocsList","protoGenerator","Generator","generator","Context","makeInvokeMethod","tryCatch","ContinueSentinel","GeneratorFunction","GeneratorFunctionPrototype","getProto","NativeIteratorPrototype","Gp","defineIteratorMethods","_invoke","AsyncIterator","PromiseImpl","invoke","record","_typeof","__await","unwrapped","previousPromise","callInvokeWithMethodAndArg","delegate","delegateResult","maybeInvokeDelegate","sent","_sent","dispatchException","abrupt","methodName","info","resultName","nextLoc","pushTryEntry","locs","tryLoc","catchLoc","finallyLoc","afterLoc","tryEntries","resetTryEntry","completion","reset","isNaN","doneResult","displayName","isGeneratorFunction","genFun","ctor","mark","awrap","iter","pop","skipTempReset","rootRecord","rval","exception","handle","loc","caught","hasCatch","hasFinally","finallyEntry","complete","finish","thrown","delegateYield","asyncGeneratorStep","gen","_next","_throw","_defineProperties","prim","_toPrimitive","_setPrototypeOf","_getPrototypeOf","subClass","superClass","PayNowHandler","protoProps","Derived","hasNativeReflectConstruct","Proxy","_isNativeReflectConstruct","Super","ReferenceError","_assertThisInitialized","_possibleConstructorReturn","payorder","_ref","_callee","_context","pay_now","_x","_x2","ContextHandlerFactory","createAppleErrors","_step","errorList","_iterator","_createForOfIteratorHelper","_error$contactField","contactField","_error$code","_error$message","appleError","ApplePayError","triggerShown","selectorOrElement","action","setVisible","show","important","getElement","currentValue","getPropertyValue","removeProperty","offsetWidth","offsetHeight","getClientRects","isVisible","setProperty","triggerHidden","setEnabled","enable","removeClass","css","triggerEnabled","addClass","stopImmediatePropagation","$form","hasClass","triggerDisabled","ApmButtons","selectorInContainer","containers","reloadContainers","resize","ev","observeElementsCallback","childList","subtree","mutationsList","observer","observeSelector","shouldReload","mutation","addedNodes","each","$el","container","$container","width","$firstElement","children","height","margin","round","_asyncToGenerator","ApplepayButton","_document$getElementB","apmButtonsInit","ppcpApmButtons","button","isInitialized","paymentsClient","contextHandler","updatedContactInfo","selectedShippingMethod","initialPaymentRequest","is_debug","refreshContextData","ppcpApplepayButtons","_onButtonClick","_fetchTransactionInfo","_this2","validateContext","initEventHandlers","applePayConfig","ApplePaySession","is_admin","fetchTransactionInfo","addButton","_document$querySelect","_document$querySelect2","id_minicart","mini_cart_wrapper","evt","preventDefault","onButtonClick","hide","transactionInfo","ppcpStyle","buttonStyle","ppcpButtonWrapper","mini_cart_style","_this3","_this$contextConfig","contextConfig","wrapper_id","syncButtonVisibility","$ppcpButtonWrapper","paymentRequest","session","begin","shouldRequireShippingInButton","onshippingmethodselected","onShippingMethodSelected","onshippingcontactselected","onShippingContactSelected","onvalidatemerchant","onValidateMerchant","onpaymentauthorized","onPaymentAuthorized","_this$contextConfig2","appleContainer","language","lang","color","shape","_callee2","checkoutFormSelector","_context2","updateRequestDataWithForm","applePaySession","abort","t0","shippingAllowed","shouldUpdateButtonWithFormData","_this$buttonConfig","preferences","checkout_data_mode","billingContact","fillBillingContact","shippingContact","fillShippingContact","rate","shippingMethods","shippingPackage","shippingMethod","label","detail","cost_str","identifier","_step2","_iterator2","applepayConfig","baseRequest","merchantCapabilities","supportedNetworks","requiredShippingContactFields","requiredBillingContactFields","shouldCompletePaymentWithContextHandler","shop","total","totalLabel","_document$querySelect3","productQuantity","_this4","ajax_url","applePayValidateMerchantEvent","Applepay","validateMerchant","validationUrl","validationURL","validateResult","completeMerchantValidation","merchantSession","validation","validateError","_this5","getShippingMethodData","applePayShippingMethodUpdate","textStatus","jqXHR","newShippingMethods","completeShippingMethodSelection","errorThrown","warn","_this6","getShippingContactData","applePayShippingContactUpdate","completeShippingContactSelection","product_id","caller_page","product_quantity","simplified_contact","need_shipping","_this$initialPaymentR","_this$initialPaymentR2","_this$initialPaymentR3","_this$initialPaymentR4","_this$initialPaymentR5","_this$initialPaymentR6","shipping_method","hasValidContactInfo","_this7","_callee4","processInWooAndCapture","confirmOrderResponse","approveFailed","authorizationResult","_context4","_ref2","_callee3","_context3","_this7$buttonConfig$p","_this7$productQuantit","billing_contact","shipping_contact","request_data","payment","_wp_http_referer","paypal_order_id","confirmOrder","orderId","approveApplePayPayment","approveOrder","order","completePayment","STATUS_FAILURE","STATUS_SUCCESS","t1","_data$billing_first_n","_data$billing_last_na","_data$billing_email","_data$billing_phone","_data$billing_city","_data$billing_postcod","_data$billing_country","_data$billing_state","givenName","billing_first_name","familyName","billing_last_name","emailAddress","billing_email","phoneNumber","billing_phone","addressLines","billing_address_1","billing_address_2","locality","billing_city","postalCode","billing_postcode","billing_country","administrativeArea","billing_state","_data$shipping_addres","_data$shipping_addres2","shipping_first_name","shipping_last_name","shipping_email","shipping_phone","shipping_address_1","shipping_address_2","shipping_city","shipping_postcode","shipping_country","shipping_state","jsonString","utf8Str","encodeURIComponent","p1","allowArrayLike","minLen","_arrayLikeToArray","_unsupportedIterableToArray","_e","normalCompletion","didErr","_e2","arr2","ApplepayManager","ApplePayConfig","buttonModuleWatcher","bootstrap","_config","reinit","manager","debouncedRefresh","debounce","delayMs","timeoutId","clearTimeout","setupButtonEvents","isMiniCart","mini_cart_buttons_enabled","isButton","bootstrapped","paypalLoaded","applePayLoaded","tryToBoot","sdk_url","wc_ppcp_applepay"],"sourceRoot":""}