PageSourceSearch

https://www.redken.com.br/themes/redken/async-chunks/confirmation-dialog-c876aa323f474696096d-chunk.js

js redken.com.br collected 2026-10-07 23:19:44 UTC 3,662 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkwf_core_setup=self.webpackChunkwf_core_setup||[]).push([[6677],{5942:(t,e,r)=>{r.r(e),r.d(e,{default:()=>u});var o=function(){var t=this,e=t._self._c;return e("div",{staticClass:"confirmation-dialog"},[t._t("trigger-component"),t._v(" "),e("modal",{attrs:{open:t.openDialog}},[e("div",{staticClass:"confirmation-dialog-content-wrapper2"},[e("div",{staticClass:"confirmation-dialog-content-wrapper-container"},[e("div",{staticClass:"confirmation-dialog-header"},[t._v("\n          "+t._s(this.message)+"\n        ")]),t._v(" "),e("div",{staticClass:"confirmation-dialog-footer"},[e("a",{staticClass:"btn",on:{click:function(e){t.openDialog=!1}}},[t._v(t._s(this.negativeText))]),t._v(" "),e("a",{staticClass:"btn",attrs:{href:t.afirmativeUrl,target:"_blank"},on:{click:function(e){t.openDialog=!1,t.addToCartClick()}}},[t._v(t._s(this.afirmativeText))])])])])])],2)};o._withStripped=!0;var i=r(5353);function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}function a(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,o)}return r}function c(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?a(Object(r),!0).forEach(function(e){s(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function s(t,e,r){return(e=function(t){var e=function(t){if("object"!=n(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==n(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}const l={name:"confirmation-dialog",props:{message:{type:String},negativeText:{type:String},afirmativeText:{type:String},productName:{type:String,default:""},productId:{type:String,default:""},productCategory:{type:String,default:""},productOverallProductRating:{type:String,default:""},productTotalRatingCount:{type:String,default:""}},data:function(){return{openDialog:!1,afirmativeUrl:"",storename:"",summaryRattingText:"summaryRating"}},methods:c(c({},(0,i.i0)({closeImageModal:"closeImageModal"})),{},{callDialog:function(t){this.afirmativeUrl=t.url,this.openDialog=!0,this.storename=t.storename.target.options[t.storename.target.options.selectedIndex].text},addToCartClick:function(){var t={title:this.productName,id:this.productId,category:this.productCategory,overallproductrating:this.productOverallProductRating,totalratingcount:this.productTotalRatingCount};this.addToCart(t,this.storename,this.summaryRattingText)},triggerDataLayer:function(){this.openDialog||window.dataLayer.push({event:"uaevent",event_name:"buy_now",ecommerce:"undefined",eventCategory:"Ecommerce",eventAction:"click to buy",eventLabel:"".concat(this.productName.toLowerCase().trim(),"::").concat(this.productId),product_info:"".concat(this.productName.toLowerCase().trim(),"::").concat(this.productId)})}}),created:function(){var t=this;this.$root.$on("dialogTrigger",this.callDialog),this.$root.$on("triggerDataLayer",this.triggerDataLayer),this.$on("closeModal",function(){t.closeImageModal()})}},u=(0,r(4486).A)(l,o,[],!1,null,null,null).exports}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.