ecars-web-lib 1.0.8 → 1.0.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (221) hide show
  1. package/dist/components/Accordion/AccordionComponent.test.d.ts +1 -0
  2. package/dist/components/Button/Button.test.d.ts +1 -0
  3. package/dist/components/ButtonWithIcon/ButtonWithIcon.test.d.ts +1 -0
  4. package/dist/components/Category/Category.test.d.ts +1 -0
  5. package/dist/components/Checkbox/CheckboxComponent.test.d.ts +1 -0
  6. package/dist/components/Dropdown/Dropdown.test.d.ts +1 -0
  7. package/dist/components/FavButton/FavButton.test.d.ts +1 -0
  8. package/dist/components/Field/FieldComponent.test.d.ts +1 -0
  9. package/dist/components/FilterAccordion/FilterAccordionComponent.test.d.ts +1 -0
  10. package/dist/components/FilterButton/FilterButton.test.d.ts +1 -0
  11. package/dist/components/Gallery/Gallery.test.d.ts +0 -0
  12. package/dist/components/Input/Input.test.d.ts +1 -0
  13. package/dist/components/LinkWithIcon/LinkWithIcon.test.d.ts +1 -0
  14. package/dist/components/NavLink/NavLink.test.d.ts +1 -0
  15. package/dist/components/Pagination/Pagination.test.d.ts +1 -0
  16. package/dist/components/RangeSlider/RangeSlider.test.d.ts +1 -0
  17. package/dist/components/RouterLink/RouterLink.test.d.ts +1 -0
  18. package/dist/components/Select/Select.test.d.ts +1 -0
  19. package/dist/components/SliderNavigate/SliderNavigate.test.d.ts +1 -0
  20. package/dist/index.cjs.js +13 -0
  21. package/dist/index.cjs.js.map +1 -0
  22. package/dist/index.es.js +5135 -0
  23. package/dist/index.es.js.map +1 -0
  24. package/package.json +13 -12
  25. package/dist/_virtual/index.js +0 -2
  26. package/dist/_virtual/index.js.map +0 -1
  27. package/dist/_virtual/index2.js +0 -2
  28. package/dist/_virtual/index2.js.map +0 -1
  29. package/dist/components/Accordion/AccordionComponent.js +0 -2
  30. package/dist/components/Accordion/AccordionComponent.js.map +0 -1
  31. package/dist/components/Accordion/components/AccordionArrow.js +0 -2
  32. package/dist/components/Accordion/components/AccordionArrow.js.map +0 -1
  33. package/dist/components/Accordion/components/AccordionBlock.js +0 -2
  34. package/dist/components/Accordion/components/AccordionBlock.js.map +0 -1
  35. package/dist/components/Accordion/components/AccordionButton.js +0 -2
  36. package/dist/components/Accordion/components/AccordionButton.js.map +0 -1
  37. package/dist/components/Accordion/components/AccordionContent.js +0 -2
  38. package/dist/components/Accordion/components/AccordionContent.js.map +0 -1
  39. package/dist/components/Accordion/components/AccordionLayout.js +0 -2
  40. package/dist/components/Accordion/components/AccordionLayout.js.map +0 -1
  41. package/dist/components/Accordion/components/AccordionTitle.js +0 -2
  42. package/dist/components/Accordion/components/AccordionTitle.js.map +0 -1
  43. package/dist/components/Accordion/constants.js +0 -2
  44. package/dist/components/Accordion/constants.js.map +0 -1
  45. package/dist/components/Accordion/index.js +0 -2
  46. package/dist/components/Accordion/index.js.map +0 -1
  47. package/dist/components/Button/Button.js +0 -2
  48. package/dist/components/Button/Button.js.map +0 -1
  49. package/dist/components/Button/constants.js +0 -2
  50. package/dist/components/Button/constants.js.map +0 -1
  51. package/dist/components/ButtonWithIcon/ButtonWithIcon.js +0 -2
  52. package/dist/components/ButtonWithIcon/ButtonWithIcon.js.map +0 -1
  53. package/dist/components/ButtonWithIcon/constants.js +0 -2
  54. package/dist/components/ButtonWithIcon/constants.js.map +0 -1
  55. package/dist/components/Category/Category.js +0 -2
  56. package/dist/components/Category/Category.js.map +0 -1
  57. package/dist/components/Category/constants.js +0 -2
  58. package/dist/components/Category/constants.js.map +0 -1
  59. package/dist/components/Checkbox/CheckboxComponent.js +0 -2
  60. package/dist/components/Checkbox/CheckboxComponent.js.map +0 -1
  61. package/dist/components/Checkbox/components/CheckboxBlock.js +0 -2
  62. package/dist/components/Checkbox/components/CheckboxBlock.js.map +0 -1
  63. package/dist/components/Checkbox/components/CheckboxIndicator.js +0 -2
  64. package/dist/components/Checkbox/components/CheckboxIndicator.js.map +0 -1
  65. package/dist/components/Checkbox/components/CheckboxInput.js +0 -2
  66. package/dist/components/Checkbox/components/CheckboxInput.js.map +0 -1
  67. package/dist/components/Checkbox/constants.js +0 -2
  68. package/dist/components/Checkbox/constants.js.map +0 -1
  69. package/dist/components/Checkbox/index.js +0 -2
  70. package/dist/components/Checkbox/index.js.map +0 -1
  71. package/dist/components/Dropdown/DropdownComponent.js +0 -2
  72. package/dist/components/Dropdown/DropdownComponent.js.map +0 -1
  73. package/dist/components/Dropdown/components/DropdownBlock.js +0 -2
  74. package/dist/components/Dropdown/components/DropdownBlock.js.map +0 -1
  75. package/dist/components/Dropdown/components/DropdownCategory.js +0 -2
  76. package/dist/components/Dropdown/components/DropdownCategory.js.map +0 -1
  77. package/dist/components/Dropdown/components/DropdownList.js +0 -2
  78. package/dist/components/Dropdown/components/DropdownList.js.map +0 -1
  79. package/dist/components/Dropdown/components/DropdownOption.js +0 -2
  80. package/dist/components/Dropdown/components/DropdownOption.js.map +0 -1
  81. package/dist/components/Dropdown/constants.js +0 -2
  82. package/dist/components/Dropdown/constants.js.map +0 -1
  83. package/dist/components/Dropdown/index.js +0 -2
  84. package/dist/components/Dropdown/index.js.map +0 -1
  85. package/dist/components/FavButton/FavButton.js +0 -2
  86. package/dist/components/FavButton/FavButton.js.map +0 -1
  87. package/dist/components/FavButton/constants.js +0 -2
  88. package/dist/components/FavButton/constants.js.map +0 -1
  89. package/dist/components/Field/FieldComponent.js +0 -2
  90. package/dist/components/Field/FieldComponent.js.map +0 -1
  91. package/dist/components/Field/components/FieldError.js +0 -2
  92. package/dist/components/Field/components/FieldError.js.map +0 -1
  93. package/dist/components/Field/components/FieldLabel.js +0 -2
  94. package/dist/components/Field/components/FieldLabel.js.map +0 -1
  95. package/dist/components/Field/constants.js +0 -2
  96. package/dist/components/Field/constants.js.map +0 -1
  97. package/dist/components/Field/index.js +0 -2
  98. package/dist/components/Field/index.js.map +0 -1
  99. package/dist/components/FilterAccordion/FilterAccordionComponent.js +0 -2
  100. package/dist/components/FilterAccordion/FilterAccordionComponent.js.map +0 -1
  101. package/dist/components/FilterAccordion/components/FilterAccordionArrow.js +0 -2
  102. package/dist/components/FilterAccordion/components/FilterAccordionArrow.js.map +0 -1
  103. package/dist/components/FilterAccordion/components/FilterAccordionBlock.js +0 -2
  104. package/dist/components/FilterAccordion/components/FilterAccordionBlock.js.map +0 -1
  105. package/dist/components/FilterAccordion/components/FilterAccordionContent.js +0 -2
  106. package/dist/components/FilterAccordion/components/FilterAccordionContent.js.map +0 -1
  107. package/dist/components/FilterAccordion/components/FilterAccordionLayout.js +0 -2
  108. package/dist/components/FilterAccordion/components/FilterAccordionLayout.js.map +0 -1
  109. package/dist/components/FilterAccordion/components/FilterAccordionReset.js +0 -2
  110. package/dist/components/FilterAccordion/components/FilterAccordionReset.js.map +0 -1
  111. package/dist/components/FilterAccordion/constants.js +0 -2
  112. package/dist/components/FilterAccordion/constants.js.map +0 -1
  113. package/dist/components/FilterAccordion/index.js +0 -2
  114. package/dist/components/FilterAccordion/index.js.map +0 -1
  115. package/dist/components/FilterButton/FilterButton.js +0 -2
  116. package/dist/components/FilterButton/FilterButton.js.map +0 -1
  117. package/dist/components/Gallery/Gallery.js +0 -2
  118. package/dist/components/Gallery/Gallery.js.map +0 -1
  119. package/dist/components/Input/Input.js +0 -2
  120. package/dist/components/Input/Input.js.map +0 -1
  121. package/dist/components/Input/constants.js +0 -2
  122. package/dist/components/Input/constants.js.map +0 -1
  123. package/dist/components/LinkWithIcon/LinkWithIcon.js +0 -2
  124. package/dist/components/LinkWithIcon/LinkWithIcon.js.map +0 -1
  125. package/dist/components/LinkWithIcon/constants.js +0 -2
  126. package/dist/components/LinkWithIcon/constants.js.map +0 -1
  127. package/dist/components/NavLink/NavLink.js +0 -2
  128. package/dist/components/NavLink/NavLink.js.map +0 -1
  129. package/dist/components/Pagination/PaginationComponent.js +0 -2
  130. package/dist/components/Pagination/PaginationComponent.js.map +0 -1
  131. package/dist/components/Pagination/components/PaginationArrow.js +0 -2
  132. package/dist/components/Pagination/components/PaginationArrow.js.map +0 -1
  133. package/dist/components/Pagination/components/PaginationBody.js +0 -2
  134. package/dist/components/Pagination/components/PaginationBody.js.map +0 -1
  135. package/dist/components/Pagination/components/PaginationPage.js +0 -2
  136. package/dist/components/Pagination/components/PaginationPage.js.map +0 -1
  137. package/dist/components/Pagination/constants.js +0 -2
  138. package/dist/components/Pagination/constants.js.map +0 -1
  139. package/dist/components/Pagination/index.js +0 -2
  140. package/dist/components/Pagination/index.js.map +0 -1
  141. package/dist/components/RangeSlider/RangeSlider.js +0 -2
  142. package/dist/components/RangeSlider/RangeSlider.js.map +0 -1
  143. package/dist/components/RouterLink/RouterLink.js +0 -2
  144. package/dist/components/RouterLink/RouterLink.js.map +0 -1
  145. package/dist/components/RouterLink/constants.js +0 -2
  146. package/dist/components/RouterLink/constants.js.map +0 -1
  147. package/dist/components/Select/SelectComponent.js +0 -2
  148. package/dist/components/Select/SelectComponent.js.map +0 -1
  149. package/dist/components/Select/components/SelectArrow.js +0 -2
  150. package/dist/components/Select/components/SelectArrow.js.map +0 -1
  151. package/dist/components/Select/components/SelectBlock.js +0 -2
  152. package/dist/components/Select/components/SelectBlock.js.map +0 -1
  153. package/dist/components/Select/components/SelectInput.js +0 -2
  154. package/dist/components/Select/components/SelectInput.js.map +0 -1
  155. package/dist/components/Select/components/SelectList.js +0 -2
  156. package/dist/components/Select/components/SelectList.js.map +0 -1
  157. package/dist/components/Select/components/SelectOption.js +0 -2
  158. package/dist/components/Select/components/SelectOption.js.map +0 -1
  159. package/dist/components/Select/components/SelectWrapper.js +0 -2
  160. package/dist/components/Select/components/SelectWrapper.js.map +0 -1
  161. package/dist/components/Select/constants.js +0 -2
  162. package/dist/components/Select/constants.js.map +0 -1
  163. package/dist/components/Select/index.js +0 -2
  164. package/dist/components/Select/index.js.map +0 -1
  165. package/dist/components/Slider/SliderComponent.js +0 -2
  166. package/dist/components/Slider/SliderComponent.js.map +0 -1
  167. package/dist/components/Slider/constants.js +0 -2
  168. package/dist/components/Slider/constants.js.map +0 -1
  169. package/dist/components/Slider/index.js +0 -2
  170. package/dist/components/Slider/index.js.map +0 -1
  171. package/dist/components/SliderNavigate/SliderNavigate.js +0 -2
  172. package/dist/components/SliderNavigate/SliderNavigate.js.map +0 -1
  173. package/dist/components/SliderNavigate/components/NavigateButton.js +0 -2
  174. package/dist/components/SliderNavigate/components/NavigateButton.js.map +0 -1
  175. package/dist/components/SliderNavigate/constants.js +0 -2
  176. package/dist/components/SliderNavigate/constants.js.map +0 -1
  177. package/dist/index.js +0 -2
  178. package/dist/index.js.map +0 -1
  179. package/dist/node_modules/cookie/dist/index.js +0 -2
  180. package/dist/node_modules/cookie/dist/index.js.map +0 -1
  181. package/dist/node_modules/react-icons/ai/index.js +0 -2
  182. package/dist/node_modules/react-icons/ai/index.js.map +0 -1
  183. package/dist/node_modules/react-icons/fa6/index.js +0 -2
  184. package/dist/node_modules/react-icons/fa6/index.js.map +0 -1
  185. package/dist/node_modules/react-icons/io/index.js +0 -2
  186. package/dist/node_modules/react-icons/io/index.js.map +0 -1
  187. package/dist/node_modules/react-icons/lib/iconBase.js +0 -2
  188. package/dist/node_modules/react-icons/lib/iconBase.js.map +0 -1
  189. package/dist/node_modules/react-icons/lib/iconContext.js +0 -2
  190. package/dist/node_modules/react-icons/lib/iconContext.js.map +0 -1
  191. package/dist/node_modules/react-icons/md/index.js +0 -2
  192. package/dist/node_modules/react-icons/md/index.js.map +0 -1
  193. package/dist/node_modules/react-router/dist/development/chunk-KNED5TY2.js +0 -13
  194. package/dist/node_modules/react-router/dist/development/chunk-KNED5TY2.js.map +0 -1
  195. package/dist/node_modules/swiper/shared/ssr-window.esm.js +0 -2
  196. package/dist/node_modules/swiper/shared/ssr-window.esm.js.map +0 -1
  197. package/dist/node_modules/swiper/shared/swiper-core.js +0 -2
  198. package/dist/node_modules/swiper/shared/swiper-core.js.map +0 -1
  199. package/dist/node_modules/swiper/shared/update-on-virtual-data.js +0 -2
  200. package/dist/node_modules/swiper/shared/update-on-virtual-data.js.map +0 -1
  201. package/dist/node_modules/swiper/shared/update-swiper.js +0 -2
  202. package/dist/node_modules/swiper/shared/update-swiper.js.map +0 -1
  203. package/dist/node_modules/swiper/shared/utils.js +0 -2
  204. package/dist/node_modules/swiper/shared/utils.js.map +0 -1
  205. package/dist/node_modules/swiper/swiper-react.js +0 -2
  206. package/dist/node_modules/swiper/swiper-react.js.map +0 -1
  207. package/dist/services/helpers.js +0 -2
  208. package/dist/services/helpers.js.map +0 -1
  209. package/dist/services/hoc/withBlockClass.js +0 -2
  210. package/dist/services/hoc/withBlockClass.js.map +0 -1
  211. package/dist/services/hooks/useAccordionHeight.js +0 -2
  212. package/dist/services/hooks/useAccordionHeight.js.map +0 -1
  213. package/dist/services/hooks/useClickOutside.js +0 -2
  214. package/dist/services/hooks/useClickOutside.js.map +0 -1
  215. package/dist/services/hooks/useMatchMedia.js +0 -2
  216. package/dist/services/hooks/useMatchMedia.js.map +0 -1
  217. package/dist/services/icons.js +0 -2
  218. package/dist/services/icons.js.map +0 -1
  219. package/dist/services/mocks.js +0 -2
  220. package/dist/services/mocks.js.map +0 -1
  221. /package/dist/{assets/global.css → index.css} +0 -0
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const z=require("./utils.js"),B=["eventsPrefix","injectStyles","injectStylesUrls","modules","init","_direction","oneWayMovement","swiperElementNodeName","touchEventsTarget","initialSlide","_speed","cssMode","updateOnWindowResize","resizeObserver","nested","focusableElements","_enabled","_width","_height","preventInteractionOnTransition","userAgent","url","_edgeSwipeDetection","_edgeSwipeThreshold","_freeMode","_autoHeight","setWrapperSize","virtualTranslate","_effect","breakpoints","breakpointsBase","_spaceBetween","_slidesPerView","maxBackfaceHiddenSlides","_grid","_slidesPerGroup","_slidesPerGroupSkip","_slidesPerGroupAuto","_centeredSlides","_centeredSlidesBounds","_slidesOffsetBefore","_slidesOffsetAfter","normalizeSlideIndex","_centerInsufficientSlides","_watchOverflow","roundLengths","touchRatio","touchAngle","simulateTouch","_shortSwipes","_longSwipes","longSwipesRatio","longSwipesMs","_followFinger","allowTouchMove","_threshold","touchMoveStopPropagation","touchStartPreventDefault","touchStartForcePreventDefault","touchReleaseOnEdges","uniqueNavElements","_resistance","_resistanceRatio","_watchSlidesProgress","_grabCursor","preventClicks","preventClicksPropagation","_slideToClickedSlide","_loop","loopAdditionalSlides","loopAddBlankSlides","loopPreventsSliding","_rewind","_allowSlidePrev","_allowSlideNext","_swipeHandler","_noSwiping","noSwipingClass","noSwipingSelector","passiveListeners","containerModifierClass","slideClass","slideActiveClass","slideVisibleClass","slideFullyVisibleClass","slideNextClass","slidePrevClass","slideBlankClass","wrapperClass","lazyPreloaderClass","lazyPreloadPrevNext","runCallbacksOnInit","observer","observeParents","observeSlideChildren","a11y","_autoplay","_controller","coverflowEffect","cubeEffect","fadeEffect","flipEffect","creativeEffect","cardsEffect","hashNavigation","history","keyboard","mousewheel","_navigation","_pagination","parallax","_scrollbar","_thumbs","virtual","zoom","control"];function g(t){return typeof t=="object"&&t!==null&&t.constructor&&Object.prototype.toString.call(t).slice(8,-1)==="Object"&&!t.__swiper__}function T(t,i){const r=["__proto__","constructor","prototype"];Object.keys(i).filter(e=>r.indexOf(e)<0).forEach(e=>{typeof t[e]>"u"?t[e]=i[e]:g(i[e])&&g(t[e])&&Object.keys(i[e]).length>0?i[e].__swiper__?t[e]=i[e]:T(t[e],i[e]):t[e]=i[e]})}function I(t){return t===void 0&&(t={}),t.navigation&&typeof t.navigation.nextEl>"u"&&typeof t.navigation.prevEl>"u"}function M(t){return t===void 0&&(t={}),t.pagination&&typeof t.pagination.el>"u"}function N(t){return t===void 0&&(t={}),t.scrollbar&&typeof t.scrollbar.el>"u"}function A(t){t===void 0&&(t="");const i=t.split(" ").map(e=>e.trim()).filter(e=>!!e),r=[];return i.forEach(e=>{r.indexOf(e)<0&&r.push(e)}),r.join(" ")}function L(t){return t===void 0&&(t=""),t?t.includes("swiper-wrapper")?t:`swiper-wrapper ${t}`:"swiper-wrapper"}function D(t){let{swiper:i,slides:r,passedParams:e,changedParams:o,nextEl:s,prevEl:a,scrollbarEl:d,paginationEl:c}=t;const h=o.filter(n=>n!=="children"&&n!=="direction"&&n!=="wrapperClass"),{params:l,pagination:p,navigation:f,scrollbar:v,virtual:u,thumbs:E}=i;let S,_,P,C,x,m,O,b;o.includes("thumbs")&&e.thumbs&&e.thumbs.swiper&&!e.thumbs.swiper.destroyed&&l.thumbs&&(!l.thumbs.swiper||l.thumbs.swiper.destroyed)&&(S=!0),o.includes("controller")&&e.controller&&e.controller.control&&l.controller&&!l.controller.control&&(_=!0),o.includes("pagination")&&e.pagination&&(e.pagination.el||c)&&(l.pagination||l.pagination===!1)&&p&&!p.el&&(P=!0),o.includes("scrollbar")&&e.scrollbar&&(e.scrollbar.el||d)&&(l.scrollbar||l.scrollbar===!1)&&v&&!v.el&&(C=!0),o.includes("navigation")&&e.navigation&&(e.navigation.prevEl||a)&&(e.navigation.nextEl||s)&&(l.navigation||l.navigation===!1)&&f&&!f.prevEl&&!f.nextEl&&(x=!0);const j=n=>{i[n]&&(i[n].destroy(),n==="navigation"?(i.isElement&&(i[n].prevEl.remove(),i[n].nextEl.remove()),l[n].prevEl=void 0,l[n].nextEl=void 0,i[n].prevEl=void 0,i[n].nextEl=void 0):(i.isElement&&i[n].el.remove(),l[n].el=void 0,i[n].el=void 0))};o.includes("loop")&&i.isElement&&(l.loop&&!e.loop?m=!0:!l.loop&&e.loop?O=!0:b=!0),h.forEach(n=>{if(g(l[n])&&g(e[n]))Object.assign(l[n],e[n]),(n==="navigation"||n==="pagination"||n==="scrollbar")&&"enabled"in e[n]&&!e[n].enabled&&j(n);else{const w=e[n];(w===!0||w===!1)&&(n==="navigation"||n==="pagination"||n==="scrollbar")?w===!1&&j(n):l[n]=e[n]}}),h.includes("controller")&&!_&&i.controller&&i.controller.control&&l.controller&&l.controller.control&&(i.controller.control=l.controller.control),o.includes("children")&&r&&u&&l.virtual.enabled?(u.slides=r,u.update(!0)):o.includes("virtual")&&u&&l.virtual.enabled&&(r&&(u.slides=r),u.update(!0)),o.includes("children")&&r&&l.loop&&(b=!0),S&&E.init()&&E.update(!0),_&&(i.controller.control=l.controller.control),P&&(i.isElement&&(!c||typeof c=="string")&&(c=document.createElement("div"),c.classList.add("swiper-pagination"),c.part.add("pagination"),i.el.appendChild(c)),c&&(l.pagination.el=c),p.init(),p.render(),p.update()),C&&(i.isElement&&(!d||typeof d=="string")&&(d=document.createElement("div"),d.classList.add("swiper-scrollbar"),d.part.add("scrollbar"),i.el.appendChild(d)),d&&(l.scrollbar.el=d),v.init(),v.updateSize(),v.setTranslate()),x&&(i.isElement&&((!s||typeof s=="string")&&(s=document.createElement("div"),s.classList.add("swiper-button-next"),z.s(s,i.hostEl.constructor.nextButtonSvg),s.part.add("button-next"),i.el.appendChild(s)),(!a||typeof a=="string")&&(a=document.createElement("div"),a.classList.add("swiper-button-prev"),z.s(a,i.hostEl.constructor.prevButtonSvg),a.part.add("button-prev"),i.el.appendChild(a))),s&&(l.navigation.nextEl=s),a&&(l.navigation.prevEl=a),f.init(),f.update()),o.includes("allowSlideNext")&&(i.allowSlideNext=e.allowSlideNext),o.includes("allowSlidePrev")&&(i.allowSlidePrev=e.allowSlidePrev),o.includes("direction")&&i.changeDirection(e.direction,!1),(m||b)&&i.loopDestroy(),(O||b)&&i.loopCreate(),i.update()}exports.a=M;exports.b=N;exports.d=A;exports.e=T;exports.i=g;exports.n=I;exports.p=B;exports.u=D;exports.w=L;
2
- //# sourceMappingURL=update-swiper.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"update-swiper.js","sources":["../../../../node_modules/swiper/shared/update-swiper.mjs"],"sourcesContent":["import { s as setInnerHTML } from './utils.mjs';\n\n/* underscore in name -> watch for changes */\nconst paramsList = ['eventsPrefix', 'injectStyles', 'injectStylesUrls', 'modules', 'init', '_direction', 'oneWayMovement', 'swiperElementNodeName', 'touchEventsTarget', 'initialSlide', '_speed', 'cssMode', 'updateOnWindowResize', 'resizeObserver', 'nested', 'focusableElements', '_enabled', '_width', '_height', 'preventInteractionOnTransition', 'userAgent', 'url', '_edgeSwipeDetection', '_edgeSwipeThreshold', '_freeMode', '_autoHeight', 'setWrapperSize', 'virtualTranslate', '_effect', 'breakpoints', 'breakpointsBase', '_spaceBetween', '_slidesPerView', 'maxBackfaceHiddenSlides', '_grid', '_slidesPerGroup', '_slidesPerGroupSkip', '_slidesPerGroupAuto', '_centeredSlides', '_centeredSlidesBounds', '_slidesOffsetBefore', '_slidesOffsetAfter', 'normalizeSlideIndex', '_centerInsufficientSlides', '_watchOverflow', 'roundLengths', 'touchRatio', 'touchAngle', 'simulateTouch', '_shortSwipes', '_longSwipes', 'longSwipesRatio', 'longSwipesMs', '_followFinger', 'allowTouchMove', '_threshold', 'touchMoveStopPropagation', 'touchStartPreventDefault', 'touchStartForcePreventDefault', 'touchReleaseOnEdges', 'uniqueNavElements', '_resistance', '_resistanceRatio', '_watchSlidesProgress', '_grabCursor', 'preventClicks', 'preventClicksPropagation', '_slideToClickedSlide', '_loop', 'loopAdditionalSlides', 'loopAddBlankSlides', 'loopPreventsSliding', '_rewind', '_allowSlidePrev', '_allowSlideNext', '_swipeHandler', '_noSwiping', 'noSwipingClass', 'noSwipingSelector', 'passiveListeners', 'containerModifierClass', 'slideClass', 'slideActiveClass', 'slideVisibleClass', 'slideFullyVisibleClass', 'slideNextClass', 'slidePrevClass', 'slideBlankClass', 'wrapperClass', 'lazyPreloaderClass', 'lazyPreloadPrevNext', 'runCallbacksOnInit', 'observer', 'observeParents', 'observeSlideChildren',\n// modules\n'a11y', '_autoplay', '_controller', 'coverflowEffect', 'cubeEffect', 'fadeEffect', 'flipEffect', 'creativeEffect', 'cardsEffect', 'hashNavigation', 'history', 'keyboard', 'mousewheel', '_navigation', '_pagination', 'parallax', '_scrollbar', '_thumbs', 'virtual', 'zoom', 'control'];\n\nfunction isObject(o) {\n return typeof o === 'object' && o !== null && o.constructor && Object.prototype.toString.call(o).slice(8, -1) === 'Object' && !o.__swiper__;\n}\nfunction extend(target, src) {\n const noExtend = ['__proto__', 'constructor', 'prototype'];\n Object.keys(src).filter(key => noExtend.indexOf(key) < 0).forEach(key => {\n if (typeof target[key] === 'undefined') target[key] = src[key];else if (isObject(src[key]) && isObject(target[key]) && Object.keys(src[key]).length > 0) {\n if (src[key].__swiper__) target[key] = src[key];else extend(target[key], src[key]);\n } else {\n target[key] = src[key];\n }\n });\n}\nfunction needsNavigation(params) {\n if (params === void 0) {\n params = {};\n }\n return params.navigation && typeof params.navigation.nextEl === 'undefined' && typeof params.navigation.prevEl === 'undefined';\n}\nfunction needsPagination(params) {\n if (params === void 0) {\n params = {};\n }\n return params.pagination && typeof params.pagination.el === 'undefined';\n}\nfunction needsScrollbar(params) {\n if (params === void 0) {\n params = {};\n }\n return params.scrollbar && typeof params.scrollbar.el === 'undefined';\n}\nfunction uniqueClasses(classNames) {\n if (classNames === void 0) {\n classNames = '';\n }\n const classes = classNames.split(' ').map(c => c.trim()).filter(c => !!c);\n const unique = [];\n classes.forEach(c => {\n if (unique.indexOf(c) < 0) unique.push(c);\n });\n return unique.join(' ');\n}\nfunction attrToProp(attrName) {\n if (attrName === void 0) {\n attrName = '';\n }\n return attrName.replace(/-[a-z]/g, l => l.toUpperCase().replace('-', ''));\n}\nfunction wrapperClass(className) {\n if (className === void 0) {\n className = '';\n }\n if (!className) return 'swiper-wrapper';\n if (!className.includes('swiper-wrapper')) return `swiper-wrapper ${className}`;\n return className;\n}\n\nfunction updateSwiper(_ref) {\n let {\n swiper,\n slides,\n passedParams,\n changedParams,\n nextEl,\n prevEl,\n scrollbarEl,\n paginationEl\n } = _ref;\n const updateParams = changedParams.filter(key => key !== 'children' && key !== 'direction' && key !== 'wrapperClass');\n const {\n params: currentParams,\n pagination,\n navigation,\n scrollbar,\n virtual,\n thumbs\n } = swiper;\n let needThumbsInit;\n let needControllerInit;\n let needPaginationInit;\n let needScrollbarInit;\n let needNavigationInit;\n let loopNeedDestroy;\n let loopNeedEnable;\n let loopNeedReloop;\n if (changedParams.includes('thumbs') && passedParams.thumbs && passedParams.thumbs.swiper && !passedParams.thumbs.swiper.destroyed && currentParams.thumbs && (!currentParams.thumbs.swiper || currentParams.thumbs.swiper.destroyed)) {\n needThumbsInit = true;\n }\n if (changedParams.includes('controller') && passedParams.controller && passedParams.controller.control && currentParams.controller && !currentParams.controller.control) {\n needControllerInit = true;\n }\n if (changedParams.includes('pagination') && passedParams.pagination && (passedParams.pagination.el || paginationEl) && (currentParams.pagination || currentParams.pagination === false) && pagination && !pagination.el) {\n needPaginationInit = true;\n }\n if (changedParams.includes('scrollbar') && passedParams.scrollbar && (passedParams.scrollbar.el || scrollbarEl) && (currentParams.scrollbar || currentParams.scrollbar === false) && scrollbar && !scrollbar.el) {\n needScrollbarInit = true;\n }\n if (changedParams.includes('navigation') && passedParams.navigation && (passedParams.navigation.prevEl || prevEl) && (passedParams.navigation.nextEl || nextEl) && (currentParams.navigation || currentParams.navigation === false) && navigation && !navigation.prevEl && !navigation.nextEl) {\n needNavigationInit = true;\n }\n const destroyModule = mod => {\n if (!swiper[mod]) return;\n swiper[mod].destroy();\n if (mod === 'navigation') {\n if (swiper.isElement) {\n swiper[mod].prevEl.remove();\n swiper[mod].nextEl.remove();\n }\n currentParams[mod].prevEl = undefined;\n currentParams[mod].nextEl = undefined;\n swiper[mod].prevEl = undefined;\n swiper[mod].nextEl = undefined;\n } else {\n if (swiper.isElement) {\n swiper[mod].el.remove();\n }\n currentParams[mod].el = undefined;\n swiper[mod].el = undefined;\n }\n };\n if (changedParams.includes('loop') && swiper.isElement) {\n if (currentParams.loop && !passedParams.loop) {\n loopNeedDestroy = true;\n } else if (!currentParams.loop && passedParams.loop) {\n loopNeedEnable = true;\n } else {\n loopNeedReloop = true;\n }\n }\n updateParams.forEach(key => {\n if (isObject(currentParams[key]) && isObject(passedParams[key])) {\n Object.assign(currentParams[key], passedParams[key]);\n if ((key === 'navigation' || key === 'pagination' || key === 'scrollbar') && 'enabled' in passedParams[key] && !passedParams[key].enabled) {\n destroyModule(key);\n }\n } else {\n const newValue = passedParams[key];\n if ((newValue === true || newValue === false) && (key === 'navigation' || key === 'pagination' || key === 'scrollbar')) {\n if (newValue === false) {\n destroyModule(key);\n }\n } else {\n currentParams[key] = passedParams[key];\n }\n }\n });\n if (updateParams.includes('controller') && !needControllerInit && swiper.controller && swiper.controller.control && currentParams.controller && currentParams.controller.control) {\n swiper.controller.control = currentParams.controller.control;\n }\n if (changedParams.includes('children') && slides && virtual && currentParams.virtual.enabled) {\n virtual.slides = slides;\n virtual.update(true);\n } else if (changedParams.includes('virtual') && virtual && currentParams.virtual.enabled) {\n if (slides) virtual.slides = slides;\n virtual.update(true);\n }\n if (changedParams.includes('children') && slides && currentParams.loop) {\n loopNeedReloop = true;\n }\n if (needThumbsInit) {\n const initialized = thumbs.init();\n if (initialized) thumbs.update(true);\n }\n if (needControllerInit) {\n swiper.controller.control = currentParams.controller.control;\n }\n if (needPaginationInit) {\n if (swiper.isElement && (!paginationEl || typeof paginationEl === 'string')) {\n paginationEl = document.createElement('div');\n paginationEl.classList.add('swiper-pagination');\n paginationEl.part.add('pagination');\n swiper.el.appendChild(paginationEl);\n }\n if (paginationEl) currentParams.pagination.el = paginationEl;\n pagination.init();\n pagination.render();\n pagination.update();\n }\n if (needScrollbarInit) {\n if (swiper.isElement && (!scrollbarEl || typeof scrollbarEl === 'string')) {\n scrollbarEl = document.createElement('div');\n scrollbarEl.classList.add('swiper-scrollbar');\n scrollbarEl.part.add('scrollbar');\n swiper.el.appendChild(scrollbarEl);\n }\n if (scrollbarEl) currentParams.scrollbar.el = scrollbarEl;\n scrollbar.init();\n scrollbar.updateSize();\n scrollbar.setTranslate();\n }\n if (needNavigationInit) {\n if (swiper.isElement) {\n if (!nextEl || typeof nextEl === 'string') {\n nextEl = document.createElement('div');\n nextEl.classList.add('swiper-button-next');\n setInnerHTML(nextEl, swiper.hostEl.constructor.nextButtonSvg);\n nextEl.part.add('button-next');\n swiper.el.appendChild(nextEl);\n }\n if (!prevEl || typeof prevEl === 'string') {\n prevEl = document.createElement('div');\n prevEl.classList.add('swiper-button-prev');\n setInnerHTML(prevEl, swiper.hostEl.constructor.prevButtonSvg);\n prevEl.part.add('button-prev');\n swiper.el.appendChild(prevEl);\n }\n }\n if (nextEl) currentParams.navigation.nextEl = nextEl;\n if (prevEl) currentParams.navigation.prevEl = prevEl;\n navigation.init();\n navigation.update();\n }\n if (changedParams.includes('allowSlideNext')) {\n swiper.allowSlideNext = passedParams.allowSlideNext;\n }\n if (changedParams.includes('allowSlidePrev')) {\n swiper.allowSlidePrev = passedParams.allowSlidePrev;\n }\n if (changedParams.includes('direction')) {\n swiper.changeDirection(passedParams.direction, false);\n }\n if (loopNeedDestroy || loopNeedReloop) {\n swiper.loopDestroy();\n }\n if (loopNeedEnable || loopNeedReloop) {\n swiper.loopCreate();\n }\n swiper.update();\n}\n\nexport { needsPagination as a, needsScrollbar as b, attrToProp as c, uniqueClasses as d, extend as e, isObject as i, needsNavigation as n, paramsList as p, updateSwiper as u, wrapperClass as w };\n"],"names":["paramsList","isObject","o","extend","target","src","noExtend","key","needsNavigation","params","needsPagination","needsScrollbar","uniqueClasses","classNames","classes","c","unique","wrapperClass","className","updateSwiper","_ref","swiper","slides","passedParams","changedParams","nextEl","prevEl","scrollbarEl","paginationEl","updateParams","currentParams","pagination","navigation","scrollbar","virtual","thumbs","needThumbsInit","needControllerInit","needPaginationInit","needScrollbarInit","needNavigationInit","loopNeedDestroy","loopNeedEnable","loopNeedReloop","destroyModule","mod","newValue","setInnerHTML"],"mappings":"8GAGMA,EAAa,CAAC,eAAgB,eAAgB,mBAAoB,UAAW,OAAQ,aAAc,iBAAkB,wBAAyB,oBAAqB,eAAgB,SAAU,UAAW,uBAAwB,iBAAkB,SAAU,oBAAqB,WAAY,SAAU,UAAW,iCAAkC,YAAa,MAAO,sBAAuB,sBAAuB,YAAa,cAAe,iBAAkB,mBAAoB,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AiBE,EAAa,gBAEnCC,EAAc,SAAS,gBAAgB,IACzCH,EAAO,eAAiBE,EAAa,gBAEnCC,EAAc,SAAS,WAAW,GACpCH,EAAO,gBAAgBE,EAAa,UAAW,EAAK,GAElDkB,GAAmBE,IACrBtB,EAAO,YAAa,GAElBqB,GAAkBC,IACpBtB,EAAO,WAAY,EAErBA,EAAO,OAAQ,CACjB","x_google_ignoreList":[0]}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./ssr-window.esm.js");function y(t){return t===void 0&&(t=""),t.trim().split(" ").filter(e=>!!e.trim())}function S(t){const e=t;Object.keys(e).forEach(r=>{try{e[r]=null}catch{}try{delete e[r]}catch{}})}function T(t,e){return e===void 0&&(e=0),setTimeout(t,e)}function E(){return Date.now()}function M(t){const e=c.a();let r;return e.getComputedStyle&&(r=e.getComputedStyle(t,null)),!r&&t.currentStyle&&(r=t.currentStyle),r||(r=t.style),r}function b(t,e){e===void 0&&(e="x");const r=c.a();let n,o,l;const s=M(t);return r.WebKitCSSMatrix?(o=s.transform||s.webkitTransform,o.split(",").length>6&&(o=o.split(", ").map(i=>i.replace(",",".")).join(", ")),l=new r.WebKitCSSMatrix(o==="none"?"":o)):(l=s.MozTransform||s.OTransform||s.MsTransform||s.msTransform||s.transform||s.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),n=l.toString().split(",")),e==="x"&&(r.WebKitCSSMatrix?o=l.m41:n.length===16?o=parseFloat(n[12]):o=parseFloat(n[4])),e==="y"&&(r.WebKitCSSMatrix?o=l.m42:n.length===16?o=parseFloat(n[13]):o=parseFloat(n[5])),o||0}function u(t){return typeof t=="object"&&t!==null&&t.constructor&&Object.prototype.toString.call(t).slice(8,-1)==="Object"}function x(t){return typeof window<"u"&&typeof window.HTMLElement<"u"?t instanceof HTMLElement:t&&(t.nodeType===1||t.nodeType===11)}function p(){const t=Object(arguments.length<=0?void 0:arguments[0]),e=["__proto__","constructor","prototype"];for(let r=1;r<arguments.length;r+=1){const n=r<0||arguments.length<=r?void 0:arguments[r];if(n!=null&&!x(n)){const o=Object.keys(Object(n)).filter(l=>e.indexOf(l)<0);for(let l=0,s=o.length;l<s;l+=1){const i=o[l],f=Object.getOwnPropertyDescriptor(n,i);f!==void 0&&f.enumerable&&(u(t[i])&&u(n[i])?n[i].__swiper__?t[i]=n[i]:p(t[i],n[i]):!u(t[i])&&u(n[i])?(t[i]={},n[i].__swiper__?t[i]=n[i]:p(t[i],n[i])):t[i]=n[i])}}}return t}function v(t,e,r){t.style.setProperty(e,r)}function C(t){let{swiper:e,targetPosition:r,side:n}=t;const o=c.a(),l=-e.translate;let s=null,i;const f=e.params.speed;e.wrapperEl.style.scrollSnapType="none",o.cancelAnimationFrame(e.cssModeFrameID);const h=r>l?"next":"prev",w=(d,m)=>h==="next"&&d>=m||h==="prev"&&d<=m,g=()=>{i=new Date().getTime(),s===null&&(s=i);const d=Math.max(Math.min((i-s)/f,1),0),m=.5-Math.cos(d*Math.PI)/2;let a=l+m*(r-l);if(w(a,r)&&(a=r),e.wrapperEl.scrollTo({[n]:a}),w(a,r)){e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.scrollSnapType="",setTimeout(()=>{e.wrapperEl.style.overflow="",e.wrapperEl.scrollTo({[n]:a})}),o.cancelAnimationFrame(e.cssModeFrameID);return}e.cssModeFrameID=o.requestAnimationFrame(g)};g()}function O(t,e){e===void 0&&(e="");const r=c.a(),n=[...t.children];return r.HTMLSlotElement&&t instanceof HTMLSlotElement&&n.push(...t.assignedElements()),e?n.filter(o=>o.matches(e)):n}function P(t,e){const r=[e];for(;r.length>0;){const n=r.shift();if(t===n)return!0;r.push(...n.children,...n.shadowRoot?n.shadowRoot.children:[],...n.assignedElements?n.assignedElements():[])}}function j(t,e){const r=c.a();let n=e.contains(t);return!n&&r.HTMLSlotElement&&e instanceof HTMLSlotElement&&(n=[...e.assignedElements()].includes(t),n||(n=P(t,e))),n}function _(t){try{console.warn(t);return}catch{}}function F(t,e){e===void 0&&(e=[]);const r=document.createElement(t);return r.classList.add(...Array.isArray(e)?e:y(e)),r}function H(t,e){const r=[];for(;t.previousElementSibling;){const n=t.previousElementSibling;e?n.matches(e)&&r.push(n):r.push(n),t=n}return r}function L(t,e){const r=[];for(;t.nextElementSibling;){const n=t.nextElementSibling;e?n.matches(e)&&r.push(n):r.push(n),t=n}return r}function I(t,e){return c.a().getComputedStyle(t,null).getPropertyValue(e)}function A(t){let e=t,r;if(e){for(r=0;(e=e.previousSibling)!==null;)e.nodeType===1&&(r+=1);return r}}function k(t,e){const r=[];let n=t.parentElement;for(;n;)r.push(n),n=n.parentElement;return r}function W(t,e,r){const n=c.a();return t[e==="width"?"offsetWidth":"offsetHeight"]+parseFloat(n.getComputedStyle(t,null).getPropertyValue(e==="width"?"margin-right":"margin-top"))+parseFloat(n.getComputedStyle(t,null).getPropertyValue(e==="width"?"margin-left":"margin-bottom"))}function D(t,e){e===void 0&&(e=""),typeof trustedTypes<"u"?t.innerHTML=trustedTypes.createPolicy("html",{createHTML:r=>r}).createHTML(e):t.innerHTML=e}exports.a=v;exports.b=k;exports.c=F;exports.e=O;exports.f=E;exports.h=W;exports.i=A;exports.j=y;exports.k=b;exports.n=T;exports.o=u;exports.q=I;exports.r=L;exports.s=D;exports.t=H;exports.u=C;exports.v=_;exports.w=j;exports.x=p;exports.y=S;
2
- //# sourceMappingURL=utils.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"utils.js","sources":["../../../../node_modules/swiper/shared/utils.mjs"],"sourcesContent":["import { a as getWindow, g as getDocument } from './ssr-window.esm.mjs';\n\nfunction classesToTokens(classes) {\n if (classes === void 0) {\n classes = '';\n }\n return classes.trim().split(' ').filter(c => !!c.trim());\n}\n\nfunction deleteProps(obj) {\n const object = obj;\n Object.keys(object).forEach(key => {\n try {\n object[key] = null;\n } catch (e) {\n // no getter for object\n }\n try {\n delete object[key];\n } catch (e) {\n // something got wrong\n }\n });\n}\nfunction nextTick(callback, delay) {\n if (delay === void 0) {\n delay = 0;\n }\n return setTimeout(callback, delay);\n}\nfunction now() {\n return Date.now();\n}\nfunction getComputedStyle(el) {\n const window = getWindow();\n let style;\n if (window.getComputedStyle) {\n style = window.getComputedStyle(el, null);\n }\n if (!style && el.currentStyle) {\n style = el.currentStyle;\n }\n if (!style) {\n style = el.style;\n }\n return style;\n}\nfunction getTranslate(el, axis) {\n if (axis === void 0) {\n axis = 'x';\n }\n const window = getWindow();\n let matrix;\n let curTransform;\n let transformMatrix;\n const curStyle = getComputedStyle(el);\n if (window.WebKitCSSMatrix) {\n curTransform = curStyle.transform || curStyle.webkitTransform;\n if (curTransform.split(',').length > 6) {\n curTransform = curTransform.split(', ').map(a => a.replace(',', '.')).join(', ');\n }\n // Some old versions of Webkit choke when 'none' is passed; pass\n // empty string instead in this case\n transformMatrix = new window.WebKitCSSMatrix(curTransform === 'none' ? '' : curTransform);\n } else {\n transformMatrix = curStyle.MozTransform || curStyle.OTransform || curStyle.MsTransform || curStyle.msTransform || curStyle.transform || curStyle.getPropertyValue('transform').replace('translate(', 'matrix(1, 0, 0, 1,');\n matrix = transformMatrix.toString().split(',');\n }\n if (axis === 'x') {\n // Latest Chrome and webkits Fix\n if (window.WebKitCSSMatrix) curTransform = transformMatrix.m41;\n // Crazy IE10 Matrix\n else if (matrix.length === 16) curTransform = parseFloat(matrix[12]);\n // Normal Browsers\n else curTransform = parseFloat(matrix[4]);\n }\n if (axis === 'y') {\n // Latest Chrome and webkits Fix\n if (window.WebKitCSSMatrix) curTransform = transformMatrix.m42;\n // Crazy IE10 Matrix\n else if (matrix.length === 16) curTransform = parseFloat(matrix[13]);\n // Normal Browsers\n else curTransform = parseFloat(matrix[5]);\n }\n return curTransform || 0;\n}\nfunction isObject(o) {\n return typeof o === 'object' && o !== null && o.constructor && Object.prototype.toString.call(o).slice(8, -1) === 'Object';\n}\nfunction isNode(node) {\n // eslint-disable-next-line\n if (typeof window !== 'undefined' && typeof window.HTMLElement !== 'undefined') {\n return node instanceof HTMLElement;\n }\n return node && (node.nodeType === 1 || node.nodeType === 11);\n}\nfunction extend() {\n const to = Object(arguments.length <= 0 ? undefined : arguments[0]);\n const noExtend = ['__proto__', 'constructor', 'prototype'];\n for (let i = 1; i < arguments.length; i += 1) {\n const nextSource = i < 0 || arguments.length <= i ? undefined : arguments[i];\n if (nextSource !== undefined && nextSource !== null && !isNode(nextSource)) {\n const keysArray = Object.keys(Object(nextSource)).filter(key => noExtend.indexOf(key) < 0);\n for (let nextIndex = 0, len = keysArray.length; nextIndex < len; nextIndex += 1) {\n const nextKey = keysArray[nextIndex];\n const desc = Object.getOwnPropertyDescriptor(nextSource, nextKey);\n if (desc !== undefined && desc.enumerable) {\n if (isObject(to[nextKey]) && isObject(nextSource[nextKey])) {\n if (nextSource[nextKey].__swiper__) {\n to[nextKey] = nextSource[nextKey];\n } else {\n extend(to[nextKey], nextSource[nextKey]);\n }\n } else if (!isObject(to[nextKey]) && isObject(nextSource[nextKey])) {\n to[nextKey] = {};\n if (nextSource[nextKey].__swiper__) {\n to[nextKey] = nextSource[nextKey];\n } else {\n extend(to[nextKey], nextSource[nextKey]);\n }\n } else {\n to[nextKey] = nextSource[nextKey];\n }\n }\n }\n }\n }\n return to;\n}\nfunction setCSSProperty(el, varName, varValue) {\n el.style.setProperty(varName, varValue);\n}\nfunction animateCSSModeScroll(_ref) {\n let {\n swiper,\n targetPosition,\n side\n } = _ref;\n const window = getWindow();\n const startPosition = -swiper.translate;\n let startTime = null;\n let time;\n const duration = swiper.params.speed;\n swiper.wrapperEl.style.scrollSnapType = 'none';\n window.cancelAnimationFrame(swiper.cssModeFrameID);\n const dir = targetPosition > startPosition ? 'next' : 'prev';\n const isOutOfBound = (current, target) => {\n return dir === 'next' && current >= target || dir === 'prev' && current <= target;\n };\n const animate = () => {\n time = new Date().getTime();\n if (startTime === null) {\n startTime = time;\n }\n const progress = Math.max(Math.min((time - startTime) / duration, 1), 0);\n const easeProgress = 0.5 - Math.cos(progress * Math.PI) / 2;\n let currentPosition = startPosition + easeProgress * (targetPosition - startPosition);\n if (isOutOfBound(currentPosition, targetPosition)) {\n currentPosition = targetPosition;\n }\n swiper.wrapperEl.scrollTo({\n [side]: currentPosition\n });\n if (isOutOfBound(currentPosition, targetPosition)) {\n swiper.wrapperEl.style.overflow = 'hidden';\n swiper.wrapperEl.style.scrollSnapType = '';\n setTimeout(() => {\n swiper.wrapperEl.style.overflow = '';\n swiper.wrapperEl.scrollTo({\n [side]: currentPosition\n });\n });\n window.cancelAnimationFrame(swiper.cssModeFrameID);\n return;\n }\n swiper.cssModeFrameID = window.requestAnimationFrame(animate);\n };\n animate();\n}\nfunction getSlideTransformEl(slideEl) {\n return slideEl.querySelector('.swiper-slide-transform') || slideEl.shadowRoot && slideEl.shadowRoot.querySelector('.swiper-slide-transform') || slideEl;\n}\nfunction elementChildren(element, selector) {\n if (selector === void 0) {\n selector = '';\n }\n const window = getWindow();\n const children = [...element.children];\n if (window.HTMLSlotElement && element instanceof HTMLSlotElement) {\n children.push(...element.assignedElements());\n }\n if (!selector) {\n return children;\n }\n return children.filter(el => el.matches(selector));\n}\nfunction elementIsChildOfSlot(el, slot) {\n // Breadth-first search through all parent's children and assigned elements\n const elementsQueue = [slot];\n while (elementsQueue.length > 0) {\n const elementToCheck = elementsQueue.shift();\n if (el === elementToCheck) {\n return true;\n }\n elementsQueue.push(...elementToCheck.children, ...(elementToCheck.shadowRoot ? elementToCheck.shadowRoot.children : []), ...(elementToCheck.assignedElements ? elementToCheck.assignedElements() : []));\n }\n}\nfunction elementIsChildOf(el, parent) {\n const window = getWindow();\n let isChild = parent.contains(el);\n if (!isChild && window.HTMLSlotElement && parent instanceof HTMLSlotElement) {\n const children = [...parent.assignedElements()];\n isChild = children.includes(el);\n if (!isChild) {\n isChild = elementIsChildOfSlot(el, parent);\n }\n }\n return isChild;\n}\nfunction showWarning(text) {\n try {\n console.warn(text);\n return;\n } catch (err) {\n // err\n }\n}\nfunction createElement(tag, classes) {\n if (classes === void 0) {\n classes = [];\n }\n const el = document.createElement(tag);\n el.classList.add(...(Array.isArray(classes) ? classes : classesToTokens(classes)));\n return el;\n}\nfunction elementOffset(el) {\n const window = getWindow();\n const document = getDocument();\n const box = el.getBoundingClientRect();\n const body = document.body;\n const clientTop = el.clientTop || body.clientTop || 0;\n const clientLeft = el.clientLeft || body.clientLeft || 0;\n const scrollTop = el === window ? window.scrollY : el.scrollTop;\n const scrollLeft = el === window ? window.scrollX : el.scrollLeft;\n return {\n top: box.top + scrollTop - clientTop,\n left: box.left + scrollLeft - clientLeft\n };\n}\nfunction elementPrevAll(el, selector) {\n const prevEls = [];\n while (el.previousElementSibling) {\n const prev = el.previousElementSibling; // eslint-disable-line\n if (selector) {\n if (prev.matches(selector)) prevEls.push(prev);\n } else prevEls.push(prev);\n el = prev;\n }\n return prevEls;\n}\nfunction elementNextAll(el, selector) {\n const nextEls = [];\n while (el.nextElementSibling) {\n const next = el.nextElementSibling; // eslint-disable-line\n if (selector) {\n if (next.matches(selector)) nextEls.push(next);\n } else nextEls.push(next);\n el = next;\n }\n return nextEls;\n}\nfunction elementStyle(el, prop) {\n const window = getWindow();\n return window.getComputedStyle(el, null).getPropertyValue(prop);\n}\nfunction elementIndex(el) {\n let child = el;\n let i;\n if (child) {\n i = 0;\n // eslint-disable-next-line\n while ((child = child.previousSibling) !== null) {\n if (child.nodeType === 1) i += 1;\n }\n return i;\n }\n return undefined;\n}\nfunction elementParents(el, selector) {\n const parents = []; // eslint-disable-line\n let parent = el.parentElement; // eslint-disable-line\n while (parent) {\n if (selector) {\n if (parent.matches(selector)) parents.push(parent);\n } else {\n parents.push(parent);\n }\n parent = parent.parentElement;\n }\n return parents;\n}\nfunction elementTransitionEnd(el, callback) {\n function fireCallBack(e) {\n if (e.target !== el) return;\n callback.call(el, e);\n el.removeEventListener('transitionend', fireCallBack);\n }\n if (callback) {\n el.addEventListener('transitionend', fireCallBack);\n }\n}\nfunction elementOuterSize(el, size, includeMargins) {\n const window = getWindow();\n if (includeMargins) {\n return el[size === 'width' ? 'offsetWidth' : 'offsetHeight'] + parseFloat(window.getComputedStyle(el, null).getPropertyValue(size === 'width' ? 'margin-right' : 'margin-top')) + parseFloat(window.getComputedStyle(el, null).getPropertyValue(size === 'width' ? 'margin-left' : 'margin-bottom'));\n }\n return el.offsetWidth;\n}\nfunction makeElementsArray(el) {\n return (Array.isArray(el) ? el : [el]).filter(e => !!e);\n}\nfunction getRotateFix(swiper) {\n return v => {\n if (Math.abs(v) > 0 && swiper.browser && swiper.browser.need3dFix && Math.abs(v) % 90 === 0) {\n return v + 0.001;\n }\n return v;\n };\n}\nfunction setInnerHTML(el, html) {\n if (html === void 0) {\n html = '';\n }\n if (typeof trustedTypes !== 'undefined') {\n el.innerHTML = trustedTypes.createPolicy('html', {\n createHTML: s => s\n }).createHTML(html);\n } else {\n el.innerHTML = html;\n }\n}\n\nexport { setCSSProperty as a, elementParents as b, createElement as c, elementOffset as d, elementChildren as e, now as f, getSlideTransformEl as g, elementOuterSize as h, elementIndex as i, classesToTokens as j, getTranslate as k, elementTransitionEnd as l, makeElementsArray as m, nextTick as n, isObject as o, getRotateFix as p, elementStyle as q, elementNextAll as r, setInnerHTML as s, elementPrevAll as t, animateCSSModeScroll as u, showWarning as v, elementIsChildOf as w, extend as x, deleteProps as y };\n"],"names":["classesToTokens","classes","c","deleteProps","obj","object","key","nextTick","callback","delay","now","getComputedStyle","el","window","getWindow","style","getTranslate","axis","matrix","curTransform","transformMatrix","curStyle","a","isObject","o","isNode","node","extend","to","noExtend","i","nextSource","keysArray","nextIndex","len","nextKey","desc","setCSSProperty","varName","varValue","animateCSSModeScroll","_ref","swiper","targetPosition","side","startPosition","startTime","time","duration","dir","isOutOfBound","current","target","animate","progress","easeProgress","currentPosition","elementChildren","element","selector","children","elementIsChildOfSlot","slot","elementsQueue","elementToCheck","elementIsChildOf","parent","isChild","showWarning","text","createElement","tag","elementPrevAll","prevEls","prev","elementNextAll","nextEls","next","elementStyle","prop","elementIndex","child","elementParents","parents","elementOuterSize","size","includeMargins","setInnerHTML","html","s"],"mappings":"uHAEA,SAASA,EAAgBC,EAAS,CAChC,OAAIA,IAAY,SACdA,EAAU,IAELA,EAAQ,OAAO,MAAM,GAAG,EAAE,OAAOC,GAAK,CAAC,CAACA,EAAE,KAAI,CAAE,CACzD,CAEA,SAASC,EAAYC,EAAK,CACxB,MAAMC,EAASD,EACf,OAAO,KAAKC,CAAM,EAAE,QAAQC,GAAO,CACjC,GAAI,CACFD,EAAOC,CAAG,EAAI,IACf,MAAW,CAEhB,CACI,GAAI,CACF,OAAOD,EAAOC,CAAG,CAClB,MAAW,CAEhB,CACA,CAAG,CACH,CACA,SAASC,EAASC,EAAUC,EAAO,CACjC,OAAIA,IAAU,SACZA,EAAQ,GAEH,WAAWD,EAAUC,CAAK,CACnC,CACA,SAASC,GAAM,CACb,OAAO,KAAK,IAAK,CACnB,CACA,SAASC,EAAiBC,EAAI,CAC5B,MAAMC,EAASC,EAAAA,EAAW,EAC1B,IAAIC,EACJ,OAAIF,EAAO,mBACTE,EAAQF,EAAO,iBAAiBD,EAAI,IAAI,GAEtC,CAACG,GAASH,EAAG,eACfG,EAAQH,EAAG,cAERG,IACHA,EAAQH,EAAG,OAENG,CACT,CACA,SAASC,EAAaJ,EAAIK,EAAM,CAC1BA,IAAS,SACXA,EAAO,KAET,MAAMJ,EAASC,EAAAA,EAAW,EAC1B,IAAII,EACAC,EACAC,EACJ,MAAMC,EAAWV,EAAiBC,CAAE,EACpC,OAAIC,EAAO,iBACTM,EAAeE,EAAS,WAAaA,EAAS,gBAC1CF,EAAa,MAAM,GAAG,EAAE,OAAS,IACnCA,EAAeA,EAAa,MAAM,IAAI,EAAE,IAAIG,GAAKA,EAAE,QAAQ,IAAK,GAAG,CAAC,EAAE,KAAK,IAAI,GAIjFF,EAAkB,IAAIP,EAAO,gBAAgBM,IAAiB,OAAS,GAAKA,CAAY,IAExFC,EAAkBC,EAAS,cAAgBA,EAAS,YA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,EAAQrE,EACRkB,EACJ,GAAImD,EAAO,CAGT,IAFAnD,EAAI,GAEImD,EAAQA,EAAM,mBAAqB,MACrCA,EAAM,WAAa,IAAGnD,GAAK,GAEjC,OAAOA,CACX,CAEA,CACA,SAASoD,EAAetE,EAAI+C,EAAU,CACpC,MAAMwB,EAAU,CAAA,EAChB,IAAIjB,EAAStD,EAAG,cAChB,KAAOsD,GAIHiB,EAAQ,KAAKjB,CAAM,EAErBA,EAASA,EAAO,cAElB,OAAOiB,CACT,CAWA,SAASC,EAAiBxE,EAAIyE,EAAMC,EAAgB,CAClD,MAAMzE,EAASC,EAAAA,EAAW,EAExB,OAAOF,EAAGyE,IAAS,QAAU,cAAgB,cAAc,EAAI,WAAWxE,EAAO,iBAAiBD,EAAI,IAAI,EAAE,iBAAiByE,IAAS,QAAU,eAAiB,YAAY,CAAC,EAAI,WAAWxE,EAAO,iBAAiBD,EAAI,IAAI,EAAE,iBAAiByE,IAAS,QAAU,cAAgB,eAAe,CAAC,CAGvS,CAYA,SAASE,EAAa3E,EAAI4E,EAAM,CAC1BA,IAAS,SACXA,EAAO,IAEL,OAAO,aAAiB,IAC1B5E,EAAG,UAAY,aAAa,aAAa,OAAQ,CAC/C,WAAY6E,GAAKA,CACvB,CAAK,EAAE,WAAWD,CAAI,EAElB5E,EAAG,UAAY4E,CAEnB","x_google_ignoreList":[0]}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react"),G=require("./shared/swiper-core.js"),I=require("./shared/update-on-virtual-data.js"),d=require("./shared/update-swiper.js");function T(){return T=Object.assign?Object.assign.bind():function(s){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(s[n]=a[n])}return s},T.apply(this,arguments)}function A(s){return s.type&&s.type.displayName&&s.type.displayName.includes("SwiperSlide")}function V(s){const t=[];return e.Children.toArray(s).forEach(a=>{A(a)?t.push(a):a.props&&a.props.children&&V(a.props.children).forEach(n=>t.push(n))}),t}function J(s){const t=[],a={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]};return e.Children.toArray(s).forEach(n=>{if(A(n))t.push(n);else if(n.props&&n.props.slot&&a[n.props.slot])a[n.props.slot].push(n);else if(n.props&&n.props.children){const c=V(n.props.children);c.length>0?c.forEach(l=>t.push(l)):a["container-end"].push(n)}else a["container-end"].push(n)}),{slides:t,slots:a}}function K(s,t,a){if(!a)return null;const n=o=>{let i=o;return o<0?i=t.length+o:i>=t.length&&(i=i-t.length),i},c=s.isHorizontal()?{[s.rtlTranslate?"right":"left"]:`${a.offset}px`}:{top:`${a.offset}px`},{from:l,to:p}=a,y=s.params.loop?-t.length:0,h=s.params.loop?t.length*2:t.length,v=[];for(let o=y;o<h;o+=1)o>=l&&o<=p&&v.push(t[n(o)]);return v.map((o,i)=>e.cloneElement(o,{swiper:s,style:c,key:o.props.virtualIndex||o.key||`slide-${i}`}))}function N(s,t){return typeof window>"u"?e.useEffect(s,t):e.useLayoutEffect(s,t)}const q=e.createContext(null),Q=e.createContext(null),F=e.forwardRef(function(s,t){let{className:a,tag:n="div",wrapperTag:c="div",children:l,onSwiper:p,...y}=s===void 0?{}:s,h=!1;const[v,o]=e.useState("swiper"),[i,m]=e.useState(null),[C,O]=e.useState(!1),P=e.useRef(!1),w=e.useRef(null),r=e.useRef(null),x=e.useRef(null),z=e.useRef(null),$=e.useRef(null),b=e.useRef(null),R=e.useRef(null),k=e.useRef(null),{params:f,passedParams:L,rest:D,events:g}=I.g(y),{slides:S,slots:j}=J(l),B=()=>{O(!C)};Object.assign(f.on,{_containerClasses(u,E){o(E)}});const _=()=>{Object.assign(f.on,g),h=!0;const u={...f};if(delete u.wrapperClass,r.current=new G.S(u),r.current.virtual&&r.current.params.virtual.enabled){r.current.virtual.slides=S;const E={cache:!1,slides:S,renderExternal:m,renderExternalUpdate:!1};d.e(r.current.params.virtual,E),d.e(r.current.originalParams.virtual,E)}};w.current||_(),r.current&&r.current.on("_beforeBreakpoint",B);const H=()=>{h||!g||!r.current||Object.keys(g).forEach(u=>{r.current.on(u,g[u])})},M=()=>{!g||!r.current||Object.keys(g).forEach(u=>{r.current.off(u,g[u])})};e.useEffect(()=>()=>{r.current&&r.current.off("_beforeBreakpoint",B)}),e.useEffect(()=>{!P.current&&r.current&&(r.current.emitSlidesClasses(),P.current=!0)}),N(()=>{if(t&&(t.current=w.current),!!w.current)return r.current.destroyed&&_(),I.m({el:w.current,nextEl:$.current,prevEl:b.current,paginationEl:R.current,scrollbarEl:k.current,swiper:r.current},f),p&&!r.current.destroyed&&p(r.current),()=>{r.current&&!r.current.destroyed&&r.current.destroy(!0,!1)}},[]),N(()=>{H();const u=I.a(L,x.current,S,z.current,E=>E.key);return x.current=L,z.current=S,u.length&&r.current&&!r.current.destroyed&&d.u({swiper:r.current,slides:S,passedParams:L,changedParams:u,nextEl:$.current,prevEl:b.current,scrollbarEl:k.current,paginationEl:R.current}),()=>{M()}}),N(()=>{I.u(r.current)},[i]);function U(){return f.virtual?K(r.current,S,i):S.map((u,E)=>e.cloneElement(u,{swiper:r.current,swiperSlideIndex:E}))}return e.createElement(n,T({ref:w,className:d.d(`${v}${a?` ${a}`:""}`)},D),e.createElement(Q.Provider,{value:r.current},j["container-start"],e.createElement(c,{className:d.w(f.wrapperClass)},j["wrapper-start"],U(),j["wrapper-end"]),d.n(f)&&e.createElement(e.Fragment,null,e.createElement("div",{ref:b,className:"swiper-button-prev"}),e.createElement("div",{ref:$,className:"swiper-button-next"})),d.b(f)&&e.createElement("div",{ref:k,className:"swiper-scrollbar"}),d.a(f)&&e.createElement("div",{ref:R,className:"swiper-pagination"}),j["container-end"]))});F.displayName="Swiper";const W=e.forwardRef(function(s,t){let{tag:a="div",children:n,className:c="",swiper:l,zoom:p,lazy:y,virtualIndex:h,swiperSlideIndex:v,...o}=s===void 0?{}:s;const i=e.useRef(null),[m,C]=e.useState("swiper-slide"),[O,P]=e.useState(!1);function w($,b,R){b===i.current&&C(R)}N(()=>{if(typeof v<"u"&&(i.current.swiperSlideIndex=v),t&&(t.current=i.current),!(!i.current||!l)){if(l.destroyed){m!=="swiper-slide"&&C("swiper-slide");return}return l.on("_slideClass",w),()=>{l&&l.off("_slideClass",w)}}}),N(()=>{l&&i.current&&!l.destroyed&&C(l.getSlideClasses(i.current))},[l]);const r={isActive:m.indexOf("swiper-slide-active")>=0,isVisible:m.indexOf("swiper-slide-visible")>=0,isPrev:m.indexOf("swiper-slide-prev")>=0,isNext:m.indexOf("swiper-slide-next")>=0},x=()=>typeof n=="function"?n(r):n,z=()=>{P(!0)};return e.createElement(a,T({ref:i,className:d.d(`${m}${c?` ${c}`:""}`),"data-swiper-slide-index":h,onLoad:z},o),p&&e.createElement(q.Provider,{value:r},e.createElement("div",{className:"swiper-zoom-container","data-swiper-zoom":typeof p=="number"?p:void 0},x(),y&&!O&&e.createElement("div",{className:"swiper-lazy-preloader"}))),!p&&e.createElement(q.Provider,{value:r},x(),y&&!O&&e.createElement("div",{className:"swiper-lazy-preloader"})))});W.displayName="SwiperSlide";exports.Swiper=F;exports.SwiperSlide=W;
2
- //# sourceMappingURL=swiper-react.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"swiper-react.js","sources":["../../../node_modules/swiper/swiper-react.mjs"],"sourcesContent":["/**\n * Swiper React 11.2.8\n * Most modern mobile touch slider and framework with hardware accelerated transitions\n * https://swiperjs.com\n *\n * Copyright 2014-2025 Vladimir Kharlampidi\n *\n * Released under the MIT License\n *\n * Released on: May 23, 2025\n */\n\nimport React, { useEffect, useLayoutEffect, useContext, createContext, forwardRef, useState, useRef } from 'react';\nimport { S as Swiper$1 } from './shared/swiper-core.mjs';\nimport { g as getParams, m as mountSwiper, a as getChangedParams, u as updateOnVirtualData } from './shared/update-on-virtual-data.mjs';\nimport { d as uniqueClasses, w as wrapperClass, n as needsNavigation, b as needsScrollbar, a as needsPagination, e as extend, u as updateSwiper } from './shared/update-swiper.mjs';\n\nfunction _extends() {\n _extends = Object.assign ? Object.assign.bind() : function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n return target;\n };\n return _extends.apply(this, arguments);\n}\n\nfunction isChildSwiperSlide(child) {\n return child.type && child.type.displayName && child.type.displayName.includes('SwiperSlide');\n}\nfunction processChildren(c) {\n const slides = [];\n React.Children.toArray(c).forEach(child => {\n if (isChildSwiperSlide(child)) {\n slides.push(child);\n } else if (child.props && child.props.children) {\n processChildren(child.props.children).forEach(slide => slides.push(slide));\n }\n });\n return slides;\n}\nfunction getChildren(c) {\n const slides = [];\n const slots = {\n 'container-start': [],\n 'container-end': [],\n 'wrapper-start': [],\n 'wrapper-end': []\n };\n React.Children.toArray(c).forEach(child => {\n if (isChildSwiperSlide(child)) {\n slides.push(child);\n } else if (child.props && child.props.slot && slots[child.props.slot]) {\n slots[child.props.slot].push(child);\n } else if (child.props && child.props.children) {\n const foundSlides = processChildren(child.props.children);\n if (foundSlides.length > 0) {\n foundSlides.forEach(slide => slides.push(slide));\n } else {\n slots['container-end'].push(child);\n }\n } else {\n slots['container-end'].push(child);\n }\n });\n return {\n slides,\n slots\n };\n}\n\nfunction renderVirtual(swiper, slides, virtualData) {\n if (!virtualData) return null;\n const getSlideIndex = index => {\n let slideIndex = index;\n if (index < 0) {\n slideIndex = slides.length + index;\n } else if (slideIndex >= slides.length) {\n // eslint-disable-next-line\n slideIndex = slideIndex - slides.length;\n }\n return slideIndex;\n };\n const style = swiper.isHorizontal() ? {\n [swiper.rtlTranslate ? 'right' : 'left']: `${virtualData.offset}px`\n } : {\n top: `${virtualData.offset}px`\n };\n const {\n from,\n to\n } = virtualData;\n const loopFrom = swiper.params.loop ? -slides.length : 0;\n const loopTo = swiper.params.loop ? slides.length * 2 : slides.length;\n const slidesToRender = [];\n for (let i = loopFrom; i < loopTo; i += 1) {\n if (i >= from && i <= to) {\n slidesToRender.push(slides[getSlideIndex(i)]);\n }\n }\n return slidesToRender.map((child, index) => {\n return /*#__PURE__*/React.cloneElement(child, {\n swiper,\n style,\n key: child.props.virtualIndex || child.key || `slide-${index}`\n });\n });\n}\n\nfunction useIsomorphicLayoutEffect(callback, deps) {\n // eslint-disable-next-line\n if (typeof window === 'undefined') return useEffect(callback, deps);\n return useLayoutEffect(callback, deps);\n}\n\nconst SwiperSlideContext = /*#__PURE__*/createContext(null);\nconst useSwiperSlide = () => {\n return useContext(SwiperSlideContext);\n};\nconst SwiperContext = /*#__PURE__*/createContext(null);\nconst useSwiper = () => {\n return useContext(SwiperContext);\n};\n\nconst Swiper = /*#__PURE__*/forwardRef(function (_temp, externalElRef) {\n let {\n className,\n tag: Tag = 'div',\n wrapperTag: WrapperTag = 'div',\n children,\n onSwiper,\n ...rest\n } = _temp === void 0 ? {} : _temp;\n let eventsAssigned = false;\n const [containerClasses, setContainerClasses] = useState('swiper');\n const [virtualData, setVirtualData] = useState(null);\n const [breakpointChanged, setBreakpointChanged] = useState(false);\n const initializedRef = useRef(false);\n const swiperElRef = useRef(null);\n const swiperRef = useRef(null);\n const oldPassedParamsRef = useRef(null);\n const oldSlides = useRef(null);\n const nextElRef = useRef(null);\n const prevElRef = useRef(null);\n const paginationElRef = useRef(null);\n const scrollbarElRef = useRef(null);\n const {\n params: swiperParams,\n passedParams,\n rest: restProps,\n events\n } = getParams(rest);\n const {\n slides,\n slots\n } = getChildren(children);\n const onBeforeBreakpoint = () => {\n setBreakpointChanged(!breakpointChanged);\n };\n Object.assign(swiperParams.on, {\n _containerClasses(swiper, classes) {\n setContainerClasses(classes);\n }\n });\n const initSwiper = () => {\n // init swiper\n Object.assign(swiperParams.on, events);\n eventsAssigned = true;\n const passParams = {\n ...swiperParams\n };\n delete passParams.wrapperClass;\n swiperRef.current = new Swiper$1(passParams);\n if (swiperRef.current.virtual && swiperRef.current.params.virtual.enabled) {\n swiperRef.current.virtual.slides = slides;\n const extendWith = {\n cache: false,\n slides,\n renderExternal: setVirtualData,\n renderExternalUpdate: false\n };\n extend(swiperRef.current.params.virtual, extendWith);\n extend(swiperRef.current.originalParams.virtual, extendWith);\n }\n };\n if (!swiperElRef.current) {\n initSwiper();\n }\n\n // Listen for breakpoints change\n if (swiperRef.current) {\n swiperRef.current.on('_beforeBreakpoint', onBeforeBreakpoint);\n }\n const attachEvents = () => {\n if (eventsAssigned || !events || !swiperRef.current) return;\n Object.keys(events).forEach(eventName => {\n swiperRef.current.on(eventName, events[eventName]);\n });\n };\n const detachEvents = () => {\n if (!events || !swiperRef.current) return;\n Object.keys(events).forEach(eventName => {\n swiperRef.current.off(eventName, events[eventName]);\n });\n };\n useEffect(() => {\n return () => {\n if (swiperRef.current) swiperRef.current.off('_beforeBreakpoint', onBeforeBreakpoint);\n };\n });\n\n // set initialized flag\n useEffect(() => {\n if (!initializedRef.current && swiperRef.current) {\n swiperRef.current.emitSlidesClasses();\n initializedRef.current = true;\n }\n });\n\n // mount swiper\n useIsomorphicLayoutEffect(() => {\n if (externalElRef) {\n externalElRef.current = swiperElRef.current;\n }\n if (!swiperElRef.current) return;\n if (swiperRef.current.destroyed) {\n initSwiper();\n }\n mountSwiper({\n el: swiperElRef.current,\n nextEl: nextElRef.current,\n prevEl: prevElRef.current,\n paginationEl: paginationElRef.current,\n scrollbarEl: scrollbarElRef.current,\n swiper: swiperRef.current\n }, swiperParams);\n if (onSwiper && !swiperRef.current.destroyed) onSwiper(swiperRef.current);\n // eslint-disable-next-line\n return () => {\n if (swiperRef.current && !swiperRef.current.destroyed) {\n swiperRef.current.destroy(true, false);\n }\n };\n }, []);\n\n // watch for params change\n useIsomorphicLayoutEffect(() => {\n attachEvents();\n const changedParams = getChangedParams(passedParams, oldPassedParamsRef.current, slides, oldSlides.current, c => c.key);\n oldPassedParamsRef.current = passedParams;\n oldSlides.current = slides;\n if (changedParams.length && swiperRef.current && !swiperRef.current.destroyed) {\n updateSwiper({\n swiper: swiperRef.current,\n slides,\n passedParams,\n changedParams,\n nextEl: nextElRef.current,\n prevEl: prevElRef.current,\n scrollbarEl: scrollbarElRef.current,\n paginationEl: paginationElRef.current\n });\n }\n return () => {\n detachEvents();\n };\n });\n\n // update on virtual update\n useIsomorphicLayoutEffect(() => {\n updateOnVirtualData(swiperRef.current);\n }, [virtualData]);\n\n // bypass swiper instance to slides\n function renderSlides() {\n if (swiperParams.virtual) {\n return renderVirtual(swiperRef.current, slides, virtualData);\n }\n return slides.map((child, index) => {\n return /*#__PURE__*/React.cloneElement(child, {\n swiper: swiperRef.current,\n swiperSlideIndex: index\n });\n });\n }\n return /*#__PURE__*/React.createElement(Tag, _extends({\n ref: swiperElRef,\n className: uniqueClasses(`${containerClasses}${className ? ` ${className}` : ''}`)\n }, restProps), /*#__PURE__*/React.createElement(SwiperContext.Provider, {\n value: swiperRef.current\n }, slots['container-start'], /*#__PURE__*/React.createElement(WrapperTag, {\n className: wrapperClass(swiperParams.wrapperClass)\n }, slots['wrapper-start'], renderSlides(), slots['wrapper-end']), needsNavigation(swiperParams) && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(\"div\", {\n ref: prevElRef,\n className: \"swiper-button-prev\"\n }), /*#__PURE__*/React.createElement(\"div\", {\n ref: nextElRef,\n className: \"swiper-button-next\"\n })), needsScrollbar(swiperParams) && /*#__PURE__*/React.createElement(\"div\", {\n ref: scrollbarElRef,\n className: \"swiper-scrollbar\"\n }), needsPagination(swiperParams) && /*#__PURE__*/React.createElement(\"div\", {\n ref: paginationElRef,\n className: \"swiper-pagination\"\n }), slots['container-end']));\n});\nSwiper.displayName = 'Swiper';\n\nconst SwiperSlide = /*#__PURE__*/forwardRef(function (_temp, externalRef) {\n let {\n tag: Tag = 'div',\n children,\n className = '',\n swiper,\n zoom,\n lazy,\n virtualIndex,\n swiperSlideIndex,\n ...rest\n } = _temp === void 0 ? {} : _temp;\n const slideElRef = useRef(null);\n const [slideClasses, setSlideClasses] = useState('swiper-slide');\n const [lazyLoaded, setLazyLoaded] = useState(false);\n function updateClasses(_s, el, classNames) {\n if (el === slideElRef.current) {\n setSlideClasses(classNames);\n }\n }\n useIsomorphicLayoutEffect(() => {\n if (typeof swiperSlideIndex !== 'undefined') {\n slideElRef.current.swiperSlideIndex = swiperSlideIndex;\n }\n if (externalRef) {\n externalRef.current = slideElRef.current;\n }\n if (!slideElRef.current || !swiper) {\n return;\n }\n if (swiper.destroyed) {\n if (slideClasses !== 'swiper-slide') {\n setSlideClasses('swiper-slide');\n }\n return;\n }\n swiper.on('_slideClass', updateClasses);\n // eslint-disable-next-line\n return () => {\n if (!swiper) return;\n swiper.off('_slideClass', updateClasses);\n };\n });\n useIsomorphicLayoutEffect(() => {\n if (swiper && slideElRef.current && !swiper.destroyed) {\n setSlideClasses(swiper.getSlideClasses(slideElRef.current));\n }\n }, [swiper]);\n const slideData = {\n isActive: slideClasses.indexOf('swiper-slide-active') >= 0,\n isVisible: slideClasses.indexOf('swiper-slide-visible') >= 0,\n isPrev: slideClasses.indexOf('swiper-slide-prev') >= 0,\n isNext: slideClasses.indexOf('swiper-slide-next') >= 0\n };\n const renderChildren = () => {\n return typeof children === 'function' ? children(slideData) : children;\n };\n const onLoad = () => {\n setLazyLoaded(true);\n };\n return /*#__PURE__*/React.createElement(Tag, _extends({\n ref: slideElRef,\n className: uniqueClasses(`${slideClasses}${className ? ` ${className}` : ''}`),\n \"data-swiper-slide-index\": virtualIndex,\n onLoad: onLoad\n }, rest), zoom && /*#__PURE__*/React.createElement(SwiperSlideContext.Provider, {\n value: slideData\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: \"swiper-zoom-container\",\n \"data-swiper-zoom\": typeof zoom === 'number' ? zoom : undefined\n }, renderChildren(), lazy && !lazyLoaded && /*#__PURE__*/React.createElement(\"div\", {\n className: \"swiper-lazy-preloader\"\n }))), !zoom && /*#__PURE__*/React.createElement(SwiperSlideContext.Provider, {\n value: slideData\n }, renderChildren(), lazy && !lazyLoaded && /*#__PURE__*/React.createElement(\"div\", {\n className: \"swiper-lazy-preloader\"\n })));\n});\nSwiperSlide.displayName = 'SwiperSlide';\n\nexport { Swiper, SwiperSlide, useSwiper, useSwiperSlide };\n"],"names":["_extends","target","i","source","key","isChildSwiperSlide","child","processChildren","c","slides","React","slide","getChildren","slots","foundSlides","renderVirtual","swiper","virtualData","getSlideIndex","index","slideIndex","style","from","to","loopFrom","loopTo","slidesToRender","useIsomorphicLayoutEffect","callback","deps","useEffect","useLayoutEffect","SwiperSlideContext","createContext","SwiperContext","Swiper","forwardRef","_temp","externalElRef","className","Tag","WrapperTag","children","onSwiper","rest","eventsAssigned","containerClasses","setContainerClasses","useState","setVirtualData","breakpointChanged","setBreakpointChanged","initializedRef","useRef","swiperElRef","swiperRef","oldPassedParamsRef","oldSlides","nextElRef","prevElRef","paginationElRef","scrollbarElRef","swiperParams","passedParams","restProps","events","getParams","onBeforeBreakpoint","classes","initSwiper","passParams","Swiper$1","extendWith","extend","attachEvents","eventName","detachEvents","mountSwiper","changedParams","getChangedParams","updateSwiper","updateOnVirtualData","renderSlides","uniqueClasses","wrapperClass","needsNavigation","needsScrollbar","needsPagination","SwiperSlide","externalRef","zoom","lazy","virtualIndex","swiperSlideIndex","slideElRef","slideClasses","setSlideClasses","lazyLoaded","setLazyLoaded","updateClasses","_s","el","classNames","slideData","renderChildren","onLoad"],"mappings":"qOAiBA,SAASA,GAAW,CAClB,OAAAA,EAAW,OAAO,OAAS,OAAO,OAAO,KAAI,EAAK,SAAUC,EAAQ,CAClE,QAASC,EAAI,EAAGA,EAAI,UAAU,OAAQA,IAAK,CACzC,IAAIC,EAAS,UAAUD,CAAC,EACxB,QAASE,KAAOD,EACV,OAAO,UAAU,eAAe,KAAKA,EAAQC,CAAG,IAClDH,EAAOG,CAAG,EAAID,EAAOC,CAAG,EAGlC,CACI,OAAOH,CACR,EACMD,EAAS,MAAM,KAAM,SAAS,CACvC,CAEA,SAASK,EAAmBC,EAAO,CACjC,OAAOA,EAAM,MAAQA,EAAM,KAAK,aAAe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,OAAO9D,GAAa,WAAaA,EAAS6D,CAAS,EAAI7D,EAE1D+D,EAAS,IAAM,CACnBP,EAAc,EAAI,CACnB,EACD,OAAoBxF,EAAM,cAAc8B,EAAKxC,EAAS,CACpD,IAAK8F,EACL,UAAWX,EAAa,EAAC,GAAGY,CAAY,GAAGxD,EAAY,IAAIA,CAAS,GAAK,EAAE,EAAE,EAC7E,0BAA2BqD,EAC3B,OAAQa,CACZ,EAAK7D,CAAI,EAAG8C,GAAqBhF,EAAM,cAAcsB,EAAmB,SAAU,CAC9E,MAAOuE,CACX,EAAkB7F,EAAM,cAAc,MAAO,CACzC,UAAW,wBACX,mBAAoB,OAAOgF,GAAS,SAAWA,EAAO,MAC1D,EAAKc,EAAgB,EAAEb,GAAQ,CAACM,GAA2BvF,EAAM,cAAc,MAAO,CAClF,UAAW,uBACf,CAAG,CAAC,CAAC,EAAG,CAACgF,GAAqBhF,EAAM,cAAcsB,EAAmB,SAAU,CAC3E,MAAOuE,CACX,EAAKC,EAAgB,EAAEb,GAAQ,CAACM,GAA2BvF,EAAM,cAAc,MAAO,CAClF,UAAW,uBACZ,CAAA,CAAC,CAAC,CACL,CAAC,EACD8E,EAAY,YAAc","x_google_ignoreList":[0]}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("clsx"),i=(t="",r,...c)=>{const s=t?`${t}__${r} ${r}`:r;return e.clsx(s,c)},o=t=>t.charAt(0).toUpperCase()+t.slice(1);exports.capitalizeFirstLetter=o;exports.cn=i;
2
- //# sourceMappingURL=helpers.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"helpers.js","sources":["../../lib/services/helpers.ts"],"sourcesContent":["import type {ClassValue} from 'clsx';\r\nimport {clsx} from 'clsx';\r\n\r\nexport const cn = (blockName = '', elementName: string, ...inputs: ClassValue[]): string => {\r\n const className = blockName ? `${blockName}__${elementName} ${elementName}` : elementName;\r\n return clsx(className, inputs);\r\n};\r\n\r\nexport const capitalizeFirstLetter = (string: string): string => {\r\n return string.charAt(0).toUpperCase() + string.slice(1);\r\n};\r\n"],"names":["cn","blockName","elementName","inputs","className","clsx","capitalizeFirstLetter","string"],"mappings":"wGAGaA,EAAK,CAACC,EAAY,GAAIC,KAAwBC,IAAiC,CACpF,MAAAC,EAAYH,EAAY,GAAGA,CAAS,KAAKC,CAAW,IAAIA,CAAW,GAAKA,EACvE,OAAAG,EAAA,KAAKD,EAAWD,CAAM,CAC/B,EAEaG,EAAyBC,GAC7BA,EAAO,OAAO,CAAC,EAAE,cAAgBA,EAAO,MAAM,CAAC"}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),r=require("react"),u=(n,s)=>({block:e,children:t,...o})=>{const i=Array.isArray(t)?t.map((l,c)=>r.cloneElement(l,{block:e,key:`${e} - ${c.toString()}`})):r.cloneElement(t,{block:e});return a.jsx(n,{className:s,...o,children:i})};exports.withBlockClass=u;
2
- //# sourceMappingURL=withBlockClass.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"withBlockClass.js","sources":["../../../lib/services/hoc/withBlockClass.tsx"],"sourcesContent":["import type {ComponentType, FC, ReactElement} from 'react';\nimport React, {cloneElement} from 'react';\nimport IntrinsicElements = React.JSX.IntrinsicElements;\n\nexport interface WithBlockProps {\n block: string;\n children: ReactElement | ReactElement[];\n}\n\nexport const withBlockClass =\n <P extends object>(Tag: ComponentType<P> | keyof IntrinsicElements, className: string): FC<P & WithBlockProps> =>\n ({block, children, ...props}) => {\n const clonedChildren = Array.isArray(children)\n ? children.map((child, index) =>\n cloneElement(child, {\n block,\n key: `${block} - ${index.toString()}`,\n }),\n )\n : cloneElement(children, {block});\n\n return (\n <Tag\n className={className}\n {...(props as P)}\n >\n {clonedChildren}\n </Tag>\n );\n };\n"],"names":["withBlockClass","Tag","className","block","children","props","clonedChildren","child","index","cloneElement","jsx"],"mappings":"wIASaA,EACX,CAAmBC,EAAiDC,IACpE,CAAC,CAAC,MAAAC,EAAO,SAAAC,EAAU,GAAGC,KAAW,CAC/B,MAAMC,EAAiB,MAAM,QAAQF,CAAQ,EACzCA,EAAS,IAAI,CAACG,EAAOC,IACnBC,EAAA,aAAaF,EAAO,CAClB,MAAAJ,EACA,IAAK,GAAGA,CAAK,MAAMK,EAAM,UAAU,EACpC,CAAA,CAEH,EAAAC,eAAaL,EAAU,CAAC,MAAAD,EAAM,EAGhC,OAAAO,EAAA,IAACT,EAAA,CACC,UAAAC,EACC,GAAIG,EAEJ,SAAAC,CAAA,CACH,CAEJ"}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("react"),n=e=>{const t=r.useRef(null),c=r.useMemo(()=>{var o;return{height:e?(o=t.current)==null?void 0:o.scrollHeight:0}},[e]);return{contentRef:t,style:c}};exports.useAccordionHeight=n;
2
- //# sourceMappingURL=useAccordionHeight.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useAccordionHeight.js","sources":["../../../lib/services/hooks/useAccordionHeight.ts"],"sourcesContent":["import type {RefObject} from 'react';\nimport {useMemo, useRef} from 'react';\n\ninterface UseAccordionHeightResult {\n contentRef: RefObject<HTMLDivElement>;\n style: {height: number | undefined};\n}\n\nexport const useAccordionHeight = (isOpen: boolean): UseAccordionHeightResult => {\n const contentRef = useRef<HTMLDivElement | null>(null);\n\n const style = useMemo(() => {\n return {\n height: isOpen ? contentRef.current?.scrollHeight : 0,\n };\n }, [isOpen]);\n\n return {\n contentRef,\n style,\n };\n};\n"],"names":["useAccordionHeight","isOpen","contentRef","useRef","style","useMemo","_a"],"mappings":"yGAQaA,EAAsBC,GAA8C,CACzE,MAAAC,EAAaC,SAA8B,IAAI,EAE/CC,EAAQC,EAAAA,QAAQ,IAAM,OACnB,MAAA,CACL,OAAQJ,GAASK,EAAAJ,EAAW,UAAX,YAAAI,EAAoB,aAAe,CACtD,CAAA,EACC,CAACL,CAAM,CAAC,EAEJ,MAAA,CACL,WAAAC,EACA,MAAAE,CACF,CACF"}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("react"),o=t=>{const e=r.useRef(null);return r.useEffect(()=>{const n=u=>{const s=u.target;e.current&&s instanceof Node&&!e.current.contains(s)&&t(!1)};return document.addEventListener("mousedown",n),()=>{document.removeEventListener("mousedown",n)}},[e,t]),e};exports.useClickOutside=o;
2
- //# sourceMappingURL=useClickOutside.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useClickOutside.js","sources":["../../../lib/services/hooks/useClickOutside.tsx"],"sourcesContent":["import type {MutableRefObject} from 'react';\nimport {useEffect, useRef} from 'react';\n\ntype OutsideElementType = HTMLDivElement | null;\ntype CallbackFunction = (b: boolean) => void;\n\nexport const useClickOutside = (callback: CallbackFunction): MutableRefObject<OutsideElementType> => {\n const ref = useRef<OutsideElementType>(null);\n\n useEffect(() => {\n const handleClickOutside = (event: MouseEvent) => {\n const target = event.target;\n if (ref.current && target instanceof Node && !ref.current.contains(target)) {\n callback(false);\n }\n };\n document.addEventListener('mousedown', handleClickOutside);\n return () => {\n document.removeEventListener('mousedown', handleClickOutside);\n };\n }, [ref, callback]);\n\n return ref;\n};\n"],"names":["useClickOutside","callback","ref","useRef","useEffect","handleClickOutside","event","target"],"mappings":"yGAMaA,EAAmBC,GAAqE,CAC7F,MAAAC,EAAMC,SAA2B,IAAI,EAE3CC,OAAAA,EAAAA,UAAU,IAAM,CACR,MAAAC,EAAsBC,GAAsB,CAChD,MAAMC,EAASD,EAAM,OACjBJ,EAAI,SAAWK,aAAkB,MAAQ,CAACL,EAAI,QAAQ,SAASK,CAAM,GACvEN,EAAS,EAAK,CAElB,EACS,gBAAA,iBAAiB,YAAaI,CAAkB,EAClD,IAAM,CACF,SAAA,oBAAoB,YAAaA,CAAkB,CAC9D,CAAA,EACC,CAACH,EAAKD,CAAQ,CAAC,EAEXC,CACT"}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("react"),i=s=>{const[t,a]=n.useState(!1);return n.useEffect(()=>{const e=window.matchMedia(s);e.matches!==t&&a(e.matches);const c=()=>{a(e.matches)};return e.addEventListener("change",c),()=>{e.removeEventListener("change",c)}},[t,s]),t};exports.useMatchMedia=i;
2
- //# sourceMappingURL=useMatchMedia.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useMatchMedia.js","sources":["../../../lib/services/hooks/useMatchMedia.ts"],"sourcesContent":["import {useEffect, useState} from 'react';\n\nexport const useMatchMedia = (query: string): boolean => {\n const [matches, setMatches] = useState(false);\n\n useEffect(() => {\n const media = window.matchMedia(query);\n\n if (media.matches !== matches) {\n setMatches(media.matches);\n }\n\n const listener = () => {\n setMatches(media.matches);\n };\n media.addEventListener('change', listener);\n\n return () => {\n media.removeEventListener('change', listener);\n };\n }, [matches, query]);\n\n return matches;\n};\n"],"names":["useMatchMedia","query","matches","setMatches","useState","useEffect","media","listener"],"mappings":"yGAEaA,EAAiBC,GAA2B,CACvD,KAAM,CAACC,EAASC,CAAU,EAAIC,EAAAA,SAAS,EAAK,EAE5CC,OAAAA,EAAAA,UAAU,IAAM,CACR,MAAAC,EAAQ,OAAO,WAAWL,CAAK,EAEjCK,EAAM,UAAYJ,GACpBC,EAAWG,EAAM,OAAO,EAG1B,MAAMC,EAAW,IAAM,CACrBJ,EAAWG,EAAM,OAAO,CAC1B,EACM,OAAAA,EAAA,iBAAiB,SAAUC,CAAQ,EAElC,IAAM,CACLD,EAAA,oBAAoB,SAAUC,CAAQ,CAC9C,CAAA,EACC,CAACL,EAASD,CAAK,CAAC,EAEZC,CACT"}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("../node_modules/react-icons/md/index.js"),e=require("../node_modules/react-icons/fa6/index.js"),o=require("../node_modules/react-icons/io/index.js"),t={ArrowNarrowRight:r.MdOutlineKeyboardArrowRight,ArrowNarrowLeft:r.MdOutlineKeyboardArrowLeft,ArrowNarrowDown:r.MdOutlineKeyboardArrowDown,Check:e.FaCheck,Close:o.IoIosClose};exports.Icons=t;
2
- //# sourceMappingURL=icons.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"icons.js","sources":["../../lib/services/icons.ts"],"sourcesContent":["import {MdOutlineKeyboardArrowDown, MdOutlineKeyboardArrowLeft, MdOutlineKeyboardArrowRight} from 'react-icons/md';\nimport {FaCheck} from 'react-icons/fa6';\nimport {IoIosClose} from 'react-icons/io';\n\nexport const Icons = {\n ArrowNarrowRight: MdOutlineKeyboardArrowRight,\n ArrowNarrowLeft: MdOutlineKeyboardArrowLeft,\n ArrowNarrowDown: MdOutlineKeyboardArrowDown,\n Check: FaCheck,\n Close: IoIosClose,\n};\n"],"names":["Icons","MdOutlineKeyboardArrowRight","MdOutlineKeyboardArrowLeft","MdOutlineKeyboardArrowDown","FaCheck","IoIosClose"],"mappings":"sPAIaA,EAAQ,CACnB,iBAAkBC,EAAA,4BAClB,gBAAiBC,EAAA,2BACjB,gBAAiBC,EAAA,2BACjB,MAAOC,EAAA,QACP,MAAOC,EAAAA,UACT"}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=["Option 1","Option 2","Another Option"],e=100,t=10,c=Array.from({length:6},a=>({original:"src/assets/react.svg",thumbnail:"src/assets/react.svg"})),r=[{value:"1"},{value:"2"}],s=[10,500],n=[1,2,3];exports.dropdownOptionsMock=r;exports.imagesMock=c;exports.pageSizeMock=t;exports.rangeSliderArrayMock=s;exports.selectOptionsMock=o;exports.sliderSlideArrayMock=n;exports.totalCountPageMock=e;
2
- //# sourceMappingURL=mocks.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"mocks.js","sources":["../../lib/services/mocks.ts"],"sourcesContent":["export const selectOptionsMock = ['Option 1', 'Option 2', 'Another Option'];\nexport const totalCountPageMock = 100;\nexport const pageSizeMock = 10;\n\nexport const imagesMock = Array.from({length: 6}, (_) => ({\n original: 'src/assets/react.svg',\n thumbnail: 'src/assets/react.svg',\n}));\n\nexport const dropdownOptionsMock = [\n {\n value: '1',\n },\n {\n value: '2',\n },\n];\n\nexport const rangeSliderArrayMock = [10, 500];\nexport const sliderSlideArrayMock = [1, 2, 3];\n"],"names":["selectOptionsMock","totalCountPageMock","pageSizeMock","imagesMock","_","dropdownOptionsMock","rangeSliderArrayMock","sliderSlideArrayMock"],"mappings":"gFAAO,MAAMA,EAAoB,CAAC,WAAY,WAAY,gBAAgB,EAC7DC,EAAqB,IACrBC,EAAe,GAEfC,EAAa,MAAM,KAAK,CAAC,OAAQ,CAAC,EAAIC,IAAO,CACxD,SAAU,uBACV,UAAW,sBACb,EAAE,EAEWC,EAAsB,CACjC,CACE,MAAO,GACT,EACA,CACE,MAAO,GAAA,CAEX,EAEaC,EAAuB,CAAC,GAAI,GAAG,EAC/BC,EAAuB,CAAC,EAAG,EAAG,CAAC"}
File without changes