PageSourceSearch

https://hobbyaescala.com/wp-content/plugins/woocommerce-product-ca…/build/index.js?ver=7.1.3

js hobbyaescala.com collected 2026-10-07 03:05:36 UTC 46,515 bytes, 861 lines download raw bytes

1/******/ (function() { // webpackBootstrap
2/******/ 	"use strict";
3/******/ 	var __webpack_modules__ = ({
4
5/***/ "./src/blocks/wcc-ultimate-block.js":
6/*!******************************************!*\
7  !*** ./src/blocks/wcc-ultimate-block.js ***!
8  \******************************************/
9/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
10
11__webpack_require__.r(__webpack_exports__);
12/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element");
13/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
14/* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/blocks */ "@wordpress/blocks");
15/* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_1__);
16/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n");
17/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__);
18/* harmony import */ var _wordpress_server_side_render__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @wordpress/server-side-render */ "@wordpress/server-side-render");
19/* harmony import */ var _wordpress_server_side_render__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_server_side_render__WEBPACK_IMPORTED_MODULE_3__);
20/* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @wordpress/block-editor */ "@wordpress/block-editor");
21/* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_4__);
22/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @wordpress/components */ "@wordpress/components");
23/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_5__);
24/* harmony import */ var _attributes_json__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./attributes.json */ "./src/blocks/attributes.json");
25
26
27
28
29
30
31
32
33function extra_js() {
34  /* Style reset in buttons p tag */
35  document.querySelectorAll('.wpcu-button p.woocommerce, p.product').forEach((el, id) => {
36    el.setAttribute('style', 'none');
37  });
38
39  /* Lazy load */
40  let lazyLoadContainer = document.querySelectorAll('.wpcu-lazy-load');
41  if (lazyLoadContainer.length !== 0) {
42    document.querySelectorAll('.wpcu-products').forEach(el => {
43      el.classList.remove('wpcu-lazy-load');
44    });
45  }
46
47  /* Theme buttons (.wpcu-product__action-icons--boxed) responsive fix */
48  function btnResFix(selector, breakPoint) {
49    var selectElement = document.querySelectorAll(selector);
50    selectElement.forEach(elm => {
51      if (elm.clientWidth < breakPoint) {
52        elm.classList.add('wpcu-product__content--res-fix');
53      }
54    });
55  }
56  btnResFix('.wpcu-theme_8 .wpcu-product__content', 300);
57  btnResFix('.wpcu-theme_7 .wpcu-product__content', 305);
58  btnResFix('.wpcu-theme_10 .wpcu-product__content', 320);
59
60  /* Theme 15 tweaks */
61  var theme15items = document.querySelectorAll('.wpcu-theme_15 .wpcu-product__details__content');
62  theme15items.forEach(element => {
63    element.closest('.wpcu-product__content').style.paddingBottom = element.clientHeight - 45 + "px";
64  });
65
66  /* Check WPCU Carousel Data */
67  let checkData = function (data, value) {
68    return typeof data === 'undefined' ? value : data;
69  };
70  /* WPCU Carousel */
71  let wpcuCarousel = document.querySelectorAll('.wpcu-carousel');
72  wpcuCarousel.forEach(function (el) {
73    let swiper = new Swiper(el, {
74      slidesPerView: checkData(parseInt(el.dataset.wpcuItems), 4),
75      spaceBetween: checkData(parseInt(el.dataset.wpcuMargin), 30),
76      loop: checkData(JSON.parse(el.dataset.wpcuLoop.toLowerCase()), false),
77      slidesPerGroup: checkData(parseInt(el.dataset.wpcuPerslide), 4),
78      speed: checkData(parseInt(el.dataset.wpcuSpeed), 3000),
79      autoplay: checkData(JSON.parse(el.dataset.wpcuAutoplay), {}),
80      navigation: {
81        nextEl: '.wpcu-carousel-nav__btn--next',
82        prevEl: '.wpcu-carousel-nav__btn--prev'
83      },
84      pagination: {
85        el: '.wpcu-carousel-pagination',
86        type: 'bullets',
87        clickable: true
88      },
89      breakpoints: checkData(JSON.parse(el.dataset.wpcuResponsive), {})
90    });
91  });
92
93  /* Add to cart icon for theme-4, theme-5 and theme-11 */
94  jQuery(".wpcu-theme_4 .woocommerce a, .wpcu-theme_5 .woocommerce a, .wpcu-theme_9 .woocommerce a").html(`
95	<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="1056" height="896" preserveAspectRatio="xMidYMid meet" viewBox="-3.63064 -66.0327 1030.76 1000.035" style="-ms-transform: rotate(180deg); -webkit-transform: rotate(180deg); transform: rotate(180deg);"><path d="M1022.74 17.3604l-83.4072 503.777c-7.44043 65.3115 -66.9766 118.432 -132.721 118.432h-70.6562v85.2803c0 130.16 -92.8477 236.032 -222.976 236.032c-130.096 0 -224.943 -105.872 -224.943 -236.032v-85.2803h-76.6719 c-65.7441 0 -125.28 -53.1201 -132.528 -117.056l-77.2803 -504.16c-2.97559 -26.5596 2.22461 -47.5039 15.4082 -62.2881c12.4316 -13.9043 30.5273 -20.9766 53.7432 -20.9766h873.568c32.9121 0 51.7764 13.2158 61.8408 24.3203 c9.21582 10.208 19.6475 28.1436 16.623 57.9512zM352.049 724.865c0 94.8477 66.127 172.031 160.943 172.031c94.816 0 158.977 -77.1836 158.977 -172.031v-85.2803h-319.92zM947.168 -0.446289l-872.498 -0.449219c-5.50391 0 -11.0078 2.94434 -9.71191 10.6885 l77.248 504.096c3.83984 33.4404 35.5039 61.6807 69.1523 61.6807h76.6885v-72.9277c-19.0723 -11.0723 -32.0479 -31.4883 -32.0479 -55.1367c0 -35.3438 28.6562 -64 64 -64s64 28.6562 64 64c0 23.6162 -12.9277 44 -31.9521 55.0879v72.9922h319.904v-72.9922 c-19.0078 -11.0879 -31.9521 -31.4883 -31.9521 -55.0879c0 -35.3438 28.6562 -64 64 -64s64 28.6562 64 64c0 23.6484 -12.9756 44.0645 -32.0479 55.1523v72.9277h70.6562c33.6641 0 65.3125 -28.2559 69.4082 -63.4395l83.3438 -503.28 c0.400391 
95-4.0957 -2.81543 -9.31152 -12.1914 -9.31152z"/></svg>
96`);
97
98  /* Marquee wrapper value */
99  var wpcuStyles = document.createElement('style');
100  document.head.append(wpcuStyles);
101  wpcuStyles.innerHTML = `
102	.wpcu-carousel--marquee .swiper-wrapper{
103		animation: wpcuMarquee var(--wpcu-marqueeSpeed) linear infinite running;
104	}
105	@keyframes wpcuMarquee {
106		0% {
107			transform: translate(0, 0);
108		}
109		100% {
110			transform: translate(var(--wpcu-marqueeItemsWidth), 0);
111		}
112	}
113`;
114  var wpcuMarqueeCarousel = document.querySelectorAll('.wpcu-carousel--marquee');
115  wpcuMarqueeCarousel.forEach(elm => {
116    var wpcuMarqueeCarouselItem = elm.querySelectorAll('.wpcu-product:not(.swiper-slide-duplicate)');
117    wpcuMarqueeCarouselItem.forEach(elmnt => {
118      var wpcuMarqueeWrapperWidth = wpcuMarqueeCarouselItem.length * (elmnt.offsetWidth + checkData(parseInt(elm.dataset.wpcuMargin)));
119      elm.style.setProperty('--wpcu-marqueeItemsWidth', `-${wpcuMarqueeWrapperWidth}px`);
120      elm.style.setProperty('--wpcu-marqueeSpeed', `${checkData(parseInt(elm.dataset.wpcuSpeed))}ms`);
121    });
122  });
123}
124(0,_wordpress_blocks__WEBPACK_IMPORTED_MODULE_1__.registerBlockType)('wcpcsup/block', {
125  apiVersion: 2,
126  title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('WooCommerce Product Ultimate', 'woocommerce-product-carousel-slider-and-ultimate'),
127  category: 'widgets',
128  keywords: ['woocommerce', 'product', 'ultimate', 'wcc'],
129  icon: 'slides',
130  supports: {
131    html: false
132  },
133  transforms: {},
134  attributes: _attributes_json__WEBPACK_IMPORTED_MODULE_6__,
135  edit(_ref) {
136    let {
137      attributes,
138      setAttributes
139    } = _ref;
140    (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.useEffect)(() => {
141      setTimeout(() => {
142        extra_js();
143      }, 5000);
144    });
145    let {
146      layout,
147      theme,
148      h_title_show,
149      header_title,
150      header_position,
151      display_title,
152      products_type,
153      total_products,
154      exclude_stock_out,
155      display_sale_ribbon,
156      sale_ribbon_text,
157      sale_ribbon_position,
158      display_featured_ribbon,
159      feature_ribbon_text,
160      featured_ribbon_position,
161      display_sold_out_ribbon,
162      sold_out_ribbon_text,
163      sold_out_ribbon_position,
164      display_discount_ribbon,
165      discount_ribbon_position,
166      display_price,
167      display_ratings,
168      display_cart,
169      A_play,
170      repeat_product,
171      stop_hover,
172      marquee,
173      c_desktop,
174      c_desktop_small,
175      c_tablet,
176      c_mobile,
177      slide_time,
178      slide_speed,
179      scrool_direction,
180      nav_show,
181      nav_position,
182      carousel_pagination,
183      g_column,
184      g_tablet,
185      g_mobile,
186      grid_pagination,
187      img_crop,
188      crop_image_width,
189      crop_image_height,
190      img_hover_effect,
191      img_animation
192    } = attributes;
193    return (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.Fragment, null, (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)("div", (0,_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_4__.useBlockProps)(), (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_4__.InspectorControls, null, (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_5__.PanelBody, {
194      title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Layout', 'woocommerce-product-carousel-slider-and-ultimate'),
195      initialOpen: false
196    }, (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_5__.SelectControl, {
197      label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Layout', 'woocommerce-product-carousel-slider-and-ultimate'),
198      labelPosition: "side",
199      value: layout,
200      options: [{
201        label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Carousel', 'woocommerce-product-carousel-slider-and-ultimate'),
202        value: 'carousel'
203      }, {
204        label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Grid', 'woocommerce-product-carou
204sel-slider-and-ultimate'),
205        value: 'grid'
206      }],
207      onChange: newState => setAttributes({
208        layout: newState
209      })
210    }), (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_5__.SelectControl, {
211      label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Theme', 'directorist'),
212      labelPosition: "side",
213      value: theme,
214      options: [{
215        label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Theme 1', 'woocommerce-product-carousel-slider-and-ultimate'),
216        value: 'theme_1'
217      }, {
218        label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Theme 2', 'woocommerce-product-carousel-slider-and-ultimate'),
219        value: 'theme_2'
220      }, {
221        label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Theme 3', 'woocommerce-product-carousel-slider-and-ultimate'),
222        value: 'theme_3'
223      }, {
224        label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Theme 4', 'woocommerce-product-carousel-slider-and-ultimate'),
225        value: 'theme_4'
226      }, {
227        label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Theme 5', 'woocommerce-product-carousel-slider-and-ultimate'),
228        value: 'theme_5'
229      }, {
230        label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Theme 6', 'woocommerce-product-carousel-slider-and-ultimate'),
231        value: 'theme_6'
232      }, {
233        label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Theme 7', 'woocommerce-product-carousel-slider-and-ultimate'),
234        value: 'theme_7'
235      }, {
236        label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Theme 8', 'woocommerce-product-carousel-slider-and-ultimate'),
237        value: 'theme_8'
238      }, {
239        label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Theme 9', 'woocommerce-product-carousel-slider-and-ultimate'),
240        value: 'theme_9'
241      }, {
242        label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Theme 10', 'woocommerce-product-carousel-slider-and-ultimate'),
243        value: 'theme_10'
244      }, {
245        label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Theme 11', 'woocommerce-product-carousel-slider-and-ultimate'),
246        value: 'theme_11'
247      }, {
248        label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Theme 12', 'woocommerce-product-carousel-slider-and-ultimate'),
249        value: 'theme_12'
250      }, {
251        label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Theme 13', 'woocommerce-product-carousel-slider-and-ultimate'),
252        value: 'theme_13'
253      }, {
254        label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Theme 14', 'woocommerce-product-carousel-slider-and-ultimate'),
255        value: 'theme_14'
256      }, {
257        label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Theme 15', 'woocommerce-product-carousel-slider-and-ultimate'),
258        value: 'theme_15'
259      }],
260      onChange: newState => setAttributes({
261        theme: newState
262      })
263    }), (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_5__.ToggleControl, {
264      label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Header Title', 'directorist'),
265      checked: h_title_show,
266      onChange: newState => setAttributes({
267        h_title_show: newState
268      })
269    }), h_title_show ? (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_5__.TextControl, {
270      label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Header Title', 'directorist'),
271      type: "text",
272      value: header_title,
273      onChange: newState => setAttributes({
274        header_title: newState
275      })
276    }) : setAttributes({
277      header_title: ''
278    }), h_title_show ? (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_5__.SelectControl, {
279      label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Header position', 'woocommerce-product-carousel-slider-and-ultimate'),
280      labelPosition: "side",
281      value: header_position,
282      options: [{
283        label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Middle', 'woocommerce-product-carou
283sel-slider-and-ultimate'),
284        value: 'middle'
285      }, {
286        label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Left', 'woocommerce-product-carousel-slider-and-ultimate'),
287        value: 'left'
288      }, {
289        label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Right', 'woocommerce-product-carousel-slider-and-ultimate'),
290        value: 'right'
291      }],
292      onChange: newState => setAttributes({
293        header_position: newState
294      })
295    }) : setAttributes({
296      header_position: 'middle'
297    }), (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_5__.ToggleControl, {
298      label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Display Title', 'directorist'),
299      checked: display_title,
300      onChange: newState => setAttributes({
301        display_title: newState
302      })
303    })), (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_5__.PanelBody, {
304      title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Query', 'woocommerce-product-carousel-slider-and-ultimate'),
305      initialOpen: false
306    }, (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_5__.SelectControl, {
307      label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Product Type', 'woocommerce-product-carousel-slider-and-ultimate'),
308      labelPosition: "side",
309      value: products_type,
310      options: [{
311        label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Latest', 'woocommerce-product-carousel-slider-and-ultimate'),
312        value: 'latest'
313      }, {
314        label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Older', 'woocommerce-product-carousel-slider-and-ultimate'),
315        value: 'older'
316      }, {
317        label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Top Rated', 'woocommerce-product-carousel-slider-and-ultimate'),
318        value: 'top_rated'
319      }, {
320        label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Random', 'woocommerce-product-carousel-slider-and-ultimate'),
321        value: 'random'
322      }, {
323        label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('On Sale', 'woocommerce-product-carousel-slider-and-ultimate'),
324        value: 'onsale'
325      }, {
326        label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Best Selling', 'woocommerce-product-carousel-slider-and-ultimate'),
327        value: 'bestselling'
328      }, {
329        label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Featured', 'woocommerce-product-carousel-slider-and-ultimate'),
330        value: 'featured'
331      }],
332      onChange: newState => setAttributes({
333        products_type: newState
334      })
335    }), (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_5__.TextControl, {
336      label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Total Products to Display', 'directorist'),
337      type: "text",
338      value: total_products,
339      onChange: newState => setAttributes({
340        total_products: newState
341      })
342    }), (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_5__.ToggleControl, {
343      label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Exclude Stock-out Products', 'directorist'),
344      checked: exclude_stock_out,
345      onChange: newState => setAttributes({
346        exclude_stock_out: newState
347      })
348    })), (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_5__.PanelBody, {
349      title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Elements', 'woocommerce-product-carousel-slider-and-ultimate'),
350      initialOpen: false
351    }, (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_5__.ToggleControl, {
352      label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Display "Sale" Badge', 'directorist'),
353      checked: display_sale_ribbon,
354      onChange: newState => setAttributes({
355        display_sale_ribbon: newState
356      })
357    }), (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_5__.TextControl, {
358      label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Sale Ribbon Text', 'directorist'),
359      type: "text",
360      value: sale_ribbon_text,
361      onChange: newState => setAttributes({
362        sale_ribbon_text: newState
363      })
364    }), (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_5__.SelectControl, {
365      label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Sale Ribbon Position', 'woocommerce-product-carou
365sel-slider-and-ultimate'),
366      labelPosition: "side",
367      value: sale_ribbon_position,
368      options: [{
369        label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Top Left', 'woocommerce-product-carousel-slider-and-ultimate'),
370        value: 'top_left'
371      }, {
372        label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Top Right', 'woocommerce-product-carousel-slider-and-ultimate'),
373        value: 'top_right'
374      }, {
375        label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Bottom Left', 'woocommerce-product-carousel-slider-and-ultimate'),
376        value: 'bottom_left'
377      }, {
378        label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Bottom Right', 'woocommerce-product-carousel-slider-and-ultimate'),
379        value: 'bottom_right'
380      }],
381      onChange: newState => setAttributes({
382        sale_ribbon_position: newState
383      })
384    }), (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_5__.ToggleControl, {
385      label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Display "Featured" Badge', 'directorist'),
386      checked: display_featured_ribbon,
387      onChange: newState => setAttributes({
388        display_featured_ribbon: newState
389      })
390    }), (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_5__.TextControl, {
391      label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Featured Ribbon Text', 'directorist'),
392      type: "text",
393      value: feature_ribbon_text,
394      onChange: newState => setAttributes({
395        feature_ribbon_text: newState
396      })
397    }), (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_5__.SelectControl, {
398      label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Featured Ribbon Position', 'woocommerce-product-carousel-slider-and-ultimate'),
399      labelPosition: "side",
400      value: featured_ribbon_position,
401      options: [{
402        label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Top Left', 'woocommerce-product-carousel-slider-and-ultimate'),
403        value: 'top_left'
404      }, {
405        label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Top Right', 'woocommerce-product-carousel-slider-and-ultimate'),
406        value: 'top_right'
407      }, {
408        label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Bottom Left', 'woocommerce-product-carousel-slider-and-ultimate'),
409        value: 'bottom_left'
410      }, {
411        label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Bottom Right', 'woocommerce-product-carousel-slider-and-ultimate'),
412        value: 'bottom_right'
413      }],
414      onChange: newState => setAttributes({
415        featured_ribbon_position: newState
416      })
417    }), (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_5__.ToggleControl, {
418      label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Display "Sold Out" Badge', 'directorist'),
419      checked: display_sold_out_ribbon,
420      onChange: newState => setAttributes({
421        display_sold_out_ribbon: newState
422      })
423    }), (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_5__.TextControl, {
424      label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Sold Out Ribbon Text', 'directorist'),
425      type: "text",
426      value: sold_out_ribbon_text,
427      onChange: newState => setAttributes({
428        sold_out_ribbon_text: newState
429      })
430    }), (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_5__.SelectControl, {
431      label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Sold Out Ribbon Position', 'woocommerce-product-carousel-slider-and-ultimate'),
432      labelPosition: "side",
433      value: sold_out_ribbon_position,
434      options: [{
435        label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Top Left', 'woocommerce-product-carousel-slider-and-ultimate'),
436        value: 'top_left'
437      }, {
438        label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Top Right', 'woocommerce-product-carou
438sel-slider-and-ultimate'),
439        value: 'top_right'
440      }, {
441        label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Bottom Left', 'woocommerce-product-carousel-slider-and-ultimate'),
442        value: 'bottom_left'
443      }, {
444        label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Bottom Right', 'woocommerce-product-carousel-slider-and-ultimate'),
445        value: 'bottom_right'
446      }],
447      onChange: newState => setAttributes({
448        sold_out_ribbon_position: newState
449      })
450    }), (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_5__.ToggleControl, {
451      label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Display "Discount Percentage" Badge', 'directorist'),
452      checked: display_discount_ribbon,
453      onChange: newState => setAttributes({
454        display_discount_ribbon: newState
455      })
456    }), (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_5__.SelectControl, {
457      label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Discount Ribbon Position', 'woocommerce-product-carousel-slider-and-ultimate'),
458      labelPosition: "side",
459      value: discount_ribbon_position,
460      options: [{
461        label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Top Left', 'woocommerce-product-carousel-slider-and-ultimate'),
462        value: 'top_left'
463      }, {
464        label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Top Right', 'woocommerce-product-carousel-slider-and-ultimate'),
465        value: 'top_right'
466      }, {
467        label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Bottom Left', 'woocommerce-product-carousel-slider-and-ultimate'),
468        value: 'bottom_left'
469      }, {
470        label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Bottom Right', 'woocommerce-product-carousel-slider-and-ultimate'),
471        value: 'bottom_right'
472      }],
473      onChange: newState => setAttributes({
474        discount_ribbon_position: newState
475      })
476    }), (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_5__.ToggleControl, {
477      label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Display Product Price', 'directorist'),
478      checked: display_price,
479      onChange: newState => setAttributes({
480        display_price: newState
481      })
482    }), (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_5__.ToggleControl, {
483      label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Display Product Ratings', 'directorist'),
484      checked: display_ratings,
485      onChange: newState => setAttributes({
486        display_ratings: newState
487      })
488    }), (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_5__.ToggleControl, {
489      label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Display "Add to Cart" Button', 'directorist'),
490      checked: display_cart,
491      onChange: newState => setAttributes({
492        display_cart: newState
493      })
494    })), layout == 'carousel' ? (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_5__.PanelBody, {
495      title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Carousel', 'woocommerce-product-carousel-slider-and-ultimate'),
496      initialOpen: false
497    }, (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_5__.ToggleControl, {
498      label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Auto Play', 'directorist'),
499      checked: A_play,
500      onChange: newState => setAttributes({
501        A_play: newState
502      })
503    }), (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_5__.ToggleControl, {
504      label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Repeat Product', 'directorist'),
505      checked: repeat_product,
506      onChange: newState => setAttributes({
507        repeat_product: newState
508      })
509    }), (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_5__.ToggleControl, {
510      label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Stop on Hover', 'directorist'),
511      checked: stop_hover,
512      onChange: newState => setAttributes({
513        stop_hover: newState
514      })
515    }), (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_5__.ToggleControl, {
516      label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Marquee', 'directorist'),
517      checked: marquee,
518      onChange: newState => setAttributes({
519        marquee: newState
520      })
521    }), (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_5__.TextControl, {
522      label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Products Columns', 'directorist'),
523      type: "text",
524      value: c_desktop,
525      onChange: newState => setAttributes({
526        c_desktop: newState
527      })
528    }), (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_5__.TextControl, {
529      label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Laptop Columns', 'directorist'),
530      type: "text",
531      value: c_desktop_small,
532      onChange: newState => setAttributes({
533        c_desktop_small: newState
534      })
535    }), (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_5__.TextControl, {
536      label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Tablet Columns', 'directorist'),
537      type: "text",
538      value: c_tablet,
539      onChange: newState => setAttributes({
540        c_tablet: newState
541      })
542    }), (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_5__.TextControl, {
543      label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Mobile Columns', 'directorist'),
544      type: "text",
545      value: c_mobile,
546      onChange: newState => setAttributes({
547        c_mobile: newState
548      })
549    }), (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_5__.TextControl, {
550      label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Slide Speed', 'directorist'),
551      type: "text",
552      value: slide_speed,
553      onChange: newState => setAttributes({
554        slide_speed: newState
555      })
556    }), (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_5__.TextControl, {
557      label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Slide Timeout', 'directorist'),
558      type: "text",
559      value: slide_time,
560      onChange: newState => setAttributes({
561        slide_time: newState
562      })
563    }), (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_5__.SelectControl, {
564      label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Scroll Direction', 'woocommerce-product-carou
564sel-slider-and-ultimate'),
565      labelPosition: "side",
566      value: scrool_direction,
567      options: [{
568        label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Right to Left', 'woocommerce-product-carousel-slider-and-ultimate'),
569        value: 'right_left'
570      }, {
571        label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Left to Right', 'woocommerce-product-carousel-slider-and-ultimate'),
572        value: 'left_right'
573      }],
574      onChange: newState => setAttributes({
575        scrool_direction: newState
576      })
577    }), (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_5__.ToggleControl, {
578      label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Enable Navigation', 'directorist'),
579      checked: nav_show,
580      onChange: newState => setAttributes({
581        nav_show: newState
582      })
583    }), (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_5__.SelectControl, {
584      label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Position', 'woocommerce-product-carousel-slider-and-ultimate'),
585      labelPosition: "side",
586      value: nav_position,
587      options: [{
588        label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Top Left', 'woocommerce-product-carousel-slider-and-ultimate'),
589        value: 'top-left'
590      }, {
591        label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Top Right', 'woocommerce-product-carousel-slider-and-ultimate'),
592        value: 'top-right'
593      }, {
594        label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Middle', 'woocommerce-product-carousel-slider-and-ultimate'),
595        value: 'middle'
596      }, {
597        label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Bottom Left', 'woocommerce-product-carousel-slider-and-ultimate'),
598        value: 'bottom-left'
599      }, {
600        label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Bottom Right', 'woocommerce-product-carousel-slider-and-ultimate'),
601        value: 'bottom-right'
602      }],
603      onChange: newState => setAttributes({
604        nav_position: newState
605      })
606    }), (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_5__.ToggleControl, {
607      label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Enable Pagination', 'directorist'),
608      checked: carousel_pagination,
609      onChange: newState => setAttributes({
610        carousel_pagination: newState
611      })
612    })) : '', layout == 'grid' ? (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_5__.PanelBody, {
613      title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Grid', 'woocommerce-product-carousel-slider-and-ultimate'),
614      initialOpen: false
615    }, (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_5__.TextControl, {
616      label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Grid Columns', 'directorist'),
617      type: "text",
618      value: g_column,
619      onChange: newState => setAttributes({
620        g_column: newState
621      })
622    }), (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_5__.TextControl, {
623      label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Select Columns for Tablet', 'directorist'),
624      type: "text",
625      value: g_tablet,
626      onChange: newState => setAttributes({
627        g_tablet: newState
628      })
629    }), (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_5__.TextControl, {
630      label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Select Columns for Mobile', 'directorist'),
631      type: "text",
632      value: g_mobile,
633      onChange: newState => setAttributes({
634        g_mobile: newState
635      })
636    }), (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_5__.ToggleControl, {
637      label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Display Pagination', 'directorist'),
638      checked: grid_pagination,
639      onChange: newState => setAttributes({
640        grid_pagination: newState
641      })
642    })) : '', (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_5__.PanelBody, {
643      title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Image', 'woocommerce-product-carou
643sel-slider-and-ultimate'),
644      initialOpen: false
645    }, (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_5__.ToggleControl, {
646      label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Image Resize & Crop', 'directorist'),
647      checked: img_crop,
648      onChange: newState => setAttributes({
649        img_crop: newState
650      })
651    }), (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_5__.TextControl, {
652      label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Cropping Width', 'directorist'),
653      type: "text",
654      value: crop_image_width,
655      onChange: newState => setAttributes({
656        crop_image_width: newState
657      })
658    }), (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_5__.TextControl, {
659      label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Cropping Height', 'directorist'),
660      type: "text",
661      value: crop_image_height,
662      onChange: newState => setAttributes({
663        crop_image_height: newState
664      })
665    }), (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_5__.ToggleControl, {
666      label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Image Hover Effect', 'directorist'),
667      checked: img_hover_effect,
668      onChange: newState => setAttributes({
669        img_hover_effect: newState
670      })
671    }), (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_5__.SelectControl, {
672      label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Image Animation', 'woocommerce-product-carousel-slider-and-ultimate'),
673      labelPosition: "side",
674      value: img_animation,
675      options: [{
676        label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Zoom In', 'woocommerce-product-carousel-slider-and-ultimate'),
677        value: 'zoom-in'
678      }, {
679        label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Zoom Out', 'woocommerce-product-carousel-slider-and-ultimate'),
680        value: 'zoom-out'
681      }, {
682        label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Blur In', 'woocommerce-product-carousel-slider-and-ultimate'),
683        value: 'blur-in'
684      }, {
685        label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Blur Out', 'woocommerce-product-carousel-slider-and-ultimate'),
686        value: 'blur-out'
687      }, {
688        label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Grayscale In', 'woocommerce-product-carousel-slider-and-ultimate'),
689        value: 'grayscale-in'
690      }, {
691        label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Grayscale Out', 'woocommerce-product-carousel-slider-and-ultimate'),
692        value: 'grayscale-out'
693      }],
694      onChange: newState => setAttributes({
695        img_animation: newState
696      })
697    }))), (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)((_wordpress_server_side_render__WEBPACK_IMPORTED_MODULE_3___default()), {
698      block: "wcpcsup/block",
699      attributes: attributes
700    })));
701  },
702  save(_ref2) {
703    let {
704      attributes
705    } = _ref2;
706  }
707});
708
709/***/ }),
710
711/***/ "@wordpress/block-editor":
712/*!*************************************!*\
713  !*** external ["wp","blockEditor"] ***!
714  \*************************************/
715/***/ (function(module) {
716
717module.exports = window["wp"]["blockEditor"];
718
719/***/ }),
720
721/***/ "@wordpress/blocks":
722/*!********************************!*\
723  !*** external ["wp","blocks"] ***!
724  \********************************/
725/***/ (function(module) {
726
727module.exports = window["wp"]["blocks"];
728
729/***/ }),
730
731/***/ "@wordpress/components":
732/*!************************************!*\
733  !*** external ["wp","components"] ***!
734  \************************************/
735/***/ (function(module) {
736
737module.exports = window["wp"]["components"];
738
739/***/ }),
740
741/***/ "@wordpress/element":
742/*!*********************************!*\
743  !*** external ["wp","element"] ***!
744  \*********************************/
745/***/ (function(module) {
746
747module.exports = window["wp"]["element"];
748
749/***/ }),
750
751/***/ "@wordpress/i18n":
752/*!******************************!*\
753  !*** external ["wp","i18n"] ***!
754  \******************************/
755/***/ (function(module) {
756
757module.exports = window["wp"]["i18n"];
758
759/***/ }),
760
761/***/ "@wordpress/server-side-render":
762/*!******************************************!*\
763  !*** external ["wp","serverSideRender"] ***!
764  \******************************************/
765/***/ (function(module) {
766
767module.exports = window["wp"]["serverSideRender"];
768
769/***/ }),
770
771/***/ "./src/blocks/attributes.json":
772/*!************************************!*\
773  !*** ./src/blocks/attributes.json ***!
774  \************************************/
775/***/ (function(module) {
776
777module.exports = JSON.parse('{"layout":{"type":"string","default":"carousel"},"theme":{"type":"string","default":"theme_1"},"h_title_show":{"type":"boolean","default":false},"header_title":{"type":"string","default":""},"header_position":{"type":"string","default":"middle"},"display_title":{"type":"boolean","default":true},"products_type":{"type":"string","default":"latest"},"total_products":{"type":"string","default":"12"},"exclude_stock_out":{"type":"boolean","default":true},"display_sale_ribbon":{"type":"boolean","default":false},"sale_ribbon_text":{"type":"string","default":"Sale!"},"sale_ribbon_position":{"type":"string","default":"top_left"},"display_featured_ribbon":{"type":"boolean","default":false},"feature_ribbon_text":{"type":"string","default":"Featured!"},"featured_ribbon_position":{"type":"string","default":"top_right"},"display_sold_out_ribbon":{"type":"boolean","default":false},"sold_out_ribbon_text":{"type":"string","default":"Sold Out!"},"sold_out_ribbon_position":{"type":"string","default":"bottom_left"},"display_discount_ribbon":{"type":"boolean","default":false},"discount_ribbon_position":{"type":"string","default":"bottom_right"},"display_price":{"type":"boolean","default":true},"display_ratings":{"type":"boolean","default":true},"display_cart":{"type":"boolean","default":true},"A_play":{"type":"boolean","default":true},"repeat_product":{"type":"boolean","default":true},"stop_hover":{"type":"boolean","default":false},"marquee":{"type":"boolean","default":false},"c_desktop":{"type":"string","default":"2"},"c_desktop_small":{"type":"string","default":"2"},"c_tablet":{"type":"string","default":"2"},"c_mobile":{"type":"string","default":"1"},"slide_speed":{"type":"string","default":"2000"},"slide_time":{"type":"string","default":"2000"},"scrool_direction":{"type":"string","default":"right_left"},"nav_show":{"type":"boolean","default":true},"nav_position":{"type":"string","default":"bottom-right"},"carousel_pagination":{"type":"boolean","default":false},"g_column":{"type":"string","default":"3"},"g_tablet":{"type":"string","default":"2"},"g_mobile":{"type":"string","default":"1"},"grid_pagination":{"type":"boolean","default":true},"img_crop":{"type":"boolean","default":true},"crop_image_width":{"type":"string","default":"350"},"crop_image_height":{"type":"string","default":"250"},"img_hover_effect":{"type":"boolean","default":true},"img_animation":{"type":"string","default":"zoom-in"}}');
778
779/***/ })
vendor: 3,321 bytes, lines 779-861
779
780
781/******/ 	});
782/************************************************************************/
783/******/ 	// The module cache
784/******/ 	var __webpack_module_cache__ = {};
785/******/ 	
786/******/ 	// The require function
787/******/ 	function __webpack_require__(moduleId) {
788/******/ 		// Check if module is in cache
789/******/ 		var cachedModule = __webpack_module_cache__[moduleId];
790/******/ 		if (cachedModule !== undefined) {
791/******/ 			return cachedModule.exports;
792/******/ 		}
793/******/ 		// Create a new module (and put it into the cache)
794/******/ 		var module = __webpack_module_cache__[moduleId] = {
795/******/ 			// no module.id needed
796/******/ 			// no module.loaded needed
797/******/ 			exports: {}
798/******/ 		};
799/******/ 	
800/******/ 		// Execute the module function
801/******/ 		__webpack_modules__[moduleId](module, module.exports, __webpack_require__);
802/******/ 	
803/******/ 		// Return the exports of the module
804/******/ 		return module.exports;
805/******/ 	}
806/******/ 	
807/************************************************************************/
808/******/ 	/* webpack/runtime/compat get default export */
809/******/ 	!function() {
810/******/ 		// getDefaultExport function for compatibility with non-harmony modules
811/******/ 		__webpack_require__.n = function(module) {
812/******/ 			var getter = module && module.__esModule ?
813/******/ 				function() { return module['default']; } :
814/******/ 				function() { return module; };
815/******/ 			__webpack_require__.d(getter, { a: getter });
816/******/ 			return getter;
817/******/ 		};
818/******/ 	}();
819/******/ 	
820/******/ 	/* webpack/runtime/define property getters */
821/******/ 	!function() {
822/******/ 		// define getter functions for harmony exports
823/******/ 		__webpack_require__.d = function(exports, definition) {
824/******/ 			for(var key in definition) {
825/******/ 				if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
826/******/ 					Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
827/******/ 				}
828/******/ 			}
829/******/ 		};
830/******/ 	}();
831/******/ 	
832/******/ 	/* webpack/runtime/hasOwnProperty shorthand */
833/******/ 	!function() {
834/******/ 		__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
835/******/ 	}();
836/******/ 	
837/******/ 	/* webpack/runtime/make namespace object */
838/******/ 	!function() {
839/******/ 		// define __esModule on exports
840/******/ 		__webpack_require__.r = function(exports) {
841/******/ 			if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
842/******/ 				Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
843/******/ 			}
844/******/ 			Object.defineProperty(exports, '__esModule', { value: true });
845/******/ 		};
846/******/ 	}();
847/******/ 	
848/************************************************************************/
849var __webpack_exports__ = {};
850// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
851!function() {
852/*!**********************!*\
853  !*** ./src/index.js ***!
854  \**********************/
855__webpack_require__.r(__webpack_exports__);
856/* harmony import */ var _blocks_wcc_ultimate_block_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./blocks/wcc-ultimate-block.js */ "./src/blocks/wcc-ultimate-block.js");
857
858}();
859/******/ })()
860;
861//# sourceMappingURL=index.js.map

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.