-
Notifications
You must be signed in to change notification settings - Fork 0
/
rb_wixui.thunderbolt[SlideShowGallery_SlideShowPolaroid].c7aebeb2.bundle.min.js.descarga
2 lines (2 loc) · 23.9 KB
/
rb_wixui.thunderbolt[SlideShowGallery_SlideShowPolaroid].c7aebeb2.bundle.min.js.descarga
1
2
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react"),require("react-dom")):"function"==typeof define&&define.amd?define("rb_wixui.thunderbolt[SlideShowGallery_SlideShowPolaroid]",["react","reactDOM"],t):"object"==typeof exports?exports["rb_wixui.thunderbolt[SlideShowGallery_SlideShowPolaroid]"]=t(require("react"),require("react-dom")):e["rb_wixui.thunderbolt[SlideShowGallery_SlideShowPolaroid]"]=t(e.React,e.ReactDOM)}("undefined"!=typeof self?self:this,(function(e,t){return function(e){function t(t){for(var r,o,s=t[0],l=t[1],u=t[2],d=0,f=[];d<s.length;d++)o=s[d],Object.prototype.hasOwnProperty.call(a,o)&&a[o]&&f.push(a[o][0]),a[o]=0;for(r in l)Object.prototype.hasOwnProperty.call(l,r)&&(e[r]=l[r]);for(c&&c(t);f.length;)f.shift()();return i.push.apply(i,u||[]),n()}function n(){for(var e,t=0;t<i.length;t++){for(var n=i[t],r=!0,s=1;s<n.length;s++){var l=n[s];0!==a[l]&&(r=!1)}r&&(i.splice(t--,1),e=o(o.s=n[0]))}return e}var r={},a={529:0},i=[];function o(t){if(r[t])return r[t].exports;var n=r[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,o),n.l=!0,n.exports}o.m=e,o.c=r,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)o.d(n,r,function(t){return e[t]}.bind(null,r));return n},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="https://static.parastorage.com/services/editor-elements/dist/";var s=("undefined"!=typeof self?self:this).webpackJsonp__wix_editor_elements_library=("undefined"!=typeof self?self:this).webpackJsonp__wix_editor_elements_library||[],l=s.push.bind(s);s.push=t,s=s.slice();for(var u=0;u<s.length;u++)t(s[u]);var c=l;return i.push([3836,0,1,4]),n()}({0:function(t,n){t.exports=e},113:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(0),a=n(7),i=function(e){var t=e.skinsStyle,n=e.currentIndex,i=void 0===n?0:n,o=e.itemsLength,s=void 0===o?0:o;return r.createElement("div",{"data-testid":a.a.counter,className:t.counter},i+1+"/"+s)}},120:function(e,t,n){"use strict";var r=n(121);function a(){}function i(){}i.resetWarningCache=a,e.exports=function(){function e(e,t,n,a,i,o){if(o!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:a};return n.PropTypes=n,n}},121:function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},124:function(e,t,n){"use strict";var r,a=n(0),i=n(2),o=n.n(i),s=n(138),l=n.n(s),u=(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),c=function(){if("undefined"!=typeof window&&window.customElements&&!window.customElements.get("gallery-image-sizer")){var e=function(e){function t(){var t=e.call(this)||this;return t.sizeObserver=new ResizeObserver((function(e){return t.onResize(e)})),t}return u(t,e),t.prototype.disconnectedCallback=function(){this.sizeObserver.disconnect()},t.prototype.connectedCallback=function(){this.sizeObserver.observe(this)},t.prototype.onResize=function(e){var t=e[0].contentRect.width,n=e[0].contentRect.height;this.resizeImage(t,n)},t.prototype.resizeImage=function(e,t){var n,r,a,i,o=this,s=this.children[0];if(s){var u=parseInt(this.dataset.imageWidth,10),c=parseInt(this.dataset.imageHeight,10),d=(n=e,r=t,a=u/c,(i=Math.round(r*a))<=n?{width:i,height:r}:{width:n,height:Math.round(n/a)});l.a.mutate((function(){o.style.visibility="inherit",s.style.width=d.width+"px",s.style.height=d.height+"px"}))}},t}(HTMLElement);window.customElements.define("gallery-image-sizer",e)}},d=n(139),f=n.n(d);c();t.a=function(e){var t=e.className,n=e.isFitMode,r=e.imageWidth,i=e.imageHeight,s=e.children;return n?a.createElement("gallery-image-sizer",{class:o()(t,f.a.root),"data-image-width":r,"data-image-height":i},s):a.createElement("div",{className:t},s)}},138:function(e,t,n){var r;!function(t){"use strict";var a=function(){},i=t.requestAnimationFrame||t.webkitRequestAnimationFrame||t.mozRequestAnimationFrame||t.msRequestAnimationFrame||function(e){return setTimeout(e,16)};function o(){this.reads=[],this.writes=[],this.raf=i.bind(t),a("initialized",this)}function s(e){e.scheduled||(e.scheduled=!0,e.raf(l.bind(null,e)),a("flush scheduled"))}function l(e){a("flush");var t,n=e.writes,r=e.reads;try{a("flushing reads",r.length),u(r),a("flushing writes",n.length),u(n)}catch(e){t=e}if(e.scheduled=!1,(r.length||n.length)&&s(e),t){if(a("task errored",t.message),!e.catch)throw t;e.catch(t)}}function u(e){var t;for(a("run tasks");t=e.shift();)t()}function c(e,t){var n=e.indexOf(t);return!!~n&&!!e.splice(n,1)}o.prototype={constructor:o,measure:function(e,t){a("measure");var n=t?e.bind(t):e;return this.reads.push(n),s(this),n},mutate:function(e,t){a("mutate");var n=t?e.bind(t):e;return this.writes.push(n),s(this),n},clear:function(e){return a("clear",e),c(this.reads,e)||c(this.writes,e)},extend:function(e){if(a("extend",e),"object"!=typeof e)throw new Error("expected object");var t=Object.create(this);return function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])}(t,e),t.fastdom=this,t.initialize&&t.initialize(),t},catch:null};var d=t.fastdom=t.fastdom||new o;void 0===(r=function(){return d}.call(d,n,d,e))||(e.exports=r)}("undefined"!=typeof window?window:this)},139:function(e,t,n){e.exports={root:"_2s9Ee"}},145:function(e,t,n){"use strict";var r=n(0),a=n(2),i=n.n(a),o=n(40),s=n(74),l=n(226),u=n(175),c=n(221),d=n(8),f=n(167),p=n(113),m=n(76),h=n(3006),_=n(330),v=function(e){var t=e.skinsStyle,n=e.currentIndex,a=void 0===n?0:n,i=e.isPlaying,s=e.transition,l=e.transitionDuration,u=e.reverse,c=e.onTransitionEnd,d=e.children;return"NoTransition"===s?r.createElement("div",{"data-testid":o.a.items,"aria-live":i?"off":"polite",className:t.itemsContainer},d):r.createElement(h.a,{"data-testid":o.a.items,className:t.itemsContainer,"aria-live":i?"off":"polite",childFactory:function(e){return r.cloneElement(e,{reverse:u})}},r.createElement(_.a,{type:s,key:a,timeout:l,onExited:c,unmountOnExit:!0},d))},g=function(){return(g=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e}).apply(this,arguments)},y=function(){},A=function(e,t){return 0===e?t-1:e-1},E=function(e,t){return e===t-1?0:e+1},b=function(e,t){return[A(e,t),e,E(e,t)]};t.a=r.forwardRef((function(e,t){var n,a=e.id,h=e.items,_=e.skinsStyle,I=e.skinsItemStyle,L=e.currentIndex,w=e.setCurrentIndex,B=e.onCurrentItemChanged,T=e.overlay,O=e.autoPlay,x=e.autoPlayInterval,S=e.setAutoPlay,N=e.reducedMotion,k=e.transition,R=e.transitionDuration,C=e.openImageZoom,P=void 0===C?y:C,j=e.onMouseEnter,M=void 0===j?y:j,U=e.onMouseLeave,D=void 0===U?y:U,F=e.imageOnClickAction,z=e.showAutoplay,G=e.showNavigation,W=e.showCounter,Y=e.translate,H=e.onNavigationEnd,K=e.onPlay,V=void 0===K?y:K,q=e.onPause,Z=void 0===q?y:q,X=e.isPlaying,J=void 0===X?O&&h.length>1&&!N:X,Q=e.transitionReverse,$=e.alignTextRight,ee=e.onItemClicked,te=e.renderNavigationButtonsInHelpers,ne=void 0!==te&&te,re=e.imageMode,ae=e.panelInImageWrapper,ie=r.useRef(null),oe=Object(l.a)(ie),se=J&&oe,le=r.useState(!1),ue=le[0],ce=le[1],de="NoTransition"!==k,fe=h[L],pe=r.useState(!1),me=pe[0],he=pe[1],_e=r.useCallback((function(e){w(e),null==B||B({type:"imageChanged",itemIndex:e}),H&&H(e)}),[w,B,H]),ve=r.useCallback((function(e){ue||(ce(!0),w(e),null==B||B({type:"imageChanged",itemIndex:e}))}),[ue,w,B]),ge=r.useCallback((function(){ce(!1),H&&H(L)}),[L,ce,H]),ye=r.useCallback((function(e){return de?ve(e):_e(e)}),[_e,ve,de]),Ae=r.useCallback((function(){var e=E(L,h.length);return he(!1),ye(e)}),[h.length,L,ye]),Ee=r.useCallback((function(){var e=A(L,h.length);return he(!0),ye(e)}),[h.length,L,ye]),be=r.useCallback((function(){null==V||V({type:"autoplayOn"}),S(!0)}),[V,S]),Ie=r.useCallback((function(){null==Z||Z({type:"autoplayOff"}),S(!1)}),[Z,S]);Object(s.a)("onSwipeLeft",Q?Ee:Ae,ie),Object(s.a)("onSwipeRight",Q?Ae:Ee,ie),Object(u.a)(Q?Ee:Ae,se?x:null),r.useImperativeHandle(t,(function(){return{next:Ae,previous:Ee,play:be,pause:Ie}}),[Ae,Ee,be,Ie]);var Le=r.useRef({currentIndex:L,items:h,indexes:new Set(b(L,h.length))});if(Le.current.items!==h)Le.current={currentIndex:L,items:h,indexes:new Set(b(L,h.length))};else if(Le.current.currentIndex!==L){Le.current={currentIndex:L,items:h,indexes:Le.current.indexes};for(var we=0,Be=b(L,h.length);we<Be.length;we++){var Te=Be[we];Le.current.indexes.add(Te)}}var Oe=h.map((function(e,t){return{item:e,originalIndex:t}})).filter((function(e){var t=e.originalIndex;return Le.current.indexes.has(t)})).map((function(e){var t=e.item,n=e.originalIndex;return r.createElement(c.a,g({key:"item-"+n,dataTestId:o.a.ghostItem,itemClickHandler:y,skinsStyle:I,extraClassNames:{root:_.item,panel:_.panel},itemId:Object(m.a)(n,a),imageOnClickAction:F,openImageZoom:y,translate:Y,alignTextRight:$,imageMode:re,panelInImageWrapper:ae},t))}));return r.createElement("div",{onMouseEnter:M,onMouseLeave:D,id:a,"data-testid":o.a.root,"data-image-mode":re,ref:ie,role:"region","aria-label":Y(o.b.ARIA_LABEL_NAMESPACE,o.b.SLIDE_SHOW_GALLERY_ARIA_LABEL_KEY,o.b.SLIDE_SHOW_GALLERY_ARIA_LABEL_DEFAULT),className:i()(_.root,(n={},n[_.textAlignmentRight]=$,n)),onKeyDown:function(e){e.keyCode===d.g.arrowRight?Ae():e.keyCode===d.g.arrowLeft&&Ee()}},r.createElement("div",{className:_.ghostItems},Oe),G&&!ne&&r.createElement(f.a,{translate:Y,skinsStyle:_,moveToPrevItem:Ee,moveToNextItem:Ae,reverse:Q,withCounter:!1}),fe&&r.createElement(v,{skinsStyle:_,currentIndex:L,isPlaying:se,transition:k,transitionDuration:R,reverse:me,onTransitionEnd:ge},r.createElement(c.a,g({key:"flexibleWidthFixed"===re?"item-"+L+fe.title:void 0,dataTestId:o.a.item,itemClickHandler:function(){null==ee||ee({itemIndex:L,type:"itemClicked"})},skinsStyle:I,extraClassNames:{root:_.item,panel:_.panel},imageOnClickAction:F,openImageZoom:function(e){se?(Ie(),P(e,a,be)):P(e,a)},translate:Y,alignTextRight:$,imageMode:re,itemId:"item-current-"+L+"-"+a,panelInImageWrapper:ae},fe))),r.createElement("div",{className:_.helpers},z&&r.createElement("button",{className:i()(_.playButton,se?_.autoplayOn:_.autoplayOff),"data-testid":o.a.playButton,type:"button","aria-label":Y(o.b.ARIA_LABEL_NAMESPACE,o.b.PLAY_BUTTON_ARIA_LABEL_KEY,o.b.PLAY_BUTTON_ARIA_LABEL_DEFAULT),"aria-pressed":se,onClick:function(){O?Ie():be()}},r.createElement("span",{className:_.playIcon,"data-testid":o.a.playButtonInner,role:"presentation","aria-hidden":"true"})),G&&ne?r.createElement(f.a,{translate:Y,skinsStyle:_,moveToPrevItem:Ee,moveToNextItem:Ae,reverse:Q,withCounter:W,currentIndex:L,itemsLength:h.length}):W?r.createElement(p.a,{skinsStyle:_,currentIndex:L,itemsLength:h.length}):null),T)}))},167:function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r=n(0),a=n(2),i=n.n(a),o=n(7),s=n(113),l=function(e){var t=e.translate,n=e.skinsStyle,a=e.moveToPrevItem,l=e.moveToNextItem,u=e.withCounter,c=void 0!==u&&u,d=e.currentIndex,f=e.itemsLength,p=e.reverse,m=e.buttonPrevContent,h=e.buttonNextContent,_=t(o.c.ARIA_LABEL_NAMESPACE,o.c.PREV_BUTTON_ARIA_LABEL_KEY,o.c.PREV_BUTTON_ARIA_LABEL_DEFAULT),v=t(o.c.ARIA_LABEL_NAMESPACE,o.c.NEXT_BUTTON_ARIA_LABEL_KEY,o.c.NEXT_BUTTON_ARIA_LABEL_DEFAULT);return r.createElement("nav",{"aria-label":t(o.c.ARIA_LABEL_NAMESPACE,o.c.NAVIGATION_BUTTONS_ARIA_LABEL_KEY,o.c.NAVIGATION_BUTTONS_ARIA_LABEL_DEFAULT),className:n.navButtons,"data-testid":o.a.navButtons},r.createElement("button",{className:i()(n.navButton,n.buttonPrev),"data-testid":o.a.prevButton,type:"button","aria-label":p?v:_,onClick:p?l:a},r.createElement("span",{className:n.arrow,"data-testid":o.a.prevButtonInner,role:"presentation","aria-hidden":"true"},m)),c&&r.createElement(s.a,{skinsStyle:n,currentIndex:d,itemsLength:f}),r.createElement("button",{className:i()(n.navButton,n.buttonNext),"data-testid":o.a.nextButton,type:"button","aria-label":p?_:v,onClick:p?a:l},r.createElement("span",{className:n.arrow,"data-testid":o.a.nextButtonInner,role:"presentation","aria-hidden":"true"},h)))}},175:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(0);function a(e,t){var n=Object(r.useRef)((function(){}));Object(r.useEffect)((function(){n.current=e}),[e]),Object(r.useEffect)((function(){if(null!==t){var e=setInterval((function(){n.current()}),t);return function(){return clearInterval(e)}}return function(){}}),[t])}},1813:function(e,t,n){"use strict";var r=n(0),a=n(145),i=n(1814),o=n.n(i),s=n(1815),l=n.n(s),u=function(){return(u=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e}).apply(this,arguments)};t.a=r.forwardRef((function(e,t){return r.createElement(a.a,u({ref:t},e,{skinsItemStyle:o.a,skinsStyle:l.a}))}))},1814:function(e,t,n){e.exports={root:"t9mg6",itemClickWrapper:"QinBU",imageSizer:"_3T3NQ",imageBorder:"_3eGTq",image:"_3KDHv",imageWrapper:"Kdif4",aspectRatioSizer:"_3qk7-",imageLink:"_3rbrQ",imageZoomBtn:"_2XI6G",textAlignmentRight:"_2eye_",panel:"_3FFfw",title:"CIRbd",description:"_1R_pq"}},1815:function(e,t,n){e.exports={forceShowButtons:"_1tunR",root:"_2SfLM",itemsContainer:"_2pAL5",item:"_1w_vy",navButtons:"_4kxHE",navButton:"_1d5uL",playButton:"Ln5Ew",playIcon:"_3UaWq",ghostItems:"_1TP44",ghostItem:"_3lMgj",buttonPrev:"k9I-o",buttonNext:"_17KCe",arrow:"_3u2_u",helpers:"_2LKDX",textAlignmentRight:"_3mwS2",counter:"_30FJA",autoplayOff:"_3Lun4",autoplayOn:"_1kchn"}},2:function(e,t,n){var r;!function(){"use strict";var n={}.hasOwnProperty;function a(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var i=typeof r;if("string"===i||"number"===i)e.push(r);else if(Array.isArray(r)&&r.length){var o=a.apply(null,r);o&&e.push(o)}else if("object"===i)for(var s in r)n.call(r,s)&&r[s]&&e.push(s)}}return e.join(" ")}e.exports?(a.default=a,e.exports=a):void 0===(r=function(){return a}.apply(t,[]))||(e.exports=r)}()},216:function(e,t,n){"use strict";t.a=function(e){var t=e.updateProps;return{setCurrentIndex:function(e){t({currentIndex:e})},setAutoPlay:function(e){t({autoPlay:e})}}}},221:function(e,t,n){"use strict";var r=n(0),a=n(2),i=n.n(a),o=n(42),s=n(7),l=n(63),u=n(124),c=function(){return(c=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e}).apply(this,arguments)};t.a=function(e){var t,n=e.dataId,a=e.title,d=e.description,f=e.link,p=e.image,m=e.itemId,h=e.skinsStyle,_=e.extraClassNames,v=e.imageOnClickAction,g=e.openImageZoom,y=void 0===g?function(){}:g,A=e.translate,E=e.alignTextRight,b=e.itemClickHandler,I=e.imageMode,L=e.dataTestId,w=e.panelInImageWrapper,B=r.useCallback((function(){return y(n)}),[n,y]),T=r.createElement("div",{"data-testid":s.a.panel,className:i()(h.panel,_.panel)},r.createElement("div",{"data-testid":s.a.title,className:h.title},a),r.createElement("p",{"data-testid":s.a.description,className:h.description},d));return r.createElement("div",{className:i()(h.root,_.root,(t={},t[h.textAlignmentRight]=E,t)),"data-testid":L,"data-image-mode":I,onClick:b},r.createElement(l.a,{imageOnClickAction:v,openImageZoom:B,imgTitle:p.title||"",link:f,imgAlt:p.alt,itemId:m,skinsStyle:h,translate:A},"flexibleHeight"===I&&r.createElement("svg",{className:h.aspectRatioSizer,viewBox:"0 0 "+p.width+" "+p.height}),r.createElement(u.a,{className:h.imageSizer,isFitMode:"flexibleWidthFixed"===I,imageWidth:p.width,imageHeight:p.height},r.createElement("div",{className:h.imageWrapper},r.createElement("div",{className:h.imageBorder},r.createElement(o.a,c({className:h.image,id:"img_"+p.containerId},p,{alt:p.alt||p.title,displayMode:"fill"}))),w&&T)),!w&&T))}},29:function(e,n){e.exports=t},3:function(e,t,n){e.exports=n(120)()},3836:function(e,t,n){"use strict";n.r(t),n.d(t,"components",(function(){return s})),n.d(t,"version",(function(){return l}));var r,a=n(1813),i=n(216),o={component:a.a,controller:i.a},s=((r={}).SlideShowGallery_SlideShowPolaroid=o,r),l="1.0.0"},40:function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return i}));var r=n(7),a={root:"slide-show-gallery",items:"slide-show-gallery-items",ghostItem:"gallery-item-ghost",item:r.a.item,navButtons:r.a.navButtons,prevButton:r.a.prevButton,nextButton:r.a.nextButton,prevButtonInner:r.a.prevButtonInner,nextButtonInner:r.a.nextButtonInner,playButton:"slide-show-gallery-playButton",playButtonInner:"slide-show-gallery-playButtonInner",counter:r.a.counter,slideShowIcon:"slide-show-gallery-icon"},i={ARIA_LABEL_NAMESPACE:"ariaLabels",SLIDE_SHOW_GALLERY_ARIA_LABEL_KEY:"SlideShowGallery_AriaLabel_TopLevel",SLIDE_SHOW_GALLERY_ARIA_LABEL_DEFAULT:"Slide show gallery",NAVIGATION_BUTTONS_ARIA_LABEL_KEY:"SlideShowGallery_AriaLabel_NavigationButtons",NAVIGATION_BUTTONS_ARIA_LABEL_DEFAULT:"slides",NEXT_BUTTON_ARIA_LABEL_KEY:"SlideShowGallery_AriaLabel_NextButton",NEXT_BUTTON_ARIA_LABEL_DEFAULT:"next",PREV_BUTTON_ARIA_LABEL_KEY:"SlideShowGallery_AriaLabel_PrevButton",PREV_BUTTON_ARIA_LABEL_DEFAULT:"previous",PLAY_BUTTON_ARIA_LABEL_KEY:"SlideShowGallery_AriaLabel_PlayButton",PLAY_BUTTON_ARIA_LABEL_DEFAULT:"play"}},63:function(e,t,n){"use strict";var r=n(0),a=n(2),i=n.n(a),o=n(15),s=n(8),l=n(17),u=n(7),c=function(){return(c=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e}).apply(this,arguments)};t.a=function(e){var t=e.imageOnClickAction,n=e.openImageZoom,a=e.focusItemRoot,d=e.focusDisabledItems,f=void 0!==d&&d,p=e.imgTitle,m=e.imgAlt,h=e.link,_=e.children,v=e.skinsStyle,g=e.itemId,y=e.translate,A=e.onFocus,E=void 0===A?function(){}:A,b=e.onBlur,I=void 0===b?function(){}:b,L="describedby_"+g,w=y(u.c.ARIA_LABEL_NAMESPACE,u.c.IMAGE_ZOOM_ARIA_LABEL_KEY,u.c.IMAGE_ZOOM_ARIA_LABEL_DEFAULT);switch(t){case"zoomMode":return r.createElement("div",{className:i()(v.itemClickWrapper,v.imageZoomBtn),"data-testid":u.a.imageZoomBtn,role:"button","aria-haspopup":"dialog",tabIndex:0,"aria-label":m||p||void 0,"aria-describedby":L,onClick:function(){a&&a(),n()},onKeyDown:s.e,onFocus:E,onBlur:I},_,r.createElement("div",{style:{display:"none"}},r.createElement("span",{id:L,"data-testid":u.a.ariaDescribedbyId},w)));case"goToLink":if(Object(l.d)(h))break;return r.createElement(o.a,c({className:i()(v.itemClickWrapper,v.imageLink),dataTestId:u.a.link},f?{tabIndex:0}:{},h),_)}return r.createElement("div",c({className:v.itemClickWrapper,role:"img","data-testid":u.a.disabledClickActionWrapper},f?{tabIndex:0}:{}),_)}},7:function(e,t,n){"use strict";n.d(t,"c",(function(){return r})),n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return i}));var r={ARIA_LABEL_NAMESPACE:"ariaLabels",IMAGE_ZOOM_ARIA_LABEL_KEY:"GalleryItem_AriaLabel_ZoomImageButton",IMAGE_ZOOM_ARIA_LABEL_DEFAULT:"press to zoom",NAVIGATION_BUTTONS_ARIA_LABEL_KEY:"Gallery_AriaLabel_NavigationButtons",NAVIGATION_BUTTONS_ARIA_LABEL_DEFAULT:"slides",NEXT_BUTTON_ARIA_LABEL_KEY:"Gallery_AriaLabel_NextButton",NEXT_BUTTON_ARIA_LABEL_DEFAULT:"next",PREV_BUTTON_ARIA_LABEL_KEY:"Gallery_AriaLabel_PrevButton",PREV_BUTTON_ARIA_LABEL_DEFAULT:"previous"},a={item:"gallery-item-item",panel:"gallery-item-panel",title:"gallery-item-title",panelLink:"gallery-item-panel-link",description:"gallery-item-description",link:"gallery-item-click-action-link",imageZoomBtn:"gallery-item-click-action-image-zoom",ariaDescribedbyId:"gallery-item-describedby-id",disabledClickActionWrapper:"gallery-item-click-action-disabled",navButtons:"gallery-navButtons",prevButton:"gallery-prevButton",nextButton:"gallery-nextButton",prevButtonInner:"gallery-prevButtonInner",nextButtonInner:"gallery-nextButtonInner",counter:"gallery-counter"},i={outIn:"OutIn",crossfade:"CrossFade",shrinkfade:"CrossFade",swipeHorizontal:"SlideHorizontal",swipeHorizontalFullScreen:"SlideHorizontal",swipeVertical:"SlideVertical",swipeVerticalFullScreen:"SlideVertical",seq_crossFade_All:"CrossFade",seq_shrink_All:"Shrink",swipe_horiz_All:"SlideHorizontal",swipe_vert_All:"SlideVertical",seq_random:"Random",none:"NoTransition"}},74:function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var r=n(0),a={left:"onSwipeLeft",right:"onSwipeRight",up:"onSwipeUp",down:"onSwipeDown"},i=function(e){if(e.touches&&e.touches.length){var t=e.touches[0];return{x:t.pageX,y:t.pageY}}},o=function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e}).apply(this,arguments)},s={touched:!0,moved:!1,deltaCoords:{x:0,y:0}},l=function(e,t,n){return function(){var r,l=function(e){r=o(o({},s),{numOfTouches:e.touches.length,startCoords:i(e),startTime:Date.now(),evObj:o({},e)})},u=function(e){if(r){var t=i(e);if(t){r.startCoords||(r.startCoords=t);var n=r.startCoords.x-t.x,a=r.startCoords.y-t.y;r.moved=!0,r.deltaCoords={x:n,y:a}}}},c=function(){var n,i;if(r)if(r.endTime=Date.now(),"onTap"===e&&function(e){return e.touched&&!e.moved&&1===e.numOfTouches}(r))t(r.evObj);else if(function(e){return e.moved&&1===e.numOfTouches&&e.endTime-e.startTime<500&&(Math.abs(e.deltaCoords.x)>100||Math.abs(e.deltaCoords.y)>60)}(r)){var o=(n=r.deltaCoords.x,i=r.deltaCoords.y,Math.abs(n)>Math.abs(i)?n>0?"left":"right":i>0?"up":"down");e===a[o]&&t(r.evObj)}};return n&&n.current&&(n.current.addEventListener("touchstart",l,{passive:!0}),n.current.addEventListener("touchmove",u,{passive:!0}),n.current.addEventListener("touchend",c,{passive:!0})),function(){n&&n.current&&(n.current.removeEventListener("touchstart",l),n.current.removeEventListener("touchmove",u),n.current.removeEventListener("touchend",c))}}},u=function(e,t,n){return r.useEffect(l(e,t,n),[e,n,t])}},76:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(e,t){return"item-"+e+"-"+t}},8:function(e,t,n){"use strict";n.d(t,"g",(function(){return r})),n.d(t,"h",(function(){return a})),n.d(t,"d",(function(){return o})),n.d(t,"b",(function(){return s})),n.d(t,"e",(function(){return l})),n.d(t,"c",(function(){return u})),n.d(t,"a",(function(){return c})),n.d(t,"f",(function(){return d}));var r={enter:13,space:32,end:35,home:36,escape:27,arrowLeft:37,arrowUp:38,arrowRight:39,arrowDown:40,tab:9,delete:46,a:65,z:90,pageUp:33,pageDown:34},a={space:["Spacebar"," "],enter:["Enter"]};function i(e){return function(t){t.keyCode===e&&(t.preventDefault(),t.stopPropagation(),t.currentTarget.click())}}var o=i(r.space),s=i(r.enter),l=function(e){s(e),o(e)},u=i(r.escape),c="has-custom-focus",d=function(e){var t=void 0===e?{}:e,n=t.pressed,r=t.expanded,a=t.haspopup,i=t.tabindex,o=t.label,s=t.live,l=t.disabled,u=t.describedBy,c=t.labelledBy,d=t.errorMessage,f={};return o&&(f["aria-label"]=o),s&&(f["aria-live"]=s),"boolean"==typeof n&&(f["aria-pressed"]=n),"boolean"==typeof r&&(f["aria-expanded"]=r),"boolean"==typeof l&&(f["aria-disabled"]=l),a&&(f["aria-haspopup"]=a),"number"==typeof i&&(f.tabIndex=i),u&&(f["aria-describedby"]=u),c&&(f["aria-labelledby"]=c),d&&(f["aria-errormessage"]=d),f}}})}));
//# sourceMappingURL=https://static.parastorage.com/services/editor-elements/dist/rb_wixui.thunderbolt[SlideShowGallery_SlideShowPolaroid].c7aebeb2.bundle.min.js.map