Version Description
Download this release
Release Info
Developer | yithemes |
Plugin | YITH WooCommerce Zoom Magnifier |
Version | 2.15.0 |
Comparing to | |
See all releases |
Code changes from version 2.14.0 to 2.15.0
- assets/js/jquery.min.js +1 -1
- assets/js/yith_magnifier.min.js +1 -1
- init.php +5 -5
- languages/yith-woocommerce-zoom-magnifier.pot +2 -2
- plugin-fw/assets/js/yith-system-info.js +2 -1
- plugin-fw/assets/js/yith-system-info.min.js +1 -1
- plugin-fw/dist/gutenberg/index.asset.php +1 -1
- plugin-fw/dist/gutenberg/index.js +1 -1
- plugin-fw/includes/builders/gutenberg/class-yith-gutenberg.php +28 -18
- plugin-fw/includes/class-yit-ajax.php +2 -1
- plugin-fw/includes/class-yith-system-status.php +31 -23
- plugin-fw/init.php +2 -2
- plugin-fw/languages/yith-plugin-fw-el.po +23 -23
- plugin-fw/languages/yith-plugin-fw-es_ES.po +23 -23
- plugin-fw/languages/yith-plugin-fw-it_IT.po +23 -23
- plugin-fw/languages/yith-plugin-fw-nl_NL.po +23 -23
- plugin-fw/languages/yith-plugin-fw-ru_RU.po +23 -23
- plugin-fw/languages/yith-plugin-fw-zh_CN.po +23 -23
- plugin-fw/languages/yith-plugin-fw.pot +23 -23
- plugin-fw/templates/components/action-button.php +1 -1
- plugin-fw/templates/sysinfo/tabs/error-log.php +7 -6
- readme.txt +10 -3
assets/js/jquery.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
!function($){function sc_setScroll(t,e,s){return{anims:[],duration:t,orgDuration:t,easing:e="transition"==s.transition&&"swing"==e?"ease":e,startTime:getTime()}}function sc_startScroll(t,e){for(var s=0,i=t.anims.length;s<i;s++){var o=t.anims[s];o&&o[0][e.transition](o[1],t.duration,t.easing,o[2])}}function sc_stopScroll(t,e){is_boolean(e)||(e=!0),is_object(t.pre)&&sc_stopScroll(t.pre,e);for(var s=0,i=t.anims.length;s<i;s++){var o=t.anims[s];o[0].stop(!0),e&&(o[0].css(o[1]),is_function(o[2])&&o[2]())}is_object(t.post)&&sc_stopScroll(t.post,e)}function sc_afterScroll(t,e,s){switch(e&&e.remove(),s.fx){case"fade":case"crossfade":case"cover-fade":case"uncover-fade":t.css("opacity",1),t.css("filter","")}}function sc_fireCallbacks(t,e,s,i,o){if(e[s]&&e[s].call(t,i),o[s].length)for(var n=0,r=o[s].length;n<r;n++)o[s][n].call(t,i);return[]}function sc_fireQueue(t,e,s){return e.length&&(t.trigger(cf_e(e[0][0],s),e[0][1]),e.shift()),e}function sc_hideHiddenItems(t){t.each(function(){var t=$(this);t.data("_cfs_isHidden",t.is(":hidden")).hide()})}function sc_showHiddenItems(t){t&&t.each(function(){var t=$(this);t.data("_cfs_isHidden")||t.show()})}function sc_clearTimers(t){return t.auto&&clearTimeout(t.auto),t.progress&&clearInterval(t.progress),t}function sc_mapCallbackArguments(t,e,s,i,o,n,r){return{width:r.width,height:r.height,items:{old:t,skipped:e,visible:s},scroll:{items:i,direction:o,duration:n}}}function sc_getDuration(t,e,s,i){var o=t.duration;return"none"==t.fx||("auto"==o?o=e.scroll.duration/e.scroll.items*s:o<10&&(o=i/o),o<1)?0:("fade"==t.fx&&(o/=2),Math.round(o))}function nv_showNavi(t,e,s){var i=is_number(t.items.minimum)?t.items.minimum:t.items.visible+1,i="show"==(e="show"==e||"hide"==e?e:e<i?(debug(s,"Not enough items ("+e+" total, "+i+" needed): Hiding navigation."),"hide"):"show")?"removeClass":"addClass",s=cf_c("hidden",s);t.auto.button&&t.auto.button[e]()[i](s),t.prev.button&&t.prev.button[e]()[i](s),t.next.button&&t.next.button[e]()[i](s),t.pagination.container&&t.pagination.container[e]()[i](s)}function nv_enableNavi(t,e,s){var i,o;t.circular||t.infinite||(i=("removeClass"==e||"addClass"==e)&&e,s=cf_c("disabled",s),t.auto.button&&i&&t.auto.button[i](s),t.prev.button&&t.prev.button[o=i||0==e?"addClass":"removeClass"](s),t.next.button&&(o=i||e==t.items.visible?"addClass":"removeClass",t.next.button[o](s)))}function go_getObject(t,e){return is_function(e)?e=e.call(t):is_undefined(e)&&(e={}),e}function go_getItemsObject(t,e){return is_number(e=go_getObject(t,e))?e={visible:e}:"variable"==e?e={visible:e,width:e,height:e}:is_object(e)||(e={}),e}function go_getScrollObject(t,e){return is_number(e=go_getObject(t,e))?e=e<=50?{items:e}:{duration:e}:is_string(e)?e={easing:e}:is_object(e)||(e={}),e}function go_getNaviObject(t,e){return e=is_string(e=go_getObject(t,e))?-1==(t=cf_getKeyCode(e))?$(e):t:e}function go_getAutoObject(t,e){return is_jquery(e=go_getNaviObject(t,e))?e={button:e}:is_boolean(e)?e={play:e}:is_number(e)&&(e={timeoutDuration:e}),e.progress&&(is_string(e.progress)||is_jquery(e.progress))&&(e.progress={bar:e.progress}),e}function go_complementAutoObject(t,e){return is_function(e.button)&&(e.button=e.button.call(t)),is_string(e.button)&&(e.button=$(e.button)),is_boolean(e.play)||(e.play=!0),is_number(e.delay)||(e.delay=0),is_undefined(e.pauseOnEvent)&&(e.pauseOnEvent=!0),is_boolean(e.pauseOnResize)||(e.pauseOnResize=!0),is_number(e.timeoutDuration)||(e.timeoutDuration=e.duration<10?2500:5*e.duration),e.progress&&(is_function(e.progress.bar)&&(e.progress.bar=e.progress.bar.call(t)),is_string(e.progress.bar)&&(e.progress.bar=$(e.progress.bar)),e.progress.bar?(is_function(e.progress.updater)||(e.progress.updater=$.fn.carouFredSel.progressbarUpdater),is_number(e.progress.interval)||(e.progress.interval=50)):e.progress=!1),e}function go_getPrevNextObject(t,e){return is_jquery(e=go_getNaviObject(t,e))?e={button:e}:is_number(e)&&(e={key:e}),e}function go_complementPrevNextObject(t,e){return is_function(e.button)&&(e.button=e.button.call(t)),is_string(e.button)&&(e.button=$(e.button)),is_string(e.key)&&(e.key=cf_getKeyCode(e.key)),e}function go_getPaginationObject(t,e){return is_jquery(e=go_getNaviObject(t,e))?e={container:e}:is_boolean(e)&&(e={keys:e}),e}function go_complementPaginationObject(t,e){return is_function(e.container)&&(e.container=e.container.call(t)),is_string(e.container)&&(e.container=$(e.container)),is_number(e.items)||(e.items=!1),is_boolean(e.keys)||(e.keys=!1),is_function(e.anchorBuilder)||is_false(e.anchorBuilder)||(e.anchorBuilder=$.fn.carouFredSel.pageAnchorBuilder),is_number(e.deviation)||(e.deviation=0),e}function go_getSwipeObject(t,e){return is_true(e=is_undefined(e=is_function(e)?e.call(t):e)?{onTouch:!1}:e)?e={onTouch:e}:is_number(e)&&(e={items:e}),e}function go_complementSwipeObject(t,e){return is_boolean(e.onTouch)||(e.onTouch=!0),is_boolean(e.onMouse)||(e.onMouse=!1),is_object(e.options)||(e.options={}),is_boolean(e.options.triggerOnTouchEnd)||(e.options.triggerOnTouchEnd=!1),e}function go_getMousewheelObject(t,e){return is_true(e=is_function(e)?e.call(t):e)?e={}:is_number(e)?e={items:e}:is_undefined(e)&&(e=!1),e}function go_complementMousewheelObject(t,e){return e}function gn_getItemIndex(t,e,s,i,o){if(is_jquery(t=is_object(t=is_string(t)?$(t,o):t)?$(t,o):t)?(t=o.children().index(t),is_boolean(s)||(s=!1)):is_boolean(s)||(s=!0),is_number(t)||(t=0),is_number(e)||(e=0),s&&(t+=i.first),t+=e,0<i.total){for(;t>=i.total;)t-=i.total;for(;t<0;)t+=i.total}return t}function gn_getVisibleItemsPrev(t,e,s){for(var i=0,o=0,n=s;0<=n;n--){var r=t.eq(n);if((i+=r.is(":visible")?r[e.d.outerWidth](!0):0)>e.maxDimension)return o;0==n&&(n=t.length),o++}}function gn_getVisibleItemsPrevFilter(t,e,s){return gn_getItemsPrevFilter(t,e.items.filter,e.items.visibleConf.org,s)}function gn_getScrollItemsPrevFilter(t,e,s,i){return gn_getItemsPrevFilter(t,e.items.filter,i,s)}function gn_getItemsPrevFilter(t,e,s,i){for(var o=0,n=0,r=i,c=t.length;0<=r;r--){if(++n==c)return n;var a=t.eq(r);if(a.is(e)&&++o==s)return n;0==r&&(r=c)}}function gn_getVisibleOrg(t,e){return e.items.visibleConf.org||t.children().slice(0,e.items.visible).filter(e.items.filter).length}function gn_getVisibleItemsNext(t,e,s){for(var i=0,o=0,n=s,r=t.length-1;n<=r;n++){var c=t.eq(n);if((i+=c.is(":visible")?c[e.d.outerWidth](!0):0)>e.maxDimension)return o;if(++o==1+r)return o;n==r&&(n=-1)}}function gn_getVisibleItemsNextTestCircular(t,e,s,i){t=gn_getVisibleItemsNext(t,e,s);return e.circular||i<s+t&&(t=i-s),t}function gn_getVisibleItemsNextFilter(t,e,s){return gn_getItemsNextFilter(t,e.items.filter,e.items.visibleConf.org,s,e.circular)}function gn_getScrollItemsNextFilter(t,e,s,i){return gn_getItemsNextFilter(t,e.items.filter,i+1,s,e.circular)-1}function gn_getItemsNextFilter(t,e,s,i,o){for(var n=0,r=0,c=i,a=t.length-1;c<=a;c++){if(a<=++r)return r;var f=t.eq(c);if(f.is(e)&&++n==s)return r;c==a&&(c=-1)}}function gi_getCurrentItems(t,e){return t.slice(0,e.items.visible)}function gi_getOldItemsPrev(t,e,s){return t.slice(s,e.items.visibleConf.old+s)}function gi_getNewItemsPrev(t,e){return t.slice(0,e.items.visible)}function gi_getOldItemsNext(t,e){return t.slice(0,e.items.visibleConf.old)}function gi_getNewItemsNext(t,e,s){return t.slice(s,e.items.visible+s)}function sz_storeMargin(t,s,i){s.usePadding&&(is_string(i)||(i="_cfs_origCssMargin"),t.each(function(){var t=$(this),e=parseInt(t.css(s.d.marginRight),10);is_number(e)||(e=0),t.data(i,e)}))}function sz_resetMargin(t,e,s){var i;e.usePadding&&(i=!!is_boolean(s)&&s,is_number(s)||(s=0),sz_storeMargin(t,e,"_cfs_tempCssMargin"),t.each(function(){var t=$(this);t.css(e.d.marginRight,i?t.data("_cfs_tempCssMargin"):s+t.data("_cfs_origCssMargin"))}))}function sz_storeOrigCss(t){t.each(function(){var t=$(this);t.data("_cfs_origCss",t.attr("style")||"")})}function sz_restoreOrigCss(t){t.each(function(){var t=$(this);t.attr("style",t.data("_cfs_origCss")||"")})}function sz_setResponsiveSizes(s,t){s.items.visible;var i=s.items[s.d.width],o=s[s.d.height],n=is_percentage(o);t.each(function(){var t=$(this),e=i-ms_getPaddingBorderMargin(t,s,"Width");t[s.d.width](e),n&&t[s.d.height](ms_getPercentage(e,o))})}function sz_setSizes(t,e){var s,i=t.parent(),o=t.children(),n=gi_getCurrentItems(o,e),r=cf_mapWrapperSizes(ms_getSizes(n,e,!0),e,!1);return i.css(r),e.usePadding&&(s=(i=e.padding)[e.d[1]],e.align&&s<0&&(s=0),(n=n.last()).css(e.d.marginRight,n.data("_cfs_origCssMargin")+s),t.css(e.d.top,i[e.d[0]]),t.css(e.d.left,i[e.d[3]])),t.css(e.d.width,r[e.d.width]+2*ms_getTotalSize(o,e,"width")),t.css(e.d.height,ms_getLargestSize(o,e,"height")),r}function ms_getSizes(t,e,s){return[ms_getTotalSize(t,e,"width",s),ms_getLargestSize(t,e,"height",s)]}function ms_getLargestSize(t,e,s,i){return is_boolean(i)||(i=!1),is_number(e[e.d[s]])&&i?e[e.d[s]]:is_number(e.items[e.d[s]])?e.items[e.d[s]]:ms_getTrueLargestSize(t,e,s=-1<s.toLowerCase().indexOf("width")?"outerWidth":"outerHeight")}function ms_getTrueLargestSize(t,e,s){for(var i=0,o=0,n=t.length;o<n;o++){var r=t.eq(o),r=r.is(":visible")?r[e.d[s]](!0):0;i<r&&(i=r)}return i}function ms_getTotalSize(t,e,s,i){if(is_boolean(i)||(i=!1),is_number(e[e.d[s]])&&i)return e[e.d[s]];if(is_number(e.items[e.d[s]]))return e.items[e.d[s]]*t.length;for(var o=-1<s.toLowerCase().indexOf("width")?"outerWidth":"outerHeight",n=0,r=0,c=t.length;r<c;r++){var a=t.eq(r);n+=a.is(":visible")?a[e.d[o]](!0):0}return n}function ms_getParentSize(t,e,s){var i=t.is(":visible"),s=(i&&t.hide(),t.parent()[e.d[s]]());return i&&t.show(),s}function ms_getMaxDimension(t,e){return is_number(t[t.d.width])?t[t.d.width]:e}function ms_hasVariableSizes(t,e,s){for(var i=!1,o=!1,n=0,r=t.length;n<r;n++){var c=t.eq(n),c=c.is(":visible")?c[e.d[s]](!0):0;!1===i?i=c:i!=c&&(o=!0),0==i&&(o=!0)}return o}function ms_getPaddingBorderMargin(t,e,s){return t[e.d["outer"+s]](!0)-t[e.d[s.toLowerCase()]]()}function ms_getPercentage(t,e){if(is_percentage(e)){if(!is_number(e=parseInt(e.slice(0,-1),10)))return t;t*=e/100}return t}function cf_e(t,e,s,i,o){return is_boolean(s)||(s=!0),is_boolean(i)||(i=!0),is_boolean(o)||(o=!1),s&&(t=e.events.prefix+t),i&&(t=t+"."+e.events.namespace),i&&o&&(t+=e.serialNumber),t}function cf_c(t,e){return is_string(e.classnames[t])?e.classnames[t]:t}function cf_mapWrapperSizes(t,e,s){is_boolean(s)||(s=!0);var s=e.usePadding&&s?e.padding:[0,0,0,0],i={};return i[e.d.width]=t[0]+s[1]+s[3],i[e.d.height]=t[1]+s[0]+s[2],i}function cf_sortParams(t,e){for(var s=[],i=0,o=t.length;i<o;i++)for(var n=0,r=e.length;n<r;n++)if(-1<e[n].indexOf(typeof t[i])&&is_undefined(s[n])){s[n]=t[i];break}return s}function cf_getPadding(t){if(is_undefined(t))return[0,0,0,0];if(is_number(t))return[t,t,t,t];if(!is_array(t=is_string(t)?t.split("px").join("").split("em").join("").split(" "):t))return[0,0,0,0];for(var e=0;e<4;e++)t[e]=parseInt(t[e],10);switch(t.length){case 0:return[0,0,0,0];case 1:return[t[0],t[0],t[0],t[0]];case 2:return[t[0],t[1],t[0],t[1]];case 3:return[t[0],t[1],t[2],t[1]];default:return[t[0],t[1],t[2],t[3]]}}function cf_getAlignPadding(t,e){var s=is_number(e[e.d.width])?Math.ceil(e[e.d.width]-ms_getTotalSize(t,e,"width")):0;switch(e.align){case"left":return[0,s];case"right":return[s,0];default:return[Math.ceil(s/2),Math.floor(s/2)]}}function cf_getDimensions(t){for(var e=[["width","innerWidth","outerWidth","height","innerHeight","outerHeight","left","top","marginRight",0,1,2,3],["height","innerHeight","outerHeight","width","innerWidth","outerWidth","top","left","marginBottom",3,2,1,0]],s=e[0].length,i="right"==t.direction||"left"==t.direction?0:1,o={},n=0;n<s;n++)o[e[0][n]]=e[i][n];return o}function cf_getAdjust(t,e,s,i){var o=t;if(is_function(s))o=s.call(i,o);else if(is_string(s)){var n,r,i=s.split("+"),s=s.split("-");switch(s=(s.length>i.length?(n=!0,r=s[0],s):(n=!1,r=i[0],i))[1],r){case"even":o=t%2==1?t-1:t;break;case"odd":o=t%2==0?t-1:t;break;default:o=t}is_number(s=parseInt(s,10))&&(o+=s=n?-s:s)}return o=!is_number(o)||o<1?1:o}function cf_getItemsAdjust(t,e,s,i){return cf_getItemAdjustMinMax(cf_getAdjust(t,e,s,i),e.items.visibleConf)}function cf_getItemAdjustMinMax(t,e){return is_number(e.min)&&t<e.min&&(t=e.min),t=(t=is_number(e.max)&&t>e.max?e.max:t)<1?1:t}function cf_getSynchArr(t){is_array(t)||(t=[[t]]);for(var e=0,s=(t=is_array(t[0])?t:[t]).length;e<s;e++)is_string(t[e][0])&&(t[e][0]=$(t[e][0])),is_boolean(t[e][1])||(t[e][1]=!0),is_boolean(t[e][2])||(t[e][2]=!0),is_number(t[e][3])||(t[e][3]=0);return t}function cf_getKeyCode(t){return"right"==t?39:"left"==t?37:"up"==t?38:"down"==t?40:-1}function cf_setCookie(t,e,s){t&&(s=e.triggerHandler(cf_e("currentPosition",s)),$.fn.carouFredSel.cookie.set(t,s))}function cf_getCookie(t){t=$.fn.carouFredSel.cookie.get(t);return""==t?0:t}function in_mapCss(t,e){for(var s={},i=0,o=e.length;i<o;i++)s[e[i]]=t.css(e[i]);return s}function in_complementItems(t,e,s,i){return is_object(t.visibleConf)||(t.visibleConf={}),is_object(t.sizesConf)||(t.sizesConf={}),0==t.start&&is_number(i)&&(t.start=i),is_object(t.visible)?(t.visibleConf.min=t.visible.min,t.visibleConf.max=t.visible.max,t.visible=!1):is_string(t.visible)?("variable"==t.visible?t.visibleConf.variable=!0:t.visibleConf.adjust=t.visible,t.visible=!1):is_function(t.visible)&&(t.visibleConf.adjust=t.visible,t.visible=!1),is_string(t.filter)||(t.filter=0<s.filter(":hidden").length?":visible":"*"),t[e.d.width]||(e.responsive?(debug(!0,"Set a "+e.d.width+" for the items!"),t[e.d.width]=ms_getTrueLargestSize(s,e,"outerWidth")):t[e.d.width]=ms_hasVariableSizes(s,e,"outerWidth")?"variable":s[e.d.outerWidth](!0)),t[e.d.height]||(t[e.d.height]=ms_hasVariableSizes(s,e,"outerHeight")?"variable":s[e.d.outerHeight](!0)),t.sizesConf.width=t.width,t.sizesConf.height=t.height,t}function in_complementVisibleItems(t,e){return"variable"==t.items[t.d.width]&&(t.items.visibleConf.variable=!0),t.items.visibleConf.variable||(is_number(t[t.d.width])?t.items.visible=Math.floor(t[t.d.width]/t.items[t.d.width]):(t.items.visible=Math.floor(e/t.items[t.d.width]),t[t.d.width]=t.items.visible*t.items[t.d.width],t.items.visibleConf.adjust||(t.align=!1)),("Infinity"==t.items.visible||t.items.visible<1)&&(debug(!0,'Not a valid number of visible items: Set to "variable".'),t.items.visibleConf.variable=!0)),t}function in_complementPrimarySize(t,e,s){return t="auto"==t?ms_getTrueLargestSize(s,e,"outerWidth"):t}function in_complementSecondarySize(t,e,s){return t=(t="auto"==t?ms_getTrueLargestSize(s,e,"outerHeight"):t)||e.items[e.d.height]}function in_getAlignPadding(t,e){e=cf_getAlignPadding(gi_getCurrentItems(e,t),t);return t.padding[t.d[1]]=e[1],t.padding[t.d[3]]=e[0],t}function in_getResponsiveValues(t,e,s){var i=cf_getItemAdjustMinMax(Math.ceil(t[t.d.width]/t.items[t.d.width]),t.items.visibleConf),e=(i>e.length&&(i=e.length),Math.floor(t[t.d.width]/i));return t.items.visible=i,t.items[t.d.width]=e,t[t.d.width]=i*e,t}function bt_pauseOnHoverConfig(t){var e,s;return is_string(t)?(s=-1<t.indexOf("immediate"),e=-1<t.indexOf("resume")):s=e=!1,[s,e]}function bt_mousesheelNumber(t){is_number(t)}function is_null(t){return null===t}function is_undefined(t){return is_null(t)||void 0===t||""===t||"undefined"===t}function is_array(t){return t instanceof Array}function is_jquery(t){return t instanceof jQuery}function is_object(t){return(t instanceof Object||"object"==typeof t)&&!is_null(t)&&!is_jquery(t)&&!is_array(t)&&!is_function(t)}function is_number(t){return(t instanceof Number||"number"==typeof t)&&!isNaN(t)}function is_string(t){return(t instanceof String||"string"==typeof t)&&!is_undefined(t)&&!is_true(t)&&!is_false(t)}function is_function(t){return t instanceof Function||"function"==typeof t}function is_boolean(t){return t instanceof Boolean||"boolean"==typeof t||is_true(t)||is_false(t)}function is_true(t){return!0===t||"true"===t}function is_false(t){return!1===t||"false"===t}function is_percentage(t){return is_string(t)&&"%"==t.slice(-1)}function getTime(){return(new Date).getTime()}function deprecated(t,e){debug(!0,t+" is DEPRECATED, support for it will be removed. Use "+e+" instead.")}function debug(t,e){if(!is_undefined(window.console)&&!is_undefined(window.console.log)){var s;if(is_object(t)?(s=" ("+t.selector+")",t=t.debug):s="",!t)return!1;e=is_string(e)?"carouFredSel"+s+": "+e:["carouFredSel"+s+":",e],window.console.log(e)}return!1}$.fn.carouFredSel||($.fn.caroufredsel=$.fn.carouFredSel=function(options,configs){if(0==this.length)return debug(!0,'No element found for "'+this.selector+'".'),this;if(1<this.length)return this.each(function(){$(this).carouFredSel(options,configs)});var $cfs=this,$tt0=this[0],starting_position=!1,FN=($cfs.data("_cfs_isCarousel")&&(starting_position=$cfs.triggerHandler("_cfs_triggerEvent","currentPosition"),$cfs.trigger("_cfs_triggerEvent",["destroy",!0])),{}),crsl=(FN._init=function(t,e,s){(t=go_getObject($tt0,t)).items=go_getItemsObject($tt0,t.items),t.scroll=go_getScrollObject($tt0,t.scroll),t.auto=go_getAutoObject($tt0,t.auto),t.prev=go_getPrevNextObject($tt0,t.prev),t.next=go_getPrevNextObject($tt0,t.next),t.pagination=go_getPaginationObject($tt0,t.pagination),t.swipe=go_getSwipeObject($tt0,t.swipe),t.mousewheel=go_getMousewheelObject($tt0,t.mousewheel),e&&(opts_orig=$.extend(!0,{},$.fn.carouFredSel.defaults,t)),(opts=$.extend(!0,{},$.fn.carouFredSel.defaults,t)).d=cf_getDimensions(opts),crsl.direction="up"==opts.direction||"left"==opts.direction?"next":"prev";var i=$cfs.children(),e=ms_getParentSize($wrp,opts,"width");if(is_true(opts.cookie)&&(opts.cookie="caroufredsel_cookie_"+conf.serialNumber),opts.maxDimension=ms_getMaxDimension(opts,e),opts.items=in_complementItems(opts.items,opts,i,s),opts[opts.d.width]=in_complementPrimarySize(opts[opts.d.width],opts,i),opts[opts.d.height]=in_complementSecondarySize(opts[opts.d.height],opts,i),!opts.responsive||is_percentage(opts[opts.d.width])||(opts[opts.d.width]="100%"),is_percentage(opts[opts.d.width])&&(crsl.upDateOnWindowResize=!0,crsl.primarySizePercentage=opts[opts.d.width],opts[opts.d.width]=ms_getPercentage(e,crsl.primarySizePercentage),opts.items.visible||(opts.items.visibleConf.variable=!0)),opts.responsive?(opts.usePadding=!0,opts.padding=[5,5,5,5],opts.align=!1,opts.items.visibleConf.variable=!1):((opts=opts.items.visible?opts:in_complementVisibleItems(opts,e))[opts.d.width]||(!opts.items.visibleConf.variable&&is_number(opts.items[opts.d.width])&&"*"==opts.items.filter?(opts[opts.d.width]=opts.items.visible*opts.items[opts.d.width],opts.align=!1):opts[opts.d.width]="variable"),is_undefined(opts.align)&&(opts.align=!!is_number(opts[opts.d.width])&&"center"),opts.items.visibleConf.variable&&(opts.items.visible=gn_getVisibleItemsNext(i,opts,0))),"*"==opts.items.filter||opts.items.visibleConf.variable||(opts.items.visibleConf.org=opts.items.visible,opts.items.visible=gn_getVisibleItemsNextFilter(i,opts,0)),opts.items.visible=cf_getItemsAdjust(opts.items.visible,opts,opts.items.visibleConf.adjust,$tt0),opts.items.visibleConf.old=opts.items.visible,opts.responsive)opts.items.visibleConf.min||(opts.items.visibleConf.min=opts.items.visible),opts.items.visibleConf.max||(opts.items.visibleConf.max=opts.items.visible),opts=in_getResponsiveValues(opts,i,e);else switch(opts.padding=cf_getPadding(opts.padding),"top"==opts.align?opts.align="left":"bottom"==opts.align&&(opts.align="right"),opts.align){case"center":case"left":case"right":"variable"!=opts[opts.d.width]&&((opts=in_getAlignPadding(opts,i)).usePadding=!0);break;default:opts.align=!1,opts.usePadding=0!=opts.padding[0]||0!=opts.padding[1]||0!=opts.padding[2]||0!=opts.padding[3]}is_number(opts.scroll.duration)||(opts.scroll.duration=500),is_undefined(opts.scroll.items)&&(opts.scroll.items=opts.responsive||opts.items.visibleConf.variable||"*"!=opts.items.filter?"visible":opts.items.visible),opts.auto=$.extend(!0,{},opts.scroll,opts.auto),opts.prev=$.extend(!0,{},opts.scroll,opts.prev),opts.next=$.extend(!0,{},opts.scroll,opts.next),opts.pagination=$.extend(!0,{},opts.scroll,opts.pagination),opts.auto=go_complementAutoObject($tt0,opts.auto),opts.prev=go_complementPrevNextObject($tt0,opts.prev),opts.next=go_complementPrevNextObject($tt0,opts.next),opts.pagination=go_complementPaginationObject($tt0,opts.pagination),opts.swipe=go_complementSwipeObject($tt0,opts.swipe),opts.mousewheel=go_complementMousewheelObject($tt0,opts.mousewheel),opts.synchronise&&(opts.synchronise=cf_getSynchArr(opts.synchronise)),opts.auto.onPauseStart&&(opts.auto.onTimeoutStart=opts.auto.onPauseStart,deprecated("auto.onPauseStart","auto.onTimeoutStart")),opts.auto.onPausePause&&(opts.auto.onTimeoutPause=opts.auto.onPausePause,deprecated("auto.onPausePause","auto.onTimeoutPause")),opts.auto.onPauseEnd&&(opts.auto.onTimeoutEnd=opts.auto.onPauseEnd,deprecated("auto.onPauseEnd","auto.onTimeoutEnd")),opts.auto.pauseDuration&&(opts.auto.timeoutDuration=opts.auto.pauseDuration,deprecated("auto.pauseDuration","auto.timeoutDuration"))},FN._build=function(){$cfs.data("_cfs_isCarousel",!0);var t=$cfs.children(),e=in_mapCss($cfs,["textAlign","float","position","top","right","bottom","left","zIndex","width","height","marginTop","marginRight","marginBottom","marginLeft"]),s="relative";switch(e.position){case"absolute":case"fixed":s=e.position}"parent"==conf.wrapper?sz_storeOrigCss($wrp):$wrp.css(e),$wrp.css({overflow:"hidden",position:s}),sz_storeOrigCss($cfs),$cfs.data("_cfs_origCssZindex",e.zIndex),$cfs.css({textAlign:"left","float":"none",position:"absolute",top:0,right:"auto",bottom:"auto",left:0,marginTop:0,marginRight:0,marginBottom:0,marginLeft:0}),sz_storeMargin(t,opts),sz_storeOrigCss(t),opts.responsive&&sz_setResponsiveSizes(opts,t)},FN._bind_events=function(){FN._unbind_events(),$cfs.bind(cf_e("stop",conf),function(t,e){return t.stopPropagation(),crsl.isStopped||opts.auto.button&&opts.auto.button.addClass(cf_c("stopped",conf)),crsl.isStopped=!0,opts.auto.play&&(opts.auto.play=!1,$cfs.trigger(cf_e("pause",conf),e)),!0}),$cfs.bind(cf_e("finish",conf),function(t){return t.stopPropagation(),crsl.isScrolling&&sc_stopScroll(scrl),!0}),$cfs.bind(cf_e("pause",conf),function(t,e,s){return t.stopPropagation(),tmrs=sc_clearTimers(tmrs),e&&crsl.isScrolling&&(scrl.isStopped=!0,t=getTime()-scrl.startTime,scrl.duration-=t,scrl.pre&&(scrl.pre.duration-=t),scrl.post&&(scrl.post.duration-=t),sc_stopScroll(scrl,!1)),crsl.isPaused||crsl.isScrolling||s&&(tmrs.timePassed+=getTime()-tmrs.startTime),crsl.isPaused||opts.auto.button&&opts.auto.button.addClass(cf_c("paused",conf)),crsl.isPaused=!0,opts.auto.onTimeoutPause&&(e=opts.auto.timeoutDuration-tmrs.timePassed,t=100-Math.ceil(100*e/opts.auto.timeoutDuration),opts.auto.onTimeoutPause.call($tt0,t,e)),!0}),$cfs.bind(cf_e("play",conf),function(t,e,s,i){t.stopPropagation(),tmrs=sc_clearTimers(tmrs);var o=cf_sortParams([e,s,i],["string","number","boolean"]);if(e=o[0],s=o[1],i=o[2],"prev"!=e&&"next"!=e&&(e=crsl.direction),is_number(s)||(s=0),(i=is_boolean(i)?i:!1)&&(crsl.isStopped=!1,opts.auto.play=!0),!opts.auto.play)return t.stopImmediatePropagation(),debug(conf,"Carousel stopped: Not scrolling.");crsl.isPaused&&opts.auto.button&&(opts.auto.button.removeClass(cf_c("stopped",conf)),opts.auto.button.removeClass(cf_c("paused",conf))),crsl.isPaused=!1,tmrs.startTime=getTime();var n=opts.auto.timeoutDuration+s;return dur2=n-tmrs.timePassed,perc=100-Math.ceil(100*dur2/n),opts.auto.progress&&(tmrs.progress=setInterval(function(){var t=getTime()-tmrs.startTime+tmrs.timePassed,t=Math.ceil(100*t/n);opts.auto.progress.updater.call(opts.auto.progress.bar[0],t)},opts.auto.progress.interval)),tmrs.auto=setTimeout(function(){opts.auto.progress&&opts.auto.progress.updater.call(opts.auto.progress.bar[0],100),opts.auto.onTimeoutEnd&&opts.auto.onTimeoutEnd.call($tt0,perc,dur2),crsl.isScrolling?$cfs.trigger(cf_e("play",conf),e):$cfs.trigger(cf_e(e,conf),opts.auto)},dur2),opts.auto.onTimeoutStart&&opts.auto.onTimeoutStart.call($tt0,perc,dur2),!0}),$cfs.bind(cf_e("resume",conf),function(t){return t.stopPropagation(),scrl.isStopped?(scrl.isStopped=!1,crsl.isPaused=!1,crsl.isScrolling=!0,scrl.startTime=getTime(),sc_startScroll(scrl,conf)):$cfs.trigger(cf_e("play",conf)),!0}),$cfs.bind(cf_e("prev",conf)+" "+cf_e("next",conf),function(t,e,s,i,o){if(t.stopPropagation(),crsl.isStopped||$cfs.is(":hidden"))return t.stopImmediatePropagation(),debug(conf,"Carousel stopped or hidden: Not scrolling.");var n=is_number(opts.items.minimum)?opts.items.minimum:opts.items.visible+1;if(n>itms.total)return t.stopImmediatePropagation(),debug(conf,"Not enough items ("+itms.total+" total, "+n+" needed): Not scrolling.");e=(a=cf_sortParams([e,s,i,o],["object","number/string","function","boolean"]))[0],s=a[1],i=a[2],o=a[3];var r=t.type.slice(conf.events.prefix.length);if(is_object(e)||(e={}),is_function(i)&&(e.onAfter=i),is_boolean(o)&&(e.queue=o),(e=$.extend(!0,{},opts[r],e)).conditions&&!e.conditions.call($tt0,r))return t.stopImmediatePropagation(),debug(conf,'Callback "conditions" returned false.');if(!is_number(s)){if("*"!=opts.items.filter)s="visible";else for(var c=[s,e.items,opts[r].items],a=0,f=c.length;a<f;a++)if(is_number(c[a])||"page"==c[a]||"visible"==c[a]){s=c[a];break}switch(s){case"page":return t.stopImmediatePropagation(),$cfs.triggerHandler(cf_e(r+"Page",conf),[e,i]);case"visible":opts.items.visibleConf.variable||"*"!=opts.items.filter||(s=opts.items.visible)}}if(scrl.isStopped)return $cfs.trigger(cf_e("resume",conf)),$cfs.trigger(cf_e("queue",conf),[r,[e,s,i]]),t.stopImmediatePropagation(),debug(conf,"Carousel resumed scrolling.");if(0<e.duration&&crsl.isScrolling)return e.queue&&("last"==e.queue&&(queu=[]),"first"==e.queue&&0!=queu.length||$cfs.trigger(cf_e("queue",conf),[r,[e,s,i]])),t.stopImmediatePropagation(),debug(conf,"Carousel currently scrolling.");if(tmrs.timePassed=0,$cfs.trigger(cf_e("slide_"+r,conf),[e,s]),opts.synchronise)for(var l=opts.synchronise,u=[e,s],p=0,f=l.length;p<f;p++){var d=r;l[p][2]||(d="prev"==d?"next":"prev"),l[p][1]||(u[0]=l[p][0].triggerHandler("_cfs_triggerEvent",["configuration",d])),u[1]=s+l[p][3],l[p][0].trigger("_cfs_triggerEvent",["slide_"+d,u])}return!0}),$cfs.bind(cf_e("slide_prev",conf),function(t,e,s){t.stopPropagation();var i=$cfs.children();if(!opts.circular&&0==itms.first)return opts.infinite&&$cfs.trigger(cf_e("next",conf),itms.total-1),t.stopImmediatePropagation();if(sz_resetMargin(i,opts),is_number(s)||(s=cf_getAdjust(s=opts.items.visibleConf.variable?gn_getVisibleItemsPrev(i,opts,itms.total-1):"*"!=opts.items.filter?(r=is_number(e.items)?e.items:gn_getVisibleOrg($cfs,opts),gn_getScrollItemsPrevFilter(i,opts,itms.total-1,r)):opts.items.visible,opts,e.items,$tt0)),opts.circular||itms.total-s<itms.first&&(s=itms.total-itms.first),opts.items.visibleConf.old=opts.items.visible,opts.items.visibleConf.variable?(l=cf_getItemsAdjust(gn_getVisibleItemsNext(i,opts,itms.total-s),opts,opts.items.visibleConf.adjust,$tt0),opts.items.visible+s<=l&&s<itms.total&&(s++,l=cf_getItemsAdjust(gn_getVisibleItemsNext(i,opts,itms.total-s),opts,opts.items.visibleConf.adjust,$tt0)),opts.items.visible=l):"*"!=opts.items.filter&&(l=gn_getVisibleItemsNextFilter(i,opts,itms.total-s),opts.items.visible=cf_getItemsAdjust(l,opts,opts.items.visibleConf.adjust,$tt0)),sz_resetMargin(i,opts,!0),0==s)return t.stopImmediatePropagation(),debug(conf,"0 items to scroll: Not scrolling.");for(debug(conf,"Scrolling "+s+" items backward."),itms.first+=s;itms.first>=itms.total;)itms.first-=itms.total;opts.circular||(0==itms.first&&e.onEnd&&e.onEnd.call($tt0,"prev"),opts.infinite||nv_enableNavi(opts,itms.first,conf)),$cfs.children().slice(itms.total-s,itms.total).prependTo($cfs),itms.total<opts.items.visible+s&&$cfs.children().slice(0,opts.items.visible+s-itms.total).clone(!0).appendTo($cfs);var o,n=gi_getOldItemsPrev(i=$cfs.children(),opts,s),r=gi_getNewItemsPrev(i,opts),c=i.eq(s-1),a=n.last(),f=r.last(),l=(sz_resetMargin(i,opts),0),t=0,u=(opts.align&&(l=(u=cf_getAlignPadding(r,opts))[0],t=u[1]),l<0?opts.padding[opts.d[3]]:0),p=!1,d=$(),g=(opts.items.visible<s&&(d=i.slice(opts.items.visibleConf.old,s),"directscroll"==e.fx&&(o=opts.items[opts.d.width],c=f,sc_hideHiddenItems(p=d),opts.items[opts.d.width]="variable")),!1),m=ms_getTotalSize(i.slice(0,s),opts,"width"),_=cf_mapWrapperSizes(ms_getSizes(r,opts,!0),opts,!opts.usePadding),b=0,v={},h={},w={},P={},C={},x={},S={},y=sc_getDuration(e,opts,s,m);switch(e.fx){case"cover":case"cover-fade":b=ms_getTotalSize(i.slice(0,opts.items.visible),opts,"width")}p&&(opts.items[opts.d.width]=o),sz_resetMargin(i,opts,!0),0<=t&&sz_resetMargin(a,opts,opts.padding[opts.d[1]]),0<=l&&sz_resetMargin(c,opts,opts.padding[opts.d[3]]),opts.align&&(opts.padding[opts.d[1]]=t,opts.padding[opts.d[3]]=l),x[opts.d.left]=-(m-u),S[opts.d.left]=-(b-u),h[opts.d.left]=_[opts.d.width];var I=function(){},z=function(){},j=function(){},N=function(){},k=function(){},H=function(){},O=function(){},q=function(){};switch(e.fx){case"crossfade":case"cover":case"cover-fade":case"uncover":case"uncover-fade":g=$cfs.clone(!0).appendTo($wrp)}switch(e.fx){case"crossfade":case"uncover":case"uncover-fade":g.children().slice(0,s).remove(),g.children().slice(opts.items.visibleConf.old).remove();break;case"cover":case"cover-fade":g.children().slice(opts.items.visible).remove(),g.css(S)}if($cfs.css(x),scrl=sc_setScroll(y,e.easing,conf),v[opts.d.left]=opts.usePadding?opts.padding[opts.d[3]]:0,"variable"!=opts[opts.d.width]&&"variable"!=opts[opts.d.height]||(I=function(){$wrp.css(_)},z=function(){scrl.anims.push([$wrp,_])}),opts.usePadding){switch(f.not(c).length&&(w[opts.d.marginRight]=c.data("_cfs_origCssMargin"),l<0?c.css(w):(O=function(){c.css(w)},q=function(){scrl.anims.push([c,w])})),e.fx){case"cover":case"cover-fade":g.children().eq(s-1).css(w)}f.not(a).length&&(P[opts.d.marginRight]=a.data("_cfs_origCssMargin"),j=function(){a.css(P)},N=function(){scrl.anims.push([a,P])}),0<=t&&(C[opts.d.marginRight]=f.data("_cfs_origCssMargin")+opts.padding[opts.d[1]],k=function(){f.css(C)},H=function(){scrl.anims.push([f,C])})}var T=function(){$cfs.css(v)},M=opts.items.visible+s-itms.total,F=function(){var t;0<M&&($cfs.children().slice(itms.total).remove(),n=$($cfs.children().slice(itms.total-(opts.items.visible-M)).get().concat($cfs.children().slice(0,M).get()))),sc_showHiddenItems(p),opts.usePadding&&(t=$cfs.children().eq(opts.items.visible+s-1)).css(opts.d.marginRight,t.data("_cfs_origCssMargin"))},D=sc_mapCallbackArguments(n,d,r,s,"prev",y,_),A=function(){sc_afterScroll($cfs,g,e),crsl.isScrolling=!1,clbk.onAfter=sc_fireCallbacks($tt0,e,"onAfter",D,clbk),queu=sc_fireQueue($cfs,queu,conf),crsl.isPaused||$cfs.trigger(cf_e("play",conf))};switch(crsl.isScrolling=!0,tmrs=sc_clearTimers(tmrs),clbk.onBefore=sc_fireCallbacks($tt0,e,"onBefore",D,clbk),e.fx){case"none":$cfs.css(v),I(),j(),k(),O(),T(),F(),A();break;case"fade":scrl.anims.push([$cfs,{opacity:0},function(){I(),j(),k(),O(),T(),F(),(scrl=sc_setScroll(y,e.easing,conf)).anims.push([$cfs,{opacity:1},A]),sc_startScroll(scrl,conf)}]);break;case"crossfade":$cfs.css({opacity:0}),scrl.anims.push([g,{opacity:0}]),scrl.anims.push([$cfs,{opacity:1},A]),z(),j(),k(),O(),T(),F();break;case"cover":scrl.anims.push([g,v,function(){j(),k(),O(),T(),F(),A()}]),z();break;case"cover-fade":scrl.anims.push([$cfs,{opacity:0}]),scrl.anims.push([g,v,function(){j(),k(),O(),T(),F(),A()}]),z();break;case"uncover":scrl.anims.push([g,h,A]),z(),j(),k(),O(),T(),F();break;case"uncover-fade":$cfs.css({opacity:0}),scrl.anims.push([$cfs,{opacity:1}]),scrl.anims.push([g,h,A]),z(),j(),k(),O(),T(),F();break;default:scrl.anims.push([$cfs,v,function(){F(),A()}]),z(),N(),H(),q()}return sc_startScroll(scrl,conf),cf_setCookie(opts.cookie,$cfs,conf),$cfs.trigger(cf_e("updatePageStatus",conf),[!1,_]),!0}),$cfs.bind(cf_e("slide_next",conf),function(t,e,s){t.stopPropagation();var i=$cfs.children();if(!opts.circular&&itms.first==opts.items.visible)return opts.infinite&&$cfs.trigger(cf_e("prev",conf),itms.total-1),t.stopImmediatePropagation();sz_resetMargin(i,opts),is_number(s)||(s=cf_getAdjust(s="*"!=opts.items.filter?(r=is_number(e.items)?e.items:gn_getVisibleOrg($cfs,opts),gn_getScrollItemsNextFilter(i,opts,0,r)):opts.items.visible,opts,e.items,$tt0));var o=0==itms.first?itms.total:itms.first;if(opts.circular||(r=opts.items.visibleConf.variable?(n=gn_getVisibleItemsNext(i,opts,s),gn_getVisibleItemsPrev(i,opts,o-1)):(n=opts.items.visible,opts.items.visible),o<s+n&&(s=o-r)),opts.items.visibleConf.old=opts.items.visible,opts.items.visibleConf.variable){for(var n=cf_getItemsAdjust(gn_getVisibleItemsNextTestCircular(i,opts,s,o),opts,opts.items.visibleConf.adjust,$tt0);opts.items.visible-s>=n&&s<itms.total;)n=cf_getItemsAdjust(gn_getVisibleItemsNextTestCircular(i,opts,++s,o),opts,opts.items.visibleConf.adjust,$tt0);opts.items.visible=n}else"*"!=opts.items.filter&&(n=gn_getVisibleItemsNextFilter(i,opts,s),opts.items.visible=cf_getItemsAdjust(n,opts,opts.items.visibleConf.adjust,$tt0));if(sz_resetMargin(i,opts,!0),0==s)return t.stopImmediatePropagation(),debug(conf,"0 items to scroll: Not scrolling.");for(debug(conf,"Scrolling "+s+" items forward."),itms.first-=s;itms.first<0;)itms.first+=itms.total;opts.circular||(itms.first==opts.items.visible&&e.onEnd&&e.onEnd.call($tt0,"next"),opts.infinite||nv_enableNavi(opts,itms.first,conf)),itms.total<opts.items.visible+s&&$cfs.children().slice(0,opts.items.visible+s-itms.total).clone(!0).appendTo($cfs);var r=gi_getOldItemsNext(i=$cfs.children(),opts),c=gi_getNewItemsNext(i,opts,s),a=i.eq(s-1),f=r.last(),t=c.last(),l=(sz_resetMargin(i,opts),0),u=0,p=(opts.align&&(l=(d=cf_getAlignPadding(c,opts))[0],u=d[1]),!1),d=$(),g=(opts.items.visibleConf.old<s&&(d=i.slice(opts.items.visibleConf.old,s),"directscroll"==e.fx&&(S=opts.items[opts.d.width],a=f,sc_hideHiddenItems(p=d),opts.items[opts.d.width]="variable")),!1),m=ms_getTotalSize(i.slice(0,s),opts,"width"),_=cf_mapWrapperSizes(ms_getSizes(c,opts,!0),opts,!opts.usePadding),b=0,v={},h={},w={},P={},C={},x=sc_getDuration(e,opts,s,m);switch(e.fx){case"uncover":case"uncover-fade":b=ms_getTotalSize(i.slice(0,opts.items.visibleConf.old),opts,"width")}p&&(opts.items[opts.d.width]=S),opts.align&&opts.padding[opts.d[1]]<0&&(opts.padding[opts.d[1]]=0),sz_resetMargin(i,opts,!0),sz_resetMargin(f,opts,opts.padding[opts.d[1]]),opts.align&&(opts.padding[opts.d[1]]=u,opts.padding[opts.d[3]]=l),C[opts.d.left]=opts.usePadding?opts.padding[opts.d[3]]:0;var S,y=function(){},I=function(){},z=function(){},j=function(){},N=function(){},k=function(){};switch(e.fx){case"crossfade":case"cover":case"cover-fade":case"uncover":case"uncover-fade":(g=$cfs.clone(!0).appendTo($wrp)).children().slice(opts.items.visibleConf.old).remove()}switch(e.fx){case"crossfade":case"cover":case"cover-fade":$cfs.css("zIndex",1),g.css("zIndex",0)}scrl=sc_setScroll(x,e.easing,conf),v[opts.d.left]=-m,h[opts.d.left]=-b,l<0&&(v[opts.d.left]+=l),"variable"!=opts[opts.d.width]&&"variable"!=opts[opts.d.height]||(y=function(){$wrp.css(_)},I=function(){scrl.anims.push([$wrp,_])}),opts.usePadding&&(S=t.data("_cfs_origCssMargin"),0<=u&&(S+=opts.padding[opts.d[1]]),t.css(opts.d.marginRight,S),a.not(f).length&&(P[opts.d.marginRight]=f.data("_cfs_origCssMargin")),z=function(){f.css(P)},j=function(){scrl.anims.push([f,P])},m=a.data("_cfs_origCssMargin"),0<l&&(m+=opts.padding[opts.d[3]]),w[opts.d.marginRight]=m,N=function(){a.css(w)},k=function(){scrl.anims.push([a,w])});var O=function(){$cfs.css(C)},T=opts.items.visible+s-itms.total,M=function(){0<T&&$cfs.children().slice(itms.total).remove();var t,e=$cfs.children().slice(0,s).appendTo($cfs).last();0<T&&(c=gi_getCurrentItems(i,opts)),sc_showHiddenItems(p),opts.usePadding&&(itms.total<opts.items.visible+s&&(t=$cfs.children().eq(opts.items.visible-1)).css(opts.d.marginRight,t.data("_cfs_origCssMargin")+opts.padding[opts.d[1]]),e.css(opts.d.marginRight,e.data("_cfs_origCssMargin")))},F=sc_mapCallbackArguments(r,d,c,s,"next",x,_),A=function(){$cfs.css("zIndex",$cfs.data("_cfs_origCssZindex")),sc_afterScroll($cfs,g,e),crsl.isScrolling=!1,clbk.onAfter=sc_fireCallbacks($tt0,e,"onAfter",F,clbk),queu=sc_fireQueue($cfs,queu,conf),crsl.isPaused||$cfs.trigger(cf_e("play",conf))};switch(crsl.isScrolling=!0,tmrs=sc_clearTimers(tmrs),clbk.onBefore=sc_fireCallbacks($tt0,e,"onBefore",F,clbk),e.fx){case"none":$cfs.css(v),y(),z(),N(),O(),M(),A();break;case"fade":scrl.anims.push([$cfs,{opacity:0},function(){y(),z(),N(),O(),M(),(scrl=sc_setScroll(x,e.easing,conf)).anims.push([$cfs,{opacity:1},A]),sc_startScroll(scrl,conf)}]);break;case"crossfade":$cfs.css({opacity:0}),scrl.anims.push([g,{opacity:0}]),scrl.anims.push([$cfs,{opacity:1},A]),I(),z(),N(),O(),M();break;case"cover":$cfs.css(opts.d.left,$wrp[opts.d.width]()),scrl.anims.push([$cfs,C,A]),I(),z(),N(),M();break;case"cover-fade":$cfs.css(opts.d.left,$wrp[opts.d.width]()),scrl.anims.push([g,{opacity:0}]),scrl.anims.push([$cfs,C,A]),I(),z(),N(),M();break;case"uncover":scrl.anims.push([g,h,A]),I(),z(),N(),O(),M();break;case"uncover-fade":$cfs.css({opacity:0}),scrl.anims.push([$cfs,{opacity:1}]),scrl.anims.push([g,h,A]),I(),z(),N(),O(),M();break;default:scrl.anims.push([$cfs,v,function(){O(),M(),A()}]),I(),j(),k()}return sc_startScroll(scrl,conf),cf_setCookie(opts.cookie,$cfs,conf),$cfs.trigger(cf_e("updatePageStatus",conf),[!1,_]),!0}),$cfs.bind(cf_e("slideTo",conf),function(t,e,s,i,o,n,r){t.stopPropagation();t=cf_sortParams([e,s,i,o,n,r],["string/number/object","number","boolean","object","string","function"]);return o=t[3],n=t[4],r=t[5],0!=(e=gn_getItemIndex(t[0],t[1],t[2],itms,$cfs))&&(is_object(o)||(o=!1),"prev"==(n="prev"!=n&&"next"!=n?opts.circular?e<=itms.total/2?"next":"prev":0==itms.first||itms.first>e?"next":"prev":n)&&(e=itms.total-e),$cfs.trigger(cf_e(n,conf),[o,e,r]),!0)}),$cfs.bind(cf_e("prevPage",conf),function(t,e,s){t.stopPropagation();t=$cfs.triggerHandler(cf_e("currentPage",conf));return $cfs.triggerHandler(cf_e("slideToPage",conf),[t-1,e,"prev",s])}),$cfs.bind(cf_e("nextPage",conf),function(t,e,s){t.stopPropagation();t=$cfs.triggerHandler(cf_e("currentPage",conf));return $cfs.triggerHandler(cf_e("slideToPage",conf),[t+1,e,"next",s])}),$cfs.bind(cf_e("slideToPage",conf),function(t,e,s,i,o){t.stopPropagation(),is_number(e)||(e=$cfs.triggerHandler(cf_e("currentPage",conf)));var t=opts.pagination.items||opts.items.visible,n=Math.ceil(itms.total/t)-1;return n<(e=e<0?n:e)&&(e=0),$cfs.triggerHandler(cf_e("slideTo",conf),[e*t,0,!0,s,i,o])}),$cfs.bind(cf_e("jumpToStart",conf),function(t,e){if(t.stopPropagation(),e=e?gn_getItemIndex(e,0,!0,itms,$cfs):0,0!=(e+=itms.first)){if(0<itms.total)for(;e>itms.total;)e-=itms.total;$cfs.prepend($cfs.children().slice(e,itms.total))}return!0}),$cfs.bind(cf_e("synchronise",conf),function(t,e){if(t.stopPropagation(),e)e=cf_getSynchArr(e);else{if(!opts.synchronise)return debug(conf,"No carousel to synchronise.");e=opts.synchronise}for(var s=$cfs.triggerHandler(cf_e("currentPosition",conf)),i=!0,o=0,n=e.length;o<n;o++)e[o][0].triggerHandler(cf_e("slideTo",conf),[s,e[o][3],!0])||(i=!1);return i}),$cfs.bind(cf_e("queue",conf),function(t,e,s){return t.stopPropagation(),is_function(e)?e.call($tt0,queu):is_array(e)?queu=e:is_undefined(e)||queu.push([e,s]),queu}),$cfs.bind(cf_e("insertItem",conf),function(t,e,s,i,o){t.stopPropagation();t=cf_sortParams([e,s,i,o],["string/object","string/number/object","boolean","number"]);if(e=t[0],s=t[1],i=t[2],o=t[3],(is_object(e)&&!is_jquery(e)||is_string(e))&&(e=$(e)),!is_jquery(e)||0==e.length)return debug(conf,"Not a valid object.");is_undefined(s)&&(s="end"),sz_storeMargin(e,opts),sz_storeOrigCss(e);var t=s,n="before",o=("end"==s?i?(0==itms.first?(s=itms.total-1,n="after"):(s=itms.first,itms.first+=e.length),s<0&&(s=0)):(s=itms.total-1,n="after"):s=gn_getItemIndex(s,o,i,itms,$cfs),$cfs.children().eq(s));return o.length?o[n](e):(debug(conf,"Correct insert-position not found! Appending item to the end."),$cfs.append(e)),"end"==t||i||s<itms.first&&(itms.first+=e.length),itms.total=$cfs.children().length,itms.first>=itms.total&&(itms.first-=itms.total),$cfs.trigger(cf_e("updateSizes",conf)),$cfs.trigger(cf_e("linkAnchors",conf)),!0}),$cfs.bind(cf_e("removeItem",conf),function(t,e,i,o){t.stopPropagation();var n,t=cf_sortParams([e,i,o],["string/number/object","boolean","number"]);e=t[0],i=t[1],o=t[2];return e instanceof $&&1<e.length?(n=$(),e.each(function(t,e){var s=$cfs.trigger(cf_e("removeItem",conf),[$(this),i,o]);s&&(n=n.add(s))})):(is_undefined(e)||"end"==e?n=$cfs.children().last():(e=gn_getItemIndex(e,o,i,itms,$cfs),(n=$cfs.children().eq(e)).length&&e<itms.first&&(itms.first-=n.length)),n&&n.length&&(n.detach(),itms.total=$cfs.children().length,$cfs.trigger(cf_e("updateSizes",conf)))),n}),$cfs.bind(cf_e("onBefore",conf)+" "+cf_e("onAfter",conf),function(t,e){t.stopPropagation();t=t.type.slice(conf.events.prefix.length);return is_array(e)&&(clbk[t]=e),is_function(e)&&clbk[t].push(e),clbk[t]}),$cfs.bind(cf_e("currentPosition",conf),function(t,e){return t.stopPropagation(),t=0==itms.first?0:itms.total-itms.first,is_function(e)&&e.call($tt0,t),t}),$cfs.bind(cf_e("currentPage",conf),function(t,e){t.stopPropagation();var t=opts.pagination.items||opts.items.visible,s=Math.ceil(itms.total/t-1),t=0==itms.first||itms.first<itms.total%t?0:itms.first!=t||opts.circular?Math.round((itms.total-itms.first)/t):s;return s<(t=t<0?0:t)&&(t=s),is_function(e)&&e.call($tt0,t),t}),$cfs.bind(cf_e("currentVisible",conf),function(t,e){t.stopPropagation();t=gi_getCurrentItems($cfs.children(),opts);return is_function(e)&&e.call($tt0,t),t}),$cfs.bind(cf_e("slice",conf),function(t,e,s,i){if(t.stopPropagation(),0==itms.total)return!1;t=cf_sortParams([e,s,i],["number","number","function"]);if(e=is_number(t[0])?t[0]:0,s=is_number(t[1])?t[1]:itms.total,i=t[2],e+=itms.first,s+=itms.first,0<items.total){for(;e>itms.total;)e-=itms.total;for(;s>itms.total;)s-=itms.total;for(;e<0;)e+=itms.total;for(;s<0;)s+=itms.total}t=$cfs.children(),t=e<s?t.slice(e,s):$(t.slice(e,itms.total).get().concat(t.slice(0,s).get()));return is_function(i)&&i.call($tt0,t),t}),$cfs.bind(cf_e("isPaused",conf)+" "+cf_e("isStopped",conf)+" "+cf_e("isScrolling",conf),function(t,e){t.stopPropagation();t=t.type.slice(conf.events.prefix.length),t=crsl[t];return is_function(e)&&e.call($tt0,t),t}),$cfs.bind(cf_e("configuration",conf),function(e,a,b,c){e.stopPropagation();var reInit=!1,sz;if(is_function(a))a.call($tt0,opts);else if(is_object(a))opts_orig=$.extend(!0,{},opts_orig,a),!1!==b?reInit=!0:opts=$.extend(!0,{},opts,a);else if(!is_undefined(a))if(is_function(b)){var val=eval("opts."+a);is_undefined(val)&&(val=""),b.call($tt0,val)}else{if(is_undefined(b))return eval("opts."+a);"boolean"!=typeof c&&(c=!0),eval("opts_orig."+a+" = b"),!1!==c?reInit=!0:eval("opts."+a+" = b")}return reInit&&(sz_resetMargin($cfs.children(),opts),FN._init(opts_orig),FN._bind_buttons(),sz=sz_setSizes($cfs,opts),$cfs.trigger(cf_e("updatePageStatus",conf),[!0,sz])),opts}),$cfs.bind(cf_e("linkAnchors",conf),function(t,e,s){return t.stopPropagation(),is_undefined(e)?e=$("body"):is_string(e)&&(e=$(e)),is_jquery(e)&&0!=e.length?(is_string(s)||(s="a.caroufredsel"),e.find(s).each(function(){var e=this.hash||"";0<e.length&&-1!=$cfs.children().index($(e))&&$(this).unbind("click").click(function(t){t.preventDefault(),$cfs.trigger(cf_e("slideTo",conf),e)})}),!0):debug(conf,"Not a valid object.")}),$cfs.bind(cf_e("updatePageStatus",conf),function(t,e,s){var i,o,n;if(t.stopPropagation(),opts.pagination.container)return i=opts.pagination.items||opts.items.visible,o=Math.ceil(itms.total/i),e&&(opts.pagination.anchorBuilder&&(opts.pagination.container.children().remove(),opts.pagination.container.each(function(){for(var t=0;t<o;t++){var e=$cfs.children().eq(gn_getItemIndex(t*i,0,!0,itms,$cfs));$(this).append(opts.pagination.anchorBuilder.call(e[0],t+1))}})),opts.pagination.container.each(function(){$(this).children().unbind(opts.pagination.event).each(function(e){$(this).bind(opts.pagination.event,function(t){t.preventDefault(),$cfs.trigger(cf_e("slideTo",conf),[e*i,-opts.pagination.deviation,!0,opts.pagination])})})})),n=$cfs.triggerHandler(cf_e("currentPage",conf))+opts.pagination.deviation,(n=o<=n?0:n)<0&&(n=o-1),opts.pagination.container.each(function(){$(this).children().removeClass(cf_c("selected",conf)).eq(n).addClass(cf_c("selected",conf))}),!0}),$cfs.bind(cf_e("updateSizes",conf),function(t){var e=opts.items.visible,s=$cfs.children(),i=ms_getParentSize($wrp,opts,"width"),i=(itms.total=s.length,crsl.primarySizePercentage?(opts.maxDimension=i,opts[opts.d.width]=ms_getPercentage(i,crsl.primarySizePercentage)):opts.maxDimension=ms_getMaxDimension(opts,i),opts.responsive?(opts.items.width=opts.items.sizesConf.width,opts.items.height=opts.items.sizesConf.height,e=(opts=in_getResponsiveValues(opts,s,i)).items.visible,sz_setResponsiveSizes(opts,s)):opts.items.visibleConf.variable?e=gn_getVisibleItemsNext(s,opts,0):"*"!=opts.items.filter&&(e=gn_getVisibleItemsNextFilter(s,opts,0)),!opts.circular&&0!=itms.first&&e>itms.first&&(i=opts.items.visibleConf.variable?gn_getVisibleItemsPrev(s,opts,itms.first)-itms.first:"*"!=opts.items.filter?gn_getVisibleItemsPrevFilter(s,opts,itms.first)-itms.first:opts.items.visible-itms.first,debug(conf,"Preventing non-circular: sliding "+i+" items backward."),$cfs.trigger(cf_e("prev",conf),i)),opts.items.visible=cf_getItemsAdjust(e,opts,opts.items.visibleConf.adjust,$tt0),opts.items.visibleConf.old=opts.items.visible,opts=in_getAlignPadding(opts,s),sz_setSizes($cfs,opts));return $cfs.trigger(cf_e("updatePageStatus",conf),[!0,i]),nv_showNavi(opts,itms.total,conf),nv_enableNavi(opts,itms.first,conf),i}),$cfs.bind(cf_e("destroy",conf),function(t,e){return t.stopPropagation(),tmrs=sc_clearTimers(tmrs),$cfs.data("_cfs_isCarousel",!1),$cfs.trigger(cf_e("finish",conf)),e&&$cfs.trigger(cf_e("jumpToStart",conf)),sz_restoreOrigCss($cfs.children()),sz_restoreOrigCss($cfs),FN._unbind_events(),FN._unbind_buttons(),"parent"==conf.wrapper?sz_restoreOrigCss($wrp):$wrp.replaceWith($cfs),!0}),$cfs.bind(cf_e("debug",conf),function(t){return debug(conf,"Carousel width: "+opts.width),debug(conf,"Carousel height: "+opts.height),debug(conf,"Item widths: "+opts.items.width),debug(conf,"Item heights: "+opts.items.height),debug(conf,"Number of items visible: "+opts.items.visible),opts.auto.play&&debug(conf,"Number of items scrolled automatically: "+opts.auto.items),opts.prev.button&&debug(conf,"Number of items scrolled backward: "+opts.prev.items),opts.next.button&&debug(conf,"Number of items scrolled forward: "+opts.next.items),conf.debug}),$cfs.bind("_cfs_triggerEvent",function(t,e,s){return t.stopPropagation(),$cfs.triggerHandler(cf_e(e,conf),s)})},FN._unbind_events=function(){$cfs.unbind(cf_e("",conf)),$cfs.unbind(cf_e("",conf,!1)),$cfs.unbind("_cfs_triggerEvent")},FN._bind_buttons=function(){var t,s,i,o,n,r,c;if(FN._unbind_buttons(),nv_showNavi(opts,itms.total,conf),nv_enableNavi(opts,itms.first,conf),opts.auto.pauseOnHover&&(t=bt_pauseOnHoverConfig(opts.auto.pauseOnHover),$wrp.bind(cf_e("mouseenter",conf,!1),function(){$cfs.trigger(cf_e("pause",conf),t)}).bind(cf_e("mouseleave",conf,!1),function(){$cfs.trigger(cf_e("resume",conf))})),opts.auto.button&&opts.auto.button.bind(cf_e(opts.auto.event,conf,!1),function(t){t.preventDefault();var t=!1,e=null;crsl.isPaused?t="play":opts.auto.pauseOnEvent&&(t="pause",e=bt_pauseOnHoverConfig(opts.auto.pauseOnEvent)),t&&$cfs.trigger(cf_e(t,conf),e)}),opts.prev.button&&(opts.prev.button.bind(cf_e(opts.prev.event,conf,!1),function(t){t.preventDefault(),$cfs.trigger(cf_e("prev",conf))}),opts.prev.pauseOnHover&&(t=bt_pauseOnHoverConfig(opts.prev.pauseOnHover),opts.prev.button.bind(cf_e("mouseenter",conf,!1),function(){$cfs.trigger(cf_e("pause",conf),t)}).bind(cf_e("mouseleave",conf,!1),function(){$cfs.trigger(cf_e("resume",conf))}))),opts.next.button&&(opts.next.button.bind(cf_e(opts.next.event,conf,!1),function(t){t.preventDefault(),$cfs.trigger(cf_e("next",conf))}),opts.next.pauseOnHover&&(t=bt_pauseOnHoverConfig(opts.next.pauseOnHover),opts.next.button.bind(cf_e("mouseenter",conf,!1),function(){$cfs.trigger(cf_e("pause",conf),t)}).bind(cf_e("mouseleave",conf,!1),function(){$cfs.trigger(cf_e("resume",conf))}))),opts.pagination.container&&opts.pagination.pauseOnHover&&(t=bt_pauseOnHoverConfig(opts.pagination.pauseOnHover),opts.pagination.container.bind(cf_e("mouseenter",conf,!1),function(){$cfs.trigger(cf_e("pause",conf),t)}).bind(cf_e("mouseleave",conf,!1),function(){$cfs.trigger(cf_e("resume",conf))})),(opts.prev.key||opts.next.key)&&$(document).bind(cf_e("keyup",conf,!1,!0,!0),function(t){var e=t.keyCode;e==opts.next.key&&(t.preventDefault(),$cfs.trigger(cf_e("next",conf))),e==opts.prev.key&&(t.preventDefault(),$cfs.trigger(cf_e("prev",conf)))}),opts.pagination.keys&&$(document).bind(cf_e("keyup",conf,!1,!0,!0),function(t){var e=t.keyCode;49<=e&&e<58&&(e=(e-49)*opts.items.visible)<=itms.total&&(t.preventDefault(),$cfs.trigger(cf_e("slideTo",conf),[e,0,!0,opts.pagination]))}),$.fn.swipe){var e="ontouchstart"in window;if(e&&opts.swipe.onTouch||!e&&opts.swipe.onMouse){var a=$.extend(!0,{},opts.prev,opts.swipe),f=$.extend(!0,{},opts.next,opts.swipe),l=function(){$cfs.trigger(cf_e("prev",conf),[a])},u=function(){$cfs.trigger(cf_e("next",conf),[f])};switch(opts.direction){case"up":case"down":opts.swipe.options.swipeUp=u,opts.swipe.options.swipeDown=l;break;default:opts.swipe.options.swipeLeft=u,opts.swipe.options.swipeRight=l}crsl.swipe&&$cfs.swipe("destroy"),$wrp.swipe(opts.swipe.options),$wrp.css("cursor","move"),crsl.swipe=!0}}$.fn.mousewheel&&opts.mousewheel&&(s=$.extend(!0,{},opts.prev,opts.mousewheel),i=$.extend(!0,{},opts.next,opts.mousewheel),crsl.mousewheel&&$wrp.unbind(cf_e("mousewheel",conf,!1)),$wrp.bind(cf_e("mousewheel",conf,!1),function(t,e){t.preventDefault(),0<e?$cfs.trigger(cf_e("prev",conf),[s]):$cfs.trigger(cf_e("next",conf),[i])}),crsl.mousewheel=!0),opts.auto.play&&$cfs.trigger(cf_e("play",conf),opts.auto.delay),crsl.upDateOnWindowResize&&(o=function(t){$cfs.trigger(cf_e("finish",conf)),opts.auto.pauseOnResize&&!crsl.isPaused&&$cfs.trigger(cf_e("play",conf)),sz_resetMargin($cfs.children(),opts),$cfs.trigger(cf_e("updateSizes",conf))},n=$(window),e=null,e=$.debounce&&"debounce"==conf.onWindowResize?$.debounce(200,o):$.throttle&&"throttle"==conf.onWindowResize?$.throttle(300,o):(c=r=0,function(){var t=n.width(),e=n.height();t==r&&e==c||(o(),r=t,c=e)}),n.bind(cf_e("resize",conf,!1,!0,!0),e))},FN._unbind_buttons=function(){cf_e("",conf);var t=cf_e("",conf,!1);ns3=cf_e("",conf,!1,!0,!0),$(document).unbind(ns3),$(window).unbind(ns3),$wrp.unbind(t),opts.auto.button&&opts.auto.button.unbind(t),opts.prev.button&&opts.prev.button.unbind(t),opts.next.button&&opts.next.button.unbind(t),opts.pagination.container&&(opts.pagination.container.unbind(t),opts.pagination.anchorBuilder&&opts.pagination.container.children().remove()),crsl.swipe&&($cfs.swipe("destroy"),$wrp.css("cursor","default"),crsl.swipe=!1),crsl.mousewheel&&(crsl.mousewheel=!1),nv_showNavi(opts,"hide",conf),nv_enableNavi(opts,"removeClass",conf)},is_boolean(configs)&&(configs={debug:configs}),{direction:"next",isPaused:!0,isScrolling:!1,isStopped:!1,mousewheel:!1,swipe:!1}),itms={total:$cfs.children().length,first:0},tmrs={auto:null,progress:null,startTime:getTime(),timePassed:0},scrl={isStopped:!1,duration:0,startTime:0,easing:"",anims:[]},clbk={onBefore:[],onAfter:[]},queu=[],conf=$.extend(!0,{},$.fn.carouFredSel.configs,configs),opts={},opts_orig=$.extend(!0,{},options),$wrp=("parent"==conf.wrapper?$cfs:$cfs.wrap("<"+conf.wrapper.element+' class="'+conf.wrapper.classname+'" />')).parent(),start_arr,start_arr;if(conf.selector=$cfs.selector,conf.serialNumber=$.fn.carouFredSel.serialNumber++,conf.transition=conf.transition&&$.fn.transition?"transition":"animate",FN._init(opts_orig,!0,starting_position),FN._build(),FN._bind_events(),FN._bind_buttons(),is_array(opts.items.start)?start_arr=opts.items.start:(start_arr=[],0!=opts.items.start&&start_arr.push(opts.items.start)),opts.cookie&&start_arr.unshift(parseInt(cf_getCookie(opts.cookie),10)),0<start_arr.length)for(var a=0,l=start_arr.length;a<l;a++){var s=start_arr[a];if(0!=s){if(!0===s){if(s=window.location.hash,s.length<1)continue}else"random"===s&&(s=Math.floor(Math.random()*itms.total));if($cfs.triggerHandler(cf_e("slideTo",conf),[s,0,!0,{fx:"none"}]))break}}var siz=sz_setSizes($cfs,opts),itm=gi_getCurrentItems($cfs.children(),opts);return opts.onCreate&&opts.onCreate.call($tt0,{width:siz.width,height:siz.height,items:itm}),$cfs.trigger(cf_e("updatePageStatus",conf),[!0,siz]),$cfs.trigger(cf_e("linkAnchors",conf)),conf.debug&&$cfs.trigger(cf_e("debug",conf)),$cfs},$.fn.carouFredSel.serialNumber=1,$.fn.carouFredSel.defaults={synchronise:!1,infinite:!0,circular:!0,responsive:!0,direction:"left",items:{start:0},scroll:{easing:"swing",duration:500,pauseOnHover:!1,event:"click",queue:!1}},$.fn.carouFredSel.configs={padding:"5px",debug:!1,transition:!1,onWindowResize:"throttle",events:{prefix:"",namespace:"cfs"},wrapper:{element:"div",classname:"caroufredsel_wrapper"},classnames:{}},$.fn.carouFredSel.pageAnchorBuilder=function(t){return'<a href="#"><span>'+t+"</span></a>"},$.fn.carouFredSel.progressbarUpdater=function(t){$(this).css("width",t+"%")},$.fn.carouFredSel.cookie={get:function(t){t+="=";for(var e=document.cookie.split(";"),s=0,i=e.length;s<i;s++){for(var o=e[s];" "==o.charAt(0);)o=o.slice(1);if(0==o.indexOf(t))return o.slice(t.length)}return 0},set:function(t,e,s){var i,o="";s&&((i=new Date).setTime(i.getTime()+24*s*60*60*1e3),o="; expires="+i.toGMTString()),document.cookie=t+"="+e+o+"; path=/"},remove:function(t){$.fn.carouFredSel.cookie.set(t,"",-1)}},$.extend($.easing,{quadratic:function(t){var e=t*t;return t*(-e*t+4*e-6*t+4)},cubic:function(t){return t*(4*t*t-9*t+6)},elastic:function(t){var e=t*t;return t*(33*e*e-106*e*t+126*e-67*t+15)}}))}(jQuery);
|
1 |
+
!function($){function sc_setScroll(t,e,s){return{anims:[],duration:t,orgDuration:t,easing:e="transition"==s.transition&&"swing"==e?"ease":e,startTime:getTime()}}function sc_startScroll(t,e){for(var s=0,i=t.anims.length;s<i;s++){var o=t.anims[s];o&&o[0][e.transition](o[1],t.duration,t.easing,o[2])}}function sc_stopScroll(t,e){is_boolean(e)||(e=!0),is_object(t.pre)&&sc_stopScroll(t.pre,e);for(var s=0,i=t.anims.length;s<i;s++){var o=t.anims[s];o[0].stop(!0),e&&(o[0].css(o[1]),is_function(o[2]))&&o[2]()}is_object(t.post)&&sc_stopScroll(t.post,e)}function sc_afterScroll(t,e,s){switch(e&&e.remove(),s.fx){case"fade":case"crossfade":case"cover-fade":case"uncover-fade":t.css("opacity",1),t.css("filter","")}}function sc_fireCallbacks(t,e,s,i,o){if(e[s]&&e[s].call(t,i),o[s].length)for(var n=0,r=o[s].length;n<r;n++)o[s][n].call(t,i);return[]}function sc_fireQueue(t,e,s){return e.length&&(t.trigger(cf_e(e[0][0],s),e[0][1]),e.shift()),e}function sc_hideHiddenItems(t){t.each(function(){var t=$(this);t.data("_cfs_isHidden",t.is(":hidden")).hide()})}function sc_showHiddenItems(t){t&&t.each(function(){var t=$(this);t.data("_cfs_isHidden")||t.show()})}function sc_clearTimers(t){return t.auto&&clearTimeout(t.auto),t.progress&&clearInterval(t.progress),t}function sc_mapCallbackArguments(t,e,s,i,o,n,r){return{width:r.width,height:r.height,items:{old:t,skipped:e,visible:s},scroll:{items:i,direction:o,duration:n}}}function sc_getDuration(t,e,s,i){var o=t.duration;return"none"==t.fx||("auto"==o?o=e.scroll.duration/e.scroll.items*s:o<10&&(o=i/o),o<1)?0:("fade"==t.fx&&(o/=2),Math.round(o))}function nv_showNavi(t,e,s){var i=is_number(t.items.minimum)?t.items.minimum:t.items.visible+1,i="show"==(e="show"==e||"hide"==e?e:e<i?(debug(s,"Not enough items ("+e+" total, "+i+" needed): Hiding navigation."),"hide"):"show")?"removeClass":"addClass",s=cf_c("hidden",s);t.auto.button&&t.auto.button[e]()[i](s),t.prev.button&&t.prev.button[e]()[i](s),t.next.button&&t.next.button[e]()[i](s),t.pagination.container&&t.pagination.container[e]()[i](s)}function nv_enableNavi(t,e,s){var i,o;t.circular||t.infinite||(i=("removeClass"==e||"addClass"==e)&&e,s=cf_c("disabled",s),t.auto.button&&i&&t.auto.button[i](s),t.prev.button&&t.prev.button[o=i||0==e?"addClass":"removeClass"](s),t.next.button&&(o=i||e==t.items.visible?"addClass":"removeClass",t.next.button[o](s)))}function go_getObject(t,e){return is_function(e)?e=e.call(t):is_undefined(e)&&(e={}),e}function go_getItemsObject(t,e){return is_number(e=go_getObject(t,e))?e={visible:e}:"variable"==e?e={visible:e,width:e,height:e}:is_object(e)||(e={}),e}function go_getScrollObject(t,e){return is_number(e=go_getObject(t,e))?e=e<=50?{items:e}:{duration:e}:is_string(e)?e={easing:e}:is_object(e)||(e={}),e}function go_getNaviObject(t,e){return e=is_string(e=go_getObject(t,e))?-1==(t=cf_getKeyCode(e))?$(e):t:e}function go_getAutoObject(t,e){return is_jquery(e=go_getNaviObject(t,e))?e={button:e}:is_boolean(e)?e={play:e}:is_number(e)&&(e={timeoutDuration:e}),e.progress&&(is_string(e.progress)||is_jquery(e.progress))&&(e.progress={bar:e.progress}),e}function go_complementAutoObject(t,e){return is_function(e.button)&&(e.button=e.button.call(t)),is_string(e.button)&&(e.button=$(e.button)),is_boolean(e.play)||(e.play=!0),is_number(e.delay)||(e.delay=0),is_undefined(e.pauseOnEvent)&&(e.pauseOnEvent=!0),is_boolean(e.pauseOnResize)||(e.pauseOnResize=!0),is_number(e.timeoutDuration)||(e.timeoutDuration=e.duration<10?2500:5*e.duration),e.progress&&(is_function(e.progress.bar)&&(e.progress.bar=e.progress.bar.call(t)),is_string(e.progress.bar)&&(e.progress.bar=$(e.progress.bar)),e.progress.bar?(is_function(e.progress.updater)||(e.progress.updater=$.fn.carouFredSel.progressbarUpdater),is_number(e.progress.interval)||(e.progress.interval=50)):e.progress=!1),e}function go_getPrevNextObject(t,e){return is_jquery(e=go_getNaviObject(t,e))?e={button:e}:is_number(e)&&(e={key:e}),e}function go_complementPrevNextObject(t,e){return is_function(e.button)&&(e.button=e.button.call(t)),is_string(e.button)&&(e.button=$(e.button)),is_string(e.key)&&(e.key=cf_getKeyCode(e.key)),e}function go_getPaginationObject(t,e){return is_jquery(e=go_getNaviObject(t,e))?e={container:e}:is_boolean(e)&&(e={keys:e}),e}function go_complementPaginationObject(t,e){return is_function(e.container)&&(e.container=e.container.call(t)),is_string(e.container)&&(e.container=$(e.container)),is_number(e.items)||(e.items=!1),is_boolean(e.keys)||(e.keys=!1),is_function(e.anchorBuilder)||is_false(e.anchorBuilder)||(e.anchorBuilder=$.fn.carouFredSel.pageAnchorBuilder),is_number(e.deviation)||(e.deviation=0),e}function go_getSwipeObject(t,e){return is_true(e=is_undefined(e=is_function(e)?e.call(t):e)?{onTouch:!1}:e)?e={onTouch:e}:is_number(e)&&(e={items:e}),e}function go_complementSwipeObject(t,e){return is_boolean(e.onTouch)||(e.onTouch=!0),is_boolean(e.onMouse)||(e.onMouse=!1),is_object(e.options)||(e.options={}),is_boolean(e.options.triggerOnTouchEnd)||(e.options.triggerOnTouchEnd=!1),e}function go_getMousewheelObject(t,e){return is_true(e=is_function(e)?e.call(t):e)?e={}:is_number(e)?e={items:e}:is_undefined(e)&&(e=!1),e}function go_complementMousewheelObject(t,e){return e}function gn_getItemIndex(t,e,s,i,o){if(is_jquery(t=is_object(t=is_string(t)?$(t,o):t)?$(t,o):t)?(t=o.children().index(t),is_boolean(s)||(s=!1)):is_boolean(s)||(s=!0),is_number(t)||(t=0),is_number(e)||(e=0),s&&(t+=i.first),t+=e,0<i.total){for(;t>=i.total;)t-=i.total;for(;t<0;)t+=i.total}return t}function gn_getVisibleItemsPrev(t,e,s){for(var i=0,o=0,n=s;0<=n;n--){var r=t.eq(n);if((i+=r.is(":visible")?r[e.d.outerWidth](!0):0)>e.maxDimension)return o;0==n&&(n=t.length),o++}}function gn_getVisibleItemsPrevFilter(t,e,s){return gn_getItemsPrevFilter(t,e.items.filter,e.items.visibleConf.org,s)}function gn_getScrollItemsPrevFilter(t,e,s,i){return gn_getItemsPrevFilter(t,e.items.filter,i,s)}function gn_getItemsPrevFilter(t,e,s,i){for(var o=0,n=0,r=i,c=t.length;0<=r;r--){if(++n==c)return n;var a=t.eq(r);if(a.is(e)&&++o==s)return n;0==r&&(r=c)}}function gn_getVisibleOrg(t,e){return e.items.visibleConf.org||t.children().slice(0,e.items.visible).filter(e.items.filter).length}function gn_getVisibleItemsNext(t,e,s){for(var i=0,o=0,n=s,r=t.length-1;n<=r;n++){var c=t.eq(n);if((i+=c.is(":visible")?c[e.d.outerWidth](!0):0)>e.maxDimension)return o;if(++o==1+r)return o;n==r&&(n=-1)}}function gn_getVisibleItemsNextTestCircular(t,e,s,i){t=gn_getVisibleItemsNext(t,e,s);return e.circular||i<s+t&&(t=i-s),t}function gn_getVisibleItemsNextFilter(t,e,s){return gn_getItemsNextFilter(t,e.items.filter,e.items.visibleConf.org,s,e.circular)}function gn_getScrollItemsNextFilter(t,e,s,i){return gn_getItemsNextFilter(t,e.items.filter,i+1,s,e.circular)-1}function gn_getItemsNextFilter(t,e,s,i,o){for(var n=0,r=0,c=i,a=t.length-1;c<=a;c++){if(a<=++r)return r;var f=t.eq(c);if(f.is(e)&&++n==s)return r;c==a&&(c=-1)}}function gi_getCurrentItems(t,e){return t.slice(0,e.items.visible)}function gi_getOldItemsPrev(t,e,s){return t.slice(s,e.items.visibleConf.old+s)}function gi_getNewItemsPrev(t,e){return t.slice(0,e.items.visible)}function gi_getOldItemsNext(t,e){return t.slice(0,e.items.visibleConf.old)}function gi_getNewItemsNext(t,e,s){return t.slice(s,e.items.visible+s)}function sz_storeMargin(t,s,i){s.usePadding&&(is_string(i)||(i="_cfs_origCssMargin"),t.each(function(){var t=$(this),e=parseInt(t.css(s.d.marginRight),10);is_number(e)||(e=0),t.data(i,e)}))}function sz_resetMargin(t,e,s){var i;e.usePadding&&(i=!!is_boolean(s)&&s,is_number(s)||(s=0),sz_storeMargin(t,e,"_cfs_tempCssMargin"),t.each(function(){var t=$(this);t.css(e.d.marginRight,i?t.data("_cfs_tempCssMargin"):s+t.data("_cfs_origCssMargin"))}))}function sz_storeOrigCss(t){t.each(function(){var t=$(this);t.data("_cfs_origCss",t.attr("style")||"")})}function sz_restoreOrigCss(t){t.each(function(){var t=$(this);t.attr("style",t.data("_cfs_origCss")||"")})}function sz_setResponsiveSizes(s,t){s.items.visible;var i=s.items[s.d.width],o=s[s.d.height],n=is_percentage(o);t.each(function(){var t=$(this),e=i-ms_getPaddingBorderMargin(t,s,"Width");t[s.d.width](e),n&&t[s.d.height](ms_getPercentage(e,o))})}function sz_setSizes(t,e){var s,i=t.parent(),o=t.children(),n=gi_getCurrentItems(o,e),r=cf_mapWrapperSizes(ms_getSizes(n,e,!0),e,!1);return i.css(r),e.usePadding&&(s=(i=e.padding)[e.d[1]],e.align&&s<0&&(s=0),(n=n.last()).css(e.d.marginRight,n.data("_cfs_origCssMargin")+s),t.css(e.d.top,i[e.d[0]]),t.css(e.d.left,i[e.d[3]])),t.css(e.d.width,r[e.d.width]+2*ms_getTotalSize(o,e,"width")),t.css(e.d.height,ms_getLargestSize(o,e,"height")),r}function ms_getSizes(t,e,s){return[ms_getTotalSize(t,e,"width",s),ms_getLargestSize(t,e,"height",s)]}function ms_getLargestSize(t,e,s,i){return is_boolean(i)||(i=!1),is_number(e[e.d[s]])&&i?e[e.d[s]]:is_number(e.items[e.d[s]])?e.items[e.d[s]]:ms_getTrueLargestSize(t,e,s=-1<s.toLowerCase().indexOf("width")?"outerWidth":"outerHeight")}function ms_getTrueLargestSize(t,e,s){for(var i=0,o=0,n=t.length;o<n;o++){var r=t.eq(o),r=r.is(":visible")?r[e.d[s]](!0):0;i<r&&(i=r)}return i}function ms_getTotalSize(t,e,s,i){if(is_boolean(i)||(i=!1),is_number(e[e.d[s]])&&i)return e[e.d[s]];if(is_number(e.items[e.d[s]]))return e.items[e.d[s]]*t.length;for(var o=-1<s.toLowerCase().indexOf("width")?"outerWidth":"outerHeight",n=0,r=0,c=t.length;r<c;r++){var a=t.eq(r);n+=a.is(":visible")?a[e.d[o]](!0):0}return n}function ms_getParentSize(t,e,s){var i=t.is(":visible"),s=(i&&t.hide(),t.parent()[e.d[s]]());return i&&t.show(),s}function ms_getMaxDimension(t,e){return is_number(t[t.d.width])?t[t.d.width]:e}function ms_hasVariableSizes(t,e,s){for(var i=!1,o=!1,n=0,r=t.length;n<r;n++){var c=t.eq(n),c=c.is(":visible")?c[e.d[s]](!0):0;!1===i?i=c:i!=c&&(o=!0),0==i&&(o=!0)}return o}function ms_getPaddingBorderMargin(t,e,s){return t[e.d["outer"+s]](!0)-t[e.d[s.toLowerCase()]]()}function ms_getPercentage(t,e){if(is_percentage(e)){if(!is_number(e=parseInt(e.slice(0,-1),10)))return t;t*=e/100}return t}function cf_e(t,e,s,i,o){return is_boolean(s)||(s=!0),is_boolean(i)||(i=!0),is_boolean(o)||(o=!1),s&&(t=e.events.prefix+t),i&&(t=t+"."+e.events.namespace),i&&o&&(t+=e.serialNumber),t}function cf_c(t,e){return is_string(e.classnames[t])?e.classnames[t]:t}function cf_mapWrapperSizes(t,e,s){is_boolean(s)||(s=!0);var s=e.usePadding&&s?e.padding:[0,0,0,0],i={};return i[e.d.width]=t[0]+s[1]+s[3],i[e.d.height]=t[1]+s[0]+s[2],i}function cf_sortParams(t,e){for(var s=[],i=0,o=t.length;i<o;i++)for(var n=0,r=e.length;n<r;n++)if(-1<e[n].indexOf(typeof t[i])&&is_undefined(s[n])){s[n]=t[i];break}return s}function cf_getPadding(t){if(is_undefined(t))return[0,0,0,0];if(is_number(t))return[t,t,t,t];if(!is_array(t=is_string(t)?t.split("px").join("").split("em").join("").split(" "):t))return[0,0,0,0];for(var e=0;e<4;e++)t[e]=parseInt(t[e],10);switch(t.length){case 0:return[0,0,0,0];case 1:return[t[0],t[0],t[0],t[0]];case 2:return[t[0],t[1],t[0],t[1]];case 3:return[t[0],t[1],t[2],t[1]];default:return[t[0],t[1],t[2],t[3]]}}function cf_getAlignPadding(t,e){var s=is_number(e[e.d.width])?Math.ceil(e[e.d.width]-ms_getTotalSize(t,e,"width")):0;switch(e.align){case"left":return[0,s];case"right":return[s,0];default:return[Math.ceil(s/2),Math.floor(s/2)]}}function cf_getDimensions(t){for(var e=[["width","innerWidth","outerWidth","height","innerHeight","outerHeight","left","top","marginRight",0,1,2,3],["height","innerHeight","outerHeight","width","innerWidth","outerWidth","top","left","marginBottom",3,2,1,0]],s=e[0].length,i="right"==t.direction||"left"==t.direction?0:1,o={},n=0;n<s;n++)o[e[0][n]]=e[i][n];return o}function cf_getAdjust(t,e,s,i){var o=t;if(is_function(s))o=s.call(i,o);else if(is_string(s)){var n,r,i=s.split("+"),s=s.split("-");switch(s=(s.length>i.length?(n=!0,r=s[0],s):(n=!1,r=i[0],i))[1],r){case"even":o=t%2==1?t-1:t;break;case"odd":o=t%2==0?t-1:t;break;default:o=t}is_number(s=parseInt(s,10))&&(o+=s=n?-s:s)}return o=!is_number(o)||o<1?1:o}function cf_getItemsAdjust(t,e,s,i){return cf_getItemAdjustMinMax(cf_getAdjust(t,e,s,i),e.items.visibleConf)}function cf_getItemAdjustMinMax(t,e){return is_number(e.min)&&t<e.min&&(t=e.min),t=(t=is_number(e.max)&&t>e.max?e.max:t)<1?1:t}function cf_getSynchArr(t){is_array(t)||(t=[[t]]);for(var e=0,s=(t=is_array(t[0])?t:[t]).length;e<s;e++)is_string(t[e][0])&&(t[e][0]=$(t[e][0])),is_boolean(t[e][1])||(t[e][1]=!0),is_boolean(t[e][2])||(t[e][2]=!0),is_number(t[e][3])||(t[e][3]=0);return t}function cf_getKeyCode(t){return"right"==t?39:"left"==t?37:"up"==t?38:"down"==t?40:-1}function cf_setCookie(t,e,s){t&&(s=e.triggerHandler(cf_e("currentPosition",s)),$.fn.carouFredSel.cookie.set(t,s))}function cf_getCookie(t){t=$.fn.carouFredSel.cookie.get(t);return""==t?0:t}function in_mapCss(t,e){for(var s={},i=0,o=e.length;i<o;i++)s[e[i]]=t.css(e[i]);return s}function in_complementItems(t,e,s,i){return is_object(t.visibleConf)||(t.visibleConf={}),is_object(t.sizesConf)||(t.sizesConf={}),0==t.start&&is_number(i)&&(t.start=i),is_object(t.visible)?(t.visibleConf.min=t.visible.min,t.visibleConf.max=t.visible.max,t.visible=!1):is_string(t.visible)?("variable"==t.visible?t.visibleConf.variable=!0:t.visibleConf.adjust=t.visible,t.visible=!1):is_function(t.visible)&&(t.visibleConf.adjust=t.visible,t.visible=!1),is_string(t.filter)||(t.filter=0<s.filter(":hidden").length?":visible":"*"),t[e.d.width]||(e.responsive?(debug(!0,"Set a "+e.d.width+" for the items!"),t[e.d.width]=ms_getTrueLargestSize(s,e,"outerWidth")):t[e.d.width]=ms_hasVariableSizes(s,e,"outerWidth")?"variable":s[e.d.outerWidth](!0)),t[e.d.height]||(t[e.d.height]=ms_hasVariableSizes(s,e,"outerHeight")?"variable":s[e.d.outerHeight](!0)),t.sizesConf.width=t.width,t.sizesConf.height=t.height,t}function in_complementVisibleItems(t,e){return"variable"==t.items[t.d.width]&&(t.items.visibleConf.variable=!0),!t.items.visibleConf.variable&&(is_number(t[t.d.width])?t.items.visible=Math.floor(t[t.d.width]/t.items[t.d.width]):(t.items.visible=Math.floor(e/t.items[t.d.width]),t[t.d.width]=t.items.visible*t.items[t.d.width],t.items.visibleConf.adjust||(t.align=!1)),"Infinity"==t.items.visible||t.items.visible<1)&&(debug(!0,'Not a valid number of visible items: Set to "variable".'),t.items.visibleConf.variable=!0),t}function in_complementPrimarySize(t,e,s){return t="auto"==t?ms_getTrueLargestSize(s,e,"outerWidth"):t}function in_complementSecondarySize(t,e,s){return t=(t="auto"==t?ms_getTrueLargestSize(s,e,"outerHeight"):t)||e.items[e.d.height]}function in_getAlignPadding(t,e){e=cf_getAlignPadding(gi_getCurrentItems(e,t),t);return t.padding[t.d[1]]=e[1],t.padding[t.d[3]]=e[0],t}function in_getResponsiveValues(t,e,s){var i=cf_getItemAdjustMinMax(Math.ceil(t[t.d.width]/t.items[t.d.width]),t.items.visibleConf),e=(i>e.length&&(i=e.length),Math.floor(t[t.d.width]/i));return t.items.visible=i,t.items[t.d.width]=e,t[t.d.width]=i*e,t}function bt_pauseOnHoverConfig(t){var e,s;return is_string(t)?(s=-1<t.indexOf("immediate"),e=-1<t.indexOf("resume")):s=e=!1,[s,e]}function bt_mousesheelNumber(t){is_number(t)}function is_null(t){return null===t}function is_undefined(t){return is_null(t)||void 0===t||""===t||"undefined"===t}function is_array(t){return t instanceof Array}function is_jquery(t){return t instanceof jQuery}function is_object(t){return(t instanceof Object||"object"==typeof t)&&!is_null(t)&&!is_jquery(t)&&!is_array(t)&&!is_function(t)}function is_number(t){return(t instanceof Number||"number"==typeof t)&&!isNaN(t)}function is_string(t){return(t instanceof String||"string"==typeof t)&&!is_undefined(t)&&!is_true(t)&&!is_false(t)}function is_function(t){return t instanceof Function||"function"==typeof t}function is_boolean(t){return t instanceof Boolean||"boolean"==typeof t||is_true(t)||is_false(t)}function is_true(t){return!0===t||"true"===t}function is_false(t){return!1===t||"false"===t}function is_percentage(t){return is_string(t)&&"%"==t.slice(-1)}function getTime(){return(new Date).getTime()}function deprecated(t,e){debug(!0,t+" is DEPRECATED, support for it will be removed. Use "+e+" instead.")}function debug(t,e){if(!is_undefined(window.console)&&!is_undefined(window.console.log)){var s;if(is_object(t)?(s=" ("+t.selector+")",t=t.debug):s="",!t)return!1;e=is_string(e)?"carouFredSel"+s+": "+e:["carouFredSel"+s+":",e],window.console.log(e)}return!1}$.fn.carouFredSel||($.fn.caroufredsel=$.fn.carouFredSel=function(options,configs){if(0==this.length)return debug(!0,'No element found for "'+this.selector+'".'),this;if(1<this.length)return this.each(function(){$(this).carouFredSel(options,configs)});var $cfs=this,$tt0=this[0],starting_position=!1,FN=($cfs.data("_cfs_isCarousel")&&(starting_position=$cfs.triggerHandler("_cfs_triggerEvent","currentPosition"),$cfs.trigger("_cfs_triggerEvent",["destroy",!0])),{}),crsl=(FN._init=function(t,e,s){(t=go_getObject($tt0,t)).items=go_getItemsObject($tt0,t.items),t.scroll=go_getScrollObject($tt0,t.scroll),t.auto=go_getAutoObject($tt0,t.auto),t.prev=go_getPrevNextObject($tt0,t.prev),t.next=go_getPrevNextObject($tt0,t.next),t.pagination=go_getPaginationObject($tt0,t.pagination),t.swipe=go_getSwipeObject($tt0,t.swipe),t.mousewheel=go_getMousewheelObject($tt0,t.mousewheel),e&&(opts_orig=$.extend(!0,{},$.fn.carouFredSel.defaults,t)),(opts=$.extend(!0,{},$.fn.carouFredSel.defaults,t)).d=cf_getDimensions(opts),crsl.direction="up"==opts.direction||"left"==opts.direction?"next":"prev";var i=$cfs.children(),e=ms_getParentSize($wrp,opts,"width");if(is_true(opts.cookie)&&(opts.cookie="caroufredsel_cookie_"+conf.serialNumber),opts.maxDimension=ms_getMaxDimension(opts,e),opts.items=in_complementItems(opts.items,opts,i,s),opts[opts.d.width]=in_complementPrimarySize(opts[opts.d.width],opts,i),opts[opts.d.height]=in_complementSecondarySize(opts[opts.d.height],opts,i),!opts.responsive||is_percentage(opts[opts.d.width])||(opts[opts.d.width]="100%"),is_percentage(opts[opts.d.width])&&(crsl.upDateOnWindowResize=!0,crsl.primarySizePercentage=opts[opts.d.width],opts[opts.d.width]=ms_getPercentage(e,crsl.primarySizePercentage),opts.items.visible||(opts.items.visibleConf.variable=!0)),opts.responsive?(opts.usePadding=!0,opts.padding=[5,5,5,5],opts.align=!1,opts.items.visibleConf.variable=!1):((opts=opts.items.visible?opts:in_complementVisibleItems(opts,e))[opts.d.width]||(!opts.items.visibleConf.variable&&is_number(opts.items[opts.d.width])&&"*"==opts.items.filter?(opts[opts.d.width]=opts.items.visible*opts.items[opts.d.width],opts.align=!1):opts[opts.d.width]="variable"),is_undefined(opts.align)&&(opts.align=!!is_number(opts[opts.d.width])&&"center"),opts.items.visibleConf.variable&&(opts.items.visible=gn_getVisibleItemsNext(i,opts,0))),"*"==opts.items.filter||opts.items.visibleConf.variable||(opts.items.visibleConf.org=opts.items.visible,opts.items.visible=gn_getVisibleItemsNextFilter(i,opts,0)),opts.items.visible=cf_getItemsAdjust(opts.items.visible,opts,opts.items.visibleConf.adjust,$tt0),opts.items.visibleConf.old=opts.items.visible,opts.responsive)opts.items.visibleConf.min||(opts.items.visibleConf.min=opts.items.visible),opts.items.visibleConf.max||(opts.items.visibleConf.max=opts.items.visible),opts=in_getResponsiveValues(opts,i,e);else switch(opts.padding=cf_getPadding(opts.padding),"top"==opts.align?opts.align="left":"bottom"==opts.align&&(opts.align="right"),opts.align){case"center":case"left":case"right":"variable"!=opts[opts.d.width]&&((opts=in_getAlignPadding(opts,i)).usePadding=!0);break;default:opts.align=!1,opts.usePadding=0!=opts.padding[0]||0!=opts.padding[1]||0!=opts.padding[2]||0!=opts.padding[3]}is_number(opts.scroll.duration)||(opts.scroll.duration=500),is_undefined(opts.scroll.items)&&(opts.scroll.items=opts.responsive||opts.items.visibleConf.variable||"*"!=opts.items.filter?"visible":opts.items.visible),opts.auto=$.extend(!0,{},opts.scroll,opts.auto),opts.prev=$.extend(!0,{},opts.scroll,opts.prev),opts.next=$.extend(!0,{},opts.scroll,opts.next),opts.pagination=$.extend(!0,{},opts.scroll,opts.pagination),opts.auto=go_complementAutoObject($tt0,opts.auto),opts.prev=go_complementPrevNextObject($tt0,opts.prev),opts.next=go_complementPrevNextObject($tt0,opts.next),opts.pagination=go_complementPaginationObject($tt0,opts.pagination),opts.swipe=go_complementSwipeObject($tt0,opts.swipe),opts.mousewheel=go_complementMousewheelObject($tt0,opts.mousewheel),opts.synchronise&&(opts.synchronise=cf_getSynchArr(opts.synchronise)),opts.auto.onPauseStart&&(opts.auto.onTimeoutStart=opts.auto.onPauseStart,deprecated("auto.onPauseStart","auto.onTimeoutStart")),opts.auto.onPausePause&&(opts.auto.onTimeoutPause=opts.auto.onPausePause,deprecated("auto.onPausePause","auto.onTimeoutPause")),opts.auto.onPauseEnd&&(opts.auto.onTimeoutEnd=opts.auto.onPauseEnd,deprecated("auto.onPauseEnd","auto.onTimeoutEnd")),opts.auto.pauseDuration&&(opts.auto.timeoutDuration=opts.auto.pauseDuration,deprecated("auto.pauseDuration","auto.timeoutDuration"))},FN._build=function(){$cfs.data("_cfs_isCarousel",!0);var t=$cfs.children(),e=in_mapCss($cfs,["textAlign","float","position","top","right","bottom","left","zIndex","width","height","marginTop","marginRight","marginBottom","marginLeft"]),s="relative";switch(e.position){case"absolute":case"fixed":s=e.position}"parent"==conf.wrapper?sz_storeOrigCss($wrp):$wrp.css(e),$wrp.css({overflow:"hidden",position:s}),sz_storeOrigCss($cfs),$cfs.data("_cfs_origCssZindex",e.zIndex),$cfs.css({textAlign:"left","float":"none",position:"absolute",top:0,right:"auto",bottom:"auto",left:0,marginTop:0,marginRight:0,marginBottom:0,marginLeft:0}),sz_storeMargin(t,opts),sz_storeOrigCss(t),opts.responsive&&sz_setResponsiveSizes(opts,t)},FN._bind_events=function(){FN._unbind_events(),$cfs.bind(cf_e("stop",conf),function(t,e){return t.stopPropagation(),crsl.isStopped||opts.auto.button&&opts.auto.button.addClass(cf_c("stopped",conf)),crsl.isStopped=!0,opts.auto.play&&(opts.auto.play=!1,$cfs.trigger(cf_e("pause",conf),e)),!0}),$cfs.bind(cf_e("finish",conf),function(t){return t.stopPropagation(),crsl.isScrolling&&sc_stopScroll(scrl),!0}),$cfs.bind(cf_e("pause",conf),function(t,e,s){return t.stopPropagation(),tmrs=sc_clearTimers(tmrs),e&&crsl.isScrolling&&(scrl.isStopped=!0,t=getTime()-scrl.startTime,scrl.duration-=t,scrl.pre&&(scrl.pre.duration-=t),scrl.post&&(scrl.post.duration-=t),sc_stopScroll(scrl,!1)),crsl.isPaused||crsl.isScrolling||s&&(tmrs.timePassed+=getTime()-tmrs.startTime),crsl.isPaused||opts.auto.button&&opts.auto.button.addClass(cf_c("paused",conf)),crsl.isPaused=!0,opts.auto.onTimeoutPause&&(e=opts.auto.timeoutDuration-tmrs.timePassed,t=100-Math.ceil(100*e/opts.auto.timeoutDuration),opts.auto.onTimeoutPause.call($tt0,t,e)),!0}),$cfs.bind(cf_e("play",conf),function(t,e,s,i){t.stopPropagation(),tmrs=sc_clearTimers(tmrs);var o=cf_sortParams([e,s,i],["string","number","boolean"]);if(e=o[0],s=o[1],i=o[2],"prev"!=e&&"next"!=e&&(e=crsl.direction),is_number(s)||(s=0),(i=is_boolean(i)?i:!1)&&(crsl.isStopped=!1,opts.auto.play=!0),!opts.auto.play)return t.stopImmediatePropagation(),debug(conf,"Carousel stopped: Not scrolling.");crsl.isPaused&&opts.auto.button&&(opts.auto.button.removeClass(cf_c("stopped",conf)),opts.auto.button.removeClass(cf_c("paused",conf))),crsl.isPaused=!1,tmrs.startTime=getTime();var n=opts.auto.timeoutDuration+s;return dur2=n-tmrs.timePassed,perc=100-Math.ceil(100*dur2/n),opts.auto.progress&&(tmrs.progress=setInterval(function(){var t=getTime()-tmrs.startTime+tmrs.timePassed,t=Math.ceil(100*t/n);opts.auto.progress.updater.call(opts.auto.progress.bar[0],t)},opts.auto.progress.interval)),tmrs.auto=setTimeout(function(){opts.auto.progress&&opts.auto.progress.updater.call(opts.auto.progress.bar[0],100),opts.auto.onTimeoutEnd&&opts.auto.onTimeoutEnd.call($tt0,perc,dur2),crsl.isScrolling?$cfs.trigger(cf_e("play",conf),e):$cfs.trigger(cf_e(e,conf),opts.auto)},dur2),opts.auto.onTimeoutStart&&opts.auto.onTimeoutStart.call($tt0,perc,dur2),!0}),$cfs.bind(cf_e("resume",conf),function(t){return t.stopPropagation(),scrl.isStopped?(scrl.isStopped=!1,crsl.isPaused=!1,crsl.isScrolling=!0,scrl.startTime=getTime(),sc_startScroll(scrl,conf)):$cfs.trigger(cf_e("play",conf)),!0}),$cfs.bind(cf_e("prev",conf)+" "+cf_e("next",conf),function(t,e,s,i,o){if(t.stopPropagation(),crsl.isStopped||$cfs.is(":hidden"))return t.stopImmediatePropagation(),debug(conf,"Carousel stopped or hidden: Not scrolling.");var n=is_number(opts.items.minimum)?opts.items.minimum:opts.items.visible+1;if(n>itms.total)return t.stopImmediatePropagation(),debug(conf,"Not enough items ("+itms.total+" total, "+n+" needed): Not scrolling.");e=(a=cf_sortParams([e,s,i,o],["object","number/string","function","boolean"]))[0],s=a[1],i=a[2],o=a[3];var r=t.type.slice(conf.events.prefix.length);if(is_object(e)||(e={}),is_function(i)&&(e.onAfter=i),is_boolean(o)&&(e.queue=o),(e=$.extend(!0,{},opts[r],e)).conditions&&!e.conditions.call($tt0,r))return t.stopImmediatePropagation(),debug(conf,'Callback "conditions" returned false.');if(!is_number(s)){if("*"!=opts.items.filter)s="visible";else for(var c=[s,e.items,opts[r].items],a=0,f=c.length;a<f;a++)if(is_number(c[a])||"page"==c[a]||"visible"==c[a]){s=c[a];break}switch(s){case"page":return t.stopImmediatePropagation(),$cfs.triggerHandler(cf_e(r+"Page",conf),[e,i]);case"visible":opts.items.visibleConf.variable||"*"!=opts.items.filter||(s=opts.items.visible)}}if(scrl.isStopped)return $cfs.trigger(cf_e("resume",conf)),$cfs.trigger(cf_e("queue",conf),[r,[e,s,i]]),t.stopImmediatePropagation(),debug(conf,"Carousel resumed scrolling.");if(0<e.duration&&crsl.isScrolling)return e.queue&&("last"==e.queue&&(queu=[]),"first"==e.queue&&0!=queu.length||$cfs.trigger(cf_e("queue",conf),[r,[e,s,i]])),t.stopImmediatePropagation(),debug(conf,"Carousel currently scrolling.");if(tmrs.timePassed=0,$cfs.trigger(cf_e("slide_"+r,conf),[e,s]),opts.synchronise)for(var l=opts.synchronise,u=[e,s],p=0,f=l.length;p<f;p++){var d=r;l[p][2]||(d="prev"==d?"next":"prev"),l[p][1]||(u[0]=l[p][0].triggerHandler("_cfs_triggerEvent",["configuration",d])),u[1]=s+l[p][3],l[p][0].trigger("_cfs_triggerEvent",["slide_"+d,u])}return!0}),$cfs.bind(cf_e("slide_prev",conf),function(t,e,s){t.stopPropagation();var i=$cfs.children();if(!opts.circular&&0==itms.first)return opts.infinite&&$cfs.trigger(cf_e("next",conf),itms.total-1),t.stopImmediatePropagation();if(sz_resetMargin(i,opts),is_number(s)||(s=cf_getAdjust(s=opts.items.visibleConf.variable?gn_getVisibleItemsPrev(i,opts,itms.total-1):"*"!=opts.items.filter?(r=is_number(e.items)?e.items:gn_getVisibleOrg($cfs,opts),gn_getScrollItemsPrevFilter(i,opts,itms.total-1,r)):opts.items.visible,opts,e.items,$tt0)),opts.circular||itms.total-s<itms.first&&(s=itms.total-itms.first),opts.items.visibleConf.old=opts.items.visible,opts.items.visibleConf.variable?(l=cf_getItemsAdjust(gn_getVisibleItemsNext(i,opts,itms.total-s),opts,opts.items.visibleConf.adjust,$tt0),opts.items.visible+s<=l&&s<itms.total&&(s++,l=cf_getItemsAdjust(gn_getVisibleItemsNext(i,opts,itms.total-s),opts,opts.items.visibleConf.adjust,$tt0)),opts.items.visible=l):"*"!=opts.items.filter&&(l=gn_getVisibleItemsNextFilter(i,opts,itms.total-s),opts.items.visible=cf_getItemsAdjust(l,opts,opts.items.visibleConf.adjust,$tt0)),sz_resetMargin(i,opts,!0),0==s)return t.stopImmediatePropagation(),debug(conf,"0 items to scroll: Not scrolling.");for(debug(conf,"Scrolling "+s+" items backward."),itms.first+=s;itms.first>=itms.total;)itms.first-=itms.total;opts.circular||(0==itms.first&&e.onEnd&&e.onEnd.call($tt0,"prev"),opts.infinite)||nv_enableNavi(opts,itms.first,conf),$cfs.children().slice(itms.total-s,itms.total).prependTo($cfs),itms.total<opts.items.visible+s&&$cfs.children().slice(0,opts.items.visible+s-itms.total).clone(!0).appendTo($cfs);var o,n=gi_getOldItemsPrev(i=$cfs.children(),opts,s),r=gi_getNewItemsPrev(i,opts),c=i.eq(s-1),a=n.last(),f=r.last(),l=(sz_resetMargin(i,opts),0),t=0,u=(opts.align&&(l=(u=cf_getAlignPadding(r,opts))[0],t=u[1]),l<0?opts.padding[opts.d[3]]:0),p=!1,d=$(),g=(opts.items.visible<s&&(d=i.slice(opts.items.visibleConf.old,s),"directscroll"==e.fx)&&(o=opts.items[opts.d.width],c=f,sc_hideHiddenItems(p=d),opts.items[opts.d.width]="variable"),!1),m=ms_getTotalSize(i.slice(0,s),opts,"width"),_=cf_mapWrapperSizes(ms_getSizes(r,opts,!0),opts,!opts.usePadding),b=0,v={},h={},w={},P={},C={},x={},S={},y=sc_getDuration(e,opts,s,m);switch(e.fx){case"cover":case"cover-fade":b=ms_getTotalSize(i.slice(0,opts.items.visible),opts,"width")}p&&(opts.items[opts.d.width]=o),sz_resetMargin(i,opts,!0),0<=t&&sz_resetMargin(a,opts,opts.padding[opts.d[1]]),0<=l&&sz_resetMargin(c,opts,opts.padding[opts.d[3]]),opts.align&&(opts.padding[opts.d[1]]=t,opts.padding[opts.d[3]]=l),x[opts.d.left]=-(m-u),S[opts.d.left]=-(b-u),h[opts.d.left]=_[opts.d.width];var I=function(){},z=function(){},j=function(){},N=function(){},k=function(){},H=function(){},O=function(){},q=function(){};switch(e.fx){case"crossfade":case"cover":case"cover-fade":case"uncover":case"uncover-fade":g=$cfs.clone(!0).appendTo($wrp)}switch(e.fx){case"crossfade":case"uncover":case"uncover-fade":g.children().slice(0,s).remove(),g.children().slice(opts.items.visibleConf.old).remove();break;case"cover":case"cover-fade":g.children().slice(opts.items.visible).remove(),g.css(S)}if($cfs.css(x),scrl=sc_setScroll(y,e.easing,conf),v[opts.d.left]=opts.usePadding?opts.padding[opts.d[3]]:0,"variable"!=opts[opts.d.width]&&"variable"!=opts[opts.d.height]||(I=function(){$wrp.css(_)},z=function(){scrl.anims.push([$wrp,_])}),opts.usePadding){switch(f.not(c).length&&(w[opts.d.marginRight]=c.data("_cfs_origCssMargin"),l<0?c.css(w):(O=function(){c.css(w)},q=function(){scrl.anims.push([c,w])})),e.fx){case"cover":case"cover-fade":g.children().eq(s-1).css(w)}f.not(a).length&&(P[opts.d.marginRight]=a.data("_cfs_origCssMargin"),j=function(){a.css(P)},N=function(){scrl.anims.push([a,P])}),0<=t&&(C[opts.d.marginRight]=f.data("_cfs_origCssMargin")+opts.padding[opts.d[1]],k=function(){f.css(C)},H=function(){scrl.anims.push([f,C])})}var T=function(){$cfs.css(v)},M=opts.items.visible+s-itms.total,F=function(){var t;0<M&&($cfs.children().slice(itms.total).remove(),n=$($cfs.children().slice(itms.total-(opts.items.visible-M)).get().concat($cfs.children().slice(0,M).get()))),sc_showHiddenItems(p),opts.usePadding&&(t=$cfs.children().eq(opts.items.visible+s-1)).css(opts.d.marginRight,t.data("_cfs_origCssMargin"))},D=sc_mapCallbackArguments(n,d,r,s,"prev",y,_),A=function(){sc_afterScroll($cfs,g,e),crsl.isScrolling=!1,clbk.onAfter=sc_fireCallbacks($tt0,e,"onAfter",D,clbk),queu=sc_fireQueue($cfs,queu,conf),crsl.isPaused||$cfs.trigger(cf_e("play",conf))};switch(crsl.isScrolling=!0,tmrs=sc_clearTimers(tmrs),clbk.onBefore=sc_fireCallbacks($tt0,e,"onBefore",D,clbk),e.fx){case"none":$cfs.css(v),I(),j(),k(),O(),T(),F(),A();break;case"fade":scrl.anims.push([$cfs,{opacity:0},function(){I(),j(),k(),O(),T(),F(),(scrl=sc_setScroll(y,e.easing,conf)).anims.push([$cfs,{opacity:1},A]),sc_startScroll(scrl,conf)}]);break;case"crossfade":$cfs.css({opacity:0}),scrl.anims.push([g,{opacity:0}]),scrl.anims.push([$cfs,{opacity:1},A]),z(),j(),k(),O(),T(),F();break;case"cover":scrl.anims.push([g,v,function(){j(),k(),O(),T(),F(),A()}]),z();break;case"cover-fade":scrl.anims.push([$cfs,{opacity:0}]),scrl.anims.push([g,v,function(){j(),k(),O(),T(),F(),A()}]),z();break;case"uncover":scrl.anims.push([g,h,A]),z(),j(),k(),O(),T(),F();break;case"uncover-fade":$cfs.css({opacity:0}),scrl.anims.push([$cfs,{opacity:1}]),scrl.anims.push([g,h,A]),z(),j(),k(),O(),T(),F();break;default:scrl.anims.push([$cfs,v,function(){F(),A()}]),z(),N(),H(),q()}return sc_startScroll(scrl,conf),cf_setCookie(opts.cookie,$cfs,conf),$cfs.trigger(cf_e("updatePageStatus",conf),[!1,_]),!0}),$cfs.bind(cf_e("slide_next",conf),function(t,e,s){t.stopPropagation();var i=$cfs.children();if(!opts.circular&&itms.first==opts.items.visible)return opts.infinite&&$cfs.trigger(cf_e("prev",conf),itms.total-1),t.stopImmediatePropagation();sz_resetMargin(i,opts),is_number(s)||(s=cf_getAdjust(s="*"!=opts.items.filter?(r=is_number(e.items)?e.items:gn_getVisibleOrg($cfs,opts),gn_getScrollItemsNextFilter(i,opts,0,r)):opts.items.visible,opts,e.items,$tt0));var o=0==itms.first?itms.total:itms.first;if(opts.circular||(r=opts.items.visibleConf.variable?(n=gn_getVisibleItemsNext(i,opts,s),gn_getVisibleItemsPrev(i,opts,o-1)):(n=opts.items.visible,opts.items.visible),o<s+n&&(s=o-r)),opts.items.visibleConf.old=opts.items.visible,opts.items.visibleConf.variable){for(var n=cf_getItemsAdjust(gn_getVisibleItemsNextTestCircular(i,opts,s,o),opts,opts.items.visibleConf.adjust,$tt0);opts.items.visible-s>=n&&s<itms.total;)n=cf_getItemsAdjust(gn_getVisibleItemsNextTestCircular(i,opts,++s,o),opts,opts.items.visibleConf.adjust,$tt0);opts.items.visible=n}else"*"!=opts.items.filter&&(n=gn_getVisibleItemsNextFilter(i,opts,s),opts.items.visible=cf_getItemsAdjust(n,opts,opts.items.visibleConf.adjust,$tt0));if(sz_resetMargin(i,opts,!0),0==s)return t.stopImmediatePropagation(),debug(conf,"0 items to scroll: Not scrolling.");for(debug(conf,"Scrolling "+s+" items forward."),itms.first-=s;itms.first<0;)itms.first+=itms.total;opts.circular||(itms.first==opts.items.visible&&e.onEnd&&e.onEnd.call($tt0,"next"),opts.infinite)||nv_enableNavi(opts,itms.first,conf),itms.total<opts.items.visible+s&&$cfs.children().slice(0,opts.items.visible+s-itms.total).clone(!0).appendTo($cfs);var r=gi_getOldItemsNext(i=$cfs.children(),opts),c=gi_getNewItemsNext(i,opts,s),a=i.eq(s-1),f=r.last(),t=c.last(),l=(sz_resetMargin(i,opts),0),u=0,p=(opts.align&&(l=(d=cf_getAlignPadding(c,opts))[0],u=d[1]),!1),d=$(),g=(opts.items.visibleConf.old<s&&(d=i.slice(opts.items.visibleConf.old,s),"directscroll"==e.fx)&&(S=opts.items[opts.d.width],a=f,sc_hideHiddenItems(p=d),opts.items[opts.d.width]="variable"),!1),m=ms_getTotalSize(i.slice(0,s),opts,"width"),_=cf_mapWrapperSizes(ms_getSizes(c,opts,!0),opts,!opts.usePadding),b=0,v={},h={},w={},P={},C={},x=sc_getDuration(e,opts,s,m);switch(e.fx){case"uncover":case"uncover-fade":b=ms_getTotalSize(i.slice(0,opts.items.visibleConf.old),opts,"width")}p&&(opts.items[opts.d.width]=S),opts.align&&opts.padding[opts.d[1]]<0&&(opts.padding[opts.d[1]]=0),sz_resetMargin(i,opts,!0),sz_resetMargin(f,opts,opts.padding[opts.d[1]]),opts.align&&(opts.padding[opts.d[1]]=u,opts.padding[opts.d[3]]=l),C[opts.d.left]=opts.usePadding?opts.padding[opts.d[3]]:0;var S,y=function(){},I=function(){},z=function(){},j=function(){},N=function(){},k=function(){};switch(e.fx){case"crossfade":case"cover":case"cover-fade":case"uncover":case"uncover-fade":(g=$cfs.clone(!0).appendTo($wrp)).children().slice(opts.items.visibleConf.old).remove()}switch(e.fx){case"crossfade":case"cover":case"cover-fade":$cfs.css("zIndex",1),g.css("zIndex",0)}scrl=sc_setScroll(x,e.easing,conf),v[opts.d.left]=-m,h[opts.d.left]=-b,l<0&&(v[opts.d.left]+=l),"variable"!=opts[opts.d.width]&&"variable"!=opts[opts.d.height]||(y=function(){$wrp.css(_)},I=function(){scrl.anims.push([$wrp,_])}),opts.usePadding&&(S=t.data("_cfs_origCssMargin"),0<=u&&(S+=opts.padding[opts.d[1]]),t.css(opts.d.marginRight,S),a.not(f).length&&(P[opts.d.marginRight]=f.data("_cfs_origCssMargin")),z=function(){f.css(P)},j=function(){scrl.anims.push([f,P])},m=a.data("_cfs_origCssMargin"),0<l&&(m+=opts.padding[opts.d[3]]),w[opts.d.marginRight]=m,N=function(){a.css(w)},k=function(){scrl.anims.push([a,w])});var O=function(){$cfs.css(C)},T=opts.items.visible+s-itms.total,M=function(){0<T&&$cfs.children().slice(itms.total).remove();var t,e=$cfs.children().slice(0,s).appendTo($cfs).last();0<T&&(c=gi_getCurrentItems(i,opts)),sc_showHiddenItems(p),opts.usePadding&&(itms.total<opts.items.visible+s&&(t=$cfs.children().eq(opts.items.visible-1)).css(opts.d.marginRight,t.data("_cfs_origCssMargin")+opts.padding[opts.d[1]]),e.css(opts.d.marginRight,e.data("_cfs_origCssMargin")))},F=sc_mapCallbackArguments(r,d,c,s,"next",x,_),A=function(){$cfs.css("zIndex",$cfs.data("_cfs_origCssZindex")),sc_afterScroll($cfs,g,e),crsl.isScrolling=!1,clbk.onAfter=sc_fireCallbacks($tt0,e,"onAfter",F,clbk),queu=sc_fireQueue($cfs,queu,conf),crsl.isPaused||$cfs.trigger(cf_e("play",conf))};switch(crsl.isScrolling=!0,tmrs=sc_clearTimers(tmrs),clbk.onBefore=sc_fireCallbacks($tt0,e,"onBefore",F,clbk),e.fx){case"none":$cfs.css(v),y(),z(),N(),O(),M(),A();break;case"fade":scrl.anims.push([$cfs,{opacity:0},function(){y(),z(),N(),O(),M(),(scrl=sc_setScroll(x,e.easing,conf)).anims.push([$cfs,{opacity:1},A]),sc_startScroll(scrl,conf)}]);break;case"crossfade":$cfs.css({opacity:0}),scrl.anims.push([g,{opacity:0}]),scrl.anims.push([$cfs,{opacity:1},A]),I(),z(),N(),O(),M();break;case"cover":$cfs.css(opts.d.left,$wrp[opts.d.width]()),scrl.anims.push([$cfs,C,A]),I(),z(),N(),M();break;case"cover-fade":$cfs.css(opts.d.left,$wrp[opts.d.width]()),scrl.anims.push([g,{opacity:0}]),scrl.anims.push([$cfs,C,A]),I(),z(),N(),M();break;case"uncover":scrl.anims.push([g,h,A]),I(),z(),N(),O(),M();break;case"uncover-fade":$cfs.css({opacity:0}),scrl.anims.push([$cfs,{opacity:1}]),scrl.anims.push([g,h,A]),I(),z(),N(),O(),M();break;default:scrl.anims.push([$cfs,v,function(){O(),M(),A()}]),I(),j(),k()}return sc_startScroll(scrl,conf),cf_setCookie(opts.cookie,$cfs,conf),$cfs.trigger(cf_e("updatePageStatus",conf),[!1,_]),!0}),$cfs.bind(cf_e("slideTo",conf),function(t,e,s,i,o,n,r){t.stopPropagation();t=cf_sortParams([e,s,i,o,n,r],["string/number/object","number","boolean","object","string","function"]);return o=t[3],n=t[4],r=t[5],0!=(e=gn_getItemIndex(t[0],t[1],t[2],itms,$cfs))&&(is_object(o)||(o=!1),"prev"==(n="prev"!=n&&"next"!=n?opts.circular?e<=itms.total/2?"next":"prev":0==itms.first||itms.first>e?"next":"prev":n)&&(e=itms.total-e),$cfs.trigger(cf_e(n,conf),[o,e,r]),!0)}),$cfs.bind(cf_e("prevPage",conf),function(t,e,s){t.stopPropagation();t=$cfs.triggerHandler(cf_e("currentPage",conf));return $cfs.triggerHandler(cf_e("slideToPage",conf),[t-1,e,"prev",s])}),$cfs.bind(cf_e("nextPage",conf),function(t,e,s){t.stopPropagation();t=$cfs.triggerHandler(cf_e("currentPage",conf));return $cfs.triggerHandler(cf_e("slideToPage",conf),[t+1,e,"next",s])}),$cfs.bind(cf_e("slideToPage",conf),function(t,e,s,i,o){t.stopPropagation(),is_number(e)||(e=$cfs.triggerHandler(cf_e("currentPage",conf)));var t=opts.pagination.items||opts.items.visible,n=Math.ceil(itms.total/t)-1;return n<(e=e<0?n:e)&&(e=0),$cfs.triggerHandler(cf_e("slideTo",conf),[e*t,0,!0,s,i,o])}),$cfs.bind(cf_e("jumpToStart",conf),function(t,e){if(t.stopPropagation(),e=e?gn_getItemIndex(e,0,!0,itms,$cfs):0,0!=(e+=itms.first)){if(0<itms.total)for(;e>itms.total;)e-=itms.total;$cfs.prepend($cfs.children().slice(e,itms.total))}return!0}),$cfs.bind(cf_e("synchronise",conf),function(t,e){if(t.stopPropagation(),e)e=cf_getSynchArr(e);else{if(!opts.synchronise)return debug(conf,"No carousel to synchronise.");e=opts.synchronise}for(var s=$cfs.triggerHandler(cf_e("currentPosition",conf)),i=!0,o=0,n=e.length;o<n;o++)e[o][0].triggerHandler(cf_e("slideTo",conf),[s,e[o][3],!0])||(i=!1);return i}),$cfs.bind(cf_e("queue",conf),function(t,e,s){return t.stopPropagation(),is_function(e)?e.call($tt0,queu):is_array(e)?queu=e:is_undefined(e)||queu.push([e,s]),queu}),$cfs.bind(cf_e("insertItem",conf),function(t,e,s,i,o){t.stopPropagation();t=cf_sortParams([e,s,i,o],["string/object","string/number/object","boolean","number"]);if(e=t[0],s=t[1],i=t[2],o=t[3],(is_object(e)&&!is_jquery(e)||is_string(e))&&(e=$(e)),!is_jquery(e)||0==e.length)return debug(conf,"Not a valid object.");is_undefined(s)&&(s="end"),sz_storeMargin(e,opts),sz_storeOrigCss(e);var t=s,n="before",o=("end"==s?i?(0==itms.first?(s=itms.total-1,n="after"):(s=itms.first,itms.first+=e.length),s<0&&(s=0)):(s=itms.total-1,n="after"):s=gn_getItemIndex(s,o,i,itms,$cfs),$cfs.children().eq(s));return o.length?o[n](e):(debug(conf,"Correct insert-position not found! Appending item to the end."),$cfs.append(e)),"end"==t||i||s<itms.first&&(itms.first+=e.length),itms.total=$cfs.children().length,itms.first>=itms.total&&(itms.first-=itms.total),$cfs.trigger(cf_e("updateSizes",conf)),$cfs.trigger(cf_e("linkAnchors",conf)),!0}),$cfs.bind(cf_e("removeItem",conf),function(t,e,i,o){t.stopPropagation();var n,t=cf_sortParams([e,i,o],["string/number/object","boolean","number"]);e=t[0],i=t[1],o=t[2];return e instanceof $&&1<e.length?(n=$(),e.each(function(t,e){var s=$cfs.trigger(cf_e("removeItem",conf),[$(this),i,o]);s&&(n=n.add(s))})):(is_undefined(e)||"end"==e?n=$cfs.children().last():(e=gn_getItemIndex(e,o,i,itms,$cfs),(n=$cfs.children().eq(e)).length&&e<itms.first&&(itms.first-=n.length)),n&&n.length&&(n.detach(),itms.total=$cfs.children().length,$cfs.trigger(cf_e("updateSizes",conf)))),n}),$cfs.bind(cf_e("onBefore",conf)+" "+cf_e("onAfter",conf),function(t,e){t.stopPropagation();t=t.type.slice(conf.events.prefix.length);return is_array(e)&&(clbk[t]=e),is_function(e)&&clbk[t].push(e),clbk[t]}),$cfs.bind(cf_e("currentPosition",conf),function(t,e){return t.stopPropagation(),t=0==itms.first?0:itms.total-itms.first,is_function(e)&&e.call($tt0,t),t}),$cfs.bind(cf_e("currentPage",conf),function(t,e){t.stopPropagation();var t=opts.pagination.items||opts.items.visible,s=Math.ceil(itms.total/t-1),t=0==itms.first||itms.first<itms.total%t?0:itms.first!=t||opts.circular?Math.round((itms.total-itms.first)/t):s;return s<(t=t<0?0:t)&&(t=s),is_function(e)&&e.call($tt0,t),t}),$cfs.bind(cf_e("currentVisible",conf),function(t,e){t.stopPropagation();t=gi_getCurrentItems($cfs.children(),opts);return is_function(e)&&e.call($tt0,t),t}),$cfs.bind(cf_e("slice",conf),function(t,e,s,i){if(t.stopPropagation(),0==itms.total)return!1;t=cf_sortParams([e,s,i],["number","number","function"]);if(e=is_number(t[0])?t[0]:0,s=is_number(t[1])?t[1]:itms.total,i=t[2],e+=itms.first,s+=itms.first,0<items.total){for(;e>itms.total;)e-=itms.total;for(;s>itms.total;)s-=itms.total;for(;e<0;)e+=itms.total;for(;s<0;)s+=itms.total}t=$cfs.children(),t=e<s?t.slice(e,s):$(t.slice(e,itms.total).get().concat(t.slice(0,s).get()));return is_function(i)&&i.call($tt0,t),t}),$cfs.bind(cf_e("isPaused",conf)+" "+cf_e("isStopped",conf)+" "+cf_e("isScrolling",conf),function(t,e){t.stopPropagation();t=t.type.slice(conf.events.prefix.length),t=crsl[t];return is_function(e)&&e.call($tt0,t),t}),$cfs.bind(cf_e("configuration",conf),function(e,a,b,c){e.stopPropagation();var reInit=!1,sz;if(is_function(a))a.call($tt0,opts);else if(is_object(a))opts_orig=$.extend(!0,{},opts_orig,a),!1!==b?reInit=!0:opts=$.extend(!0,{},opts,a);else if(!is_undefined(a))if(is_function(b)){var val=eval("opts."+a);is_undefined(val)&&(val=""),b.call($tt0,val)}else{if(is_undefined(b))return eval("opts."+a);"boolean"!=typeof c&&(c=!0),eval("opts_orig."+a+" = b"),!1!==c?reInit=!0:eval("opts."+a+" = b")}return reInit&&(sz_resetMargin($cfs.children(),opts),FN._init(opts_orig),FN._bind_buttons(),sz=sz_setSizes($cfs,opts),$cfs.trigger(cf_e("updatePageStatus",conf),[!0,sz])),opts}),$cfs.bind(cf_e("linkAnchors",conf),function(t,e,s){return t.stopPropagation(),is_undefined(e)?e=$("body"):is_string(e)&&(e=$(e)),is_jquery(e)&&0!=e.length?(is_string(s)||(s="a.caroufredsel"),e.find(s).each(function(){var e=this.hash||"";0<e.length&&-1!=$cfs.children().index($(e))&&$(this).unbind("click").click(function(t){t.preventDefault(),$cfs.trigger(cf_e("slideTo",conf),e)})}),!0):debug(conf,"Not a valid object.")}),$cfs.bind(cf_e("updatePageStatus",conf),function(t,e,s){var i,o,n;if(t.stopPropagation(),opts.pagination.container)return i=opts.pagination.items||opts.items.visible,o=Math.ceil(itms.total/i),e&&(opts.pagination.anchorBuilder&&(opts.pagination.container.children().remove(),opts.pagination.container.each(function(){for(var t=0;t<o;t++){var e=$cfs.children().eq(gn_getItemIndex(t*i,0,!0,itms,$cfs));$(this).append(opts.pagination.anchorBuilder.call(e[0],t+1))}})),opts.pagination.container.each(function(){$(this).children().unbind(opts.pagination.event).each(function(e){$(this).bind(opts.pagination.event,function(t){t.preventDefault(),$cfs.trigger(cf_e("slideTo",conf),[e*i,-opts.pagination.deviation,!0,opts.pagination])})})})),n=$cfs.triggerHandler(cf_e("currentPage",conf))+opts.pagination.deviation,(n=o<=n?0:n)<0&&(n=o-1),opts.pagination.container.each(function(){$(this).children().removeClass(cf_c("selected",conf)).eq(n).addClass(cf_c("selected",conf))}),!0}),$cfs.bind(cf_e("updateSizes",conf),function(t){var e=opts.items.visible,s=$cfs.children(),i=ms_getParentSize($wrp,opts,"width"),i=(itms.total=s.length,crsl.primarySizePercentage?(opts.maxDimension=i,opts[opts.d.width]=ms_getPercentage(i,crsl.primarySizePercentage)):opts.maxDimension=ms_getMaxDimension(opts,i),opts.responsive?(opts.items.width=opts.items.sizesConf.width,opts.items.height=opts.items.sizesConf.height,e=(opts=in_getResponsiveValues(opts,s,i)).items.visible,sz_setResponsiveSizes(opts,s)):opts.items.visibleConf.variable?e=gn_getVisibleItemsNext(s,opts,0):"*"!=opts.items.filter&&(e=gn_getVisibleItemsNextFilter(s,opts,0)),!opts.circular&&0!=itms.first&&e>itms.first&&(i=opts.items.visibleConf.variable?gn_getVisibleItemsPrev(s,opts,itms.first)-itms.first:"*"!=opts.items.filter?gn_getVisibleItemsPrevFilter(s,opts,itms.first)-itms.first:opts.items.visible-itms.first,debug(conf,"Preventing non-circular: sliding "+i+" items backward."),$cfs.trigger(cf_e("prev",conf),i)),opts.items.visible=cf_getItemsAdjust(e,opts,opts.items.visibleConf.adjust,$tt0),opts.items.visibleConf.old=opts.items.visible,opts=in_getAlignPadding(opts,s),sz_setSizes($cfs,opts));return $cfs.trigger(cf_e("updatePageStatus",conf),[!0,i]),nv_showNavi(opts,itms.total,conf),nv_enableNavi(opts,itms.first,conf),i}),$cfs.bind(cf_e("destroy",conf),function(t,e){return t.stopPropagation(),tmrs=sc_clearTimers(tmrs),$cfs.data("_cfs_isCarousel",!1),$cfs.trigger(cf_e("finish",conf)),e&&$cfs.trigger(cf_e("jumpToStart",conf)),sz_restoreOrigCss($cfs.children()),sz_restoreOrigCss($cfs),FN._unbind_events(),FN._unbind_buttons(),"parent"==conf.wrapper?sz_restoreOrigCss($wrp):$wrp.replaceWith($cfs),!0}),$cfs.bind(cf_e("debug",conf),function(t){return debug(conf,"Carousel width: "+opts.width),debug(conf,"Carousel height: "+opts.height),debug(conf,"Item widths: "+opts.items.width),debug(conf,"Item heights: "+opts.items.height),debug(conf,"Number of items visible: "+opts.items.visible),opts.auto.play&&debug(conf,"Number of items scrolled automatically: "+opts.auto.items),opts.prev.button&&debug(conf,"Number of items scrolled backward: "+opts.prev.items),opts.next.button&&debug(conf,"Number of items scrolled forward: "+opts.next.items),conf.debug}),$cfs.bind("_cfs_triggerEvent",function(t,e,s){return t.stopPropagation(),$cfs.triggerHandler(cf_e(e,conf),s)})},FN._unbind_events=function(){$cfs.unbind(cf_e("",conf)),$cfs.unbind(cf_e("",conf,!1)),$cfs.unbind("_cfs_triggerEvent")},FN._bind_buttons=function(){var t,s,i,o,n,r,c;if(FN._unbind_buttons(),nv_showNavi(opts,itms.total,conf),nv_enableNavi(opts,itms.first,conf),opts.auto.pauseOnHover&&(t=bt_pauseOnHoverConfig(opts.auto.pauseOnHover),$wrp.bind(cf_e("mouseenter",conf,!1),function(){$cfs.trigger(cf_e("pause",conf),t)}).bind(cf_e("mouseleave",conf,!1),function(){$cfs.trigger(cf_e("resume",conf))})),opts.auto.button&&opts.auto.button.bind(cf_e(opts.auto.event,conf,!1),function(t){t.preventDefault();var t=!1,e=null;crsl.isPaused?t="play":opts.auto.pauseOnEvent&&(t="pause",e=bt_pauseOnHoverConfig(opts.auto.pauseOnEvent)),t&&$cfs.trigger(cf_e(t,conf),e)}),opts.prev.button&&(opts.prev.button.bind(cf_e(opts.prev.event,conf,!1),function(t){t.preventDefault(),$cfs.trigger(cf_e("prev",conf))}),opts.prev.pauseOnHover)&&(t=bt_pauseOnHoverConfig(opts.prev.pauseOnHover),opts.prev.button.bind(cf_e("mouseenter",conf,!1),function(){$cfs.trigger(cf_e("pause",conf),t)}).bind(cf_e("mouseleave",conf,!1),function(){$cfs.trigger(cf_e("resume",conf))})),opts.next.button&&(opts.next.button.bind(cf_e(opts.next.event,conf,!1),function(t){t.preventDefault(),$cfs.trigger(cf_e("next",conf))}),opts.next.pauseOnHover)&&(t=bt_pauseOnHoverConfig(opts.next.pauseOnHover),opts.next.button.bind(cf_e("mouseenter",conf,!1),function(){$cfs.trigger(cf_e("pause",conf),t)}).bind(cf_e("mouseleave",conf,!1),function(){$cfs.trigger(cf_e("resume",conf))})),opts.pagination.container&&opts.pagination.pauseOnHover&&(t=bt_pauseOnHoverConfig(opts.pagination.pauseOnHover),opts.pagination.container.bind(cf_e("mouseenter",conf,!1),function(){$cfs.trigger(cf_e("pause",conf),t)}).bind(cf_e("mouseleave",conf,!1),function(){$cfs.trigger(cf_e("resume",conf))})),(opts.prev.key||opts.next.key)&&$(document).bind(cf_e("keyup",conf,!1,!0,!0),function(t){var e=t.keyCode;e==opts.next.key&&(t.preventDefault(),$cfs.trigger(cf_e("next",conf))),e==opts.prev.key&&(t.preventDefault(),$cfs.trigger(cf_e("prev",conf)))}),opts.pagination.keys&&$(document).bind(cf_e("keyup",conf,!1,!0,!0),function(t){var e=t.keyCode;49<=e&&e<58&&(e=(e-49)*opts.items.visible)<=itms.total&&(t.preventDefault(),$cfs.trigger(cf_e("slideTo",conf),[e,0,!0,opts.pagination]))}),$.fn.swipe){var e="ontouchstart"in window;if(e&&opts.swipe.onTouch||!e&&opts.swipe.onMouse){var a=$.extend(!0,{},opts.prev,opts.swipe),f=$.extend(!0,{},opts.next,opts.swipe),l=function(){$cfs.trigger(cf_e("prev",conf),[a])},u=function(){$cfs.trigger(cf_e("next",conf),[f])};switch(opts.direction){case"up":case"down":opts.swipe.options.swipeUp=u,opts.swipe.options.swipeDown=l;break;default:opts.swipe.options.swipeLeft=u,opts.swipe.options.swipeRight=l}crsl.swipe&&$cfs.swipe("destroy"),$wrp.swipe(opts.swipe.options),$wrp.css("cursor","move"),crsl.swipe=!0}}$.fn.mousewheel&&opts.mousewheel&&(s=$.extend(!0,{},opts.prev,opts.mousewheel),i=$.extend(!0,{},opts.next,opts.mousewheel),crsl.mousewheel&&$wrp.unbind(cf_e("mousewheel",conf,!1)),$wrp.bind(cf_e("mousewheel",conf,!1),function(t,e){t.preventDefault(),0<e?$cfs.trigger(cf_e("prev",conf),[s]):$cfs.trigger(cf_e("next",conf),[i])}),crsl.mousewheel=!0),opts.auto.play&&$cfs.trigger(cf_e("play",conf),opts.auto.delay),crsl.upDateOnWindowResize&&(o=function(t){$cfs.trigger(cf_e("finish",conf)),opts.auto.pauseOnResize&&!crsl.isPaused&&$cfs.trigger(cf_e("play",conf)),sz_resetMargin($cfs.children(),opts),$cfs.trigger(cf_e("updateSizes",conf))},n=$(window),e=null,e=$.debounce&&"debounce"==conf.onWindowResize?$.debounce(200,o):$.throttle&&"throttle"==conf.onWindowResize?$.throttle(300,o):(c=r=0,function(){var t=n.width(),e=n.height();t==r&&e==c||(o(),r=t,c=e)}),n.bind(cf_e("resize",conf,!1,!0,!0),e))},FN._unbind_buttons=function(){cf_e("",conf);var t=cf_e("",conf,!1);ns3=cf_e("",conf,!1,!0,!0),$(document).unbind(ns3),$(window).unbind(ns3),$wrp.unbind(t),opts.auto.button&&opts.auto.button.unbind(t),opts.prev.button&&opts.prev.button.unbind(t),opts.next.button&&opts.next.button.unbind(t),opts.pagination.container&&(opts.pagination.container.unbind(t),opts.pagination.anchorBuilder)&&opts.pagination.container.children().remove(),crsl.swipe&&($cfs.swipe("destroy"),$wrp.css("cursor","default"),crsl.swipe=!1),crsl.mousewheel&&(crsl.mousewheel=!1),nv_showNavi(opts,"hide",conf),nv_enableNavi(opts,"removeClass",conf)},is_boolean(configs)&&(configs={debug:configs}),{direction:"next",isPaused:!0,isScrolling:!1,isStopped:!1,mousewheel:!1,swipe:!1}),itms={total:$cfs.children().length,first:0},tmrs={auto:null,progress:null,startTime:getTime(),timePassed:0},scrl={isStopped:!1,duration:0,startTime:0,easing:"",anims:[]},clbk={onBefore:[],onAfter:[]},queu=[],conf=$.extend(!0,{},$.fn.carouFredSel.configs,configs),opts={},opts_orig=$.extend(!0,{},options),$wrp=("parent"==conf.wrapper?$cfs:$cfs.wrap("<"+conf.wrapper.element+' class="'+conf.wrapper.classname+'" />')).parent(),start_arr,start_arr;if(conf.selector=$cfs.selector,conf.serialNumber=$.fn.carouFredSel.serialNumber++,conf.transition=conf.transition&&$.fn.transition?"transition":"animate",FN._init(opts_orig,!0,starting_position),FN._build(),FN._bind_events(),FN._bind_buttons(),is_array(opts.items.start)?start_arr=opts.items.start:(start_arr=[],0!=opts.items.start&&start_arr.push(opts.items.start)),opts.cookie&&start_arr.unshift(parseInt(cf_getCookie(opts.cookie),10)),0<start_arr.length)for(var a=0,l=start_arr.length;a<l;a++){var s=start_arr[a];if(0!=s){if(!0===s){if(s=window.location.hash,s.length<1)continue}else"random"===s&&(s=Math.floor(Math.random()*itms.total));if($cfs.triggerHandler(cf_e("slideTo",conf),[s,0,!0,{fx:"none"}]))break}}var siz=sz_setSizes($cfs,opts),itm=gi_getCurrentItems($cfs.children(),opts);return opts.onCreate&&opts.onCreate.call($tt0,{width:siz.width,height:siz.height,items:itm}),$cfs.trigger(cf_e("updatePageStatus",conf),[!0,siz]),$cfs.trigger(cf_e("linkAnchors",conf)),conf.debug&&$cfs.trigger(cf_e("debug",conf)),$cfs},$.fn.carouFredSel.serialNumber=1,$.fn.carouFredSel.defaults={synchronise:!1,infinite:!0,circular:!0,responsive:!0,direction:"left",items:{start:0},scroll:{easing:"swing",duration:500,pauseOnHover:!1,event:"click",queue:!1}},$.fn.carouFredSel.configs={padding:"5px",debug:!1,transition:!1,onWindowResize:"throttle",events:{prefix:"",namespace:"cfs"},wrapper:{element:"div",classname:"caroufredsel_wrapper"},classnames:{}},$.fn.carouFredSel.pageAnchorBuilder=function(t){return'<a href="#"><span>'+t+"</span></a>"},$.fn.carouFredSel.progressbarUpdater=function(t){$(this).css("width",t+"%")},$.fn.carouFredSel.cookie={get:function(t){t+="=";for(var e=document.cookie.split(";"),s=0,i=e.length;s<i;s++){for(var o=e[s];" "==o.charAt(0);)o=o.slice(1);if(0==o.indexOf(t))return o.slice(t.length)}return 0},set:function(t,e,s){var i,o="";s&&((i=new Date).setTime(i.getTime()+24*s*60*60*1e3),o="; expires="+i.toGMTString()),document.cookie=t+"="+e+o+"; path=/"},remove:function(t){$.fn.carouFredSel.cookie.set(t,"",-1)}},$.extend($.easing,{quadratic:function(t){var e=t*t;return t*(-e*t+4*e-6*t+4)},cubic:function(t){return t*(4*t*t-9*t+6)},elastic:function(t){var e=t*t;return t*(33*e*e-106*e*t+126*e-67*t+15)}}))}(jQuery);
|
assets/js/yith_magnifier.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
!function(g,i){"use strict";var u,p;g.fn.imagesLoaded===i&&(u=jQuery,p="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///ywAAAAAAQABAAACAUwAOw==",u.fn.imagesLoaded=function(e){var o=this,n=u.isFunction(u.Deferred)?u.Deferred():0,a=u.isFunction(n.notify),s=o.find("img").add(o.filter("img")),r=[],h=[],m=[];function l(){var t=u(h),i=u(m);n&&(m.length?n.reject(s,t,i):n.resolve(s)),u.isFunction(e)&&e.call(o,s,t,i)}function c(t){d(t.target,"error"===t.type)}function d(t,i){t.src!==p&&-1===u.inArray(t,r)&&(r.push(t),(i?m:h).push(t),u.data(t,"imagesLoaded",{isBroken:i,src:t.src}),a&&n.notifyWith(u(t),[i,s,u(h),u(m)]),s.length===r.length&&(setTimeout(l),s.unbind(".imagesLoaded",c)))}return u.isPlainObject(e)&&u.each(e,function(t,i){"callback"===t?e=i:n&&n[t](i)}),s.length?s.bind("load.imagesLoaded error.imagesLoaded",c).each(function(t,i){var e=i.src,o=u.data(i,"imagesLoaded");o&&o.src===e?d(i,o.isBroken):i.complete&&void 0!==i.naturalWidth?d(i,0===i.naturalWidth||0===i.naturalHeight):(i.readyState||i.complete)&&(i.src=p,i.src=e)}):l(),n?n.promise(o):o}),g.yith_magnifier=function(t,i){this.t=i,this.element=g(i),this._init(t)},g.yith_magnifier.defaults={zoomWidth:"auto",zoomHeight:"auto",position:"right",tint:!1,tintOpacity:.5,lensOpacity:.5,softFocus:!1,smoothMove:3,showTitle:!0,titleOpacity:.5,adjustX:0,adjustY:0,phoneBehavior:"inside",loadingLabel:"Loading...",enableSlider:!0,slider:"carouFredSel",sliderOptions:{},from_gallery:"no",onLoad:function(){return!1},onEnter:function(){return!1},onLeave:function(){return!1},onMove:function(){return!1},onClick:function(){return!1},elements:{zoom:g(".yith_magnifier_zoom"),zoomImage:g(".yith_magnifier_zoom img").first(),gallery:g(".yith_magnifier_gallery li a")}},g.yith_magnifier.prototype={_init:function(t){var e=this;g(document).trigger("yith_magnifier_before_init"),g.each(g.yith_magnifier.defaults.elements,function(t,i){g.yith_magnifier.defaults.elements[t]=g(i,e)}),e.options=g.extend(!0,{},g.yith_magnifier.defaults,t),e.isPhone=e._isPhone(),e._loading(),e.options.onLoad(),e._initZoom(),e._initGallery(),g(document).trigger("yith_magnifier_after_init")},_initGallery:function(){var i=this,t=i.options.elements,e=t.gallery,o=t.zoom,n=t.zoomImage;0<e.length?(e.on("click",function(t){t.preventDefault(),yith_wc_zoom_magnifier_storage_object.stop_immediate_propagation&&t.stopImmediatePropagation(),"free"==g("#yith_wczm_traffic_light").val()&&(g(".yith_magnifier_gallery .yith_magnifier_thumbnail.active-thumbnail").removeClass("active-thumbnail"),g(".yith_magnifier_gallery .yith_magnifier_thumbnail.active-thumbnail").addClass("inactive-thumbnail"),g(this).removeClass("inactive-thumbnail"),g(this).addClass("active-thumbnail"),g(this).parent().removeClass("inactive-thumbnail"),g(this).parent().addClass("active-thumbnail"),i.options.from_gallery="yes",t=g(this),i.destroy(),o.attr("href",this.href),n.attr("src",t.data("small")).attr("srcset",t.data("small")).attr("src-orig",t.data("small")).attr("title","").attr("title",t.attr("title")),g.data(i.t,"yith_magnifier",new g.yith_magnifier(i.options,i.element)))}),i.options.enableSlider&&e.closest("ul").trigger("yith_magnifier_slider_destroy")):e.on("click",function(t){return t.preventDefault(),!1})},_loading:function(){var t;this.options.disableRightClick&&g(document).on("contextmenu",function(t){return!1}),this.mouseTrap===i&&(t=this.options.elements.zoom.width(),this.options.loadingLabel&&g('<div class="yith_magnifier_loading">'+this.options.loadingLabel+"</div>").css({width:t,"text-align":"center",opacity:.5}).appendTo(this.options.elements.zoom.parent()))},_initZoom:function(){if("free"==g("#yith_wczm_traffic_light").val()){g("#yith_wczm_traffic_light").val("blocked");var i=this,t=(i.zoom=i.options.elements.zoom,i.zoomImage=i.options.elements.zoomImage,"yith_magnifier_zoom_wrap");if(i.options.zoom_wrap_additional_css){if(g("."+t).length)return;t+=" "+i.options.zoom_wrap_additional_css}i.zoom.wrap('<div class="'+t+'"></div>'),i.IMG_zoomImage=new Image;t=g(".woocommerce-variation-add-to-cart .variation_id").val();g.isNumeric(t)&&0!=t&&"no"==i.options.from_gallery?g.ajax({data:{action:"yith_wc_zoom_magnifier_get_main_image",product_id:t,context:"frontend"},url:yith_wc_zoom_magnifier_storage_object.ajax_url,type:"post",error:function(t){console.log("ERROR - Yith_WC_Zoom_Magnifier"),console.log(t),g("#yith_wczm_traffic_light").val("free")},success:function(t){i.zoom.attr("href",t.url),i.IMG_zoomImage.src=t.url,i.IMG_smallImage=new Image,i.IMG_smallImage.src=i.zoomImage.attr("src"),t.gallery&&(g(".yith_magnifier_gallery").length?g(".yith_magnifier_gallery").closest(".thumbnails").replaceWith(t.gallery):g(".images").append(t.gallery),i.options.elements.gallery=g(".yith_magnifier_gallery li a")),g.browser&&g.browser.msie&&8==g.browser.version?g(i.IMG_zoomImage).load(function(){i._initGallery(),i._initTrap()}):g([i.IMG_zoomImage,i.IMG_smallImage]).imagesLoaded(function(){i._initGallery(),i._initTrap()}),g(document).on("click","a.yith_expand",function(t){t.preventDefault(),g().prettyPhoto({social_tools:!1,theme:"pp_woocommerce",horizontal_padding:20,opacity:.8,deeplinking:!1,callback:function(){g(".yith_expand").css("display","inline")}}),g.prettyPhoto.open(i.zoom[0].href,"",""),g(".yith_expand").css("display","none"),g(".pp_woocommerce .ppt").css({height:0,marginBottom:0})}),g(document).trigger("yith_magnifier_after_init_zoom"),g("#yith_wczm_traffic_light").val("free")}}):(i.IMG_zoomImage.src=i.zoom.attr("href"),i.IMG_smallImage=new Image,i.IMG_smallImage.src=i.zoomImage.attr("src"),g.browser&&g.browser.msie&&8==g.browser.version?g(i.IMG_zoomImage).load(function(){i._initTrap()}):g([i.IMG_zoomImage,i.IMG_smallImage]).imagesLoaded(function(){i._initTrap()}),g(document).on("click","a.yith_expand",function(t){t.preventDefault(),g().prettyPhoto({social_tools:!1,theme:"pp_woocommerce",horizontal_padding:20,opacity:.8,deeplinking:!1,callback:function(){g(".yith_expand").css("display","inline")}}),g.prettyPhoto.open(i.zoom[0].href,"",""),g(".yith_expand").css("display","none"),g(".pp_woocommerce .ppt").css({height:0,marginBottom:0})}),g(document).trigger("yith_magnifier_after_init_zoom"),g("#yith_wczm_traffic_light").val("free"))}},_initTrap:function(){var h,m=this,l=m.IMG_zoomImage,c=(m.IMG_smallImage,m.mx=0,m.my=0,m.controlTimer=0,m.lens=null,m.tint=null,m.softFocus=null,m.zoomDiv=null,m.cw=0,m.ch=0,m.zw=0,m.destU=0,m.destV=0,m.currU=0,m.currV=0,m.mouseTrap=null,m.options.elements.zoom),d=m.options.elements.zoomImage;g(".yith_magnifier_loading").remove(),this.element.find(".yith_magnifier_mousetrap")&&this.element.find(".yith_magnifier_mousetrap").remove(),this.mouseTrap=g('<div class="yith_magnifier_mousetrap pp_woocommerce" />').css({width:yith_wc_zoom_magnifier_storage_object.mouse_trap_width,height:yith_wc_zoom_magnifier_storage_object.mouse_trap_height,top:0,left:0}).appendTo(c.parent()),"undefined"!=typeof ywzm_data&&(g('<a href="#" class="yith_expand" style="display: inline;"></a>').appendTo(this.mouseTrap),g(".expand-button-hidden").clone().appendTo(g(".yith_expand")),g(".yith_magnifier_mousetrap .yith_expand .expand-button-hidden").show()),m.isPhone&&"disable"==m.options.phoneBehavior||(h="ontouchstart"in document.documentElement,this.mouseTrap.on("touchmove mousemove",this,function(t){m.options.onMove(),m.mx=("undefined"!=typeof t.originalEvent.touches?t.originalEvent.touches[0]:t).pageX,m.my=("undefined"!=typeof t.originalEvent.touches?t.originalEvent.touches[0]:t).pageY}).on("touchend mouseleave",this,function(t){return clearTimeout(m.controlTimer),m.lens&&m.lens.fadeOut(299),m.tint&&m.tint.fadeOut(299),m.softFocus&&m.softFocus.fadeOut(299),m.zoomDiv.fadeOut(300,function(){m._onLeave()}),!1}).on("touchstart click",this,function(t){m.options.onClick()}).on("touchstart mouseenter",this,function(t){if("free"==g("#yith_wczm_traffic_light").val()){m.options.onEnter(),h&&t.preventDefault(),m.mx=("undefined"!=typeof t.originalEvent.touches?t.originalEvent.touches[0]:t).pageX,m.my=("undefined"!=typeof t.originalEvent.touches?t.originalEvent.touches[0]:t).pageY,m.zw=t.data,m.zoomDiv&&(m.zoomDiv.stop(!0,!1),m.zoomDiv.remove());var i=m.options.adjustX,e=m.options.adjustY,o=d.outerWidth(),n=d.outerHeight(),a=m.options.zoomWidth,s=m.options.zoomHeight,r=("auto"==m.options.zoomWidth&&(a=o),"auto"==m.options.zoomHeight&&(s=n),c.parent());switch(m.options.position){case"top":e-=s;break;case"right":i+=o;break;case"bottom":e+=n;break;case"left":i-=a;break;case"inside":a=o,s=n;break;default:(r=g("#"+m.options.position)).length?(a=r.innerWidth(),s=r.innerHeight()):(r=c,i+=o,e+=n)}m.isPhone&&"inside"==m.options.phoneBehavior&&(a=o,s=n,e=i=0),m.zoomDiv=g('<div class="yith_magnifier_zoom_magnifier" />').css({left:i,top:e,width:a,height:s,"background-repeat":"no-repeat",backgroundImage:"url("+l.src+")"}).appendTo(r),d.attr("title")&&m.options.showTitle&&g('<div class="yith_magnifier_title">'+d.attr("title")+"</div>").appendTo(m.zoomDiv),!m.isPhone||"disable"!=m.options.phoneBehavior?m.zoomDiv.fadeIn(500):m.lens.fadeOut(299),m.lens&&(m.lens.remove(),m.lens=null),l.width<=1?m.cw=d.outerWidth()/l.naturalWidth*m.zoomDiv.width():m.cw=d.outerWidth()/l.width*m.zoomDiv.width(),l.height<=1?m.ch=d.outerHeight()/l.naturalHeight*m.zoomDiv.height():m.ch=d.outerHeight()/l.height*m.zoomDiv.height(),m.lens=g('<div class="yith_magnifier_lens" />').css({width:m.cw,height:m.ch}).appendTo(c);t=!1;m.options.tint&&(m.tint=g("<div />").css({display:"none",position:"absolute",left:0,top:0,width:d.outerWidth(),height:d.outerHeight(),backgroundColor:m.options.tint,opacity:m.options.tintOpacity}).appendTo(c),m.lens.append(g("<img />",{src:d.attr("src")})),t=!0,m.tint.fadeIn(500)),m.options.softFocus&&(m.softFocus=g("<div />").css({position:"absolute",display:"none",top:"1px",left:"1px",width:d.outerWidth(),height:d.outerHeight(),opacity:.5}).appendTo(c),m.softFocus.append(g("<img />",{src:d.attr("src")})),0==m.lens.find("img").length&&m.lens.append(g("<img />",{src:d.attr("src")})),t=!0,m.softFocus.fadeIn(500)),t||m.lens.css("opacity",m.options.lensOpacity),"inside"!==m.options.position&&m.lens.fadeIn(500),m.zw._controlLoop()}}))},_controlLoop:function(){var t,i,e=this;this.lens&&(t=this.mx-this.zoomImage.offset().left-.5*this.cw>>0,i=this.my-this.zoomImage.offset().top-.5*this.ch>>0,t<0?t=0:t>this.zoomImage.outerWidth()-this.cw&&(t=this.zoomImage.outerWidth()-this.cw),i<0?i=0:i>this.zoomImage.outerHeight()-this.ch&&(i=this.zoomImage.outerHeight()-this.ch),this.lens.css({left:t-2,top:i-1}),this.lens.find("img").css({width:this.zoomImage.outerWidth(),height:this.zoomImage.outerHeight(),marginLeft:-t+"px ",marginTop:-i+"px"}),this.IMG_zoomImage.width<=1?this.destU=t/this.zoomImage.outerWidth()*this.IMG_zoomImage.naturalWidth>>0:this.destU=t/this.zoomImage.outerWidth()*this.IMG_zoomImage.width>>0,this.IMG_zoomImage.height<=1?this.destV=i/this.zoomImage.outerHeight()*this.IMG_zoomImage.naturalHeight>>0:this.destV=i/this.zoomImage.outerHeight()*this.IMG_zoomImage.height>>0,this.currU+=(this.destU-this.currU)/this.options.smoothMove,this.currV+=(this.destV-this.currV)/this.options.smoothMove,this.zoomDiv.css("background-position",-(this.currU>>0)+"px "+-(this.currV>>0)+"px")),this.controlTimer=setTimeout(function(){e._controlLoop()},30)},_onLeave:function(){this.options.onLeave(),this.zoomDiv&&(this.zoomDiv.remove(),this.zoomDiv=null),this._removeElements()},_removeElements:function(){this.lens&&(this.lens.remove(),this.lens=null),this.tint&&(this.tint.remove(),this.tint=null),this.softFocus&&(this.softFocus.remove(),this.softFocus=null),0<this.element.find(".yith_magnifier_loading").length&&this.element.find(".yith_magnifier_loading").remove()},_isPhone:function(){var t=navigator.userAgent.toLowerCase();return t.match(/iphone/i)||t.match(/ipod/i)||t.match(/android/i)},destroy:function(){this.zoom&&this.zoom.unwrap(),this.mouseTrap&&(this.mouseTrap.unbind(),this.mouseTrap.remove(),this.mouseTrap=null),this.zoomDiv&&(this.zoomDiv.remove(),this.zoomDiv=null),this.options.disableRightClick&&g(document).unbind(),this._removeElements(),this.options.elements.gallery.unbind(),this.element.removeData("yith_magnifier")}},g.fn.yith_magnifier=function(i){var e;return"string"==typeof i?(e=Array.prototype.slice.call(arguments,1),this.each(function(){var t=g.data(this,"yith_magnifier");t?g.isFunction(t[i])&&"_"!==i.charAt(0)?t[i].apply(t,e):g.error("no such method '"+i+"' for yith_magnifier instance"):g.error("cannot call methods on yith_magnifier prior to initialization; attempted to call method '"+i+"'")})):this.each(function(){g.data(this,"yith_magnifier")?g.error("yith_magnifier already istantiated."):g.data(this,"yith_magnifier",new g.yith_magnifier(i,this))}),this}}((window,jQuery));
|
1 |
+
!function(g,i){"use strict";var u,p;g.fn.imagesLoaded===i&&(u=jQuery,p="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///ywAAAAAAQABAAACAUwAOw==",u.fn.imagesLoaded=function(e){var o=this,n=u.isFunction(u.Deferred)?u.Deferred():0,a=u.isFunction(n.notify),s=o.find("img").add(o.filter("img")),r=[],h=[],m=[];function l(){var t=u(h),i=u(m);n&&(m.length?n.reject(s,t,i):n.resolve(s)),u.isFunction(e)&&e.call(o,s,t,i)}function c(t){d(t.target,"error"===t.type)}function d(t,i){t.src!==p&&-1===u.inArray(t,r)&&(r.push(t),(i?m:h).push(t),u.data(t,"imagesLoaded",{isBroken:i,src:t.src}),a&&n.notifyWith(u(t),[i,s,u(h),u(m)]),s.length===r.length)&&(setTimeout(l),s.unbind(".imagesLoaded",c))}return u.isPlainObject(e)&&u.each(e,function(t,i){"callback"===t?e=i:n&&n[t](i)}),s.length?s.bind("load.imagesLoaded error.imagesLoaded",c).each(function(t,i){var e=i.src,o=u.data(i,"imagesLoaded");o&&o.src===e?d(i,o.isBroken):i.complete&&void 0!==i.naturalWidth?d(i,0===i.naturalWidth||0===i.naturalHeight):(i.readyState||i.complete)&&(i.src=p,i.src=e)}):l(),n?n.promise(o):o}),g.yith_magnifier=function(t,i){this.t=i,this.element=g(i),this._init(t)},g.yith_magnifier.defaults={zoomWidth:"auto",zoomHeight:"auto",position:"right",tint:!1,tintOpacity:.5,lensOpacity:.5,softFocus:!1,smoothMove:3,showTitle:!0,titleOpacity:.5,adjustX:0,adjustY:0,phoneBehavior:"inside",loadingLabel:"Loading...",enableSlider:!0,slider:"carouFredSel",sliderOptions:{},from_gallery:"no",onLoad:function(){return!1},onEnter:function(){return!1},onLeave:function(){return!1},onMove:function(){return!1},onClick:function(){return!1},elements:{zoom:g(".yith_magnifier_zoom"),zoomImage:g(".yith_magnifier_zoom img").first(),gallery:g(".yith_magnifier_gallery li a")}},g.yith_magnifier.prototype={_init:function(t){var e=this;g(document).trigger("yith_magnifier_before_init"),g.each(g.yith_magnifier.defaults.elements,function(t,i){g.yith_magnifier.defaults.elements[t]=g(i,e)}),e.options=g.extend(!0,{},g.yith_magnifier.defaults,t),e.isPhone=e._isPhone(),e._loading(),e.options.onLoad(),e._initZoom(),e._initGallery(),g(document).trigger("yith_magnifier_after_init")},_initGallery:function(){var i=this,t=i.options.elements,e=t.gallery,o=t.zoom,n=t.zoomImage;0<e.length?(e.on("click",function(t){t.preventDefault(),yith_wc_zoom_magnifier_storage_object.stop_immediate_propagation&&t.stopImmediatePropagation(),"free"==g("#yith_wczm_traffic_light").val()&&(g(".yith_magnifier_gallery .yith_magnifier_thumbnail.active-thumbnail").removeClass("active-thumbnail"),g(".yith_magnifier_gallery .yith_magnifier_thumbnail.active-thumbnail").addClass("inactive-thumbnail"),g(this).removeClass("inactive-thumbnail"),g(this).addClass("active-thumbnail"),g(this).parent().removeClass("inactive-thumbnail"),g(this).parent().addClass("active-thumbnail"),i.options.from_gallery="yes",t=g(this),i.destroy(),o.attr("href",this.href),n.attr("src",t.data("small")).attr("srcset",t.data("small")).attr("src-orig",t.data("small")).attr("title","").attr("title",t.attr("title")),g.data(i.t,"yith_magnifier",new g.yith_magnifier(i.options,i.element)))}),i.options.enableSlider&&e.closest("ul").trigger("yith_magnifier_slider_destroy")):e.on("click",function(t){return t.preventDefault(),!1})},_loading:function(){var t;this.options.disableRightClick&&g(document).on("contextmenu",function(t){return!1}),this.mouseTrap===i&&(t=this.options.elements.zoom.width(),this.options.loadingLabel)&&g('<div class="yith_magnifier_loading">'+this.options.loadingLabel+"</div>").css({width:t,"text-align":"center",opacity:.5}).appendTo(this.options.elements.zoom.parent())},_initZoom:function(){if("free"==g("#yith_wczm_traffic_light").val()){g("#yith_wczm_traffic_light").val("blocked");var i=this,t=(i.zoom=i.options.elements.zoom,i.zoomImage=i.options.elements.zoomImage,"yith_magnifier_zoom_wrap");if(i.options.zoom_wrap_additional_css){if(g("."+t).length)return;t+=" "+i.options.zoom_wrap_additional_css}i.zoom.wrap('<div class="'+t+'"></div>'),i.IMG_zoomImage=new Image;t=g(".woocommerce-variation-add-to-cart .variation_id").val();g.isNumeric(t)&&0!=t&&"no"==i.options.from_gallery?g.ajax({data:{action:"yith_wc_zoom_magnifier_get_main_image",product_id:t,context:"frontend"},url:yith_wc_zoom_magnifier_storage_object.ajax_url,type:"post",error:function(t){console.log("ERROR - Yith_WC_Zoom_Magnifier"),console.log(t),g("#yith_wczm_traffic_light").val("free")},success:function(t){i.zoom.attr("href",t.url),i.IMG_zoomImage.src=t.url,i.IMG_smallImage=new Image,i.IMG_smallImage.src=i.zoomImage.attr("src"),t.gallery&&(g(".yith_magnifier_gallery").length?g(".yith_magnifier_gallery").closest(".thumbnails").replaceWith(t.gallery):g(".images").append(t.gallery),i.options.elements.gallery=g(".yith_magnifier_gallery li a")),g.browser&&g.browser.msie&&8==g.browser.version?g(i.IMG_zoomImage).load(function(){i._initGallery(),i._initTrap()}):g([i.IMG_zoomImage,i.IMG_smallImage]).imagesLoaded(function(){i._initGallery(),i._initTrap()}),g(document).on("click","a.yith_expand",function(t){t.preventDefault(),g().prettyPhoto({social_tools:!1,theme:"pp_woocommerce",horizontal_padding:20,opacity:.8,deeplinking:!1,callback:function(){g(".yith_expand").css("display","inline")}}),g.prettyPhoto.open(i.zoom[0].href,"",""),g(".yith_expand").css("display","none"),g(".pp_woocommerce .ppt").css({height:0,marginBottom:0})}),g(document).trigger("yith_magnifier_after_init_zoom"),g("#yith_wczm_traffic_light").val("free")}}):(i.IMG_zoomImage.src=i.zoom.attr("href"),i.IMG_smallImage=new Image,i.IMG_smallImage.src=i.zoomImage.attr("src"),g.browser&&g.browser.msie&&8==g.browser.version?g(i.IMG_zoomImage).load(function(){i._initTrap()}):g([i.IMG_zoomImage,i.IMG_smallImage]).imagesLoaded(function(){i._initTrap()}),g(document).on("click","a.yith_expand",function(t){t.preventDefault(),g().prettyPhoto({social_tools:!1,theme:"pp_woocommerce",horizontal_padding:20,opacity:.8,deeplinking:!1,callback:function(){g(".yith_expand").css("display","inline")}}),g.prettyPhoto.open(i.zoom[0].href,"",""),g(".yith_expand").css("display","none"),g(".pp_woocommerce .ppt").css({height:0,marginBottom:0})}),g(document).trigger("yith_magnifier_after_init_zoom"),g("#yith_wczm_traffic_light").val("free"))}},_initTrap:function(){var h,m=this,l=m.IMG_zoomImage,c=(m.IMG_smallImage,m.mx=0,m.my=0,m.controlTimer=0,m.lens=null,m.tint=null,m.softFocus=null,m.zoomDiv=null,m.cw=0,m.ch=0,m.zw=0,m.destU=0,m.destV=0,m.currU=0,m.currV=0,m.mouseTrap=null,m.options.elements.zoom),d=m.options.elements.zoomImage;g(".yith_magnifier_loading").remove(),this.element.find(".yith_magnifier_mousetrap")&&this.element.find(".yith_magnifier_mousetrap").remove(),this.mouseTrap=g('<div class="yith_magnifier_mousetrap pp_woocommerce" />').css({width:yith_wc_zoom_magnifier_storage_object.mouse_trap_width,height:yith_wc_zoom_magnifier_storage_object.mouse_trap_height,top:0,left:0}).appendTo(c.parent()),"undefined"!=typeof ywzm_data&&(g('<a href="#" class="yith_expand" style="display: inline;"></a>').appendTo(this.mouseTrap),g(".expand-button-hidden").clone().appendTo(g(".yith_expand")),g(".yith_magnifier_mousetrap .yith_expand .expand-button-hidden").show()),m.isPhone&&"disable"==m.options.phoneBehavior||(h="ontouchstart"in document.documentElement,this.mouseTrap.on("touchmove mousemove",this,function(t){m.options.onMove(),m.mx=("undefined"!=typeof t.originalEvent.touches?t.originalEvent.touches[0]:t).pageX,m.my=("undefined"!=typeof t.originalEvent.touches?t.originalEvent.touches[0]:t).pageY}).on("touchend mouseleave",this,function(t){return clearTimeout(m.controlTimer),m.lens&&m.lens.fadeOut(299),m.tint&&m.tint.fadeOut(299),m.softFocus&&m.softFocus.fadeOut(299),m.zoomDiv.fadeOut(300,function(){m._onLeave()}),!1}).on("touchstart click",this,function(t){m.options.onClick()}).on("touchstart mouseenter",this,function(t){if("free"==g("#yith_wczm_traffic_light").val()){m.options.onEnter(),h&&t.preventDefault(),m.mx=("undefined"!=typeof t.originalEvent.touches?t.originalEvent.touches[0]:t).pageX,m.my=("undefined"!=typeof t.originalEvent.touches?t.originalEvent.touches[0]:t).pageY,m.zw=t.data,m.zoomDiv&&(m.zoomDiv.stop(!0,!1),m.zoomDiv.remove());var i=m.options.adjustX,e=m.options.adjustY,o=d.outerWidth(),n=d.outerHeight(),a=m.options.zoomWidth,s=m.options.zoomHeight,r=("auto"==m.options.zoomWidth&&(a=o),"auto"==m.options.zoomHeight&&(s=n),c.parent());switch(m.options.position){case"top":e-=s;break;case"right":i+=o;break;case"bottom":e+=n;break;case"left":i-=a;break;case"inside":a=o,s=n;break;default:(r=g("#"+m.options.position)).length?(a=r.innerWidth(),s=r.innerHeight()):(r=c,i+=o,e+=n)}m.isPhone&&"inside"==m.options.phoneBehavior&&(a=o,s=n,e=i=0),m.zoomDiv=g('<div class="yith_magnifier_zoom_magnifier" />').css({left:i,top:e,width:a,height:s,"background-repeat":"no-repeat",backgroundImage:"url("+l.src+")"}).appendTo(r),d.attr("title")&&m.options.showTitle&&g('<div class="yith_magnifier_title">'+d.attr("title")+"</div>").appendTo(m.zoomDiv),!m.isPhone||"disable"!=m.options.phoneBehavior?m.zoomDiv.fadeIn(500):m.lens.fadeOut(299),m.lens&&(m.lens.remove(),m.lens=null),l.width<=1?m.cw=d.outerWidth()/l.naturalWidth*m.zoomDiv.width():m.cw=d.outerWidth()/l.width*m.zoomDiv.width(),l.height<=1?m.ch=d.outerHeight()/l.naturalHeight*m.zoomDiv.height():m.ch=d.outerHeight()/l.height*m.zoomDiv.height(),m.lens=g('<div class="yith_magnifier_lens" />').css({width:m.cw,height:m.ch}).appendTo(c);t=!1;m.options.tint&&(m.tint=g("<div />").css({display:"none",position:"absolute",left:0,top:0,width:d.outerWidth(),height:d.outerHeight(),backgroundColor:m.options.tint,opacity:m.options.tintOpacity}).appendTo(c),m.lens.append(g("<img />",{src:d.attr("src")})),t=!0,m.tint.fadeIn(500)),m.options.softFocus&&(m.softFocus=g("<div />").css({position:"absolute",display:"none",top:"1px",left:"1px",width:d.outerWidth(),height:d.outerHeight(),opacity:.5}).appendTo(c),m.softFocus.append(g("<img />",{src:d.attr("src")})),0==m.lens.find("img").length&&m.lens.append(g("<img />",{src:d.attr("src")})),t=!0,m.softFocus.fadeIn(500)),t||m.lens.css("opacity",m.options.lensOpacity),"inside"!==m.options.position&&m.lens.fadeIn(500),m.zw._controlLoop()}}))},_controlLoop:function(){var t,i,e=this;this.lens&&(t=this.mx-this.zoomImage.offset().left-.5*this.cw>>0,i=this.my-this.zoomImage.offset().top-.5*this.ch>>0,t<0?t=0:t>this.zoomImage.outerWidth()-this.cw&&(t=this.zoomImage.outerWidth()-this.cw),i<0?i=0:i>this.zoomImage.outerHeight()-this.ch&&(i=this.zoomImage.outerHeight()-this.ch),this.lens.css({left:t-2,top:i-1}),this.lens.find("img").css({width:this.zoomImage.outerWidth(),height:this.zoomImage.outerHeight(),marginLeft:-t+"px ",marginTop:-i+"px"}),this.IMG_zoomImage.width<=1?this.destU=t/this.zoomImage.outerWidth()*this.IMG_zoomImage.naturalWidth>>0:this.destU=t/this.zoomImage.outerWidth()*this.IMG_zoomImage.width>>0,this.IMG_zoomImage.height<=1?this.destV=i/this.zoomImage.outerHeight()*this.IMG_zoomImage.naturalHeight>>0:this.destV=i/this.zoomImage.outerHeight()*this.IMG_zoomImage.height>>0,this.currU+=(this.destU-this.currU)/this.options.smoothMove,this.currV+=(this.destV-this.currV)/this.options.smoothMove,this.zoomDiv.css("background-position",-(this.currU>>0)+"px "+-(this.currV>>0)+"px")),this.controlTimer=setTimeout(function(){e._controlLoop()},30)},_onLeave:function(){this.options.onLeave(),this.zoomDiv&&(this.zoomDiv.remove(),this.zoomDiv=null),this._removeElements()},_removeElements:function(){this.lens&&(this.lens.remove(),this.lens=null),this.tint&&(this.tint.remove(),this.tint=null),this.softFocus&&(this.softFocus.remove(),this.softFocus=null),0<this.element.find(".yith_magnifier_loading").length&&this.element.find(".yith_magnifier_loading").remove()},_isPhone:function(){var t=navigator.userAgent.toLowerCase();return t.match(/iphone/i)||t.match(/ipod/i)||t.match(/android/i)},destroy:function(){this.zoom&&this.zoom.unwrap(),this.mouseTrap&&(this.mouseTrap.unbind(),this.mouseTrap.remove(),this.mouseTrap=null),this.zoomDiv&&(this.zoomDiv.remove(),this.zoomDiv=null),this.options.disableRightClick&&g(document).unbind(),this._removeElements(),this.options.elements.gallery.unbind(),this.element.removeData("yith_magnifier")}},g.fn.yith_magnifier=function(i){var e;return"string"==typeof i?(e=Array.prototype.slice.call(arguments,1),this.each(function(){var t=g.data(this,"yith_magnifier");t?g.isFunction(t[i])&&"_"!==i.charAt(0)?t[i].apply(t,e):g.error("no such method '"+i+"' for yith_magnifier instance"):g.error("cannot call methods on yith_magnifier prior to initialization; attempted to call method '"+i+"'")})):this.each(function(){g.data(this,"yith_magnifier")?g.error("yith_magnifier already istantiated."):g.data(this,"yith_magnifier",new g.yith_magnifier(i,this))}),this}}((window,jQuery));
|
init.php
CHANGED
@@ -3,16 +3,16 @@
|
|
3 |
* Plugin Name: YITH WooCommerce Product Gallery & Image Zoom
|
4 |
* Plugin URI: https://yithemes.com/themes/plugins/yith-woocommerce-zoom-magnifier/
|
5 |
* Description: <code><strong>YITH WooCommerce Product Gallery & Image Zoom</strong></code> allows you to add a zoom effect to product images and a thumbnail slider for the product image gallery. <a href="https://yithemes.com/" target="_blank">Get more plugins for your e-commerce shop on <strong>YITH</strong></a>.
|
6 |
-
* Version: 2.
|
7 |
* Author: YITH
|
8 |
* Author URI: https://yithemes.com/
|
9 |
* Text Domain: yith-woocommerce-zoom-magnifier
|
10 |
* Domain Path: /languages/
|
11 |
-
* WC requires at least: 6.
|
12 |
-
* WC tested up to: 7.
|
13 |
**/
|
14 |
|
15 |
-
/* Copyright 2013-
|
16 |
|
17 |
This program is free software; you can redistribute it and/or modify
|
18 |
it under the terms of the GNU General Public License, version 2, as
|
@@ -78,7 +78,7 @@ register_activation_hook ( __FILE__, 'yith_plugin_registration_hook' );
|
|
78 |
|
79 |
defined ( 'YITH_YWZM_FREE_INIT' ) || define ( 'YITH_YWZM_FREE_INIT', plugin_basename ( __FILE__ ) );
|
80 |
defined ( 'YITH_YWZM_SLUG' ) || define ( 'YITH_YWZM_SLUG', 'yith-woocommerce-zoom-magnifier' );
|
81 |
-
defined ( 'YITH_YWZM_VERSION' ) || define ( 'YITH_YWZM_VERSION', '2.
|
82 |
defined ( 'YITH_YWZM_SCRIPT_VERSION' ) || define ( 'YITH_YWZM_SCRIPT_VERSION', '2.1.1' );
|
83 |
|
84 |
defined ( 'YITH_YWZM_FILE' ) || define ( 'YITH_YWZM_FILE', __FILE__ );
|
3 |
* Plugin Name: YITH WooCommerce Product Gallery & Image Zoom
|
4 |
* Plugin URI: https://yithemes.com/themes/plugins/yith-woocommerce-zoom-magnifier/
|
5 |
* Description: <code><strong>YITH WooCommerce Product Gallery & Image Zoom</strong></code> allows you to add a zoom effect to product images and a thumbnail slider for the product image gallery. <a href="https://yithemes.com/" target="_blank">Get more plugins for your e-commerce shop on <strong>YITH</strong></a>.
|
6 |
+
* Version: 2.15.0
|
7 |
* Author: YITH
|
8 |
* Author URI: https://yithemes.com/
|
9 |
* Text Domain: yith-woocommerce-zoom-magnifier
|
10 |
* Domain Path: /languages/
|
11 |
+
* WC requires at least: 6.9
|
12 |
+
* WC tested up to: 7.1
|
13 |
**/
|
14 |
|
15 |
+
/* Copyright 2013-2022 Your Inspiration Themes (email : plugins@yithemes.com)
|
16 |
|
17 |
This program is free software; you can redistribute it and/or modify
|
18 |
it under the terms of the GNU General Public License, version 2, as
|
78 |
|
79 |
defined ( 'YITH_YWZM_FREE_INIT' ) || define ( 'YITH_YWZM_FREE_INIT', plugin_basename ( __FILE__ ) );
|
80 |
defined ( 'YITH_YWZM_SLUG' ) || define ( 'YITH_YWZM_SLUG', 'yith-woocommerce-zoom-magnifier' );
|
81 |
+
defined ( 'YITH_YWZM_VERSION' ) || define ( 'YITH_YWZM_VERSION', '2.15.0' );
|
82 |
defined ( 'YITH_YWZM_SCRIPT_VERSION' ) || define ( 'YITH_YWZM_SCRIPT_VERSION', '2.1.1' );
|
83 |
|
84 |
defined ( 'YITH_YWZM_FILE' ) || define ( 'YITH_YWZM_FILE', __FILE__ );
|
languages/yith-woocommerce-zoom-magnifier.pot
CHANGED
@@ -2,9 +2,9 @@
|
|
2 |
# This file is distributed under the same license as the YITH WooCommerce Product Gallery & Image Zoom package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: YITH WooCommerce Product Gallery & Image Zoom 2.
|
6 |
"Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
|
7 |
-
"POT-Creation-Date: 2022-
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=utf-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
2 |
# This file is distributed under the same license as the YITH WooCommerce Product Gallery & Image Zoom package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: YITH WooCommerce Product Gallery & Image Zoom 2.15.0\n"
|
6 |
"Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
|
7 |
+
"POT-Creation-Date: 2022-11-15 13:43:59+00:00\n"
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=utf-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
plugin-fw/assets/js/yith-system-info.js
CHANGED
@@ -35,6 +35,7 @@ jQuery(
|
|
35 |
var data = {
|
36 |
action: 'yith_create_log_file',
|
37 |
file : $( this ).data( 'file' ),
|
|
|
38 |
};
|
39 |
|
40 |
container.addClass( 'progress' );
|
@@ -74,7 +75,7 @@ jQuery(
|
|
74 |
if ( ! $this.find( '.copied-tooltip' ).length ) {
|
75 |
$this
|
76 |
.append(
|
77 |
-
$( '<span/>', {class: 'copied-tooltip'} )
|
78 |
.html( $this.data( "tooltip" ) ).fadeIn( 300 )
|
79 |
);
|
80 |
setTimeout(
|
35 |
var data = {
|
36 |
action: 'yith_create_log_file',
|
37 |
file : $( this ).data( 'file' ),
|
38 |
+
nonce : $( this ).data( 'nonce' ),
|
39 |
};
|
40 |
|
41 |
container.addClass( 'progress' );
|
75 |
if ( ! $this.find( '.copied-tooltip' ).length ) {
|
76 |
$this
|
77 |
.append(
|
78 |
+
$( '<span/>', { class: 'copied-tooltip' } )
|
79 |
.html( $this.data( "tooltip" ) ).fadeIn( 300 )
|
80 |
);
|
81 |
setTimeout(
|
plugin-fw/assets/js/yith-system-info.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
jQuery(function(e){e(document).on("click",".notice-dismiss",function(){if("yith-system-alert"===e(this).parent().attr("id")){document.cookie="hide_yith_system_alert=yes;path=/"}}),e(document).on("click",".yith-download-log",function(){var t=e(this).parent(),o={action:"yith_create_log_file",file:e(this).data("file")};t.addClass("progress"),e.post(yith_sysinfo.ajax_url,o,function(e){if(!1!==e.file){var o=document.createElement("a"),i=e.file.split("/").pop();o.href=e.file,o.download=i,document.body.appendChild(o),o.click(),window.URL.revokeObjectURL(e.file),o.remove()}t.removeClass("progress")})}),e(document).on("click",".copy-link",function(t){t.preventDefault();var o=e(this),i=e("<textarea>");e("body").append(i),i.val("define( 'WP_DEBUG', true );\ndefine( 'WP_DEBUG_LOG', true );\ndefine( 'WP_DEBUG_DISPLAY', false );").select(),document.execCommand("Copy"),i.remove(),o.find(".copied-tooltip").length||(o.append(e("<span/>",{"class":"copied-tooltip"}).html(o.data("tooltip")).fadeIn(300)),setTimeout(function(){o.find(".copied-tooltip").fadeOut().remove()},3e3))})});
|
1 |
+
jQuery(function(e){e(document).on("click",".notice-dismiss",function(){if("yith-system-alert"===e(this).parent().attr("id")){document.cookie="hide_yith_system_alert=yes;path=/"}}),e(document).on("click",".yith-download-log",function(){var t=e(this).parent(),o={action:"yith_create_log_file",file:e(this).data("file"),nonce:e(this).data("nonce")};t.addClass("progress"),e.post(yith_sysinfo.ajax_url,o,function(e){if(!1!==e.file){var o=document.createElement("a"),i=e.file.split("/").pop();o.href=e.file,o.download=i,document.body.appendChild(o),o.click(),window.URL.revokeObjectURL(e.file),o.remove()}t.removeClass("progress")})}),e(document).on("click",".copy-link",function(t){t.preventDefault();var o=e(this),i=e("<textarea>");e("body").append(i),i.val("define( 'WP_DEBUG', true );\ndefine( 'WP_DEBUG_LOG', true );\ndefine( 'WP_DEBUG_DISPLAY', false );").select(),document.execCommand("Copy"),i.remove(),o.find(".copied-tooltip").length||(o.append(e("<span/>",{"class":"copied-tooltip"}).html(o.data("tooltip")).fadeIn(300)),setTimeout(function(){o.find(".copied-tooltip").fadeOut().remove()},3e3))})});
|
plugin-fw/dist/gutenberg/index.asset.php
CHANGED
@@ -1 +1 @@
|
|
1 |
-
<?php return array('dependencies' => array('lodash', 'react', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-polyfill', 'wp-url'), 'version' => '
|
1 |
+
<?php return array('dependencies' => array('lodash', 'react', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-polyfill', 'wp-url'), 'version' => '38c85839447dbb33cdd5faa58bc6e790');
|
plugin-fw/dist/gutenberg/index.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
!function(){var e,t={784:function(e,t,n){"use strict";var o=window.wp.element,r=window.React,l=n(568),a=n.n(l),s=window.wp.blocks,i=window.wp.url;function c(e){if(e.status>=200&&e.status<300)return e;throw e}function u(e){return e.json?e.json():e.text()}const p=(0,o.createElement)("svg",{viewBox:"0 0 22 22",xmlns:"http://www.w3.org/2000/svg",width:"22",height:"22",role:"img","aria-hidden":"true",focusable:"false"},(0,o.createElement)("path",{width:"22",height:"22",d:"M 18.24 7.628 C 17.291 8.284 16.076 8.971 14.587 9.688 C 15.344 7.186 15.765 4.851 15.849 2.684 C 15.912 0.939 15.133 0.045 13.514 0.003 C 11.558 -0.06 10.275 1.033 9.665 3.284 C 10.007 3.137 10.359 3.063 10.723 3.063 C 11.021 3.063 11.267 3.184 11.459 3.426 C 11.651 3.668 11.736 3.947 11.715 4.262 C 11.695 5.082 11.276 5.961 10.46 6.896 C 9.644 7.833 8.918 8.3 8.282 8.3 C 7.837 8.3 7.625 7.922 7.646 7.165 C 7.667 6.765 7.804 5.955 8.056 4.735 C 8.287 3.579 8.403 2.801 8.403 2.401 C 8.403 1.707 8.224 1.144 7.867 0.713 C 7.509 0.282 6.994 0.098 6.321 0.161 C 5.858 0.203 5.175 0.624 4.27 1.422 C 3.596 2.035 2.923 2.644 2.25 3.254 L 2.976 4.106 C 3.564 3.664 3.922 3.443 4.048 3.443 C 4.448 3.443 4.637 3.717 4.617 4.263 C 4.617 4.306 4.427 4.968 4.049 6.251 C 3.671 7.534 3.471 8.491 3.449 9.122 C 3.407 9.985 3.565 10.647 3.924 11.109 C 4.367 11.677 5.106 11.919 6.142 11.835 C 7.366 11.751 8.591 11.298 9.816 10.479 C 10.323 10.142 10.808 9.753 11.273 9.311 C 11.105 10.153 10.905 10.868 10.673 11.457 C 8.402 12.487 6.762 13.37 5.752 14.107 C 4.321 15.137 3.554 16.241 3.449 17.419 C 3.259 19.459 4.29 20.479 6.541 20.479 C 8.055 20.479 9.517 19.554 10.926 17.703 C 12.125 16.126 13.166 14.022 14.049 11.394 C 15.578 10.635 16.87 9.892 17.928 9.164 C 17.894 9.409 18.319 7.308 18.24 7.628 Z M 7.393 16.095 C 7.056 16.095 6.898 15.947 6.919 15.653 C 6.961 15.106 7.908 14.38 9.759 13.476 C 8.791 15.221 8.002 16.095 7.393 16.095 Z"}));var h=window.lodash,d=n.n(h);const f=(e,t,n)=>{let o=!0;if(t&&t.id&&"value"in t){let r=t.value;["toggle","checkbox"].includes(n)&&(r=!0===r||"yes"===r||1===r),r=d().isArray(r)?r:[r],o=void 0!==e[t.id]&&r.includes(e[t.id])}return o},m=(e,t)=>{const{controlType:n}=e;let o=!0;if(e.deps)if(d().isArray(e.deps))for(let r in e.deps){const l=e.deps[r];if(o=f(t,l,n),!o)break}else o=f(t,e.deps,n);return o},g=(e,t)=>{let n="",o=!1;if(void 0!==e.callback&&(jQuery&&e.callback in jQuery.fn?o=jQuery.fn[e.callback]:e.callback in window&&(o=window[e.callback])),"function"==typeof o)n=o(t,e);else{const o=e.attributes?Object.entries(e.attributes).map((e=>{let[n,o]=e;const r=m(o,t),l=t[n];if(r&&void 0!==l)return n+"="+(o.remove_quotes?l:`"${l}"`)})):[],r=o.length?" "+o.join(" "):"";n=`[${e.shortcode_name}${r}]`}return n};var _=window.wp.components,y=window.wp.blockEditor,b=window.wp.hooks;class v extends r.Component{constructor(){super(...arguments),this.state={html:"",shortcode:"",shortcodeHash:"",ajaxUpdated:!1,ajaxSuccess:!1,ajaxResponse:!1,loading:!1,firstLoading:!0},this.ajaxTimeout=!1}componentDidMount(){this.updateShortcode()}componentDidUpdate(e,t,n){const{shortcode:o,shortcodeHash:r,ajaxSuccess:l,ajaxResponse:a,ajaxUpdated:s}=this.state;(0,h.isEqual)(e,this.props)||this.updateShortcode(),this.props.blockArgs.do_shortcode&&s&&(l&&(0,b.doAction)("yith_plugin_fw_gutenberg_success_do_shortcode",o,r,a),(0,b.doAction)("yith_plugin_fw_gutenberg_after_do_shortcode",o,r,a),this.setState({ajaxUpdated:!1}))}updateShortcode(){const{attributes:e,blockArgs:t}=this.props;this.setState({loading:!0,ajaxSuccess:!1,ajaxResponse:!1});const n=g(t,e),o=a()(n);t.do_shortcode?(this.ajaxTimeout&&clearTimeout(this.ajaxTimeout),(0,b.doAction)("yith_plugin_fw_gutenberg_before_do_shortcode",n,o),this.ajaxTimeout=setTimeout((()=>{(function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:yithGutenberg.ajaxurl;return t=(0,i.addQueryArgs)(t,e),fetch(t).then(c).then(u)})({action:"yith_plugin_fw_gutenberg_do_shortcode",shortcode:n}).then((e=>{this.setState({loading:!1,firstLoading:!1,html:e.html,shortcode:n,shortcodeHash:o,ajaxSuccess:!0,ajaxUpdated:!0,ajaxResponse:e})})).catch((e=>{console.log({error:e})}))}),300)):this.setState({loading:!1,firstLoading:!1,html:n,shortcode:n,shortcodeHash:o})}render(){const{html:e,loading:t,firstLoading:n,shortcode:r,shortcodeHash:l}=this.state,{blockArgs:a}=this.props,{do_shortcode:s,title:i,empty_message:c}=a,u="block-editor-yith-plugin-fw-shortcode-block";let h=[u],d=s?"html":"shortcode",f=e,m="";n&&t?d="first-loading":s&&!e&&(d="empty-html",f=r,!t&&c&&(m=c));const g=["first-loading","empty-html","shortcode"].includes(d),y=!["first-loading","empty-html"].includes(d),b=!!m;return h.push(`${u}--${d}`),h.push(b?`${u}--has-message`:`${u}--no-message`),h.push(`yith_block_${l}`),(0,o.createElement)(o.Fragment,null,(0,o.createElement)("div",{className:h.join(" ")},t?(0,o.createElement)("div",{className:`${u}__spinner-wrap`},(0,o.createElement)(_.Spinner,null)):"",g&&(0,o.createElement)("div",{className:`${u}__title components-placeholder__label`},p,i),b&&(0,o.createElement)(o.RawHTML,{className:`${u}__message`},m),y&&(0,o.createElement)(o.RawHTML,{className:`${u}__content`},f)))}}var w=window.wp.compose;function C(e){let{className:t,label:n,onChange:r,value:l,help:a,disableAlpha:s}=e;const i=`inspector-yith-color-picker-control-${(0,w.useInstanceId)(C)}`;return(0,o.createElement)(_.BaseControl,{id:i,label:n,className:`block-editor-yith-color-control ${t}`,help:a},(0,o.createElement)(_.ColorPicker,{color:l,disableAlpha:s,onChangeComplete:r}))}function k(e){let{label:t,colorValue:n}=e;return(0,o.createElement)(o.Fragment,null,t,!!n&&(0,o.createElement)(_.ColorIndicator,{colorValue:n}))}function E(e){let{className:t,label:n,onChange:r,value:l,help:a,palette:s,clearable:i}=e;s=s||(0,y.useSetting)("color.palette");const c=`inspector-yith-color-palette-control-${(0,w.useInstanceId)(E)}`;return(0,o.createElement)(_.BaseControl,{id:c,className:`block-editor-yith-color-palette-control ${t}`,help:a},(0,o.createElement)("fieldset",null,(0,o.createElement)("legend",null,(0,o.createElement)("div",{className:"block-editor-yith-color-palette-control__color-indicator"},(0,o.createElement)(_.BaseControl.VisualLabel,null,(0,o.createElement)(k,{colorValue:l,label:n})))),(0,o.createElement)(_.ColorPalette,{value:l,onChange:r,colors:s,clearable:i})))}var x=n(184),T=n.n(x),j=n(697),N=n.n(j),S=window.wp.i18n;const O={noItems:(0,S.__)("No items found.","yith-plugin-fw"),noResults:(0,S.__)('No results for "%s"',"yith-plugin-fw"),search:(0,S.__)("Search for items...","yith-plugin-fw")};function A(e){const t=(0,w.useInstanceId)(B);return e||`inspector-yith-multiple-select-control-${t}`}function R(e){var t;let{id:n,value:l,options:a,onChange:s,messages:i}=e;const[c,u]=(0,r.useState)(""),[p,h]=(0,r.useState)(!1),[d,f]=(0,r.useState)(248),m={...O,...i},g=(0,r.useRef)(),y=(0,r.useRef)(),b=(0,r.useRef)(),v=(0,r.useRef)(),w=(0,r.useRef)(),C=T()("yith-fw-components__multiple-select"),k=(0,r.useMemo)((()=>a.map((e=>e.value))),[a]),E=(0,r.useMemo)((()=>l.filter((e=>k.includes(e)))),[l,k]),x=(0,r.useMemo)((()=>a.filter((e=>e.label.toLowerCase().indexOf(c.toLowerCase())>=0))),[a,c]),j=(0,r.useMemo)((()=>a.filter((e=>E.includes(e.value)))),[a,E]),N=e=>{const t=[...E].filter((t=>t!==e));s(t)},R=()=>!!y.current&&y.current.focus(),B=e=>{const t=(null==g?void 0:g.current)&&g.current.contains(e.target),n=(null==v?void 0:v.current)&&v.current.contains(e.target);t||n||h(!1)};return(0,r.useEffect)((()=>(document.addEventListener("mousedown",B),()=>document.removeEventListener("mousedown",B)))),(0,r.useEffect)((()=>{(()=>{var e;if(!g.current)return;const t=null===(e=g.current.getBoundingClientRect())||void 0===e?void 0:e.width;f(t)})()}),[]),(0,o.createElement)("div",{className:C,ref:g},(0,o.createElement)("div",{className:"yith-fw-components__multiple-select__input-container",ref:b,onClick:e=>{(null==b?void 0:b.current)&&b.current===e.target&&R()}},j.map((e=>(0,o.createElement)("span",{key:e.value,className:"yith-fw-components__multiple-select__item"},(0,o.createElement)("span",{className:"yith-fw-components__multiple-select__item__label"},e.label),(0,o.createElement)("i",{className:"yith-fw-components__multiple-select__item__remove yith-icon-close-alt",onClick:()=>{N(e.value),h(!1)}})))),(0,o.createElement)("input",{className:"yith-fw-components__multiple-select__input",id:A(n),ref:y,type:"text",autoComplete:"off",placeholder:m.search,onFocus:()=>h(!0),value:c,onChange:e=>u(e.target.value)})),p&&(0,o.createElement)(_.Popover,{className:"yith-fw-components__multiple-select__popover",position:"bottom",offset:20,anchorRef:null!==(t=null==g?void 0:g.current)&&void 0!==t?t:void 0,anchorRect:(null==g?void 0:g.current)&&(null==g?void 0:g.current.getBoundingClientRect()),focusOnMount:!1,ref:v},(0,o.createElement)("div",{className:T()("yith-fw-components__multiple-select__suggestions",!x.length&&"no-results"),ref:w,style:{width:d}},a.length&&x.length?x.map((e=>{const t=E.includes(e.value);return(0,o.createElement)("div",{key:e.value,className:T()("yith-fw-components__multiple-select__suggestion",t&&"selected"),onClick:()=>{var n;t||(n=e.value,s([...E,n]),u(""),R())}},(0,o.createElement)("div",{className:"yith-fw-components__multiple-select__suggestion__label"},e.label),t&&(0,o.createElement)("i",{className:"yith-fw-components__multiple-select__suggestion__remove yith-icon yith-icon-close-alt",onClick:()=>{N(e.value),R()}}))})):(0,o.createElement)("div",{className:"yith-fw-components__multiple-select__suggestions__message"},a.length&&c?(0,S.sprintf)(m.noResults,c):m.noItems))))}function B(e){let{className:t,label:n,onChange:r,value:l,help:a,options:s,messages:i}=e;const c=`inspector-yith-multiple-select-control-${(0,w.useInstanceId)(B)}`;return(0,o.createElement)(_.BaseControl,{id:c,label:n,className:`block-editor-yith-multiple-select-control ${t}`,help:a},(0,o.createElement)(R,{id:c,value:l,options:s,onChange:r,messages:i}))}R.propTypes={id:N().string,className:N().string,value:N().array,options:N().arrayOf(N().shape({label:N().string,value:N().oneOfType([N().string,N().number])})),onChange:N().func},R.defaultProps={id:"",value:[],className:"",options:[],onChange:d()};const $=e=>{var t,n,r;let{attributeName:l,attributeArgs:a,attributes:s,onChange:i,blockName:c}=e;const{controlType:u,label:p,wrapper_class:h}=a,d=s[l],f=((e,t)=>{let n="";return e.helps&&e.helps.checked&&e.helps.unchecked?n=t?e.helps.checked:e.helps.unchecked:e.help&&(n=e.help),n})(a,d),g=m(a,s),y=T()(`${c}__${l}-field-wrapper`,h);let b=!1;if(g)switch(u){case"select":var v,w,k;b=a.multiple?(0,o.createElement)(B,{className:y,value:d,label:p,options:null!==(v=null==a?void 0:a.options)&&void 0!==v?v:[],help:f,onChange:i,messages:null!==(w=null==a?void 0:a.messages)&&void 0!==w?w:{}}):(0,o.createElement)(_.SelectControl,{className:y,value:d,label:p,options:null!==(k=null==a?void 0:a.options)&&void 0!==k?k:[],help:f,onChange:i});break;case"text":b=(0,o.createElement)(_.TextControl,{className:y,key:l,value:d,label:p,help:f,onChange:i});break;case"textarea":b=(0,o.createElement)(_.TextareaControl,{className:y,key:l,value:d,label:p,help:f,onChange:i});break;case"toggle":b=(0,o.createElement)(_.ToggleControl,{className:y,key:l,label:p,help:f,checked:d,onChange:i});break;case"checkbox":b=(0,o.createElement)(_.CheckboxControl,{className:y,key:l,label:p,help:f,checked:d,onChange:i});break;case"number":case"range":b=(0,o.createElement)(_.RangeControl,{className:y,key:l,value:d,label:p,help:f,min:null==a?void 0:a.min,max:null==a?void 0:a.max,onChange:i});break;case"color":case"colorpicker":b=(0,o.createElement)(C,{className:y,key:l,label:p,help:f,value:d,disableAlpha:null!==(t=null==a?void 0:a.disableAlpha)&&void 0!==t&&t,onChange:i});break;case"color-palette":b=(0,o.createElement)(E,{className:y,key:l,label:p,help:f,value:d,clearable:null!==(n=null==a?void 0:a.clearable)&&void 0!==n&&n,onChange:i});break;case"radio":b=(0,o.createElement)(_.RadioControl,{key:l,label:p,options:null!==(r=null==a?void 0:a.options)&&void 0!==r?r:[],selected:d,help:f,onChange:i});break;default:b=!1}return b},I=(e,t)=>function(n){let{attributes:r,className:l,setAttributes:a}=n;return(0,o.createElement)(o.Fragment,null,!!t.attributes&&(0,o.createElement)(y.InspectorControls,null,(0,o.createElement)(_.PanelBody,null,Object.entries(t.attributes).map((t=>{let[n,l]=t;const{controlType:s}=l;return(0,o.createElement)($,{key:n,attributeArgs:l,attributeName:n,attributes:r,blockName:e,onChange:e=>((e,t,n)=>{if(["colorpicker","color"].includes(n))if("rgb"in e&&"hex"in e){const{r:t,g:n,b:o,a:r}=e.rgb;e=r<1?`rgba(${t}, ${n}, ${o}, ${r})`:e.hex}else e=e.color.getAlpha()<1?e.color.toRgbString():e.color.toHexString();a({[t]:e})})(e,n,s)})})))),(0,o.createElement)(v,{attributes:r,blockArgs:t}))},L=[{key:"yith_plugin_fw_gutenberg_before_do_shortcode",delay:0},{key:"yith_plugin_fw_gutenberg_success_do_shortcode",delay:200},{key:"yith_plugin_fw_gutenberg_after_do_shortcode",delay:200}];for(const e of L)(0,b.addAction)(e.key,"yith-plugin-fw/jquery-events",(function(){for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];"jQuery"in window&&(e.delay?setTimeout((()=>{jQuery(document).trigger(e.key,Object.values(n))}),e.delay):jQuery(document).trigger(e.key,Object.values(n)))}));for(const[e,t]of Object.entries(yithGutenbergBlocks))(0,s.registerBlockType)("yith/"+e,{title:t.title,description:t.description,category:t.category,attributes:t.attributes,icon:void 0!==t.icon?t.icon:p,keywords:t.keywords,edit:I(e,t),save:e=>{let{attributes:n}=e;return g(t,n)},deprecated:[{attributes:t.attributes,save:e=>{let{attributes:n}=e;const r=g(t,n),l='<span class="yith_block_'+a()(r)+'">'+r+"</span>";return(0,o.createElement)(o.RawHTML,null,l)}}]})},487:function(e){var t={utf8:{stringToBytes:function(e){return t.bin.stringToBytes(unescape(encodeURIComponent(e)))},bytesToString:function(e){return decodeURIComponent(escape(t.bin.bytesToString(e)))}},bin:{stringToBytes:function(e){for(var t=[],n=0;n<e.length;n++)t.push(255&e.charCodeAt(n));return t},bytesToString:function(e){for(var t=[],n=0;n<e.length;n++)t.push(String.fromCharCode(e[n]));return t.join("")}}};e.exports=t},184:function(e,t){var n;!function(){"use strict";var o={}.hasOwnProperty;function r(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var l=typeof n;if("string"===l||"number"===l)e.push(n);else if(Array.isArray(n)){if(n.length){var a=r.apply(null,n);a&&e.push(a)}}else if("object"===l)if(n.toString===Object.prototype.toString)for(var s in n)o.call(n,s)&&n[s]&&e.push(s);else e.push(n.toString())}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):void 0===(n=function(){return r}.apply(t,[]))||(e.exports=n)}()},12:function(e){var t,n;t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n={rotl:function(e,t){return e<<t|e>>>32-t},rotr:function(e,t){return e<<32-t|e>>>t},endian:function(e){if(e.constructor==Number)return 16711935&n.rotl(e,8)|4278255360&n.rotl(e,24);for(var t=0;t<e.length;t++)e[t]=n.endian(e[t]);return e},randomBytes:function(e){for(var t=[];e>0;e--)t.push(Math.floor(256*Math.random()));return t},bytesToWords:function(e){for(var t=[],n=0,o=0;n<e.length;n++,o+=8)t[o>>>5]|=e[n]<<24-o%32;return t},wordsToBytes:function(e){for(var t=[],n=0;n<32*e.length;n+=8)t.push(e[n>>>5]>>>24-n%32&255);return t},bytesToHex:function(e){for(var t=[],n=0;n<e.length;n++)t.push((e[n]>>>4).toString(16)),t.push((15&e[n]).toString(16));return t.join("")},hexToBytes:function(e){for(var t=[],n=0;n<e.length;n+=2)t.push(parseInt(e.substr(n,2),16));return t},bytesToBase64:function(e){for(var n=[],o=0;o<e.length;o+=3)for(var r=e[o]<<16|e[o+1]<<8|e[o+2],l=0;l<4;l++)8*o+6*l<=8*e.length?n.push(t.charAt(r>>>6*(3-l)&63)):n.push("=");return n.join("")},base64ToBytes:function(e){e=e.replace(/[^A-Z0-9+\/]/gi,"");for(var n=[],o=0,r=0;o<e.length;r=++o%4)0!=r&&n.push((t.indexOf(e.charAt(o-1))&Math.pow(2,-2*r+8)-1)<<2*r|t.indexOf(e.charAt(o))>>>6-2*r);return n}},e.exports=n},738:function(e){function t(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}e.exports=function(e){return null!=e&&(t(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&t(e.slice(0,0))}(e)||!!e._isBuffer)}},568:function(e,t,n){var o,r,l,a,s;o=n(12),r=n(487).utf8,l=n(738),a=n(487).bin,(s=function(e,t){e.constructor==String?e=t&&"binary"===t.encoding?a.stringToBytes(e):r.stringToBytes(e):l(e)?e=Array.prototype.slice.call(e,0):Array.isArray(e)||e.constructor===Uint8Array||(e=e.toString());for(var n=o.bytesToWords(e),i=8*e.length,c=1732584193,u=-271733879,p=-1732584194,h=271733878,d=0;d<n.length;d++)n[d]=16711935&(n[d]<<8|n[d]>>>24)|4278255360&(n[d]<<24|n[d]>>>8);n[i>>>5]|=128<<i%32,n[14+(i+64>>>9<<4)]=i;var f=s._ff,m=s._gg,g=s._hh,_=s._ii;for(d=0;d<n.length;d+=16){var y=c,b=u,v=p,w=h;c=f(c,u,p,h,n[d+0],7,-680876936),h=f(h,c,u,p,n[d+1],12,-389564586),p=f(p,h,c,u,n[d+2],17,606105819),u=f(u,p,h,c,n[d+3],22,-1044525330),c=f(c,u,p,h,n[d+4],7,-176418897),h=f(h,c,u,p,n[d+5],12,1200080426),p=f(p,h,c,u,n[d+6],17,-1473231341),u=f(u,p,h,c,n[d+7],22,-45705983),c=f(c,u,p,h,n[d+8],7,1770035416),h=f(h,c,u,p,n[d+9],12,-1958414417),p=f(p,h,c,u,n[d+10],17,-42063),u=f(u,p,h,c,n[d+11],22,-1990404162),c=f(c,u,p,h,n[d+12],7,1804603682),h=f(h,c,u,p,n[d+13],12,-40341101),p=f(p,h,c,u,n[d+14],17,-1502002290),c=m(c,u=f(u,p,h,c,n[d+15],22,1236535329),p,h,n[d+1],5,-165796510),h=m(h,c,u,p,n[d+6],9,-1069501632),p=m(p,h,c,u,n[d+11],14,643717713),u=m(u,p,h,c,n[d+0],20,-373897302),c=m(c,u,p,h,n[d+5],5,-701558691),h=m(h,c,u,p,n[d+10],9,38016083),p=m(p,h,c,u,n[d+15],14,-660478335),u=m(u,p,h,c,n[d+4],20,-405537848),c=m(c,u,p,h,n[d+9],5,568446438),h=m(h,c,u,p,n[d+14],9,-1019803690),p=m(p,h,c,u,n[d+3],14,-187363961),u=m(u,p,h,c,n[d+8],20,1163531501),c=m(c,u,p,h,n[d+13],5,-1444681467),h=m(h,c,u,p,n[d+2],9,-51403784),p=m(p,h,c,u,n[d+7],14,1735328473),c=g(c,u=m(u,p,h,c,n[d+12],20,-1926607734),p,h,n[d+5],4,-378558),h=g(h,c,u,p,n[d+8],11,-2022574463),p=g(p,h,c,u,n[d+11],16,1839030562),u=g(u,p,h,c,n[d+14],23,-35309556),c=g(c,u,p,h,n[d+1],4,-1530992060),h=g(h,c,u,p,n[d+4],11,1272893353),p=g(p,h,c,u,n[d+7],16,-155497632),u=g(u,p,h,c,n[d+10],23,-1094730640),c=g(c,u,p,h,n[d+13],4,681279174),h=g(h,c,u,p,n[d+0],11,-358537222),p=g(p,h,c,u,n[d+3],16,-722521979),u=g(u,p,h,c,n[d+6],23,76029189),c=g(c,u,p,h,n[d+9],4,-640364487),h=g(h,c,u,p,n[d+12],11,-421815835),p=g(p,h,c,u,n[d+15],16,530742520),c=_(c,u=g(u,p,h,c,n[d+2],23,-995338651),p,h,n[d+0],6,-198630844),h=_(h,c,u,p,n[d+7],10,1126891415),p=_(p,h,c,u,n[d+14],15,-1416354905),u=_(u,p,h,c,n[d+5],21,-57434055),c=_(c,u,p,h,n[d+12],6,1700485571),h=_(h,c,u,p,n[d+3],10,-1894986606),p=_(p,h,c,u,n[d+10],15,-1051523),u=_(u,p,h,c,n[d+1],21,-2054922799),c=_(c,u,p,h,n[d+8],6,1873313359),h=_(h,c,u,p,n[d+15],10,-30611744),p=_(p,h,c,u,n[d+6],15,-1560198380),u=_(u,p,h,c,n[d+13],21,1309151649),c=_(c,u,p,h,n[d+4],6,-145523070),h=_(h,c,u,p,n[d+11],10,-1120210379),p=_(p,h,c,u,n[d+2],15,718787259),u=_(u,p,h,c,n[d+9],21,-343485551),c=c+y>>>0,u=u+b>>>0,p=p+v>>>0,h=h+w>>>0}return o.endian([c,u,p,h])})._ff=function(e,t,n,o,r,l,a){var s=e+(t&n|~t&o)+(r>>>0)+a;return(s<<l|s>>>32-l)+t},s._gg=function(e,t,n,o,r,l,a){var s=e+(t&o|n&~o)+(r>>>0)+a;return(s<<l|s>>>32-l)+t},s._hh=function(e,t,n,o,r,l,a){var s=e+(t^n^o)+(r>>>0)+a;return(s<<l|s>>>32-l)+t},s._ii=function(e,t,n,o,r,l,a){var s=e+(n^(t|~o))+(r>>>0)+a;return(s<<l|s>>>32-l)+t},s._blocksize=16,s._digestsize=16,e.exports=function(e,t){if(null==e)throw new Error("Illegal argument "+e);var n=o.wordsToBytes(s(e,t));return t&&t.asBytes?n:t&&t.asString?a.bytesToString(n):o.bytesToHex(n)}},703:function(e,t,n){"use strict";var o=n(414);function r(){}function l(){}l.resetWarningCache=r,e.exports=function(){function e(e,t,n,r,l,a){if(a!==o){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,bigint: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:l,resetWarningCache:r};return n.PropTypes=n,n}},697:function(e,t,n){e.exports=n(703)()},414:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}},n={};function o(e){var r=n[e];if(void 0!==r)return r.exports;var l=n[e]={exports:{}};return t[e](l,l.exports,o),l.exports}o.m=t,e=[],o.O=function(t,n,r,l){if(!n){var a=1/0;for(u=0;u<e.length;u++){n=e[u][0],r=e[u][1],l=e[u][2];for(var s=!0,i=0;i<n.length;i++)(!1&l||a>=l)&&Object.keys(o.O).every((function(e){return o.O[e](n[i])}))?n.splice(i--,1):(s=!1,l<a&&(a=l));if(s){e.splice(u--,1);var c=r();void 0!==c&&(t=c)}}return t}l=l||0;for(var u=e.length;u>0&&e[u-1][2]>l;u--)e[u]=e[u-1];e[u]=[n,r,l]},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,{a:t}),t},o.d=function(e,t){for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){var e={826:0,46:0};o.O.j=function(t){return 0===e[t]};var t=function(t,n){var r,l,a=n[0],s=n[1],i=n[2],c=0;if(a.some((function(t){return 0!==e[t]}))){for(r in s)o.o(s,r)&&(o.m[r]=s[r]);if(i)var u=i(o)}for(t&&t(n);c<a.length;c++)l=a[c],o.o(e,l)&&e[l]&&e[l][0](),e[l]=0;return o.O(u)},n=self.webpackChunkyith_plugin_framewowrk=self.webpackChunkyith_plugin_framewowrk||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))}();var r=o.O(void 0,[46],(function(){return o(784)}));r=o.O(r)}();
|
1 |
+
!function(){var e,t={784:function(e,t,n){"use strict";var o=window.wp.element,r=window.React,l=n(568),a=n.n(l),s=window.wp.blocks,i=window.wp.url;function c(e){if(e.status>=200&&e.status<300)return e;throw e}function u(e){return e.json?e.json():e.text()}const p=(0,o.createElement)("svg",{viewBox:"0 0 22 22",xmlns:"http://www.w3.org/2000/svg",width:"22",height:"22",role:"img","aria-hidden":"true",focusable:"false"},(0,o.createElement)("path",{width:"22",height:"22",d:"M 18.24 7.628 C 17.291 8.284 16.076 8.971 14.587 9.688 C 15.344 7.186 15.765 4.851 15.849 2.684 C 15.912 0.939 15.133 0.045 13.514 0.003 C 11.558 -0.06 10.275 1.033 9.665 3.284 C 10.007 3.137 10.359 3.063 10.723 3.063 C 11.021 3.063 11.267 3.184 11.459 3.426 C 11.651 3.668 11.736 3.947 11.715 4.262 C 11.695 5.082 11.276 5.961 10.46 6.896 C 9.644 7.833 8.918 8.3 8.282 8.3 C 7.837 8.3 7.625 7.922 7.646 7.165 C 7.667 6.765 7.804 5.955 8.056 4.735 C 8.287 3.579 8.403 2.801 8.403 2.401 C 8.403 1.707 8.224 1.144 7.867 0.713 C 7.509 0.282 6.994 0.098 6.321 0.161 C 5.858 0.203 5.175 0.624 4.27 1.422 C 3.596 2.035 2.923 2.644 2.25 3.254 L 2.976 4.106 C 3.564 3.664 3.922 3.443 4.048 3.443 C 4.448 3.443 4.637 3.717 4.617 4.263 C 4.617 4.306 4.427 4.968 4.049 6.251 C 3.671 7.534 3.471 8.491 3.449 9.122 C 3.407 9.985 3.565 10.647 3.924 11.109 C 4.367 11.677 5.106 11.919 6.142 11.835 C 7.366 11.751 8.591 11.298 9.816 10.479 C 10.323 10.142 10.808 9.753 11.273 9.311 C 11.105 10.153 10.905 10.868 10.673 11.457 C 8.402 12.487 6.762 13.37 5.752 14.107 C 4.321 15.137 3.554 16.241 3.449 17.419 C 3.259 19.459 4.29 20.479 6.541 20.479 C 8.055 20.479 9.517 19.554 10.926 17.703 C 12.125 16.126 13.166 14.022 14.049 11.394 C 15.578 10.635 16.87 9.892 17.928 9.164 C 17.894 9.409 18.319 7.308 18.24 7.628 Z M 7.393 16.095 C 7.056 16.095 6.898 15.947 6.919 15.653 C 6.961 15.106 7.908 14.38 9.759 13.476 C 8.791 15.221 8.002 16.095 7.393 16.095 Z"}));var h=window.lodash,d=n.n(h);const f=(e,t,n)=>{let o=!0;if(t&&t.id&&"value"in t){let r=t.value;["toggle","checkbox"].includes(n)&&(r=!0===r||"yes"===r||1===r),r=d().isArray(r)?r:[r],o=void 0!==e[t.id]&&r.includes(e[t.id])}return o},m=(e,t)=>{const{controlType:n}=e;let o=!0;if(e.deps)if(d().isArray(e.deps))for(let r in e.deps){const l=e.deps[r];if(o=f(t,l,n),!o)break}else o=f(t,e.deps,n);return o},g=(e,t)=>{let n="",o=!1;if(void 0!==e.callback&&(jQuery&&e.callback in jQuery.fn?o=jQuery.fn[e.callback]:e.callback in window&&(o=window[e.callback])),"function"==typeof o)n=o(t,e);else{const o=e.attributes?Object.entries(e.attributes).map((e=>{let[n,o]=e;const r=m(o,t),l=t[n];if(r&&void 0!==l)return n+"="+(o.remove_quotes?l:`"${l}"`)})):[],r=o.length?" "+o.join(" "):"";n=`[${e.shortcode_name}${r}]`}return n};var y=window.wp.components,v=window.wp.blockEditor,_=window.wp.hooks;class b extends r.Component{constructor(){super(...arguments),this.state={html:"",shortcode:"",shortcodeHash:"",ajaxUpdated:!1,ajaxSuccess:!1,ajaxResponse:!1,loading:!1,firstLoading:!0},this.ajaxTimeout=!1}componentDidMount(){this.updateShortcode()}componentDidUpdate(e,t,n){const{shortcode:o,shortcodeHash:r,ajaxSuccess:l,ajaxResponse:a,ajaxUpdated:s}=this.state;(0,h.isEqual)(e,this.props)||this.updateShortcode(),this.props.blockArgs.do_shortcode&&s&&(l&&(0,_.doAction)("yith_plugin_fw_gutenberg_success_do_shortcode",o,r,a),(0,_.doAction)("yith_plugin_fw_gutenberg_after_do_shortcode",o,r,a),this.setState({ajaxUpdated:!1}))}updateShortcode(){const{attributes:e,blockArgs:t}=this.props;this.setState({loading:!0,ajaxSuccess:!1,ajaxResponse:!1});const n=g(t,e),o=a()(n);t.do_shortcode?(this.ajaxTimeout&&clearTimeout(this.ajaxTimeout),(0,_.doAction)("yith_plugin_fw_gutenberg_before_do_shortcode",n,o),this.ajaxTimeout=setTimeout((()=>{var e,t,r;(function(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:yithGutenberg.ajaxurl;return e.security=null!==(t=e.security)&&void 0!==t?t:yithGutenberg.ajaxNonce,n=(0,i.addQueryArgs)(n,e),fetch(n).then(c).then(u)})({action:"yith_plugin_fw_gutenberg_do_shortcode",shortcode:n,context:{...null!==(e=this.props.context)&&void 0!==e?e:{},adminPage:null!==(t=null===(r=window)||void 0===r?void 0:r.adminpage)&&void 0!==t?t:""}}).then((e=>{this.setState({loading:!1,firstLoading:!1,html:e.html,shortcode:n,shortcodeHash:o,ajaxSuccess:!0,ajaxUpdated:!0,ajaxResponse:e})})).catch((e=>{console.log({error:e})}))}),300)):this.setState({loading:!1,firstLoading:!1,html:n,shortcode:n,shortcodeHash:o})}render(){const{html:e,loading:t,firstLoading:n,shortcode:r,shortcodeHash:l}=this.state,{blockArgs:a}=this.props,{do_shortcode:s,title:i,empty_message:c}=a,u="block-editor-yith-plugin-fw-shortcode-block";let h=[u],d=s?"html":"shortcode",f=e,m="";n&&t?d="first-loading":s&&!e&&(d="empty-html",f=r,!t&&c&&(m=c));const g=["first-loading","empty-html","shortcode"].includes(d),v=!["first-loading","empty-html"].includes(d),_=!!m;return h.push(`${u}--${d}`),h.push(_?`${u}--has-message`:`${u}--no-message`),h.push(`yith_block_${l}`),(0,o.createElement)(o.Fragment,null,(0,o.createElement)("div",{className:h.join(" ")},t?(0,o.createElement)("div",{className:`${u}__spinner-wrap`},(0,o.createElement)(y.Spinner,null)):"",g&&(0,o.createElement)("div",{className:`${u}__title components-placeholder__label`},p,i),_&&(0,o.createElement)(o.RawHTML,{className:`${u}__message`},m),v&&(0,o.createElement)(o.RawHTML,{className:`${u}__content`},f)))}}var w=window.wp.compose;function C(e){let{className:t,label:n,onChange:r,value:l,help:a,disableAlpha:s}=e;const i=`inspector-yith-color-picker-control-${(0,w.useInstanceId)(C)}`;return(0,o.createElement)(y.BaseControl,{id:i,label:n,className:`block-editor-yith-color-control ${t}`,help:a},(0,o.createElement)(y.ColorPicker,{color:l,disableAlpha:s,onChangeComplete:r}))}function k(e){let{label:t,colorValue:n}=e;return(0,o.createElement)(o.Fragment,null,t,!!n&&(0,o.createElement)(y.ColorIndicator,{colorValue:n}))}function E(e){let{className:t,label:n,onChange:r,value:l,help:a,palette:s,clearable:i}=e;s=s||(0,v.useSetting)("color.palette");const c=`inspector-yith-color-palette-control-${(0,w.useInstanceId)(E)}`;return(0,o.createElement)(y.BaseControl,{id:c,className:`block-editor-yith-color-palette-control ${t}`,help:a},(0,o.createElement)("fieldset",null,(0,o.createElement)("legend",null,(0,o.createElement)("div",{className:"block-editor-yith-color-palette-control__color-indicator"},(0,o.createElement)(y.BaseControl.VisualLabel,null,(0,o.createElement)(k,{colorValue:l,label:n})))),(0,o.createElement)(y.ColorPalette,{value:l,onChange:r,colors:s,clearable:i})))}var x=n(184),T=n.n(x),j=n(697),N=n.n(j),S=window.wp.i18n;const O={noItems:(0,S.__)("No items found.","yith-plugin-fw"),noResults:(0,S.__)('No results for "%s"',"yith-plugin-fw"),search:(0,S.__)("Search for items...","yith-plugin-fw")};function A(e){const t=(0,w.useInstanceId)(B);return e||`inspector-yith-multiple-select-control-${t}`}function R(e){var t;let{id:n,value:l,options:a,onChange:s,messages:i}=e;const[c,u]=(0,r.useState)(""),[p,h]=(0,r.useState)(!1),[d,f]=(0,r.useState)(248),m={...O,...i},g=(0,r.useRef)(),v=(0,r.useRef)(),_=(0,r.useRef)(),b=(0,r.useRef)(),w=(0,r.useRef)(),C=T()("yith-fw-components__multiple-select"),k=(0,r.useMemo)((()=>a.map((e=>e.value))),[a]),E=(0,r.useMemo)((()=>l.filter((e=>k.includes(e)))),[l,k]),x=(0,r.useMemo)((()=>a.filter((e=>e.label.toLowerCase().indexOf(c.toLowerCase())>=0))),[a,c]),j=(0,r.useMemo)((()=>a.filter((e=>E.includes(e.value)))),[a,E]),N=e=>{const t=[...E].filter((t=>t!==e));s(t)},R=()=>!!v.current&&v.current.focus(),B=e=>{const t=(null==g?void 0:g.current)&&g.current.contains(e.target),n=(null==b?void 0:b.current)&&b.current.contains(e.target);t||n||h(!1)};return(0,r.useEffect)((()=>(document.addEventListener("mousedown",B),()=>document.removeEventListener("mousedown",B)))),(0,r.useEffect)((()=>{(()=>{var e;if(!g.current)return;const t=null===(e=g.current.getBoundingClientRect())||void 0===e?void 0:e.width;f(t)})()}),[]),(0,o.createElement)("div",{className:C,ref:g},(0,o.createElement)("div",{className:"yith-fw-components__multiple-select__input-container",ref:_,onClick:e=>{(null==_?void 0:_.current)&&_.current===e.target&&R()}},j.map((e=>(0,o.createElement)("span",{key:e.value,className:"yith-fw-components__multiple-select__item"},(0,o.createElement)("span",{className:"yith-fw-components__multiple-select__item__label"},e.label),(0,o.createElement)("i",{className:"yith-fw-components__multiple-select__item__remove yith-icon-close-alt",onClick:()=>{N(e.value),h(!1)}})))),(0,o.createElement)("input",{className:"yith-fw-components__multiple-select__input",id:A(n),ref:v,type:"text",autoComplete:"off",placeholder:m.search,onFocus:()=>h(!0),value:c,onChange:e=>u(e.target.value)})),p&&(0,o.createElement)(y.Popover,{className:"yith-fw-components__multiple-select__popover",position:"bottom",offset:20,anchorRef:null!==(t=null==g?void 0:g.current)&&void 0!==t?t:void 0,anchorRect:(null==g?void 0:g.current)&&(null==g?void 0:g.current.getBoundingClientRect()),focusOnMount:!1,ref:b},(0,o.createElement)("div",{className:T()("yith-fw-components__multiple-select__suggestions",!x.length&&"no-results"),ref:w,style:{width:d}},a.length&&x.length?x.map((e=>{const t=E.includes(e.value);return(0,o.createElement)("div",{key:e.value,className:T()("yith-fw-components__multiple-select__suggestion",t&&"selected"),onClick:()=>{var n;t||(n=e.value,s([...E,n]),u(""),R())}},(0,o.createElement)("div",{className:"yith-fw-components__multiple-select__suggestion__label"},e.label),t&&(0,o.createElement)("i",{className:"yith-fw-components__multiple-select__suggestion__remove yith-icon yith-icon-close-alt",onClick:()=>{N(e.value),R()}}))})):(0,o.createElement)("div",{className:"yith-fw-components__multiple-select__suggestions__message"},a.length&&c?(0,S.sprintf)(m.noResults,c):m.noItems))))}function B(e){let{className:t,label:n,onChange:r,value:l,help:a,options:s,messages:i}=e;const c=`inspector-yith-multiple-select-control-${(0,w.useInstanceId)(B)}`;return(0,o.createElement)(y.BaseControl,{id:c,label:n,className:`block-editor-yith-multiple-select-control ${t}`,help:a},(0,o.createElement)(R,{id:c,value:l,options:s,onChange:r,messages:i}))}R.propTypes={id:N().string,className:N().string,value:N().array,options:N().arrayOf(N().shape({label:N().string,value:N().oneOfType([N().string,N().number])})),onChange:N().func},R.defaultProps={id:"",value:[],className:"",options:[],onChange:d()};const $=e=>{var t,n,r;let{attributeName:l,attributeArgs:a,attributes:s,onChange:i,blockName:c}=e;const{controlType:u,label:p,wrapper_class:h}=a,d=s[l],f=((e,t)=>{let n="";return e.helps&&e.helps.checked&&e.helps.unchecked?n=t?e.helps.checked:e.helps.unchecked:e.help&&(n=e.help),n})(a,d),g=m(a,s),v=T()(`${c}__${l}-field-wrapper`,h);let _=!1;if(g)switch(u){case"select":var b,w,k;_=a.multiple?(0,o.createElement)(B,{className:v,value:d,label:p,options:null!==(b=null==a?void 0:a.options)&&void 0!==b?b:[],help:f,onChange:i,messages:null!==(w=null==a?void 0:a.messages)&&void 0!==w?w:{}}):(0,o.createElement)(y.SelectControl,{className:v,value:d,label:p,options:null!==(k=null==a?void 0:a.options)&&void 0!==k?k:[],help:f,onChange:i});break;case"text":_=(0,o.createElement)(y.TextControl,{className:v,key:l,value:d,label:p,help:f,onChange:i});break;case"textarea":_=(0,o.createElement)(y.TextareaControl,{className:v,key:l,value:d,label:p,help:f,onChange:i});break;case"toggle":_=(0,o.createElement)(y.ToggleControl,{className:v,key:l,label:p,help:f,checked:d,onChange:i});break;case"checkbox":_=(0,o.createElement)(y.CheckboxControl,{className:v,key:l,label:p,help:f,checked:d,onChange:i});break;case"number":case"range":_=(0,o.createElement)(y.RangeControl,{className:v,key:l,value:d,label:p,help:f,min:null==a?void 0:a.min,max:null==a?void 0:a.max,onChange:i});break;case"color":case"colorpicker":_=(0,o.createElement)(C,{className:v,key:l,label:p,help:f,value:d,disableAlpha:null!==(t=null==a?void 0:a.disableAlpha)&&void 0!==t&&t,onChange:i});break;case"color-palette":_=(0,o.createElement)(E,{className:v,key:l,label:p,help:f,value:d,clearable:null!==(n=null==a?void 0:a.clearable)&&void 0!==n&&n,onChange:i});break;case"radio":_=(0,o.createElement)(y.RadioControl,{key:l,label:p,options:null!==(r=null==a?void 0:a.options)&&void 0!==r?r:[],selected:d,help:f,onChange:i});break;default:_=!1}return _},I=(e,t)=>function(n){let{context:r,attributes:l,className:a,setAttributes:s}=n;return(0,o.createElement)(o.Fragment,null,!!t.attributes&&(0,o.createElement)(v.InspectorControls,null,(0,o.createElement)(y.PanelBody,null,Object.entries(t.attributes).map((t=>{let[n,r]=t;const{controlType:a}=r;return(0,o.createElement)($,{key:n,attributeArgs:r,attributeName:n,attributes:l,blockName:e,onChange:e=>((e,t,n)=>{if(["colorpicker","color"].includes(n))if("rgb"in e&&"hex"in e){const{r:t,g:n,b:o,a:r}=e.rgb;e=r<1?`rgba(${t}, ${n}, ${o}, ${r})`:e.hex}else e=e.color.getAlpha()<1?e.color.toRgbString():e.color.toHexString();s({[t]:e})})(e,n,a)})})))),(0,o.createElement)(b,{attributes:l,blockArgs:t,context:r}))},L=[{key:"yith_plugin_fw_gutenberg_before_do_shortcode",delay:0},{key:"yith_plugin_fw_gutenberg_success_do_shortcode",delay:200},{key:"yith_plugin_fw_gutenberg_after_do_shortcode",delay:200}];for(const e of L)(0,_.addAction)(e.key,"yith-plugin-fw/jquery-events",(function(){for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];"jQuery"in window&&(e.delay?setTimeout((()=>{jQuery(document).trigger(e.key,Object.values(n))}),e.delay):jQuery(document).trigger(e.key,Object.values(n)))}));for(const[e,t]of Object.entries(yithGutenbergBlocks))(0,s.registerBlockType)("yith/"+e,{title:t.title,description:t.description,category:t.category,attributes:t.attributes,icon:void 0!==t.icon?t.icon:p,keywords:t.keywords,edit:I(e,t),usesContext:["postId"],save:e=>{let{attributes:n}=e;return g(t,n)},deprecated:[{attributes:t.attributes,save:e=>{let{attributes:n}=e;const r=g(t,n),l='<span class="yith_block_'+a()(r)+'">'+r+"</span>";return(0,o.createElement)(o.RawHTML,null,l)}}]})},487:function(e){var t={utf8:{stringToBytes:function(e){return t.bin.stringToBytes(unescape(encodeURIComponent(e)))},bytesToString:function(e){return decodeURIComponent(escape(t.bin.bytesToString(e)))}},bin:{stringToBytes:function(e){for(var t=[],n=0;n<e.length;n++)t.push(255&e.charCodeAt(n));return t},bytesToString:function(e){for(var t=[],n=0;n<e.length;n++)t.push(String.fromCharCode(e[n]));return t.join("")}}};e.exports=t},184:function(e,t){var n;!function(){"use strict";var o={}.hasOwnProperty;function r(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var l=typeof n;if("string"===l||"number"===l)e.push(n);else if(Array.isArray(n)){if(n.length){var a=r.apply(null,n);a&&e.push(a)}}else if("object"===l)if(n.toString===Object.prototype.toString)for(var s in n)o.call(n,s)&&n[s]&&e.push(s);else e.push(n.toString())}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):void 0===(n=function(){return r}.apply(t,[]))||(e.exports=n)}()},12:function(e){var t,n;t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n={rotl:function(e,t){return e<<t|e>>>32-t},rotr:function(e,t){return e<<32-t|e>>>t},endian:function(e){if(e.constructor==Number)return 16711935&n.rotl(e,8)|4278255360&n.rotl(e,24);for(var t=0;t<e.length;t++)e[t]=n.endian(e[t]);return e},randomBytes:function(e){for(var t=[];e>0;e--)t.push(Math.floor(256*Math.random()));return t},bytesToWords:function(e){for(var t=[],n=0,o=0;n<e.length;n++,o+=8)t[o>>>5]|=e[n]<<24-o%32;return t},wordsToBytes:function(e){for(var t=[],n=0;n<32*e.length;n+=8)t.push(e[n>>>5]>>>24-n%32&255);return t},bytesToHex:function(e){for(var t=[],n=0;n<e.length;n++)t.push((e[n]>>>4).toString(16)),t.push((15&e[n]).toString(16));return t.join("")},hexToBytes:function(e){for(var t=[],n=0;n<e.length;n+=2)t.push(parseInt(e.substr(n,2),16));return t},bytesToBase64:function(e){for(var n=[],o=0;o<e.length;o+=3)for(var r=e[o]<<16|e[o+1]<<8|e[o+2],l=0;l<4;l++)8*o+6*l<=8*e.length?n.push(t.charAt(r>>>6*(3-l)&63)):n.push("=");return n.join("")},base64ToBytes:function(e){e=e.replace(/[^A-Z0-9+\/]/gi,"");for(var n=[],o=0,r=0;o<e.length;r=++o%4)0!=r&&n.push((t.indexOf(e.charAt(o-1))&Math.pow(2,-2*r+8)-1)<<2*r|t.indexOf(e.charAt(o))>>>6-2*r);return n}},e.exports=n},738:function(e){function t(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}e.exports=function(e){return null!=e&&(t(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&t(e.slice(0,0))}(e)||!!e._isBuffer)}},568:function(e,t,n){var o,r,l,a,s;o=n(12),r=n(487).utf8,l=n(738),a=n(487).bin,(s=function(e,t){e.constructor==String?e=t&&"binary"===t.encoding?a.stringToBytes(e):r.stringToBytes(e):l(e)?e=Array.prototype.slice.call(e,0):Array.isArray(e)||e.constructor===Uint8Array||(e=e.toString());for(var n=o.bytesToWords(e),i=8*e.length,c=1732584193,u=-271733879,p=-1732584194,h=271733878,d=0;d<n.length;d++)n[d]=16711935&(n[d]<<8|n[d]>>>24)|4278255360&(n[d]<<24|n[d]>>>8);n[i>>>5]|=128<<i%32,n[14+(i+64>>>9<<4)]=i;var f=s._ff,m=s._gg,g=s._hh,y=s._ii;for(d=0;d<n.length;d+=16){var v=c,_=u,b=p,w=h;c=f(c,u,p,h,n[d+0],7,-680876936),h=f(h,c,u,p,n[d+1],12,-389564586),p=f(p,h,c,u,n[d+2],17,606105819),u=f(u,p,h,c,n[d+3],22,-1044525330),c=f(c,u,p,h,n[d+4],7,-176418897),h=f(h,c,u,p,n[d+5],12,1200080426),p=f(p,h,c,u,n[d+6],17,-1473231341),u=f(u,p,h,c,n[d+7],22,-45705983),c=f(c,u,p,h,n[d+8],7,1770035416),h=f(h,c,u,p,n[d+9],12,-1958414417),p=f(p,h,c,u,n[d+10],17,-42063),u=f(u,p,h,c,n[d+11],22,-1990404162),c=f(c,u,p,h,n[d+12],7,1804603682),h=f(h,c,u,p,n[d+13],12,-40341101),p=f(p,h,c,u,n[d+14],17,-1502002290),c=m(c,u=f(u,p,h,c,n[d+15],22,1236535329),p,h,n[d+1],5,-165796510),h=m(h,c,u,p,n[d+6],9,-1069501632),p=m(p,h,c,u,n[d+11],14,643717713),u=m(u,p,h,c,n[d+0],20,-373897302),c=m(c,u,p,h,n[d+5],5,-701558691),h=m(h,c,u,p,n[d+10],9,38016083),p=m(p,h,c,u,n[d+15],14,-660478335),u=m(u,p,h,c,n[d+4],20,-405537848),c=m(c,u,p,h,n[d+9],5,568446438),h=m(h,c,u,p,n[d+14],9,-1019803690),p=m(p,h,c,u,n[d+3],14,-187363961),u=m(u,p,h,c,n[d+8],20,1163531501),c=m(c,u,p,h,n[d+13],5,-1444681467),h=m(h,c,u,p,n[d+2],9,-51403784),p=m(p,h,c,u,n[d+7],14,1735328473),c=g(c,u=m(u,p,h,c,n[d+12],20,-1926607734),p,h,n[d+5],4,-378558),h=g(h,c,u,p,n[d+8],11,-2022574463),p=g(p,h,c,u,n[d+11],16,1839030562),u=g(u,p,h,c,n[d+14],23,-35309556),c=g(c,u,p,h,n[d+1],4,-1530992060),h=g(h,c,u,p,n[d+4],11,1272893353),p=g(p,h,c,u,n[d+7],16,-155497632),u=g(u,p,h,c,n[d+10],23,-1094730640),c=g(c,u,p,h,n[d+13],4,681279174),h=g(h,c,u,p,n[d+0],11,-358537222),p=g(p,h,c,u,n[d+3],16,-722521979),u=g(u,p,h,c,n[d+6],23,76029189),c=g(c,u,p,h,n[d+9],4,-640364487),h=g(h,c,u,p,n[d+12],11,-421815835),p=g(p,h,c,u,n[d+15],16,530742520),c=y(c,u=g(u,p,h,c,n[d+2],23,-995338651),p,h,n[d+0],6,-198630844),h=y(h,c,u,p,n[d+7],10,1126891415),p=y(p,h,c,u,n[d+14],15,-1416354905),u=y(u,p,h,c,n[d+5],21,-57434055),c=y(c,u,p,h,n[d+12],6,1700485571),h=y(h,c,u,p,n[d+3],10,-1894986606),p=y(p,h,c,u,n[d+10],15,-1051523),u=y(u,p,h,c,n[d+1],21,-2054922799),c=y(c,u,p,h,n[d+8],6,1873313359),h=y(h,c,u,p,n[d+15],10,-30611744),p=y(p,h,c,u,n[d+6],15,-1560198380),u=y(u,p,h,c,n[d+13],21,1309151649),c=y(c,u,p,h,n[d+4],6,-145523070),h=y(h,c,u,p,n[d+11],10,-1120210379),p=y(p,h,c,u,n[d+2],15,718787259),u=y(u,p,h,c,n[d+9],21,-343485551),c=c+v>>>0,u=u+_>>>0,p=p+b>>>0,h=h+w>>>0}return o.endian([c,u,p,h])})._ff=function(e,t,n,o,r,l,a){var s=e+(t&n|~t&o)+(r>>>0)+a;return(s<<l|s>>>32-l)+t},s._gg=function(e,t,n,o,r,l,a){var s=e+(t&o|n&~o)+(r>>>0)+a;return(s<<l|s>>>32-l)+t},s._hh=function(e,t,n,o,r,l,a){var s=e+(t^n^o)+(r>>>0)+a;return(s<<l|s>>>32-l)+t},s._ii=function(e,t,n,o,r,l,a){var s=e+(n^(t|~o))+(r>>>0)+a;return(s<<l|s>>>32-l)+t},s._blocksize=16,s._digestsize=16,e.exports=function(e,t){if(null==e)throw new Error("Illegal argument "+e);var n=o.wordsToBytes(s(e,t));return t&&t.asBytes?n:t&&t.asString?a.bytesToString(n):o.bytesToHex(n)}},703:function(e,t,n){"use strict";var o=n(414);function r(){}function l(){}l.resetWarningCache=r,e.exports=function(){function e(e,t,n,r,l,a){if(a!==o){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,bigint: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:l,resetWarningCache:r};return n.PropTypes=n,n}},697:function(e,t,n){e.exports=n(703)()},414:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}},n={};function o(e){var r=n[e];if(void 0!==r)return r.exports;var l=n[e]={exports:{}};return t[e](l,l.exports,o),l.exports}o.m=t,e=[],o.O=function(t,n,r,l){if(!n){var a=1/0;for(u=0;u<e.length;u++){n=e[u][0],r=e[u][1],l=e[u][2];for(var s=!0,i=0;i<n.length;i++)(!1&l||a>=l)&&Object.keys(o.O).every((function(e){return o.O[e](n[i])}))?n.splice(i--,1):(s=!1,l<a&&(a=l));if(s){e.splice(u--,1);var c=r();void 0!==c&&(t=c)}}return t}l=l||0;for(var u=e.length;u>0&&e[u-1][2]>l;u--)e[u]=e[u-1];e[u]=[n,r,l]},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,{a:t}),t},o.d=function(e,t){for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){var e={826:0,46:0};o.O.j=function(t){return 0===e[t]};var t=function(t,n){var r,l,a=n[0],s=n[1],i=n[2],c=0;if(a.some((function(t){return 0!==e[t]}))){for(r in s)o.o(s,r)&&(o.m[r]=s[r]);if(i)var u=i(o)}for(t&&t(n);c<a.length;c++)l=a[c],o.o(e,l)&&e[l]&&e[l][0](),e[l]=0;return o.O(u)},n=self.webpackChunkyith_plugin_framewowrk=self.webpackChunkyith_plugin_framewowrk||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))}();var r=o.O(void 0,[46],(function(){return o(784)}));r=o.O(r)}();
|
plugin-fw/includes/builders/gutenberg/class-yith-gutenberg.php
CHANGED
@@ -83,7 +83,10 @@ if ( ! class_exists( 'YITH_Gutenberg' ) ) {
|
|
83 |
*/
|
84 |
public function enqueue_block_editor_assets() {
|
85 |
$ajax_url = function_exists( 'WC' ) ? add_query_arg( 'wc-ajax', 'yith_plugin_fw_gutenberg_do_shortcode', trailingslashit( site_url() ) ) : admin_url( 'admin-ajax.php' );
|
86 |
-
$gutenberg = array(
|
|
|
|
|
|
|
87 |
$asset_file = include YIT_CORE_PLUGIN_PATH . '/dist/gutenberg/index.asset.php';
|
88 |
|
89 |
$gutenberg_assets_url = YIT_CORE_PLUGIN_URL . '/dist/gutenberg';
|
@@ -309,29 +312,36 @@ if ( ! class_exists( 'YITH_Gutenberg' ) ) {
|
|
309 |
* Get a do_shortcode in ajax call to show block preview
|
310 |
**/
|
311 |
public function do_shortcode() {
|
312 |
-
|
313 |
-
$current_action = current_action();
|
314 |
-
$shortcode = ! empty( $_REQUEST['shortcode'] ) ? wp_unslash( $_REQUEST['shortcode'] ) : ''; // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized
|
315 |
|
316 |
-
|
317 |
-
|
318 |
-
|
|
|
319 |
|
320 |
-
|
|
|
|
|
321 |
|
322 |
-
|
323 |
-
|
324 |
-
|
325 |
|
326 |
-
|
327 |
|
328 |
-
|
329 |
-
|
330 |
-
|
331 |
-
|
332 |
-
|
333 |
|
334 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
335 |
}
|
336 |
}
|
337 |
}
|
83 |
*/
|
84 |
public function enqueue_block_editor_assets() {
|
85 |
$ajax_url = function_exists( 'WC' ) ? add_query_arg( 'wc-ajax', 'yith_plugin_fw_gutenberg_do_shortcode', trailingslashit( site_url() ) ) : admin_url( 'admin-ajax.php' );
|
86 |
+
$gutenberg = array(
|
87 |
+
'ajaxurl' => $ajax_url,
|
88 |
+
'ajaxNonce' => wp_create_nonce( 'gutenberg-ajax-action' ),
|
89 |
+
);
|
90 |
$asset_file = include YIT_CORE_PLUGIN_PATH . '/dist/gutenberg/index.asset.php';
|
91 |
|
92 |
$gutenberg_assets_url = YIT_CORE_PLUGIN_URL . '/dist/gutenberg';
|
312 |
* Get a do_shortcode in ajax call to show block preview
|
313 |
**/
|
314 |
public function do_shortcode() {
|
315 |
+
check_ajax_referer( 'gutenberg-ajax-action', 'security' );
|
|
|
|
|
316 |
|
317 |
+
$post_id = absint( $_REQUEST['context']['postId'] ?? 0 );
|
318 |
+
$admin_page = sanitize_text_field( wp_unslash( $_REQUEST['context']['adminPage'] ?? '' ) );
|
319 |
+
$has_access = ( in_array( $admin_page, array( 'widgets-php', 'site-editor-php' ), true ) && current_user_can( 'edit_theme_options' ) );
|
320 |
+
$has_access = $has_access || $post_id && current_user_can( 'edit_post', $post_id );
|
321 |
|
322 |
+
if ( $has_access ) {
|
323 |
+
$current_action = current_action();
|
324 |
+
$shortcode = ! empty( $_REQUEST['shortcode'] ) ? wp_unslash( $_REQUEST['shortcode'] ) : ''; // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized
|
325 |
|
326 |
+
if ( ! apply_filters( 'yith_plugin_fw_gutenberg_skip_shortcode_sanitize', false ) ) {
|
327 |
+
$shortcode = sanitize_text_field( stripslashes( $shortcode ) );
|
328 |
+
}
|
329 |
|
330 |
+
ob_start();
|
331 |
|
332 |
+
do_action( 'yith_plugin_fw_gutenberg_before_do_shortcode', $shortcode, $current_action );
|
333 |
+
echo do_shortcode( apply_filters( 'yith_plugin_fw_gutenberg_shortcode', $shortcode, $current_action ) );
|
334 |
+
do_action( 'yith_plugin_fw_gutenberg_after_do_shortcode', $shortcode, $current_action );
|
335 |
+
|
336 |
+
$html = ob_get_clean();
|
337 |
|
338 |
+
wp_send_json(
|
339 |
+
array(
|
340 |
+
'html' => $html,
|
341 |
+
)
|
342 |
+
);
|
343 |
+
|
344 |
+
}
|
345 |
}
|
346 |
}
|
347 |
}
|
plugin-fw/includes/class-yit-ajax.php
CHANGED
@@ -241,7 +241,7 @@ if ( ! class_exists( 'YIT_Ajax' ) ) {
|
|
241 |
die();
|
242 |
}
|
243 |
|
244 |
-
$terms =
|
245 |
|
246 |
if ( 'id' !== $args['term_field'] ) {
|
247 |
$temp_terms = $terms;
|
@@ -252,6 +252,7 @@ if ( ! class_exists( 'YIT_Ajax' ) ) {
|
|
252 |
}
|
253 |
}
|
254 |
|
|
|
255 |
wp_send_json( $terms );
|
256 |
}
|
257 |
}
|
241 |
die();
|
242 |
}
|
243 |
|
244 |
+
$terms = get_terms( $args );
|
245 |
|
246 |
if ( 'id' !== $args['term_field'] ) {
|
247 |
$temp_terms = $terms;
|
252 |
}
|
253 |
}
|
254 |
|
255 |
+
$terms = apply_filters( 'yith_plugin_fw_json_search_found_terms', $terms, $args );
|
256 |
wp_send_json( $terms );
|
257 |
}
|
258 |
}
|
plugin-fw/includes/class-yith-system-status.php
CHANGED
@@ -55,9 +55,9 @@ if ( ! class_exists( 'YITH_System_Status' ) ) {
|
|
55 |
/**
|
56 |
* Main plugin Instance
|
57 |
*
|
|
|
58 |
* @return YITH_System_Status
|
59 |
* @since 1.0.0
|
60 |
-
* @author Alberto Ruggiero
|
61 |
*/
|
62 |
public static function instance() {
|
63 |
if ( is_null( self::$instance ) ) {
|
@@ -70,9 +70,9 @@ if ( ! class_exists( 'YITH_System_Status' ) ) {
|
|
70 |
/**
|
71 |
* Constructor
|
72 |
*
|
|
|
73 |
* @return void
|
74 |
* @since 1.0.0
|
75 |
-
* @author Alberto Ruggiero
|
76 |
*/
|
77 |
public function __construct() {
|
78 |
|
@@ -100,9 +100,9 @@ if ( ! class_exists( 'YITH_System_Status' ) ) {
|
|
100 |
/**
|
101 |
* Set requirements labels
|
102 |
*
|
|
|
103 |
* @return void
|
104 |
* @since 1.0.0
|
105 |
-
* @author Alberto Ruggiero
|
106 |
*/
|
107 |
public function set_requirements_labels() {
|
108 |
|
@@ -127,9 +127,9 @@ if ( ! class_exists( 'YITH_System_Status' ) ) {
|
|
127 |
/**
|
128 |
* Add "System Information" submenu page under YITH Plugins
|
129 |
*
|
|
|
130 |
* @return void
|
131 |
* @since 1.0.0
|
132 |
-
* @author Alberto Ruggiero
|
133 |
*/
|
134 |
public function add_submenu_page() {
|
135 |
|
@@ -156,9 +156,9 @@ if ( ! class_exists( 'YITH_System_Status' ) ) {
|
|
156 |
/**
|
157 |
* Add "System Information" page template under YITH Plugins
|
158 |
*
|
|
|
159 |
* @return void
|
160 |
* @since 1.0.0
|
161 |
-
* @author Alberto Ruggiero
|
162 |
*/
|
163 |
public function show_information_panel() {
|
164 |
|
@@ -171,9 +171,9 @@ if ( ! class_exists( 'YITH_System_Status' ) ) {
|
|
171 |
/**
|
172 |
* Perform system status check
|
173 |
*
|
|
|
174 |
* @return void
|
175 |
* @since 1.0.0
|
176 |
-
* @author Alberto Ruggiero
|
177 |
*/
|
178 |
public function check_system_status() {
|
179 |
|
@@ -272,9 +272,9 @@ if ( ! class_exists( 'YITH_System_Status' ) ) {
|
|
272 |
* @param string $plugin_name The name of the plugin.
|
273 |
* @param array $requirements Array of plugin requirements.
|
274 |
*
|
|
|
275 |
* @return void
|
276 |
* @since 1.0.0
|
277 |
-
* @author Alberto Ruggiero
|
278 |
*/
|
279 |
public function add_requirements( $plugin_name, $requirements ) {
|
280 |
|
@@ -292,9 +292,9 @@ if ( ! class_exists( 'YITH_System_Status' ) ) {
|
|
292 |
/**
|
293 |
* Manages notice dismissing
|
294 |
*
|
|
|
295 |
* @return void
|
296 |
* @since 1.0.0
|
297 |
-
* @author Alberto Ruggiero
|
298 |
*/
|
299 |
public function enqueue_scripts() {
|
300 |
$script_path = defined( 'YIT_CORE_PLUGIN_URL' ) ? YIT_CORE_PLUGIN_URL : get_template_directory_uri() . '/core/plugin-fw';
|
@@ -318,9 +318,9 @@ if ( ! class_exists( 'YITH_System_Status' ) ) {
|
|
318 |
/**
|
319 |
* Show system notice
|
320 |
*
|
|
|
321 |
* @return void
|
322 |
* @since 1.0.0
|
323 |
-
* @author Alberto Ruggiero
|
324 |
*/
|
325 |
public function activate_system_notice() {
|
326 |
|
@@ -337,10 +337,10 @@ if ( ! class_exists( 'YITH_System_Status' ) ) {
|
|
337 |
?>
|
338 |
<div id="yith-system-alert" class="notice notice-error is-dismissible" style="position: relative;">
|
339 |
<p>
|
340 |
-
<span class="yith-logo"><img src="<?php echo esc_attr( yith_plugin_fw_get_default_logo() ); ?>"
|
341 |
<b>
|
342 |
<?php esc_html_e( 'Warning!', 'yith-plugin-fw' ); ?>
|
343 |
-
</b><br
|
344 |
<?php
|
345 |
/* translators: %1$s open link tag, %2$s open link tag*/
|
346 |
echo sprintf( esc_html__( 'The system check has detected some compatibility issues on your installation.%1$sClick here%2$s to know more', 'yith-plugin-fw' ), '<a href="' . esc_url( add_query_arg( array( 'page' => $this->page ), admin_url( 'admin.php' ) ) ) . '">', '</a>' );
|
@@ -356,9 +356,9 @@ if ( ! class_exists( 'YITH_System_Status' ) ) {
|
|
356 |
/**
|
357 |
* Get system information
|
358 |
*
|
|
|
359 |
* @return array
|
360 |
* @since 1.0.0
|
361 |
-
* @author Alberto Ruggiero
|
362 |
*/
|
363 |
public function get_system_info() {
|
364 |
$tls = $this->get_tls_version();
|
@@ -403,11 +403,16 @@ if ( ! class_exists( 'YITH_System_Status' ) ) {
|
|
403 |
/**
|
404 |
* Get log file
|
405 |
*
|
|
|
406 |
* @return void
|
407 |
* @since 1.0.0
|
408 |
-
* @author Alberto Ruggiero
|
409 |
*/
|
410 |
public function create_log_file() {
|
|
|
|
|
|
|
|
|
|
|
411 |
try {
|
412 |
|
413 |
global $wp_filesystem;
|
@@ -419,7 +424,7 @@ if ( ! class_exists( 'YITH_System_Status' ) ) {
|
|
419 |
|
420 |
$download_file = false;
|
421 |
$file_content = '';
|
422 |
-
$requested_file = $_POST['file'];
|
423 |
|
424 |
switch ( $requested_file ) {
|
425 |
case 'error_log':
|
@@ -431,9 +436,12 @@ if ( ! class_exists( 'YITH_System_Status' ) ) {
|
|
431 |
}
|
432 |
|
433 |
if ( '' !== $file_content ) {
|
434 |
-
$
|
435 |
-
$
|
436 |
-
$
|
|
|
|
|
|
|
437 |
}
|
438 |
|
439 |
wp_send_json( array( 'file' => $download_file ) );
|
@@ -447,9 +455,9 @@ if ( ! class_exists( 'YITH_System_Status' ) ) {
|
|
447 |
*
|
448 |
* @param string $memory_size Memory size to convert.
|
449 |
*
|
|
|
450 |
* @return integer
|
451 |
* @since 1.0.0
|
452 |
-
* @author Alberto Ruggiero
|
453 |
*/
|
454 |
public function memory_size_to_num( $memory_size ) {
|
455 |
$unit = strtoupper( substr( $memory_size, - 1 ) );
|
@@ -478,9 +486,9 @@ if ( ! class_exists( 'YITH_System_Status' ) ) {
|
|
478 |
* @param string $key Requirement Key.
|
479 |
* @param mixed $value Requirement value.
|
480 |
*
|
|
|
481 |
* @return void
|
482 |
* @since 1.0.0
|
483 |
-
* @author Alberto Ruggiero
|
484 |
*/
|
485 |
public function format_requirement_value( $key, $value ) {
|
486 |
|
@@ -505,9 +513,9 @@ if ( ! class_exists( 'YITH_System_Status' ) ) {
|
|
505 |
* @param array $item Requirement item.
|
506 |
* @param string $label Requirement label.
|
507 |
*
|
|
|
508 |
* @return void
|
509 |
* @since 1.0.0
|
510 |
-
* @author Alberto Ruggiero
|
511 |
*/
|
512 |
public function print_error_messages( $key, $item, $label ) {
|
513 |
?>
|
@@ -539,9 +547,9 @@ if ( ! class_exists( 'YITH_System_Status' ) ) {
|
|
539 |
* @param array $item Requirement item.
|
540 |
* @param string $label Requirement label.
|
541 |
*
|
|
|
542 |
* @return void
|
543 |
* @since 1.0.0
|
544 |
-
* @author Alberto Ruggiero
|
545 |
*/
|
546 |
public function print_solution_suggestion( $key, $item, $label ) {
|
547 |
switch ( $key ) {
|
@@ -586,9 +594,9 @@ if ( ! class_exists( 'YITH_System_Status' ) ) {
|
|
586 |
*
|
587 |
* @param string $key Requirement Key.
|
588 |
*
|
|
|
589 |
* @return void
|
590 |
* @since 1.0.0
|
591 |
-
* @author Alberto Ruggiero
|
592 |
*/
|
593 |
public function print_warning_messages( $key ) {
|
594 |
switch ( $key ) {
|
@@ -801,9 +809,9 @@ if ( ! function_exists( 'YITH_System_Status' ) ) {
|
|
801 |
/**
|
802 |
* Single instance of YITH_System_Status
|
803 |
*
|
|
|
804 |
* @return YITH_System_Status
|
805 |
* @since 1.0
|
806 |
-
* @author Alberto Ruggiero
|
807 |
*/
|
808 |
function YITH_System_Status() { // phpcs:ignore WordPress.NamingConventions.ValidFunctionName.FunctionNameInvalid
|
809 |
return YITH_System_Status::instance();
|
55 |
/**
|
56 |
* Main plugin Instance
|
57 |
*
|
58 |
+
* @author Alberto Ruggiero
|
59 |
* @return YITH_System_Status
|
60 |
* @since 1.0.0
|
|
|
61 |
*/
|
62 |
public static function instance() {
|
63 |
if ( is_null( self::$instance ) ) {
|
70 |
/**
|
71 |
* Constructor
|
72 |
*
|
73 |
+
* @author Alberto Ruggiero
|
74 |
* @return void
|
75 |
* @since 1.0.0
|
|
|
76 |
*/
|
77 |
public function __construct() {
|
78 |
|
100 |
/**
|
101 |
* Set requirements labels
|
102 |
*
|
103 |
+
* @author Alberto Ruggiero
|
104 |
* @return void
|
105 |
* @since 1.0.0
|
|
|
106 |
*/
|
107 |
public function set_requirements_labels() {
|
108 |
|
127 |
/**
|
128 |
* Add "System Information" submenu page under YITH Plugins
|
129 |
*
|
130 |
+
* @author Alberto Ruggiero
|
131 |
* @return void
|
132 |
* @since 1.0.0
|
|
|
133 |
*/
|
134 |
public function add_submenu_page() {
|
135 |
|
156 |
/**
|
157 |
* Add "System Information" page template under YITH Plugins
|
158 |
*
|
159 |
+
* @author Alberto Ruggiero
|
160 |
* @return void
|
161 |
* @since 1.0.0
|
|
|
162 |
*/
|
163 |
public function show_information_panel() {
|
164 |
|
171 |
/**
|
172 |
* Perform system status check
|
173 |
*
|
174 |
+
* @author Alberto Ruggiero
|
175 |
* @return void
|
176 |
* @since 1.0.0
|
|
|
177 |
*/
|
178 |
public function check_system_status() {
|
179 |
|
272 |
* @param string $plugin_name The name of the plugin.
|
273 |
* @param array $requirements Array of plugin requirements.
|
274 |
*
|
275 |
+
* @author Alberto Ruggiero
|
276 |
* @return void
|
277 |
* @since 1.0.0
|
|
|
278 |
*/
|
279 |
public function add_requirements( $plugin_name, $requirements ) {
|
280 |
|
292 |
/**
|
293 |
* Manages notice dismissing
|
294 |
*
|
295 |
+
* @author Alberto Ruggiero
|
296 |
* @return void
|
297 |
* @since 1.0.0
|
|
|
298 |
*/
|
299 |
public function enqueue_scripts() {
|
300 |
$script_path = defined( 'YIT_CORE_PLUGIN_URL' ) ? YIT_CORE_PLUGIN_URL : get_template_directory_uri() . '/core/plugin-fw';
|
318 |
/**
|
319 |
* Show system notice
|
320 |
*
|
321 |
+
* @author Alberto Ruggiero
|
322 |
* @return void
|
323 |
* @since 1.0.0
|
|
|
324 |
*/
|
325 |
public function activate_system_notice() {
|
326 |
|
337 |
?>
|
338 |
<div id="yith-system-alert" class="notice notice-error is-dismissible" style="position: relative;">
|
339 |
<p>
|
340 |
+
<span class="yith-logo"><img src="<?php echo esc_attr( yith_plugin_fw_get_default_logo() ); ?>"/></span>
|
341 |
<b>
|
342 |
<?php esc_html_e( 'Warning!', 'yith-plugin-fw' ); ?>
|
343 |
+
</b><br/>
|
344 |
<?php
|
345 |
/* translators: %1$s open link tag, %2$s open link tag*/
|
346 |
echo sprintf( esc_html__( 'The system check has detected some compatibility issues on your installation.%1$sClick here%2$s to know more', 'yith-plugin-fw' ), '<a href="' . esc_url( add_query_arg( array( 'page' => $this->page ), admin_url( 'admin.php' ) ) ) . '">', '</a>' );
|
356 |
/**
|
357 |
* Get system information
|
358 |
*
|
359 |
+
* @author Alberto Ruggiero
|
360 |
* @return array
|
361 |
* @since 1.0.0
|
|
|
362 |
*/
|
363 |
public function get_system_info() {
|
364 |
$tls = $this->get_tls_version();
|
403 |
/**
|
404 |
* Get log file
|
405 |
*
|
406 |
+
* @author Alberto Ruggiero
|
407 |
* @return void
|
408 |
* @since 1.0.0
|
|
|
409 |
*/
|
410 |
public function create_log_file() {
|
411 |
+
if ( ! current_user_can( 'manage_options' ) || ! isset( $_POST['nonce'], $_POST['file'] ) || ! wp_verify_nonce( sanitize_text_field( wp_unslash( $_POST['nonce'] ) ), 'yith-export-log' ) ) {
|
412 |
+
wp_send_json( array( 'file' => false ) );
|
413 |
+
exit;
|
414 |
+
}
|
415 |
+
|
416 |
try {
|
417 |
|
418 |
global $wp_filesystem;
|
424 |
|
425 |
$download_file = false;
|
426 |
$file_content = '';
|
427 |
+
$requested_file = sanitize_text_field( wp_unslash( $_POST['file'] ) );
|
428 |
|
429 |
switch ( $requested_file ) {
|
430 |
case 'error_log':
|
436 |
}
|
437 |
|
438 |
if ( '' !== $file_content ) {
|
439 |
+
$domain = str_replace( array( 'http://', 'https://' ), '', network_site_url() );
|
440 |
+
$hash = substr( wp_hash( $domain ), 0, 16 );
|
441 |
+
$file = wp_upload_dir()['basedir'] . '/log-' . $hash . '.txt';
|
442 |
+
$download_file = wp_upload_dir()['baseurl'] . '/log-' . $hash . '.txt';
|
443 |
+
|
444 |
+
$r = $wp_filesystem->put_contents( $file, $file_content );
|
445 |
}
|
446 |
|
447 |
wp_send_json( array( 'file' => $download_file ) );
|
455 |
*
|
456 |
* @param string $memory_size Memory size to convert.
|
457 |
*
|
458 |
+
* @author Alberto Ruggiero
|
459 |
* @return integer
|
460 |
* @since 1.0.0
|
|
|
461 |
*/
|
462 |
public function memory_size_to_num( $memory_size ) {
|
463 |
$unit = strtoupper( substr( $memory_size, - 1 ) );
|
486 |
* @param string $key Requirement Key.
|
487 |
* @param mixed $value Requirement value.
|
488 |
*
|
489 |
+
* @author Alberto Ruggiero
|
490 |
* @return void
|
491 |
* @since 1.0.0
|
|
|
492 |
*/
|
493 |
public function format_requirement_value( $key, $value ) {
|
494 |
|
513 |
* @param array $item Requirement item.
|
514 |
* @param string $label Requirement label.
|
515 |
*
|
516 |
+
* @author Alberto Ruggiero
|
517 |
* @return void
|
518 |
* @since 1.0.0
|
|
|
519 |
*/
|
520 |
public function print_error_messages( $key, $item, $label ) {
|
521 |
?>
|
547 |
* @param array $item Requirement item.
|
548 |
* @param string $label Requirement label.
|
549 |
*
|
550 |
+
* @author Alberto Ruggiero
|
551 |
* @return void
|
552 |
* @since 1.0.0
|
|
|
553 |
*/
|
554 |
public function print_solution_suggestion( $key, $item, $label ) {
|
555 |
switch ( $key ) {
|
594 |
*
|
595 |
* @param string $key Requirement Key.
|
596 |
*
|
597 |
+
* @author Alberto Ruggiero
|
598 |
* @return void
|
599 |
* @since 1.0.0
|
|
|
600 |
*/
|
601 |
public function print_warning_messages( $key ) {
|
602 |
switch ( $key ) {
|
809 |
/**
|
810 |
* Single instance of YITH_System_Status
|
811 |
*
|
812 |
+
* @author Alberto Ruggiero
|
813 |
* @return YITH_System_Status
|
814 |
* @since 1.0
|
|
|
815 |
*/
|
816 |
function YITH_System_Status() { // phpcs:ignore WordPress.NamingConventions.ValidFunctionName.FunctionNameInvalid
|
817 |
return YITH_System_Status::instance();
|
plugin-fw/init.php
CHANGED
@@ -1,13 +1,13 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Framework Name: YIT Plugin Framework
|
4 |
-
* Version: 3.9.
|
5 |
* Author: YITH
|
6 |
* Text Domain: yith-plugin-fw
|
7 |
* Domain Path: /languages/
|
8 |
*
|
9 |
* @author YITH
|
10 |
-
* @version 3.9.
|
11 |
* @package YITH\PluginFramework
|
12 |
*/
|
13 |
|
1 |
<?php
|
2 |
/**
|
3 |
* Framework Name: YIT Plugin Framework
|
4 |
+
* Version: 3.9.17
|
5 |
* Author: YITH
|
6 |
* Text Domain: yith-plugin-fw
|
7 |
* Domain Path: /languages/
|
8 |
*
|
9 |
* @author YITH
|
10 |
+
* @version 3.9.17
|
11 |
* @package YITH\PluginFramework
|
12 |
*/
|
13 |
|
plugin-fw/languages/yith-plugin-fw-el.po
CHANGED
@@ -4,7 +4,7 @@ msgid ""
|
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: YITH Framework\n"
|
6 |
"Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
|
7 |
-
"POT-Creation-Date: 2022-
|
8 |
"PO-Revision-Date: 2021-02-11 18:07:46+0000\n"
|
9 |
"Language: el_GR\n"
|
10 |
"MIME-Version: 1.0\n"
|
@@ -329,34 +329,34 @@ msgstr ""
|
|
329 |
"Ο έλεγχος συστήματος έχει εντοπίσει κάποια προβλήματα συμβατότητας στην "
|
330 |
"εγκατάστασή σας.%1$sΚάντε κλικ εδώ%2$s για να μάθετε περισσότερα"
|
331 |
|
332 |
-
#: includes/class-yith-system-status.php:
|
333 |
msgid "Enabled"
|
334 |
msgstr "Ενεργοποιημένο"
|
335 |
|
336 |
-
#: includes/class-yith-system-status.php:
|
337 |
msgid "Disabled"
|
338 |
msgstr "Απενεργοποιημένο"
|
339 |
|
340 |
-
#: includes/class-yith-system-status.php:
|
341 |
msgid "N/A"
|
342 |
msgstr "N/A"
|
343 |
|
344 |
#. translators: %1$s plugin name, %2$s requirement name
|
345 |
-
#: includes/class-yith-system-status.php:
|
346 |
msgid "%1$s needs %2$s enabled"
|
347 |
msgstr "%1$s χρειάζεται %2$s ενεργοποιημένο"
|
348 |
|
349 |
#. translators: %1$s plugin name, %2$s required memory amount
|
350 |
-
#: includes/class-yith-system-status.php:
|
351 |
msgid "%1$s needs at least %2$s of available memory"
|
352 |
msgstr "%1$s χρειάζεται τουλάχιστον %2$s διαθέσιμης μνήμης"
|
353 |
|
354 |
#. translators: %1$s plugin name, %2$s version number
|
355 |
-
#: includes/class-yith-system-status.php:
|
356 |
msgid "%1$s needs at least %2$s version"
|
357 |
msgstr "%1$s χρειάζεται τουλάχιστον %2$s έκδοση"
|
358 |
|
359 |
-
#: includes/class-yith-system-status.php:
|
360 |
msgid ""
|
361 |
"Update it to the latest version in order to benefit of all new features and "
|
362 |
"security updates."
|
@@ -364,27 +364,27 @@ msgstr ""
|
|
364 |
"Κάντε αναβάθμιση της τελευταίας έκδοσης για να επωφεληθείτε από τα νέα "
|
365 |
"χαρακτηριστικά και τις αναβαθμίσεις προστασίας."
|
366 |
|
367 |
-
#: includes/class-yith-system-status.php:
|
368 |
-
#: includes/class-yith-system-status.php:
|
369 |
msgid "Contact your hosting company in order to update it."
|
370 |
msgstr "Επικοινωνήστε με την εταιρεία hosting σας για να αναβαθμίσετε."
|
371 |
|
372 |
-
#: includes/class-yith-system-status.php:
|
373 |
msgid "Contact your hosting company in order to install it."
|
374 |
msgstr "Επικοινωνήστε με την εταιρεία hosting σας για να το ενεργοποιήσετε."
|
375 |
|
376 |
#. translators: %1$s code, %2$s file name
|
377 |
-
#: includes/class-yith-system-status.php:
|
378 |
msgid "Remove %1$s from %2$s file"
|
379 |
msgstr "Αφαίρεση %1$s από αρχείο %2$s"
|
380 |
|
381 |
-
#: includes/class-yith-system-status.php:
|
382 |
msgid "Contact your hosting company in order to enable it."
|
383 |
msgstr "Επικοινωνήστε με την εταιρεία hosting σας για να ενεργοποιήσετε."
|
384 |
|
385 |
#. translators: %1$s opening link tag, %2$s closing link tag
|
386 |
-
#: includes/class-yith-system-status.php:
|
387 |
-
#: includes/class-yith-system-status.php:
|
388 |
msgid ""
|
389 |
"Read more %1$shere%2$s or contact your hosting company in order to increase "
|
390 |
"it."
|
@@ -393,7 +393,7 @@ msgstr ""
|
|
393 |
"για να το βελτιώσετε."
|
394 |
|
395 |
#. translators: %s recommended memory amount
|
396 |
-
#: includes/class-yith-system-status.php:
|
397 |
msgid ""
|
398 |
"For optimal functioning of our plugins, we suggest setting at least %s of "
|
399 |
"available memory"
|
@@ -402,7 +402,7 @@ msgstr ""
|
|
402 |
"τουλάχιστον %s διαθέσιμης μνήμης"
|
403 |
|
404 |
#. translators: %1$s TLS label, %2$s cURL label
|
405 |
-
#: includes/class-yith-system-status.php:
|
406 |
msgid ""
|
407 |
"The system check cannot determine which %1$s version is installed because "
|
408 |
"%2$s module is disabled. Ask your hosting company to enable it."
|
@@ -412,7 +412,7 @@ msgstr ""
|
|
412 |
"να το ενεργοποιήσει."
|
413 |
|
414 |
#. translators: %1$s TLS label
|
415 |
-
#: includes/class-yith-system-status.php:
|
416 |
msgid ""
|
417 |
"The system check cannot determine which %1$s version is installed due to a "
|
418 |
"connection issue between your site and our server."
|
@@ -618,13 +618,13 @@ msgstr "Αρχείο PHP error_log"
|
|
618 |
msgid "Download"
|
619 |
msgstr "Κατέβασμα"
|
620 |
|
621 |
-
#: templates/sysinfo/tabs/error-log.php:
|
622 |
msgid "The file size exceeds 8 megabytes so it must be downloaded"
|
623 |
msgstr ""
|
624 |
"Το μέγεθος αρχείου υπερβαίνει τα 8 megabytes οπότε θα πρέπει να το κατεβάσετε"
|
625 |
|
626 |
#. translators: %s file name.
|
627 |
-
#: templates/sysinfo/tabs/error-log.php:
|
628 |
msgid ""
|
629 |
"No Log file available. Enable the WordPress debug by adding this in the %s "
|
630 |
"file of your installation"
|
@@ -632,11 +632,11 @@ msgstr ""
|
|
632 |
"Δεν υπάρχει διαθέσιμο αρχείο Καταγραφής. Ενεργοποιήστε την αποσφαλμάτωση "
|
633 |
"WordPress προσθέτοντάς το στο αρχείο %s της εγκατάστασής σας"
|
634 |
|
635 |
-
#: templates/sysinfo/tabs/error-log.php:
|
636 |
msgid "Copied!"
|
637 |
msgstr "Έγινε αντιγραφή!"
|
638 |
|
639 |
-
#: templates/sysinfo/tabs/error-log.php:
|
640 |
msgid "Copy Code"
|
641 |
msgstr "Αντιγραφή Κώδικα"
|
642 |
|
@@ -755,7 +755,7 @@ msgctxt "Elementor Widget - section title"
|
|
755 |
msgid "%s - Options"
|
756 |
msgstr ""
|
757 |
|
758 |
-
#: includes/builders/gutenberg/class-yith-gutenberg.php:
|
759 |
msgctxt "[gutenberg]: Category Name"
|
760 |
msgid "YITH"
|
761 |
msgstr "YITH"
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: YITH Framework\n"
|
6 |
"Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
|
7 |
+
"POT-Creation-Date: 2022-11-11 07:31:10+00:00\n"
|
8 |
"PO-Revision-Date: 2021-02-11 18:07:46+0000\n"
|
9 |
"Language: el_GR\n"
|
10 |
"MIME-Version: 1.0\n"
|
329 |
"Ο έλεγχος συστήματος έχει εντοπίσει κάποια προβλήματα συμβατότητας στην "
|
330 |
"εγκατάστασή σας.%1$sΚάντε κλικ εδώ%2$s για να μάθετε περισσότερα"
|
331 |
|
332 |
+
#: includes/class-yith-system-status.php:496
|
333 |
msgid "Enabled"
|
334 |
msgstr "Ενεργοποιημένο"
|
335 |
|
336 |
+
#: includes/class-yith-system-status.php:496
|
337 |
msgid "Disabled"
|
338 |
msgstr "Απενεργοποιημένο"
|
339 |
|
340 |
+
#: includes/class-yith-system-status.php:501
|
341 |
msgid "N/A"
|
342 |
msgstr "N/A"
|
343 |
|
344 |
#. translators: %1$s plugin name, %2$s requirement name
|
345 |
+
#: includes/class-yith-system-status.php:528
|
346 |
msgid "%1$s needs %2$s enabled"
|
347 |
msgstr "%1$s χρειάζεται %2$s ενεργοποιημένο"
|
348 |
|
349 |
#. translators: %1$s plugin name, %2$s required memory amount
|
350 |
+
#: includes/class-yith-system-status.php:531
|
351 |
msgid "%1$s needs at least %2$s of available memory"
|
352 |
msgstr "%1$s χρειάζεται τουλάχιστον %2$s διαθέσιμης μνήμης"
|
353 |
|
354 |
#. translators: %1$s plugin name, %2$s version number
|
355 |
+
#: includes/class-yith-system-status.php:534
|
356 |
msgid "%1$s needs at least %2$s version"
|
357 |
msgstr "%1$s χρειάζεται τουλάχιστον %2$s έκδοση"
|
358 |
|
359 |
+
#: includes/class-yith-system-status.php:558
|
360 |
msgid ""
|
361 |
"Update it to the latest version in order to benefit of all new features and "
|
362 |
"security updates."
|
364 |
"Κάντε αναβάθμιση της τελευταίας έκδοσης για να επωφεληθείτε από τα νέα "
|
365 |
"χαρακτηριστικά και τις αναβαθμίσεις προστασίας."
|
366 |
|
367 |
+
#: includes/class-yith-system-status.php:562
|
368 |
+
#: includes/class-yith-system-status.php:568
|
369 |
msgid "Contact your hosting company in order to update it."
|
370 |
msgstr "Επικοινωνήστε με την εταιρεία hosting σας για να αναβαθμίσετε."
|
371 |
|
372 |
+
#: includes/class-yith-system-status.php:566
|
373 |
msgid "Contact your hosting company in order to install it."
|
374 |
msgstr "Επικοινωνήστε με την εταιρεία hosting σας για να το ενεργοποιήσετε."
|
375 |
|
376 |
#. translators: %1$s code, %2$s file name
|
377 |
+
#: includes/class-yith-system-status.php:573
|
378 |
msgid "Remove %1$s from %2$s file"
|
379 |
msgstr "Αφαίρεση %1$s από αρχείο %2$s"
|
380 |
|
381 |
+
#: includes/class-yith-system-status.php:581
|
382 |
msgid "Contact your hosting company in order to enable it."
|
383 |
msgstr "Επικοινωνήστε με την εταιρεία hosting σας για να ενεργοποιήσετε."
|
384 |
|
385 |
#. translators: %1$s opening link tag, %2$s closing link tag
|
386 |
+
#: includes/class-yith-system-status.php:585
|
387 |
+
#: includes/class-yith-system-status.php:608
|
388 |
msgid ""
|
389 |
"Read more %1$shere%2$s or contact your hosting company in order to increase "
|
390 |
"it."
|
393 |
"για να το βελτιώσετε."
|
394 |
|
395 |
#. translators: %s recommended memory amount
|
396 |
+
#: includes/class-yith-system-status.php:605
|
397 |
msgid ""
|
398 |
"For optimal functioning of our plugins, we suggest setting at least %s of "
|
399 |
"available memory"
|
402 |
"τουλάχιστον %s διαθέσιμης μνήμης"
|
403 |
|
404 |
#. translators: %1$s TLS label, %2$s cURL label
|
405 |
+
#: includes/class-yith-system-status.php:613
|
406 |
msgid ""
|
407 |
"The system check cannot determine which %1$s version is installed because "
|
408 |
"%2$s module is disabled. Ask your hosting company to enable it."
|
412 |
"να το ενεργοποιήσει."
|
413 |
|
414 |
#. translators: %1$s TLS label
|
415 |
+
#: includes/class-yith-system-status.php:616
|
416 |
msgid ""
|
417 |
"The system check cannot determine which %1$s version is installed due to a "
|
418 |
"connection issue between your site and our server."
|
618 |
msgid "Download"
|
619 |
msgstr "Κατέβασμα"
|
620 |
|
621 |
+
#: templates/sysinfo/tabs/error-log.php:73
|
622 |
msgid "The file size exceeds 8 megabytes so it must be downloaded"
|
623 |
msgstr ""
|
624 |
"Το μέγεθος αρχείου υπερβαίνει τα 8 megabytes οπότε θα πρέπει να το κατεβάσετε"
|
625 |
|
626 |
#. translators: %s file name.
|
627 |
+
#: templates/sysinfo/tabs/error-log.php:97
|
628 |
msgid ""
|
629 |
"No Log file available. Enable the WordPress debug by adding this in the %s "
|
630 |
"file of your installation"
|
632 |
"Δεν υπάρχει διαθέσιμο αρχείο Καταγραφής. Ενεργοποιήστε την αποσφαλμάτωση "
|
633 |
"WordPress προσθέτοντάς το στο αρχείο %s της εγκατάστασής σας"
|
634 |
|
635 |
+
#: templates/sysinfo/tabs/error-log.php:106
|
636 |
msgid "Copied!"
|
637 |
msgstr "Έγινε αντιγραφή!"
|
638 |
|
639 |
+
#: templates/sysinfo/tabs/error-log.php:106
|
640 |
msgid "Copy Code"
|
641 |
msgstr "Αντιγραφή Κώδικα"
|
642 |
|
755 |
msgid "%s - Options"
|
756 |
msgstr ""
|
757 |
|
758 |
+
#: includes/builders/gutenberg/class-yith-gutenberg.php:152
|
759 |
msgctxt "[gutenberg]: Category Name"
|
760 |
msgid "YITH"
|
761 |
msgstr "YITH"
|
plugin-fw/languages/yith-plugin-fw-es_ES.po
CHANGED
@@ -4,7 +4,7 @@ msgid ""
|
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: YITH Framework\n"
|
6 |
"Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
|
7 |
-
"POT-Creation-Date: 2022-
|
8 |
"PO-Revision-Date: 2022-09-22 14:14:01+0000\n"
|
9 |
"Language: es\n"
|
10 |
"MIME-Version: 1.0\n"
|
@@ -340,34 +340,34 @@ msgstr ""
|
|
340 |
"La comprobación del sistema ha detectado algunos problemas de compatibilidad "
|
341 |
"en tu instalación.%1$sHaz clic quí%2$s para saber más"
|
342 |
|
343 |
-
#: includes/class-yith-system-status.php:
|
344 |
msgid "Enabled"
|
345 |
msgstr "Activado"
|
346 |
|
347 |
-
#: includes/class-yith-system-status.php:
|
348 |
msgid "Disabled"
|
349 |
msgstr "Desactivado"
|
350 |
|
351 |
-
#: includes/class-yith-system-status.php:
|
352 |
msgid "N/A"
|
353 |
msgstr "N/D"
|
354 |
|
355 |
#. translators: %1$s plugin name, %2$s requirement name
|
356 |
-
#: includes/class-yith-system-status.php:
|
357 |
msgid "%1$s needs %2$s enabled"
|
358 |
msgstr "%1$s necesita %2$s activado"
|
359 |
|
360 |
#. translators: %1$s plugin name, %2$s required memory amount
|
361 |
-
#: includes/class-yith-system-status.php:
|
362 |
msgid "%1$s needs at least %2$s of available memory"
|
363 |
msgstr "%1$s necesita al menos %2$s de memoria disponible"
|
364 |
|
365 |
#. translators: %1$s plugin name, %2$s version number
|
366 |
-
#: includes/class-yith-system-status.php:
|
367 |
msgid "%1$s needs at least %2$s version"
|
368 |
msgstr "%1$s necesita al menos la versión %2$s"
|
369 |
|
370 |
-
#: includes/class-yith-system-status.php:
|
371 |
msgid ""
|
372 |
"Update it to the latest version in order to benefit of all new features and "
|
373 |
"security updates."
|
@@ -375,27 +375,27 @@ msgstr ""
|
|
375 |
"Actualízalo a la última versión para beneficiarte de todas las "
|
376 |
"características y actualizaciones de seguridad."
|
377 |
|
378 |
-
#: includes/class-yith-system-status.php:
|
379 |
-
#: includes/class-yith-system-status.php:
|
380 |
msgid "Contact your hosting company in order to update it."
|
381 |
msgstr "Ponte en contacto con tu empresa de hosting para actualizarlo."
|
382 |
|
383 |
-
#: includes/class-yith-system-status.php:
|
384 |
msgid "Contact your hosting company in order to install it."
|
385 |
msgstr "Ponte en contacto con tu empresa de hosting para instalarlo."
|
386 |
|
387 |
#. translators: %1$s code, %2$s file name
|
388 |
-
#: includes/class-yith-system-status.php:
|
389 |
msgid "Remove %1$s from %2$s file"
|
390 |
msgstr "Eliminar %1$s desde el archivo %2$s "
|
391 |
|
392 |
-
#: includes/class-yith-system-status.php:
|
393 |
msgid "Contact your hosting company in order to enable it."
|
394 |
msgstr "Contacta con tu empresa de hosting para activarlo."
|
395 |
|
396 |
#. translators: %1$s opening link tag, %2$s closing link tag
|
397 |
-
#: includes/class-yith-system-status.php:
|
398 |
-
#: includes/class-yith-system-status.php:
|
399 |
msgid ""
|
400 |
"Read more %1$shere%2$s or contact your hosting company in order to increase "
|
401 |
"it."
|
@@ -403,7 +403,7 @@ msgstr ""
|
|
403 |
"Lee más %1$saquí%2$s o contacta a tu empresa de hosting para incrementarlo."
|
404 |
|
405 |
#. translators: %s recommended memory amount
|
406 |
-
#: includes/class-yith-system-status.php:
|
407 |
msgid ""
|
408 |
"For optimal functioning of our plugins, we suggest setting at least %s of "
|
409 |
"available memory"
|
@@ -412,7 +412,7 @@ msgstr ""
|
|
412 |
"memoria disponible"
|
413 |
|
414 |
#. translators: %1$s TLS label, %2$s cURL label
|
415 |
-
#: includes/class-yith-system-status.php:
|
416 |
msgid ""
|
417 |
"The system check cannot determine which %1$s version is installed because "
|
418 |
"%2$s module is disabled. Ask your hosting company to enable it."
|
@@ -422,7 +422,7 @@ msgstr ""
|
|
422 |
"hosting que lo active."
|
423 |
|
424 |
#. translators: %1$s TLS label
|
425 |
-
#: includes/class-yith-system-status.php:
|
426 |
msgid ""
|
427 |
"The system check cannot determine which %1$s version is installed due to a "
|
428 |
"connection issue between your site and our server."
|
@@ -627,12 +627,12 @@ msgstr "Archivo PHP error_log"
|
|
627 |
msgid "Download"
|
628 |
msgstr "Descargar"
|
629 |
|
630 |
-
#: templates/sysinfo/tabs/error-log.php:
|
631 |
msgid "The file size exceeds 8 megabytes so it must be downloaded"
|
632 |
msgstr "El archivo excede los 8 megabytes por lo que debe ser descargado"
|
633 |
|
634 |
#. translators: %s file name.
|
635 |
-
#: templates/sysinfo/tabs/error-log.php:
|
636 |
msgid ""
|
637 |
"No Log file available. Enable the WordPress debug by adding this in the %s "
|
638 |
"file of your installation"
|
@@ -640,11 +640,11 @@ msgstr ""
|
|
640 |
"No hay archivo de registro disponible. Activa la depuración de WordPress "
|
641 |
"añadiendo este código en el archivo %s de tu instalación"
|
642 |
|
643 |
-
#: templates/sysinfo/tabs/error-log.php:
|
644 |
msgid "Copied!"
|
645 |
msgstr "¡Copiado!"
|
646 |
|
647 |
-
#: templates/sysinfo/tabs/error-log.php:
|
648 |
msgid "Copy Code"
|
649 |
msgstr "Copiar código"
|
650 |
|
@@ -767,7 +767,7 @@ msgctxt "Elementor Widget - section title"
|
|
767 |
msgid "%s - Options"
|
768 |
msgstr "%s - Opciones"
|
769 |
|
770 |
-
#: includes/builders/gutenberg/class-yith-gutenberg.php:
|
771 |
msgctxt "[gutenberg]: Category Name"
|
772 |
msgid "YITH"
|
773 |
msgstr "YITH"
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: YITH Framework\n"
|
6 |
"Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
|
7 |
+
"POT-Creation-Date: 2022-11-11 07:31:10+00:00\n"
|
8 |
"PO-Revision-Date: 2022-09-22 14:14:01+0000\n"
|
9 |
"Language: es\n"
|
10 |
"MIME-Version: 1.0\n"
|
340 |
"La comprobación del sistema ha detectado algunos problemas de compatibilidad "
|
341 |
"en tu instalación.%1$sHaz clic quí%2$s para saber más"
|
342 |
|
343 |
+
#: includes/class-yith-system-status.php:496
|
344 |
msgid "Enabled"
|
345 |
msgstr "Activado"
|
346 |
|
347 |
+
#: includes/class-yith-system-status.php:496
|
348 |
msgid "Disabled"
|
349 |
msgstr "Desactivado"
|
350 |
|
351 |
+
#: includes/class-yith-system-status.php:501
|
352 |
msgid "N/A"
|
353 |
msgstr "N/D"
|
354 |
|
355 |
#. translators: %1$s plugin name, %2$s requirement name
|
356 |
+
#: includes/class-yith-system-status.php:528
|
357 |
msgid "%1$s needs %2$s enabled"
|
358 |
msgstr "%1$s necesita %2$s activado"
|
359 |
|
360 |
#. translators: %1$s plugin name, %2$s required memory amount
|
361 |
+
#: includes/class-yith-system-status.php:531
|
362 |
msgid "%1$s needs at least %2$s of available memory"
|
363 |
msgstr "%1$s necesita al menos %2$s de memoria disponible"
|
364 |
|
365 |
#. translators: %1$s plugin name, %2$s version number
|
366 |
+
#: includes/class-yith-system-status.php:534
|
367 |
msgid "%1$s needs at least %2$s version"
|
368 |
msgstr "%1$s necesita al menos la versión %2$s"
|
369 |
|
370 |
+
#: includes/class-yith-system-status.php:558
|
371 |
msgid ""
|
372 |
"Update it to the latest version in order to benefit of all new features and "
|
373 |
"security updates."
|
375 |
"Actualízalo a la última versión para beneficiarte de todas las "
|
376 |
"características y actualizaciones de seguridad."
|
377 |
|
378 |
+
#: includes/class-yith-system-status.php:562
|
379 |
+
#: includes/class-yith-system-status.php:568
|
380 |
msgid "Contact your hosting company in order to update it."
|
381 |
msgstr "Ponte en contacto con tu empresa de hosting para actualizarlo."
|
382 |
|
383 |
+
#: includes/class-yith-system-status.php:566
|
384 |
msgid "Contact your hosting company in order to install it."
|
385 |
msgstr "Ponte en contacto con tu empresa de hosting para instalarlo."
|
386 |
|
387 |
#. translators: %1$s code, %2$s file name
|
388 |
+
#: includes/class-yith-system-status.php:573
|
389 |
msgid "Remove %1$s from %2$s file"
|
390 |
msgstr "Eliminar %1$s desde el archivo %2$s "
|
391 |
|
392 |
+
#: includes/class-yith-system-status.php:581
|
393 |
msgid "Contact your hosting company in order to enable it."
|
394 |
msgstr "Contacta con tu empresa de hosting para activarlo."
|
395 |
|
396 |
#. translators: %1$s opening link tag, %2$s closing link tag
|
397 |
+
#: includes/class-yith-system-status.php:585
|
398 |
+
#: includes/class-yith-system-status.php:608
|
399 |
msgid ""
|
400 |
"Read more %1$shere%2$s or contact your hosting company in order to increase "
|
401 |
"it."
|
403 |
"Lee más %1$saquí%2$s o contacta a tu empresa de hosting para incrementarlo."
|
404 |
|
405 |
#. translators: %s recommended memory amount
|
406 |
+
#: includes/class-yith-system-status.php:605
|
407 |
msgid ""
|
408 |
"For optimal functioning of our plugins, we suggest setting at least %s of "
|
409 |
"available memory"
|
412 |
"memoria disponible"
|
413 |
|
414 |
#. translators: %1$s TLS label, %2$s cURL label
|
415 |
+
#: includes/class-yith-system-status.php:613
|
416 |
msgid ""
|
417 |
"The system check cannot determine which %1$s version is installed because "
|
418 |
"%2$s module is disabled. Ask your hosting company to enable it."
|
422 |
"hosting que lo active."
|
423 |
|
424 |
#. translators: %1$s TLS label
|
425 |
+
#: includes/class-yith-system-status.php:616
|
426 |
msgid ""
|
427 |
"The system check cannot determine which %1$s version is installed due to a "
|
428 |
"connection issue between your site and our server."
|
627 |
msgid "Download"
|
628 |
msgstr "Descargar"
|
629 |
|
630 |
+
#: templates/sysinfo/tabs/error-log.php:73
|
631 |
msgid "The file size exceeds 8 megabytes so it must be downloaded"
|
632 |
msgstr "El archivo excede los 8 megabytes por lo que debe ser descargado"
|
633 |
|
634 |
#. translators: %s file name.
|
635 |
+
#: templates/sysinfo/tabs/error-log.php:97
|
636 |
msgid ""
|
637 |
"No Log file available. Enable the WordPress debug by adding this in the %s "
|
638 |
"file of your installation"
|
640 |
"No hay archivo de registro disponible. Activa la depuración de WordPress "
|
641 |
"añadiendo este código en el archivo %s de tu instalación"
|
642 |
|
643 |
+
#: templates/sysinfo/tabs/error-log.php:106
|
644 |
msgid "Copied!"
|
645 |
msgstr "¡Copiado!"
|
646 |
|
647 |
+
#: templates/sysinfo/tabs/error-log.php:106
|
648 |
msgid "Copy Code"
|
649 |
msgstr "Copiar código"
|
650 |
|
767 |
msgid "%s - Options"
|
768 |
msgstr "%s - Opciones"
|
769 |
|
770 |
+
#: includes/builders/gutenberg/class-yith-gutenberg.php:152
|
771 |
msgctxt "[gutenberg]: Category Name"
|
772 |
msgid "YITH"
|
773 |
msgstr "YITH"
|
plugin-fw/languages/yith-plugin-fw-it_IT.po
CHANGED
@@ -4,7 +4,7 @@ msgid ""
|
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: YITH Framework\n"
|
6 |
"Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
|
7 |
-
"POT-Creation-Date: 2022-
|
8 |
"PO-Revision-Date: 2022-08-12 07:42:56+0000\n"
|
9 |
"Language: it\n"
|
10 |
"MIME-Version: 1.0\n"
|
@@ -337,34 +337,34 @@ msgstr ""
|
|
337 |
"Il controllo di sistema ha individuato delle incompatibilità con la tua "
|
338 |
"installazione. %1$sVedi qui%2$s per maggiori dettagli"
|
339 |
|
340 |
-
#: includes/class-yith-system-status.php:
|
341 |
msgid "Enabled"
|
342 |
msgstr "Abilitato"
|
343 |
|
344 |
-
#: includes/class-yith-system-status.php:
|
345 |
msgid "Disabled"
|
346 |
msgstr "Disabilitato"
|
347 |
|
348 |
-
#: includes/class-yith-system-status.php:
|
349 |
msgid "N/A"
|
350 |
msgstr "N.D."
|
351 |
|
352 |
#. translators: %1$s plugin name, %2$s requirement name
|
353 |
-
#: includes/class-yith-system-status.php:
|
354 |
msgid "%1$s needs %2$s enabled"
|
355 |
msgstr "%1$s necessita dell'attivazione di %2$s"
|
356 |
|
357 |
#. translators: %1$s plugin name, %2$s required memory amount
|
358 |
-
#: includes/class-yith-system-status.php:
|
359 |
msgid "%1$s needs at least %2$s of available memory"
|
360 |
msgstr "%1$s necessita di almeno %2$s di memoria disponibile"
|
361 |
|
362 |
#. translators: %1$s plugin name, %2$s version number
|
363 |
-
#: includes/class-yith-system-status.php:
|
364 |
msgid "%1$s needs at least %2$s version"
|
365 |
msgstr "%1$s necessita almeno della versione %2$s"
|
366 |
|
367 |
-
#: includes/class-yith-system-status.php:
|
368 |
msgid ""
|
369 |
"Update it to the latest version in order to benefit of all new features and "
|
370 |
"security updates."
|
@@ -372,27 +372,27 @@ msgstr ""
|
|
372 |
"Aggiorna all'ultima versione per beneficiare di tutte le nuove funzionalità "
|
373 |
"e degli aggiornamenti di sicurezza."
|
374 |
|
375 |
-
#: includes/class-yith-system-status.php:
|
376 |
-
#: includes/class-yith-system-status.php:
|
377 |
msgid "Contact your hosting company in order to update it."
|
378 |
msgstr "Contatta il tuo servizio hosting per aggiornarlo."
|
379 |
|
380 |
-
#: includes/class-yith-system-status.php:
|
381 |
msgid "Contact your hosting company in order to install it."
|
382 |
msgstr "Per installarlo contatta il tuo servizio di hosting."
|
383 |
|
384 |
#. translators: %1$s code, %2$s file name
|
385 |
-
#: includes/class-yith-system-status.php:
|
386 |
msgid "Remove %1$s from %2$s file"
|
387 |
msgstr "Rimuovi %1$s dal file %2$s"
|
388 |
|
389 |
-
#: includes/class-yith-system-status.php:
|
390 |
msgid "Contact your hosting company in order to enable it."
|
391 |
msgstr "Per attivarlo contatta il tuo servizio di hosting."
|
392 |
|
393 |
#. translators: %1$s opening link tag, %2$s closing link tag
|
394 |
-
#: includes/class-yith-system-status.php:
|
395 |
-
#: includes/class-yith-system-status.php:
|
396 |
msgid ""
|
397 |
"Read more %1$shere%2$s or contact your hosting company in order to increase "
|
398 |
"it."
|
@@ -401,7 +401,7 @@ msgstr ""
|
|
401 |
"per un upgrade."
|
402 |
|
403 |
#. translators: %s recommended memory amount
|
404 |
-
#: includes/class-yith-system-status.php:
|
405 |
msgid ""
|
406 |
"For optimal functioning of our plugins, we suggest setting at least %s of "
|
407 |
"available memory"
|
@@ -410,7 +410,7 @@ msgstr ""
|
|
410 |
"almeno %s della memoria disponibile"
|
411 |
|
412 |
#. translators: %1$s TLS label, %2$s cURL label
|
413 |
-
#: includes/class-yith-system-status.php:
|
414 |
msgid ""
|
415 |
"The system check cannot determine which %1$s version is installed because "
|
416 |
"%2$s module is disabled. Ask your hosting company to enable it."
|
@@ -420,7 +420,7 @@ msgstr ""
|
|
420 |
"attivarlo."
|
421 |
|
422 |
#. translators: %1$s TLS label
|
423 |
-
#: includes/class-yith-system-status.php:
|
424 |
msgid ""
|
425 |
"The system check cannot determine which %1$s version is installed due to a "
|
426 |
"connection issue between your site and our server."
|
@@ -625,14 +625,14 @@ msgstr "PHP error_log file"
|
|
625 |
msgid "Download"
|
626 |
msgstr "Scarica"
|
627 |
|
628 |
-
#: templates/sysinfo/tabs/error-log.php:
|
629 |
msgid "The file size exceeds 8 megabytes so it must be downloaded"
|
630 |
msgstr ""
|
631 |
"La dimensione del file supera gli 8 megabyte ed è quindi necessario "
|
632 |
"scaricarlo"
|
633 |
|
634 |
#. translators: %s file name.
|
635 |
-
#: templates/sysinfo/tabs/error-log.php:
|
636 |
msgid ""
|
637 |
"No Log file available. Enable the WordPress debug by adding this in the %s "
|
638 |
"file of your installation"
|
@@ -640,11 +640,11 @@ msgstr ""
|
|
640 |
"Nessun file log disponibile. Abilita il debug WordPress aggiungendo questo "
|
641 |
"nel file %s della tua installazione"
|
642 |
|
643 |
-
#: templates/sysinfo/tabs/error-log.php:
|
644 |
msgid "Copied!"
|
645 |
msgstr "Copiato!"
|
646 |
|
647 |
-
#: templates/sysinfo/tabs/error-log.php:
|
648 |
msgid "Copy Code"
|
649 |
msgstr "Copia codice"
|
650 |
|
@@ -767,7 +767,7 @@ msgctxt "Elementor Widget - section title"
|
|
767 |
msgid "%s - Options"
|
768 |
msgstr "%s - Opzioni"
|
769 |
|
770 |
-
#: includes/builders/gutenberg/class-yith-gutenberg.php:
|
771 |
msgctxt "[gutenberg]: Category Name"
|
772 |
msgid "YITH"
|
773 |
msgstr "YITH"
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: YITH Framework\n"
|
6 |
"Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
|
7 |
+
"POT-Creation-Date: 2022-11-11 07:31:10+00:00\n"
|
8 |
"PO-Revision-Date: 2022-08-12 07:42:56+0000\n"
|
9 |
"Language: it\n"
|
10 |
"MIME-Version: 1.0\n"
|
337 |
"Il controllo di sistema ha individuato delle incompatibilità con la tua "
|
338 |
"installazione. %1$sVedi qui%2$s per maggiori dettagli"
|
339 |
|
340 |
+
#: includes/class-yith-system-status.php:496
|
341 |
msgid "Enabled"
|
342 |
msgstr "Abilitato"
|
343 |
|
344 |
+
#: includes/class-yith-system-status.php:496
|
345 |
msgid "Disabled"
|
346 |
msgstr "Disabilitato"
|
347 |
|
348 |
+
#: includes/class-yith-system-status.php:501
|
349 |
msgid "N/A"
|
350 |
msgstr "N.D."
|
351 |
|
352 |
#. translators: %1$s plugin name, %2$s requirement name
|
353 |
+
#: includes/class-yith-system-status.php:528
|
354 |
msgid "%1$s needs %2$s enabled"
|
355 |
msgstr "%1$s necessita dell'attivazione di %2$s"
|
356 |
|
357 |
#. translators: %1$s plugin name, %2$s required memory amount
|
358 |
+
#: includes/class-yith-system-status.php:531
|
359 |
msgid "%1$s needs at least %2$s of available memory"
|
360 |
msgstr "%1$s necessita di almeno %2$s di memoria disponibile"
|
361 |
|
362 |
#. translators: %1$s plugin name, %2$s version number
|
363 |
+
#: includes/class-yith-system-status.php:534
|
364 |
msgid "%1$s needs at least %2$s version"
|
365 |
msgstr "%1$s necessita almeno della versione %2$s"
|
366 |
|
367 |
+
#: includes/class-yith-system-status.php:558
|
368 |
msgid ""
|
369 |
"Update it to the latest version in order to benefit of all new features and "
|
370 |
"security updates."
|
372 |
"Aggiorna all'ultima versione per beneficiare di tutte le nuove funzionalità "
|
373 |
"e degli aggiornamenti di sicurezza."
|
374 |
|
375 |
+
#: includes/class-yith-system-status.php:562
|
376 |
+
#: includes/class-yith-system-status.php:568
|
377 |
msgid "Contact your hosting company in order to update it."
|
378 |
msgstr "Contatta il tuo servizio hosting per aggiornarlo."
|
379 |
|
380 |
+
#: includes/class-yith-system-status.php:566
|
381 |
msgid "Contact your hosting company in order to install it."
|
382 |
msgstr "Per installarlo contatta il tuo servizio di hosting."
|
383 |
|
384 |
#. translators: %1$s code, %2$s file name
|
385 |
+
#: includes/class-yith-system-status.php:573
|
386 |
msgid "Remove %1$s from %2$s file"
|
387 |
msgstr "Rimuovi %1$s dal file %2$s"
|
388 |
|
389 |
+
#: includes/class-yith-system-status.php:581
|
390 |
msgid "Contact your hosting company in order to enable it."
|
391 |
msgstr "Per attivarlo contatta il tuo servizio di hosting."
|
392 |
|
393 |
#. translators: %1$s opening link tag, %2$s closing link tag
|
394 |
+
#: includes/class-yith-system-status.php:585
|
395 |
+
#: includes/class-yith-system-status.php:608
|
396 |
msgid ""
|
397 |
"Read more %1$shere%2$s or contact your hosting company in order to increase "
|
398 |
"it."
|
401 |
"per un upgrade."
|
402 |
|
403 |
#. translators: %s recommended memory amount
|
404 |
+
#: includes/class-yith-system-status.php:605
|
405 |
msgid ""
|
406 |
"For optimal functioning of our plugins, we suggest setting at least %s of "
|
407 |
"available memory"
|
410 |
"almeno %s della memoria disponibile"
|
411 |
|
412 |
#. translators: %1$s TLS label, %2$s cURL label
|
413 |
+
#: includes/class-yith-system-status.php:613
|
414 |
msgid ""
|
415 |
"The system check cannot determine which %1$s version is installed because "
|
416 |
"%2$s module is disabled. Ask your hosting company to enable it."
|
420 |
"attivarlo."
|
421 |
|
422 |
#. translators: %1$s TLS label
|
423 |
+
#: includes/class-yith-system-status.php:616
|
424 |
msgid ""
|
425 |
"The system check cannot determine which %1$s version is installed due to a "
|
426 |
"connection issue between your site and our server."
|
625 |
msgid "Download"
|
626 |
msgstr "Scarica"
|
627 |
|
628 |
+
#: templates/sysinfo/tabs/error-log.php:73
|
629 |
msgid "The file size exceeds 8 megabytes so it must be downloaded"
|
630 |
msgstr ""
|
631 |
"La dimensione del file supera gli 8 megabyte ed è quindi necessario "
|
632 |
"scaricarlo"
|
633 |
|
634 |
#. translators: %s file name.
|
635 |
+
#: templates/sysinfo/tabs/error-log.php:97
|
636 |
msgid ""
|
637 |
"No Log file available. Enable the WordPress debug by adding this in the %s "
|
638 |
"file of your installation"
|
640 |
"Nessun file log disponibile. Abilita il debug WordPress aggiungendo questo "
|
641 |
"nel file %s della tua installazione"
|
642 |
|
643 |
+
#: templates/sysinfo/tabs/error-log.php:106
|
644 |
msgid "Copied!"
|
645 |
msgstr "Copiato!"
|
646 |
|
647 |
+
#: templates/sysinfo/tabs/error-log.php:106
|
648 |
msgid "Copy Code"
|
649 |
msgstr "Copia codice"
|
650 |
|
767 |
msgid "%s - Options"
|
768 |
msgstr "%s - Opzioni"
|
769 |
|
770 |
+
#: includes/builders/gutenberg/class-yith-gutenberg.php:152
|
771 |
msgctxt "[gutenberg]: Category Name"
|
772 |
msgid "YITH"
|
773 |
msgstr "YITH"
|
plugin-fw/languages/yith-plugin-fw-nl_NL.po
CHANGED
@@ -4,7 +4,7 @@ msgid ""
|
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: YITH Framework\n"
|
6 |
"Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
|
7 |
-
"POT-Creation-Date: 2022-
|
8 |
"PO-Revision-Date: 2021-12-13 12:45:02+0000\n"
|
9 |
"Language: nl\n"
|
10 |
"MIME-Version: 1.0\n"
|
@@ -339,34 +339,34 @@ msgstr ""
|
|
339 |
"Het systeem heeft enkele compatibiliteitsproblemen gevonden op uw "
|
340 |
"installatie.%1$sklik hier%2$s om meer te weten te komen"
|
341 |
|
342 |
-
#: includes/class-yith-system-status.php:
|
343 |
msgid "Enabled"
|
344 |
msgstr "Ingeschakeld"
|
345 |
|
346 |
-
#: includes/class-yith-system-status.php:
|
347 |
msgid "Disabled"
|
348 |
msgstr "Uitgeschakeld"
|
349 |
|
350 |
-
#: includes/class-yith-system-status.php:
|
351 |
msgid "N/A"
|
352 |
msgstr "N.v.t"
|
353 |
|
354 |
#. translators: %1$s plugin name, %2$s requirement name
|
355 |
-
#: includes/class-yith-system-status.php:
|
356 |
msgid "%1$s needs %2$s enabled"
|
357 |
msgstr "%1$s heeft nodig %2$s ingeschakeld"
|
358 |
|
359 |
#. translators: %1$s plugin name, %2$s required memory amount
|
360 |
-
#: includes/class-yith-system-status.php:
|
361 |
msgid "%1$s needs at least %2$s of available memory"
|
362 |
msgstr "%1$ss heeft ten minste %2$s beschikbaar geheugen nodig"
|
363 |
|
364 |
#. translators: %1$s plugin name, %2$s version number
|
365 |
-
#: includes/class-yith-system-status.php:
|
366 |
msgid "%1$s needs at least %2$s version"
|
367 |
msgstr "%1$s heeft minstens %2$s versie nodig"
|
368 |
|
369 |
-
#: includes/class-yith-system-status.php:
|
370 |
msgid ""
|
371 |
"Update it to the latest version in order to benefit of all new features and "
|
372 |
"security updates."
|
@@ -374,27 +374,27 @@ msgstr ""
|
|
374 |
"Bijwerken naar de laatste versie, om te profiteren van alle nieuwe opties en "
|
375 |
"veiligheidsupdates."
|
376 |
|
377 |
-
#: includes/class-yith-system-status.php:
|
378 |
-
#: includes/class-yith-system-status.php:
|
379 |
msgid "Contact your hosting company in order to update it."
|
380 |
msgstr "Neem contact op met uw hosting provider om het bij te werken."
|
381 |
|
382 |
-
#: includes/class-yith-system-status.php:
|
383 |
msgid "Contact your hosting company in order to install it."
|
384 |
msgstr "Neem contact op met je hostingbedrijf om het te installeren."
|
385 |
|
386 |
#. translators: %1$s code, %2$s file name
|
387 |
-
#: includes/class-yith-system-status.php:
|
388 |
msgid "Remove %1$s from %2$s file"
|
389 |
msgstr "Verwijder %1$s uit %2$s bestand"
|
390 |
|
391 |
-
#: includes/class-yith-system-status.php:
|
392 |
msgid "Contact your hosting company in order to enable it."
|
393 |
msgstr "Neem contact op met uw hosting provider om het in te schakelen."
|
394 |
|
395 |
#. translators: %1$s opening link tag, %2$s closing link tag
|
396 |
-
#: includes/class-yith-system-status.php:
|
397 |
-
#: includes/class-yith-system-status.php:
|
398 |
msgid ""
|
399 |
"Read more %1$shere%2$s or contact your hosting company in order to increase "
|
400 |
"it."
|
@@ -403,7 +403,7 @@ msgstr ""
|
|
403 |
"het te verhogen."
|
404 |
|
405 |
#. translators: %s recommended memory amount
|
406 |
-
#: includes/class-yith-system-status.php:
|
407 |
msgid ""
|
408 |
"For optimal functioning of our plugins, we suggest setting at least %s of "
|
409 |
"available memory"
|
@@ -412,7 +412,7 @@ msgstr ""
|
|
412 |
"beschikbaar geheugen"
|
413 |
|
414 |
#. translators: %1$s TLS label, %2$s cURL label
|
415 |
-
#: includes/class-yith-system-status.php:
|
416 |
msgid ""
|
417 |
"The system check cannot determine which %1$s version is installed because "
|
418 |
"%2$s module is disabled. Ask your hosting company to enable it."
|
@@ -421,7 +421,7 @@ msgstr ""
|
|
421 |
"module is uitgeschakeld. Vraag je hostingmaatschappij om het in te schakelen."
|
422 |
|
423 |
#. translators: %1$s TLS label
|
424 |
-
#: includes/class-yith-system-status.php:
|
425 |
msgid ""
|
426 |
"The system check cannot determine which %1$s version is installed due to a "
|
427 |
"connection issue between your site and our server."
|
@@ -626,13 +626,13 @@ msgstr "PHP error_log bestand"
|
|
626 |
msgid "Download"
|
627 |
msgstr "Download"
|
628 |
|
629 |
-
#: templates/sysinfo/tabs/error-log.php:
|
630 |
msgid "The file size exceeds 8 megabytes so it must be downloaded"
|
631 |
msgstr ""
|
632 |
"De bestandsgrootte overschrijd 8 megabytes, dus het moet worden gedownload "
|
633 |
|
634 |
#. translators: %s file name.
|
635 |
-
#: templates/sysinfo/tabs/error-log.php:
|
636 |
msgid ""
|
637 |
"No Log file available. Enable the WordPress debug by adding this in the %s "
|
638 |
"file of your installation"
|
@@ -640,11 +640,11 @@ msgstr ""
|
|
640 |
"Geen log bestand beschikbaar. WordPress debug inschakelen door dit bestand "
|
641 |
"toe te voegen aan het %s bestand van je installatie "
|
642 |
|
643 |
-
#: templates/sysinfo/tabs/error-log.php:
|
644 |
msgid "Copied!"
|
645 |
msgstr "Gekopieerd!"
|
646 |
|
647 |
-
#: templates/sysinfo/tabs/error-log.php:
|
648 |
msgid "Copy Code"
|
649 |
msgstr "Code kopiëren"
|
650 |
|
@@ -763,7 +763,7 @@ msgctxt "Elementor Widget - section title"
|
|
763 |
msgid "%s - Options"
|
764 |
msgstr "%s - Opties"
|
765 |
|
766 |
-
#: includes/builders/gutenberg/class-yith-gutenberg.php:
|
767 |
msgctxt "[gutenberg]: Category Name"
|
768 |
msgid "YITH"
|
769 |
msgstr "YITH"
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: YITH Framework\n"
|
6 |
"Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
|
7 |
+
"POT-Creation-Date: 2022-11-11 07:31:10+00:00\n"
|
8 |
"PO-Revision-Date: 2021-12-13 12:45:02+0000\n"
|
9 |
"Language: nl\n"
|
10 |
"MIME-Version: 1.0\n"
|
339 |
"Het systeem heeft enkele compatibiliteitsproblemen gevonden op uw "
|
340 |
"installatie.%1$sklik hier%2$s om meer te weten te komen"
|
341 |
|
342 |
+
#: includes/class-yith-system-status.php:496
|
343 |
msgid "Enabled"
|
344 |
msgstr "Ingeschakeld"
|
345 |
|
346 |
+
#: includes/class-yith-system-status.php:496
|
347 |
msgid "Disabled"
|
348 |
msgstr "Uitgeschakeld"
|
349 |
|
350 |
+
#: includes/class-yith-system-status.php:501
|
351 |
msgid "N/A"
|
352 |
msgstr "N.v.t"
|
353 |
|
354 |
#. translators: %1$s plugin name, %2$s requirement name
|
355 |
+
#: includes/class-yith-system-status.php:528
|
356 |
msgid "%1$s needs %2$s enabled"
|
357 |
msgstr "%1$s heeft nodig %2$s ingeschakeld"
|
358 |
|
359 |
#. translators: %1$s plugin name, %2$s required memory amount
|
360 |
+
#: includes/class-yith-system-status.php:531
|
361 |
msgid "%1$s needs at least %2$s of available memory"
|
362 |
msgstr "%1$ss heeft ten minste %2$s beschikbaar geheugen nodig"
|
363 |
|
364 |
#. translators: %1$s plugin name, %2$s version number
|
365 |
+
#: includes/class-yith-system-status.php:534
|
366 |
msgid "%1$s needs at least %2$s version"
|
367 |
msgstr "%1$s heeft minstens %2$s versie nodig"
|
368 |
|
369 |
+
#: includes/class-yith-system-status.php:558
|
370 |
msgid ""
|
371 |
"Update it to the latest version in order to benefit of all new features and "
|
372 |
"security updates."
|
374 |
"Bijwerken naar de laatste versie, om te profiteren van alle nieuwe opties en "
|
375 |
"veiligheidsupdates."
|
376 |
|
377 |
+
#: includes/class-yith-system-status.php:562
|
378 |
+
#: includes/class-yith-system-status.php:568
|
379 |
msgid "Contact your hosting company in order to update it."
|
380 |
msgstr "Neem contact op met uw hosting provider om het bij te werken."
|
381 |
|
382 |
+
#: includes/class-yith-system-status.php:566
|
383 |
msgid "Contact your hosting company in order to install it."
|
384 |
msgstr "Neem contact op met je hostingbedrijf om het te installeren."
|
385 |
|
386 |
#. translators: %1$s code, %2$s file name
|
387 |
+
#: includes/class-yith-system-status.php:573
|
388 |
msgid "Remove %1$s from %2$s file"
|
389 |
msgstr "Verwijder %1$s uit %2$s bestand"
|
390 |
|
391 |
+
#: includes/class-yith-system-status.php:581
|
392 |
msgid "Contact your hosting company in order to enable it."
|
393 |
msgstr "Neem contact op met uw hosting provider om het in te schakelen."
|
394 |
|
395 |
#. translators: %1$s opening link tag, %2$s closing link tag
|
396 |
+
#: includes/class-yith-system-status.php:585
|
397 |
+
#: includes/class-yith-system-status.php:608
|
398 |
msgid ""
|
399 |
"Read more %1$shere%2$s or contact your hosting company in order to increase "
|
400 |
"it."
|
403 |
"het te verhogen."
|
404 |
|
405 |
#. translators: %s recommended memory amount
|
406 |
+
#: includes/class-yith-system-status.php:605
|
407 |
msgid ""
|
408 |
"For optimal functioning of our plugins, we suggest setting at least %s of "
|
409 |
"available memory"
|
412 |
"beschikbaar geheugen"
|
413 |
|
414 |
#. translators: %1$s TLS label, %2$s cURL label
|
415 |
+
#: includes/class-yith-system-status.php:613
|
416 |
msgid ""
|
417 |
"The system check cannot determine which %1$s version is installed because "
|
418 |
"%2$s module is disabled. Ask your hosting company to enable it."
|
421 |
"module is uitgeschakeld. Vraag je hostingmaatschappij om het in te schakelen."
|
422 |
|
423 |
#. translators: %1$s TLS label
|
424 |
+
#: includes/class-yith-system-status.php:616
|
425 |
msgid ""
|
426 |
"The system check cannot determine which %1$s version is installed due to a "
|
427 |
"connection issue between your site and our server."
|
626 |
msgid "Download"
|
627 |
msgstr "Download"
|
628 |
|
629 |
+
#: templates/sysinfo/tabs/error-log.php:73
|
630 |
msgid "The file size exceeds 8 megabytes so it must be downloaded"
|
631 |
msgstr ""
|
632 |
"De bestandsgrootte overschrijd 8 megabytes, dus het moet worden gedownload "
|
633 |
|
634 |
#. translators: %s file name.
|
635 |
+
#: templates/sysinfo/tabs/error-log.php:97
|
636 |
msgid ""
|
637 |
"No Log file available. Enable the WordPress debug by adding this in the %s "
|
638 |
"file of your installation"
|
640 |
"Geen log bestand beschikbaar. WordPress debug inschakelen door dit bestand "
|
641 |
"toe te voegen aan het %s bestand van je installatie "
|
642 |
|
643 |
+
#: templates/sysinfo/tabs/error-log.php:106
|
644 |
msgid "Copied!"
|
645 |
msgstr "Gekopieerd!"
|
646 |
|
647 |
+
#: templates/sysinfo/tabs/error-log.php:106
|
648 |
msgid "Copy Code"
|
649 |
msgstr "Code kopiëren"
|
650 |
|
763 |
msgid "%s - Options"
|
764 |
msgstr "%s - Opties"
|
765 |
|
766 |
+
#: includes/builders/gutenberg/class-yith-gutenberg.php:152
|
767 |
msgctxt "[gutenberg]: Category Name"
|
768 |
msgid "YITH"
|
769 |
msgstr "YITH"
|
plugin-fw/languages/yith-plugin-fw-ru_RU.po
CHANGED
@@ -4,7 +4,7 @@ msgid ""
|
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: YITH Framework\n"
|
6 |
"Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
|
7 |
-
"POT-Creation-Date: 2022-
|
8 |
"PO-Revision-Date: 2022-04-05 17:22:32+0000\n"
|
9 |
"Language: ru\n"
|
10 |
"MIME-Version: 1.0\n"
|
@@ -337,34 +337,34 @@ msgstr ""
|
|
337 |
"Проверка системы обнаружила некоторые проблемы совместимости в вашей "
|
338 |
"установке.%1$sНажмите сюда%2$s чтобы узнать больше"
|
339 |
|
340 |
-
#: includes/class-yith-system-status.php:
|
341 |
msgid "Enabled"
|
342 |
msgstr "Включено"
|
343 |
|
344 |
-
#: includes/class-yith-system-status.php:
|
345 |
msgid "Disabled"
|
346 |
msgstr "Отключено"
|
347 |
|
348 |
-
#: includes/class-yith-system-status.php:
|
349 |
msgid "N/A"
|
350 |
msgstr "Б/н"
|
351 |
|
352 |
#. translators: %1$s plugin name, %2$s requirement name
|
353 |
-
#: includes/class-yith-system-status.php:
|
354 |
msgid "%1$s needs %2$s enabled"
|
355 |
msgstr "%1$s требует включения %2$s"
|
356 |
|
357 |
#. translators: %1$s plugin name, %2$s required memory amount
|
358 |
-
#: includes/class-yith-system-status.php:
|
359 |
msgid "%1$s needs at least %2$s of available memory"
|
360 |
msgstr "%1$s требуется не менее %2$s доступной памяти"
|
361 |
|
362 |
#. translators: %1$s plugin name, %2$s version number
|
363 |
-
#: includes/class-yith-system-status.php:
|
364 |
msgid "%1$s needs at least %2$s version"
|
365 |
msgstr "%1$s требует как минимум %2$s версии"
|
366 |
|
367 |
-
#: includes/class-yith-system-status.php:
|
368 |
msgid ""
|
369 |
"Update it to the latest version in order to benefit of all new features and "
|
370 |
"security updates."
|
@@ -372,27 +372,27 @@ msgstr ""
|
|
372 |
"Обновите его до последней версии, чтобы воспользоваться всеми новыми "
|
373 |
"функциями и обновлениями безопасности."
|
374 |
|
375 |
-
#: includes/class-yith-system-status.php:
|
376 |
-
#: includes/class-yith-system-status.php:
|
377 |
msgid "Contact your hosting company in order to update it."
|
378 |
msgstr "Свяжитесь с вашей хостинговой компанией, чтобы обновить его."
|
379 |
|
380 |
-
#: includes/class-yith-system-status.php:
|
381 |
msgid "Contact your hosting company in order to install it."
|
382 |
msgstr "Для его установки обратитесь в свою хостинговую компанию."
|
383 |
|
384 |
#. translators: %1$s code, %2$s file name
|
385 |
-
#: includes/class-yith-system-status.php:
|
386 |
msgid "Remove %1$s from %2$s file"
|
387 |
msgstr "Удалить %1$s из файла %2$s"
|
388 |
|
389 |
-
#: includes/class-yith-system-status.php:
|
390 |
msgid "Contact your hosting company in order to enable it."
|
391 |
msgstr "Свяжитесь с вашей хостинговой компанией, чтобы включить его."
|
392 |
|
393 |
#. translators: %1$s opening link tag, %2$s closing link tag
|
394 |
-
#: includes/class-yith-system-status.php:
|
395 |
-
#: includes/class-yith-system-status.php:
|
396 |
msgid ""
|
397 |
"Read more %1$shere%2$s or contact your hosting company in order to increase "
|
398 |
"it."
|
@@ -401,7 +401,7 @@ msgstr ""
|
|
401 |
"чтобы увеличить его."
|
402 |
|
403 |
#. translators: %s recommended memory amount
|
404 |
-
#: includes/class-yith-system-status.php:
|
405 |
msgid ""
|
406 |
"For optimal functioning of our plugins, we suggest setting at least %s of "
|
407 |
"available memory"
|
@@ -410,7 +410,7 @@ msgstr ""
|
|
410 |
"не менее %s доступной памяти"
|
411 |
|
412 |
#. translators: %1$s TLS label, %2$s cURL label
|
413 |
-
#: includes/class-yith-system-status.php:
|
414 |
msgid ""
|
415 |
"The system check cannot determine which %1$s version is installed because "
|
416 |
"%2$s module is disabled. Ask your hosting company to enable it."
|
@@ -420,7 +420,7 @@ msgstr ""
|
|
420 |
"его."
|
421 |
|
422 |
#. translators: %1$s TLS label
|
423 |
-
#: includes/class-yith-system-status.php:
|
424 |
msgid ""
|
425 |
"The system check cannot determine which %1$s version is installed due to a "
|
426 |
"connection issue between your site and our server."
|
@@ -625,12 +625,12 @@ msgstr "PHP error_log file"
|
|
625 |
msgid "Download"
|
626 |
msgstr "Загрузка"
|
627 |
|
628 |
-
#: templates/sysinfo/tabs/error-log.php:
|
629 |
msgid "The file size exceeds 8 megabytes so it must be downloaded"
|
630 |
msgstr "Размер файла превышает 8 мегабайт, поэтому его необходимо загрузить"
|
631 |
|
632 |
#. translators: %s file name.
|
633 |
-
#: templates/sysinfo/tabs/error-log.php:
|
634 |
msgid ""
|
635 |
"No Log file available. Enable the WordPress debug by adding this in the %s "
|
636 |
"file of your installation"
|
@@ -638,11 +638,11 @@ msgstr ""
|
|
638 |
"Файл журнала недоступен. Включите отладку WordPress, добавив следующее в "
|
639 |
"файл %s вашей установки"
|
640 |
|
641 |
-
#: templates/sysinfo/tabs/error-log.php:
|
642 |
msgid "Copied!"
|
643 |
msgstr "Скопирован!"
|
644 |
|
645 |
-
#: templates/sysinfo/tabs/error-log.php:
|
646 |
msgid "Copy Code"
|
647 |
msgstr "Копировать Код"
|
648 |
|
@@ -763,7 +763,7 @@ msgctxt "Elementor Widget - section title"
|
|
763 |
msgid "%s - Options"
|
764 |
msgstr "%s - Параметры"
|
765 |
|
766 |
-
#: includes/builders/gutenberg/class-yith-gutenberg.php:
|
767 |
msgctxt "[gutenberg]: Category Name"
|
768 |
msgid "YITH"
|
769 |
msgstr "YITH"
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: YITH Framework\n"
|
6 |
"Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
|
7 |
+
"POT-Creation-Date: 2022-11-11 07:31:10+00:00\n"
|
8 |
"PO-Revision-Date: 2022-04-05 17:22:32+0000\n"
|
9 |
"Language: ru\n"
|
10 |
"MIME-Version: 1.0\n"
|
337 |
"Проверка системы обнаружила некоторые проблемы совместимости в вашей "
|
338 |
"установке.%1$sНажмите сюда%2$s чтобы узнать больше"
|
339 |
|
340 |
+
#: includes/class-yith-system-status.php:496
|
341 |
msgid "Enabled"
|
342 |
msgstr "Включено"
|
343 |
|
344 |
+
#: includes/class-yith-system-status.php:496
|
345 |
msgid "Disabled"
|
346 |
msgstr "Отключено"
|
347 |
|
348 |
+
#: includes/class-yith-system-status.php:501
|
349 |
msgid "N/A"
|
350 |
msgstr "Б/н"
|
351 |
|
352 |
#. translators: %1$s plugin name, %2$s requirement name
|
353 |
+
#: includes/class-yith-system-status.php:528
|
354 |
msgid "%1$s needs %2$s enabled"
|
355 |
msgstr "%1$s требует включения %2$s"
|
356 |
|
357 |
#. translators: %1$s plugin name, %2$s required memory amount
|
358 |
+
#: includes/class-yith-system-status.php:531
|
359 |
msgid "%1$s needs at least %2$s of available memory"
|
360 |
msgstr "%1$s требуется не менее %2$s доступной памяти"
|
361 |
|
362 |
#. translators: %1$s plugin name, %2$s version number
|
363 |
+
#: includes/class-yith-system-status.php:534
|
364 |
msgid "%1$s needs at least %2$s version"
|
365 |
msgstr "%1$s требует как минимум %2$s версии"
|
366 |
|
367 |
+
#: includes/class-yith-system-status.php:558
|
368 |
msgid ""
|
369 |
"Update it to the latest version in order to benefit of all new features and "
|
370 |
"security updates."
|
372 |
"Обновите его до последней версии, чтобы воспользоваться всеми новыми "
|
373 |
"функциями и обновлениями безопасности."
|
374 |
|
375 |
+
#: includes/class-yith-system-status.php:562
|
376 |
+
#: includes/class-yith-system-status.php:568
|
377 |
msgid "Contact your hosting company in order to update it."
|
378 |
msgstr "Свяжитесь с вашей хостинговой компанией, чтобы обновить его."
|
379 |
|
380 |
+
#: includes/class-yith-system-status.php:566
|
381 |
msgid "Contact your hosting company in order to install it."
|
382 |
msgstr "Для его установки обратитесь в свою хостинговую компанию."
|
383 |
|
384 |
#. translators: %1$s code, %2$s file name
|
385 |
+
#: includes/class-yith-system-status.php:573
|
386 |
msgid "Remove %1$s from %2$s file"
|
387 |
msgstr "Удалить %1$s из файла %2$s"
|
388 |
|
389 |
+
#: includes/class-yith-system-status.php:581
|
390 |
msgid "Contact your hosting company in order to enable it."
|
391 |
msgstr "Свяжитесь с вашей хостинговой компанией, чтобы включить его."
|
392 |
|
393 |
#. translators: %1$s opening link tag, %2$s closing link tag
|
394 |
+
#: includes/class-yith-system-status.php:585
|
395 |
+
#: includes/class-yith-system-status.php:608
|
396 |
msgid ""
|
397 |
"Read more %1$shere%2$s or contact your hosting company in order to increase "
|
398 |
"it."
|
401 |
"чтобы увеличить его."
|
402 |
|
403 |
#. translators: %s recommended memory amount
|
404 |
+
#: includes/class-yith-system-status.php:605
|
405 |
msgid ""
|
406 |
"For optimal functioning of our plugins, we suggest setting at least %s of "
|
407 |
"available memory"
|
410 |
"не менее %s доступной памяти"
|
411 |
|
412 |
#. translators: %1$s TLS label, %2$s cURL label
|
413 |
+
#: includes/class-yith-system-status.php:613
|
414 |
msgid ""
|
415 |
"The system check cannot determine which %1$s version is installed because "
|
416 |
"%2$s module is disabled. Ask your hosting company to enable it."
|
420 |
"его."
|
421 |
|
422 |
#. translators: %1$s TLS label
|
423 |
+
#: includes/class-yith-system-status.php:616
|
424 |
msgid ""
|
425 |
"The system check cannot determine which %1$s version is installed due to a "
|
426 |
"connection issue between your site and our server."
|
625 |
msgid "Download"
|
626 |
msgstr "Загрузка"
|
627 |
|
628 |
+
#: templates/sysinfo/tabs/error-log.php:73
|
629 |
msgid "The file size exceeds 8 megabytes so it must be downloaded"
|
630 |
msgstr "Размер файла превышает 8 мегабайт, поэтому его необходимо загрузить"
|
631 |
|
632 |
#. translators: %s file name.
|
633 |
+
#: templates/sysinfo/tabs/error-log.php:97
|
634 |
msgid ""
|
635 |
"No Log file available. Enable the WordPress debug by adding this in the %s "
|
636 |
"file of your installation"
|
638 |
"Файл журнала недоступен. Включите отладку WordPress, добавив следующее в "
|
639 |
"файл %s вашей установки"
|
640 |
|
641 |
+
#: templates/sysinfo/tabs/error-log.php:106
|
642 |
msgid "Copied!"
|
643 |
msgstr "Скопирован!"
|
644 |
|
645 |
+
#: templates/sysinfo/tabs/error-log.php:106
|
646 |
msgid "Copy Code"
|
647 |
msgstr "Копировать Код"
|
648 |
|
763 |
msgid "%s - Options"
|
764 |
msgstr "%s - Параметры"
|
765 |
|
766 |
+
#: includes/builders/gutenberg/class-yith-gutenberg.php:152
|
767 |
msgctxt "[gutenberg]: Category Name"
|
768 |
msgid "YITH"
|
769 |
msgstr "YITH"
|
plugin-fw/languages/yith-plugin-fw-zh_CN.po
CHANGED
@@ -4,7 +4,7 @@ msgid ""
|
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: YITH Framework\n"
|
6 |
"Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
|
7 |
-
"POT-Creation-Date: 2022-
|
8 |
"PO-Revision-Date: 2022-06-29 13:12:18+0000\n"
|
9 |
"Language: zh\n"
|
10 |
"MIME-Version: 1.0\n"
|
@@ -328,74 +328,74 @@ msgid ""
|
|
328 |
msgstr ""
|
329 |
"系統檢查檢測到您的安裝存在一些相容性問題。%1$s 點擊此處 %2$s 了解更多訊息"
|
330 |
|
331 |
-
#: includes/class-yith-system-status.php:
|
332 |
msgid "Enabled"
|
333 |
msgstr "啟用"
|
334 |
|
335 |
-
#: includes/class-yith-system-status.php:
|
336 |
msgid "Disabled"
|
337 |
msgstr "關閉"
|
338 |
|
339 |
-
#: includes/class-yith-system-status.php:
|
340 |
msgid "N/A"
|
341 |
msgstr "不詳"
|
342 |
|
343 |
#. translators: %1$s plugin name, %2$s requirement name
|
344 |
-
#: includes/class-yith-system-status.php:
|
345 |
msgid "%1$s needs %2$s enabled"
|
346 |
msgstr "%1$s 需要 %2$s 啟動"
|
347 |
|
348 |
#. translators: %1$s plugin name, %2$s required memory amount
|
349 |
-
#: includes/class-yith-system-status.php:
|
350 |
msgid "%1$s needs at least %2$s of available memory"
|
351 |
msgstr "%1$s 需要最少 %2$s 的可用記憶體"
|
352 |
|
353 |
#. translators: %1$s plugin name, %2$s version number
|
354 |
-
#: includes/class-yith-system-status.php:
|
355 |
msgid "%1$s needs at least %2$s version"
|
356 |
msgstr "%1$s 需要最低 %2$s 的版本"
|
357 |
|
358 |
-
#: includes/class-yith-system-status.php:
|
359 |
msgid ""
|
360 |
"Update it to the latest version in order to benefit of all new features and "
|
361 |
"security updates."
|
362 |
msgstr "將其更新到最新版本,以便從所有新功能和安全更新中受益。"
|
363 |
|
364 |
-
#: includes/class-yith-system-status.php:
|
365 |
-
#: includes/class-yith-system-status.php:
|
366 |
msgid "Contact your hosting company in order to update it."
|
367 |
msgstr "聯絡您的網站主機托管公司進行更新"
|
368 |
|
369 |
-
#: includes/class-yith-system-status.php:
|
370 |
msgid "Contact your hosting company in order to install it."
|
371 |
msgstr "聯絡您的網站主機托管公司進行安裝"
|
372 |
|
373 |
#. translators: %1$s code, %2$s file name
|
374 |
-
#: includes/class-yith-system-status.php:
|
375 |
msgid "Remove %1$s from %2$s file"
|
376 |
msgstr "從 %1$s 到 %2$s 移除這些檔案"
|
377 |
|
378 |
-
#: includes/class-yith-system-status.php:
|
379 |
msgid "Contact your hosting company in order to enable it."
|
380 |
msgstr "聯絡你的主機托管公司去啟動"
|
381 |
|
382 |
#. translators: %1$s opening link tag, %2$s closing link tag
|
383 |
-
#: includes/class-yith-system-status.php:
|
384 |
-
#: includes/class-yith-system-status.php:
|
385 |
msgid ""
|
386 |
"Read more %1$shere%2$s or contact your hosting company in order to increase "
|
387 |
"it."
|
388 |
msgstr "閱讀更多 %1$shere%2$s 或聯繫您的託管公司以增加它。"
|
389 |
|
390 |
#. translators: %s recommended memory amount
|
391 |
-
#: includes/class-yith-system-status.php:
|
392 |
msgid ""
|
393 |
"For optimal functioning of our plugins, we suggest setting at least %s of "
|
394 |
"available memory"
|
395 |
msgstr "為了使我們的外掛發揮最佳功能,我們建議至少設置 %s 的可用記憶體"
|
396 |
|
397 |
#. translators: %1$s TLS label, %2$s cURL label
|
398 |
-
#: includes/class-yith-system-status.php:
|
399 |
msgid ""
|
400 |
"The system check cannot determine which %1$s version is installed because "
|
401 |
"%2$s module is disabled. Ask your hosting company to enable it."
|
@@ -404,7 +404,7 @@ msgstr ""
|
|
404 |
"公司啟用它。"
|
405 |
|
406 |
#. translators: %1$s TLS label
|
407 |
-
#: includes/class-yith-system-status.php:
|
408 |
msgid ""
|
409 |
"The system check cannot determine which %1$s version is installed due to a "
|
410 |
"connection issue between your site and our server."
|
@@ -609,23 +609,23 @@ msgstr "PHP 錯誤日誌檔"
|
|
609 |
msgid "Download"
|
610 |
msgstr "下載"
|
611 |
|
612 |
-
#: templates/sysinfo/tabs/error-log.php:
|
613 |
msgid "The file size exceeds 8 megabytes so it must be downloaded"
|
614 |
msgstr "檔案大小超過 8 兆位元,因此必須下載"
|
615 |
|
616 |
#. translators: %s file name.
|
617 |
-
#: templates/sysinfo/tabs/error-log.php:
|
618 |
msgid ""
|
619 |
"No Log file available. Enable the WordPress debug by adding this in the %s "
|
620 |
"file of your installation"
|
621 |
msgstr ""
|
622 |
"沒有可用的日誌文件。 通過將其添加到安裝的 %s 文件中來啟用 WordPress 除錯"
|
623 |
|
624 |
-
#: templates/sysinfo/tabs/error-log.php:
|
625 |
msgid "Copied!"
|
626 |
msgstr "已複製!"
|
627 |
|
628 |
-
#: templates/sysinfo/tabs/error-log.php:
|
629 |
msgid "Copy Code"
|
630 |
msgstr "複製程式碼"
|
631 |
|
@@ -743,7 +743,7 @@ msgctxt "Elementor Widget - section title"
|
|
743 |
msgid "%s - Options"
|
744 |
msgstr "%s - 選項"
|
745 |
|
746 |
-
#: includes/builders/gutenberg/class-yith-gutenberg.php:
|
747 |
msgctxt "[gutenberg]: Category Name"
|
748 |
msgid "YITH"
|
749 |
msgstr "YITH"
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: YITH Framework\n"
|
6 |
"Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
|
7 |
+
"POT-Creation-Date: 2022-11-11 07:31:10+00:00\n"
|
8 |
"PO-Revision-Date: 2022-06-29 13:12:18+0000\n"
|
9 |
"Language: zh\n"
|
10 |
"MIME-Version: 1.0\n"
|
328 |
msgstr ""
|
329 |
"系統檢查檢測到您的安裝存在一些相容性問題。%1$s 點擊此處 %2$s 了解更多訊息"
|
330 |
|
331 |
+
#: includes/class-yith-system-status.php:496
|
332 |
msgid "Enabled"
|
333 |
msgstr "啟用"
|
334 |
|
335 |
+
#: includes/class-yith-system-status.php:496
|
336 |
msgid "Disabled"
|
337 |
msgstr "關閉"
|
338 |
|
339 |
+
#: includes/class-yith-system-status.php:501
|
340 |
msgid "N/A"
|
341 |
msgstr "不詳"
|
342 |
|
343 |
#. translators: %1$s plugin name, %2$s requirement name
|
344 |
+
#: includes/class-yith-system-status.php:528
|
345 |
msgid "%1$s needs %2$s enabled"
|
346 |
msgstr "%1$s 需要 %2$s 啟動"
|
347 |
|
348 |
#. translators: %1$s plugin name, %2$s required memory amount
|
349 |
+
#: includes/class-yith-system-status.php:531
|
350 |
msgid "%1$s needs at least %2$s of available memory"
|
351 |
msgstr "%1$s 需要最少 %2$s 的可用記憶體"
|
352 |
|
353 |
#. translators: %1$s plugin name, %2$s version number
|
354 |
+
#: includes/class-yith-system-status.php:534
|
355 |
msgid "%1$s needs at least %2$s version"
|
356 |
msgstr "%1$s 需要最低 %2$s 的版本"
|
357 |
|
358 |
+
#: includes/class-yith-system-status.php:558
|
359 |
msgid ""
|
360 |
"Update it to the latest version in order to benefit of all new features and "
|
361 |
"security updates."
|
362 |
msgstr "將其更新到最新版本,以便從所有新功能和安全更新中受益。"
|
363 |
|
364 |
+
#: includes/class-yith-system-status.php:562
|
365 |
+
#: includes/class-yith-system-status.php:568
|
366 |
msgid "Contact your hosting company in order to update it."
|
367 |
msgstr "聯絡您的網站主機托管公司進行更新"
|
368 |
|
369 |
+
#: includes/class-yith-system-status.php:566
|
370 |
msgid "Contact your hosting company in order to install it."
|
371 |
msgstr "聯絡您的網站主機托管公司進行安裝"
|
372 |
|
373 |
#. translators: %1$s code, %2$s file name
|
374 |
+
#: includes/class-yith-system-status.php:573
|
375 |
msgid "Remove %1$s from %2$s file"
|
376 |
msgstr "從 %1$s 到 %2$s 移除這些檔案"
|
377 |
|
378 |
+
#: includes/class-yith-system-status.php:581
|
379 |
msgid "Contact your hosting company in order to enable it."
|
380 |
msgstr "聯絡你的主機托管公司去啟動"
|
381 |
|
382 |
#. translators: %1$s opening link tag, %2$s closing link tag
|
383 |
+
#: includes/class-yith-system-status.php:585
|
384 |
+
#: includes/class-yith-system-status.php:608
|
385 |
msgid ""
|
386 |
"Read more %1$shere%2$s or contact your hosting company in order to increase "
|
387 |
"it."
|
388 |
msgstr "閱讀更多 %1$shere%2$s 或聯繫您的託管公司以增加它。"
|
389 |
|
390 |
#. translators: %s recommended memory amount
|
391 |
+
#: includes/class-yith-system-status.php:605
|
392 |
msgid ""
|
393 |
"For optimal functioning of our plugins, we suggest setting at least %s of "
|
394 |
"available memory"
|
395 |
msgstr "為了使我們的外掛發揮最佳功能,我們建議至少設置 %s 的可用記憶體"
|
396 |
|
397 |
#. translators: %1$s TLS label, %2$s cURL label
|
398 |
+
#: includes/class-yith-system-status.php:613
|
399 |
msgid ""
|
400 |
"The system check cannot determine which %1$s version is installed because "
|
401 |
"%2$s module is disabled. Ask your hosting company to enable it."
|
404 |
"公司啟用它。"
|
405 |
|
406 |
#. translators: %1$s TLS label
|
407 |
+
#: includes/class-yith-system-status.php:616
|
408 |
msgid ""
|
409 |
"The system check cannot determine which %1$s version is installed due to a "
|
410 |
"connection issue between your site and our server."
|
609 |
msgid "Download"
|
610 |
msgstr "下載"
|
611 |
|
612 |
+
#: templates/sysinfo/tabs/error-log.php:73
|
613 |
msgid "The file size exceeds 8 megabytes so it must be downloaded"
|
614 |
msgstr "檔案大小超過 8 兆位元,因此必須下載"
|
615 |
|
616 |
#. translators: %s file name.
|
617 |
+
#: templates/sysinfo/tabs/error-log.php:97
|
618 |
msgid ""
|
619 |
"No Log file available. Enable the WordPress debug by adding this in the %s "
|
620 |
"file of your installation"
|
621 |
msgstr ""
|
622 |
"沒有可用的日誌文件。 通過將其添加到安裝的 %s 文件中來啟用 WordPress 除錯"
|
623 |
|
624 |
+
#: templates/sysinfo/tabs/error-log.php:106
|
625 |
msgid "Copied!"
|
626 |
msgstr "已複製!"
|
627 |
|
628 |
+
#: templates/sysinfo/tabs/error-log.php:106
|
629 |
msgid "Copy Code"
|
630 |
msgstr "複製程式碼"
|
631 |
|
743 |
msgid "%s - Options"
|
744 |
msgstr "%s - 選項"
|
745 |
|
746 |
+
#: includes/builders/gutenberg/class-yith-gutenberg.php:152
|
747 |
msgctxt "[gutenberg]: Category Name"
|
748 |
msgid "YITH"
|
749 |
msgstr "YITH"
|
plugin-fw/languages/yith-plugin-fw.pot
CHANGED
@@ -4,7 +4,7 @@ msgid ""
|
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: \n"
|
6 |
"Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
|
7 |
-
"POT-Creation-Date: 2022-
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=utf-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
@@ -329,80 +329,80 @@ msgid ""
|
|
329 |
"installation.%1$sClick here%2$s to know more"
|
330 |
msgstr ""
|
331 |
|
332 |
-
#: includes/class-yith-system-status.php:
|
333 |
msgid "Enabled"
|
334 |
msgstr ""
|
335 |
|
336 |
-
#: includes/class-yith-system-status.php:
|
337 |
msgid "Disabled"
|
338 |
msgstr ""
|
339 |
|
340 |
-
#: includes/class-yith-system-status.php:
|
341 |
msgid "N/A"
|
342 |
msgstr ""
|
343 |
|
344 |
-
#: includes/class-yith-system-status.php:
|
345 |
#. translators: %1$s plugin name, %2$s requirement name
|
346 |
msgid "%1$s needs %2$s enabled"
|
347 |
msgstr ""
|
348 |
|
349 |
-
#: includes/class-yith-system-status.php:
|
350 |
#. translators: %1$s plugin name, %2$s required memory amount
|
351 |
msgid "%1$s needs at least %2$s of available memory"
|
352 |
msgstr ""
|
353 |
|
354 |
-
#: includes/class-yith-system-status.php:
|
355 |
#. translators: %1$s plugin name, %2$s version number
|
356 |
msgid "%1$s needs at least %2$s version"
|
357 |
msgstr ""
|
358 |
|
359 |
-
#: includes/class-yith-system-status.php:
|
360 |
msgid ""
|
361 |
"Update it to the latest version in order to benefit of all new features and "
|
362 |
"security updates."
|
363 |
msgstr ""
|
364 |
|
365 |
-
#: includes/class-yith-system-status.php:
|
366 |
-
#: includes/class-yith-system-status.php:
|
367 |
msgid "Contact your hosting company in order to update it."
|
368 |
msgstr ""
|
369 |
|
370 |
-
#: includes/class-yith-system-status.php:
|
371 |
msgid "Contact your hosting company in order to install it."
|
372 |
msgstr ""
|
373 |
|
374 |
-
#: includes/class-yith-system-status.php:
|
375 |
#. translators: %1$s code, %2$s file name
|
376 |
msgid "Remove %1$s from %2$s file"
|
377 |
msgstr ""
|
378 |
|
379 |
-
#: includes/class-yith-system-status.php:
|
380 |
msgid "Contact your hosting company in order to enable it."
|
381 |
msgstr ""
|
382 |
|
383 |
-
#: includes/class-yith-system-status.php:
|
384 |
-
#: includes/class-yith-system-status.php:
|
385 |
#. translators: %1$s opening link tag, %2$s closing link tag
|
386 |
msgid ""
|
387 |
"Read more %1$shere%2$s or contact your hosting company in order to increase "
|
388 |
"it."
|
389 |
msgstr ""
|
390 |
|
391 |
-
#: includes/class-yith-system-status.php:
|
392 |
#. translators: %s recommended memory amount
|
393 |
msgid ""
|
394 |
"For optimal functioning of our plugins, we suggest setting at least %s of "
|
395 |
"available memory"
|
396 |
msgstr ""
|
397 |
|
398 |
-
#: includes/class-yith-system-status.php:
|
399 |
#. translators: %1$s TLS label, %2$s cURL label
|
400 |
msgid ""
|
401 |
"The system check cannot determine which %1$s version is installed because "
|
402 |
"%2$s module is disabled. Ask your hosting company to enable it."
|
403 |
msgstr ""
|
404 |
|
405 |
-
#: includes/class-yith-system-status.php:
|
406 |
#. translators: %1$s TLS label
|
407 |
msgid ""
|
408 |
"The system check cannot determine which %1$s version is installed due to a "
|
@@ -606,22 +606,22 @@ msgstr ""
|
|
606 |
msgid "Download"
|
607 |
msgstr ""
|
608 |
|
609 |
-
#: templates/sysinfo/tabs/error-log.php:
|
610 |
msgid "The file size exceeds 8 megabytes so it must be downloaded"
|
611 |
msgstr ""
|
612 |
|
613 |
-
#: templates/sysinfo/tabs/error-log.php:
|
614 |
#. translators: %s file name.
|
615 |
msgid ""
|
616 |
"No Log file available. Enable the WordPress debug by adding this in the %s "
|
617 |
"file of your installation"
|
618 |
msgstr ""
|
619 |
|
620 |
-
#: templates/sysinfo/tabs/error-log.php:
|
621 |
msgid "Copied!"
|
622 |
msgstr ""
|
623 |
|
624 |
-
#: templates/sysinfo/tabs/error-log.php:
|
625 |
msgid "Copy Code"
|
626 |
msgstr ""
|
627 |
|
@@ -740,7 +740,7 @@ msgctxt "Elementor Widget - section title"
|
|
740 |
msgid "%s - Options"
|
741 |
msgstr ""
|
742 |
|
743 |
-
#: includes/builders/gutenberg/class-yith-gutenberg.php:
|
744 |
msgctxt "[gutenberg]: Category Name"
|
745 |
msgid "YITH"
|
746 |
msgstr ""
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: \n"
|
6 |
"Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
|
7 |
+
"POT-Creation-Date: 2022-11-11 07:31:10+00:00\n"
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=utf-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
329 |
"installation.%1$sClick here%2$s to know more"
|
330 |
msgstr ""
|
331 |
|
332 |
+
#: includes/class-yith-system-status.php:496
|
333 |
msgid "Enabled"
|
334 |
msgstr ""
|
335 |
|
336 |
+
#: includes/class-yith-system-status.php:496
|
337 |
msgid "Disabled"
|
338 |
msgstr ""
|
339 |
|
340 |
+
#: includes/class-yith-system-status.php:501
|
341 |
msgid "N/A"
|
342 |
msgstr ""
|
343 |
|
344 |
+
#: includes/class-yith-system-status.php:528
|
345 |
#. translators: %1$s plugin name, %2$s requirement name
|
346 |
msgid "%1$s needs %2$s enabled"
|
347 |
msgstr ""
|
348 |
|
349 |
+
#: includes/class-yith-system-status.php:531
|
350 |
#. translators: %1$s plugin name, %2$s required memory amount
|
351 |
msgid "%1$s needs at least %2$s of available memory"
|
352 |
msgstr ""
|
353 |
|
354 |
+
#: includes/class-yith-system-status.php:534
|
355 |
#. translators: %1$s plugin name, %2$s version number
|
356 |
msgid "%1$s needs at least %2$s version"
|
357 |
msgstr ""
|
358 |
|
359 |
+
#: includes/class-yith-system-status.php:558
|
360 |
msgid ""
|
361 |
"Update it to the latest version in order to benefit of all new features and "
|
362 |
"security updates."
|
363 |
msgstr ""
|
364 |
|
365 |
+
#: includes/class-yith-system-status.php:562
|
366 |
+
#: includes/class-yith-system-status.php:568
|
367 |
msgid "Contact your hosting company in order to update it."
|
368 |
msgstr ""
|
369 |
|
370 |
+
#: includes/class-yith-system-status.php:566
|
371 |
msgid "Contact your hosting company in order to install it."
|
372 |
msgstr ""
|
373 |
|
374 |
+
#: includes/class-yith-system-status.php:573
|
375 |
#. translators: %1$s code, %2$s file name
|
376 |
msgid "Remove %1$s from %2$s file"
|
377 |
msgstr ""
|
378 |
|
379 |
+
#: includes/class-yith-system-status.php:581
|
380 |
msgid "Contact your hosting company in order to enable it."
|
381 |
msgstr ""
|
382 |
|
383 |
+
#: includes/class-yith-system-status.php:585
|
384 |
+
#: includes/class-yith-system-status.php:608
|
385 |
#. translators: %1$s opening link tag, %2$s closing link tag
|
386 |
msgid ""
|
387 |
"Read more %1$shere%2$s or contact your hosting company in order to increase "
|
388 |
"it."
|
389 |
msgstr ""
|
390 |
|
391 |
+
#: includes/class-yith-system-status.php:605
|
392 |
#. translators: %s recommended memory amount
|
393 |
msgid ""
|
394 |
"For optimal functioning of our plugins, we suggest setting at least %s of "
|
395 |
"available memory"
|
396 |
msgstr ""
|
397 |
|
398 |
+
#: includes/class-yith-system-status.php:613
|
399 |
#. translators: %1$s TLS label, %2$s cURL label
|
400 |
msgid ""
|
401 |
"The system check cannot determine which %1$s version is installed because "
|
402 |
"%2$s module is disabled. Ask your hosting company to enable it."
|
403 |
msgstr ""
|
404 |
|
405 |
+
#: includes/class-yith-system-status.php:616
|
406 |
#. translators: %1$s TLS label
|
407 |
msgid ""
|
408 |
"The system check cannot determine which %1$s version is installed due to a "
|
606 |
msgid "Download"
|
607 |
msgstr ""
|
608 |
|
609 |
+
#: templates/sysinfo/tabs/error-log.php:73
|
610 |
msgid "The file size exceeds 8 megabytes so it must be downloaded"
|
611 |
msgstr ""
|
612 |
|
613 |
+
#: templates/sysinfo/tabs/error-log.php:97
|
614 |
#. translators: %s file name.
|
615 |
msgid ""
|
616 |
"No Log file available. Enable the WordPress debug by adding this in the %s "
|
617 |
"file of your installation"
|
618 |
msgstr ""
|
619 |
|
620 |
+
#: templates/sysinfo/tabs/error-log.php:106
|
621 |
msgid "Copied!"
|
622 |
msgstr ""
|
623 |
|
624 |
+
#: templates/sysinfo/tabs/error-log.php:106
|
625 |
msgid "Copy Code"
|
626 |
msgstr ""
|
627 |
|
740 |
msgid "%s - Options"
|
741 |
msgstr ""
|
742 |
|
743 |
+
#: includes/builders/gutenberg/class-yith-gutenberg.php:152
|
744 |
msgctxt "[gutenberg]: Category Name"
|
745 |
msgid "YITH"
|
746 |
msgstr ""
|
plugin-fw/templates/components/action-button.php
CHANGED
@@ -46,7 +46,7 @@ $link_class = implode( ' ', array_filter( $link_classes ) );
|
|
46 |
<?php echo yith_plugin_fw_html_data_to_string( $data ); ?>
|
47 |
>
|
48 |
<a class="<?php echo esc_attr( $link_class ); ?>"
|
49 |
-
|
50 |
href="<?php echo esc_url( $url ); ?>"
|
51 |
<?php if ( $the_title ) : ?>
|
52 |
data-tip="<?php echo esc_attr( $the_title ); ?>"
|
46 |
<?php echo yith_plugin_fw_html_data_to_string( $data ); ?>
|
47 |
>
|
48 |
<a class="<?php echo esc_attr( $link_class ); ?>"
|
49 |
+
aria-label="<?php echo esc_attr( $the_title ); ?>"
|
50 |
href="<?php echo esc_url( $url ); ?>"
|
51 |
<?php if ( $the_title ) : ?>
|
52 |
data-tip="<?php echo esc_attr( $the_title ); ?>"
|
plugin-fw/templates/sysinfo/tabs/error-log.php
CHANGED
@@ -40,7 +40,7 @@ $debug_files = array(
|
|
40 |
<?php foreach ( $debug_files as $key => $debug_file ) : ?>
|
41 |
<?php
|
42 |
if ( ! file_exists( $debug_file['path'] ) ) {
|
43 |
-
$missing_files
|
44 |
continue;
|
45 |
}
|
46 |
|
@@ -62,6 +62,7 @@ $debug_files = array(
|
|
62 |
'data' => array(
|
63 |
'action' => 'yith_create_log_file',
|
64 |
'file' => $key,
|
|
|
65 |
),
|
66 |
),
|
67 |
),
|
@@ -95,12 +96,12 @@ $debug_files = array(
|
|
95 |
// translators: %s file name.
|
96 |
echo sprintf( esc_html__( 'No Log file available. Enable the WordPress debug by adding this in the %s file of your installation', 'yith-plugin-fw' ), '<code>wp-config.php</code>' );
|
97 |
?>
|
98 |
-
<br/>
|
99 |
-
<br/>
|
100 |
<span class="debug-code">
|
101 |
-
define( 'WP_DEBUG', true );<br/>
|
102 |
-
define( 'WP_DEBUG_LOG', true );<br/>
|
103 |
-
define( 'WP_DEBUG_DISPLAY', false );<br/>
|
104 |
</span>
|
105 |
<a href="#" data-tooltip="<?php esc_attr_e( 'Copied!', 'yith-plugin-fw' ); ?>" class="copy-link"><?php esc_html_e( 'Copy Code', 'yith-plugin-fw' ); ?></a>
|
106 |
</td>
|
40 |
<?php foreach ( $debug_files as $key => $debug_file ) : ?>
|
41 |
<?php
|
42 |
if ( ! file_exists( $debug_file['path'] ) ) {
|
43 |
+
$missing_files++;
|
44 |
continue;
|
45 |
}
|
46 |
|
62 |
'data' => array(
|
63 |
'action' => 'yith_create_log_file',
|
64 |
'file' => $key,
|
65 |
+
'nonce' => wp_create_nonce( 'yith-export-log' ),
|
66 |
),
|
67 |
),
|
68 |
),
|
96 |
// translators: %s file name.
|
97 |
echo sprintf( esc_html__( 'No Log file available. Enable the WordPress debug by adding this in the %s file of your installation', 'yith-plugin-fw' ), '<code>wp-config.php</code>' );
|
98 |
?>
|
99 |
+
<br />
|
100 |
+
<br />
|
101 |
<span class="debug-code">
|
102 |
+
define( 'WP_DEBUG', true );<br />
|
103 |
+
define( 'WP_DEBUG_LOG', true );<br />
|
104 |
+
define( 'WP_DEBUG_DISPLAY', false );<br />
|
105 |
</span>
|
106 |
<a href="#" data-tooltip="<?php esc_attr_e( 'Copied!', 'yith-plugin-fw' ); ?>" class="copy-link"><?php esc_html_e( 'Copy Code', 'yith-plugin-fw' ); ?></a>
|
107 |
</td>
|
readme.txt
CHANGED
@@ -2,9 +2,9 @@
|
|
2 |
|
3 |
Contributors: yithemes
|
4 |
Tags: zoom, magnifier, slider, carousel, woocommerce
|
5 |
-
Requires at least: 5.
|
6 |
-
Tested up to: 6.
|
7 |
-
Stable tag: 2.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
Documentation: https://docs.yithemes.com/yith-woocommerce-zoom-magnifier/
|
@@ -74,6 +74,13 @@ YITH WooCommerce Product Gallery & Image Zoom will add a new tab called "Product
|
|
74 |
|
75 |
== Changelog ==
|
76 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
77 |
= Version 2.14.0 - Released: October 11, 2022 =
|
78 |
|
79 |
* New: support for WooCommerce 7.0
|
2 |
|
3 |
Contributors: yithemes
|
4 |
Tags: zoom, magnifier, slider, carousel, woocommerce
|
5 |
+
Requires at least: 5.9
|
6 |
+
Tested up to: 6.1
|
7 |
+
Stable tag: 2.15.0
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
Documentation: https://docs.yithemes.com/yith-woocommerce-zoom-magnifier/
|
74 |
|
75 |
== Changelog ==
|
76 |
|
77 |
+
= Version 2.15.0 - Released: October 15, 2022 =
|
78 |
+
|
79 |
+
* New: support for WordPress 6.1
|
80 |
+
* New: support for WooCommerce 7.1
|
81 |
+
* Update: YITH plugin Framework
|
82 |
+
* Fix: patched security vulnerability
|
83 |
+
|
84 |
= Version 2.14.0 - Released: October 11, 2022 =
|
85 |
|
86 |
* New: support for WooCommerce 7.0
|