PageSourceSearch

https://www.melissas.com/cdn/shop/t/40/assets/DynamicProduct.bundle.js?v=128411183634661230931768898735

js melissas.com collected 2026-09-24 20:47:28 UTC 6,876 bytes, 2 lines download raw bytes

1(window.wpJsonpPaskit=window.wpJsonpPaskit||[]).push([[13],{27:(function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",function(){return Product});var jquery__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0),jquery__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(jquery__WEBPACK_IMPORTED_MODULE_0__),scriptjs__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(1),scriptjs__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(scriptjs__WEBPACK_IMPORTED_MODULE_1__),shopify_currency_converter__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(9),shopify_currency_converter__WEBPACK_IMPORTED_MODULE_2___default=__webpack_require__.n(shopify_currency_converter__WEBPACK_IMPORTED_MODULE_2__),_Layout__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(6),_Forms__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(7),_components_RichText__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(10),_components_ProductDetails__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(29);function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){return protoProps&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),Constructor}var Product=(function(){function Product2(section){var _this=this,options=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};_classCallCheck(this,Product2),this.section=section,this.$el=jquery__WEBPACK_IMPORTED_MODULE_0___default()(this.section.el),this.context=section.data.context,this.settings=section.data.settings,this.product=section.data.product,this.richText=null,this.readmoreText=null,this.reviewForm=null,this.settings&&(this.isThreeColumn=this.settings.layout==="layout--three-col"),this.isThemeEditor=window.Shopify&&window.Shopify.designMode,this.useHistory="useHistory"in options?options.useHistory:!!(!this.isThemeEditor&&history.replaceState);var gallery=this.$el.find("[data-product-gallery]")[0];this.$details=this.$el.find("[data-product-details]"),this.$description=this.$el.find("[data-product-description]"),this.$readmore=this.$el.find("[data-product-readmore]"),this.$formRegular=this.$el.find("[data-product-form-regular]"),this.$formAlt=this.$el.find("[data-product-form-alt]"),this.$formArea=this.$el.find("[data-product-form-area]"),this.layoutHandler=this.onBreakpointChange.bind(this),_Layout__WEBPACK_IMPORTED_MODULE_3__.a.onBreakpointChange(this.layoutHandler),this.$productReviews=this.$el.find("[data-product-reviews]"),this._moveForm(),this.$description.length&&(this.richText=new _components_RichText__WEBPACK_IMPORTED_MODULE_5__.a(this.$description)),this.$readmore.length&&(this.readmoreText=new _components_RichText__WEBPACK_IMPORTED_MODULE_5__.a(this.$readmore)),this.$productReviews.length&&(this.reviewForm=new _Forms__WEBPACK_IMPORTED_MODULE_4__.a(this.$productReviews,".spr-form-input")),scriptjs__WEBPACK_IMPORTED_MODULE_1___default()(jquery__WEBPACK_IMPORTED_MODULE_0___default()("[data-scripts]").data("shopify-api-url"),function(){_this.productDetails=new _components_ProductDetails__WEBPACK_IMPORTED_MODULE_6__.a({$formArea:_this.$formArea,$details:_this.$details,gallery:gallery,context:_this.context,settings:_this.settings,product:_this.product,useHistory:_this.useHistory,sectionId:section.id})}),this._updatePrices()}return _createClass(Product2,[{key:"_updatePrices",value:function(){this.$el.find(".money:not([data-currency]").each(function(index,el){return shopify_currency_converter__WEBPACK_IMPORTED_MODULE_2___default.a.update(el)})}},{key:"onSectionUnload",value:function(){_Layout__WEBPACK_IMPORTED_MODULE_3__.a.offBreakpointChange(this.layoutHandler),this.productDetails&&this.productDetails.unload(),this.richText&&this.richText.unload(),this.readmoreText&&this.readmoreText.unload(),this.reviewForm&&this.reviewForm.unload()}}
1,{key:"onBreakpointChange",value:function(){this._moveForm()}},{key:"_moveForm",value:function(){if(this.isThreeColumn){if(_Layout__WEBPACK_IMPORTED_MODULE_3__.a.isGreaterThanBreakpoint("M")){if(!jquery__WEBPACK_IMPORTED_MODULE_0___default.a.contains(this.$formAlt[0],this.$formArea[0])){var $form=this.$formArea.detach();this.$formAlt.append($form)}}else if(!jquery__WEBPACK_IMPORTED_MODULE_0___default.a.contains(this.$formRegular[0],this.$formArea[0])){var _$form=this.$formArea.detach();this.$formRegular.append(_$form)}}}}]),Product2})()}),70:(function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"default",function(){return DynamicProduct});var _Product__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(27);function _typeof(obj){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof=function(obj2){return typeof obj2}:_typeof=function(obj2){return obj2&&typeof Symbol=="function"&&obj2.constructor===Symbol&&obj2!==Symbol.prototype?"symbol":typeof obj2},_typeof(obj)}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(self,call){return call&&(_typeof(call)==="object"||typeof call=="function")?call:_assertThisInitialized(self)}function _assertThisInitialized(self){if(self===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}function _getPrototypeOf(o){return _getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(o2){return o2.__proto__||Object.getPrototypeOf(o2)},_getPrototypeOf(o)}function _inherits(subClass,superClass){if(typeof superClass!="function"&&superClass!==null)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:!0,configurable:!0}}),superClass&&_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){return _setPrototypeOf=Object.setPrototypeOf||function(o2,p2){return o2.__proto__=p2,o2},_setPrototypeOf(o,p)}var DynamicProduct=(function(_Product){_inherits(DynamicProduct2,_Product);function DynamicProduct2(section){return _classCallCheck(this,DynamicProduct2),_possibleConstructorReturn(this,_getPrototypeOf(DynamicProduct2).call(this,section,{useHistory:!1}))}return DynamicProduct2})(_Product__WEBPACK_IMPORTED_MODULE_0__.a)})}]);
2//# sourceMappingURL=/cdn/shop/t/40/assets/DynamicProduct.bundle.js.map?v=128411183634661230931768898735

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.