/* * LayerSlider Plugin: Origami Slide Transition * * (c) 2017-2019 Kreatura Media * * LayerSlider web: https://layerslider.kreaturamedia.com/ * licenses: http://codecanyon.net/licenses/standard */ ;eval(function(p,a,c,k,e,r){e=function(c){return(c35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('!D(i){2y.2w.2u.9=D(t,s,o,a){K e=8;e.2t={2s:"2r 2j 2e 2d J 2c",2b:"1.3",2a:"6.7.1",1W:"1T",1R:"1O. 2z. 2k."},e.1j={Y:.25,1w:4},e.1A=D(){e.1K()},e.1K=D(){t.q.S.9={1m:D(){t.C.1x=w.21(t.C.P/t.C.Q),8.v=t.C.1x>e.1j.1w?e.1j.1w:t.C.1x,8.v=w.10(w.18()*8.v)+1,8.1H()},1E:D(i){J(K t=8.1p;8.1p==t;)t=8.v>1?0===i?["14","z","14","11"][w.10(4*w.18())]:i==8.v-1?["A","z","A","11"][w.10(4*w.18())]:["z","11"][w.10(2*w.18())]:["A","z","14","11"][w.10(4*w.18())];1B 8.1p=t,t},1H:D(){J(K i=t.C.P%2==0?t.C.P:t.C.P+1,s=i/8.v%2==0?i/8.v:i/8.v-i/8.v%2,o=t.C.Q%2==0?t.C.Q:t.C.Q+1,a=0,e=0;e<8.v;e++){K r=8.v-w.2h(w.10(8.v/2)-e)-w.10(8.v/2),n=8.1E(e),l=s;i/8.v%2!=0&&e%2==0&&(i-s*8.v)/2<8.v&&(l+=2),e===8.v-1&&a+l!==i&&(l=i-a),e===8.v-1&&i!==t.C.P&&(a-=1);K d=t.q.S.9.1I("b-9-"+n,l,o,a,0).O({1n:n});d.T({1Z:r}),8.1C(d,a,n,e),a+=l}t.q.S.1m()},1I:D(s,o,a,e,r){1B i("<12>").X("b-9-1g "+s).T({P:o,Q:a,A:e,z:r}).V(t.q.S.$1J)},1C:D(s,o,a,e){K r;U(t.q.S.$1J.20(t.C.$29),a){k"A":k"14":r={P:s.P()/2};H;k"z":k"11":r={Q:s.Q()/2}}K n=i("<12>").T(r).X("b-9-1c b-9-15").V(s),l=i("<12>").T(r).X("b-9-1c b-9-15").V(n),d=i("<12>").T(r).X("b-9-1c b-9-M").V(l),c=i("<12>").T(r).X("b-9-1c b-9-M").V(d);s.16(".b-9-1c").2i(D(){K a=i(8).1N("b-9-M")?"M":"13",e=i("<12>").X("b-9-1e-1d").V(i(8));2f(t.1D[a].O.$1i){K r,n,l=i(8).R();U(s.O("1n")){k"A":U(a){k"13":J(r=i(8).B().A;!l.Z(".b-9-1g");)r+=l.B().A,l=l.R();H;k"M":J(r=0;!l.Z(".b-9-15");)r+=l.B().A,l=l.R()}r=-o-r;H;k"14":U(a){k"13":J(r=-i(8).B().A;!l.Z(".b-9-1g");)r-=l.B().A,l=l.R();H;k"M":J(r=i(8).B().A;!l.Z(".b-9-15");)r-=l.B().A,l=l.R()}r=-o+r;H;k"z":U(a){k"13":J(n=-i(8).B().z;!l.Z(".b-9-1g");)n-=l.B().z,l=l.R();H;k"M":J(n=0;!l.Z(".b-9-15");)n-=l.B().z,l=l.R()}r=-o;H;k"11":U(a){k"13":J(n=-i(8).B().z;!l.Z(".b-9-1g");)n-=l.B().z,l=l.R();H;k"M":J(n=i(8).B().z;!l.Z(".b-9-15");)n-=l.B().z,l=l.R()}r=-o}K d=t.o.2l&&"2q"===t.2v.2x.1n?"L":"2G",c="13"===a?t.q.2H:t.q.1v,p=c.O.$1i.O(t.1P.1A.1Q),h=p.1S[d],m=!!c.O.$1i&&t.1U.1V(c.O.$1i),f=i("<1f>").V(e).1X("1Y",m).T({P:p.j.P,Q:p.j.Q,"-1o-1h":p.j.1h,1h:p.j.1h,22:r,23:n,24:"26 27 28"});U(a){k"13":f.T({"-1z-17":"1b("+p.j.x+"I) 19("+p.j.y+"I)"+p.j.1q+p.j.1r,"-1o-17":"1b("+p.j.x+"I) 19("+p.j.y+"I)"+p.j.1q+p.j.1r,17:"1b("+p.j.x+"I) 19("+p.j.y+"I)"+p.j.1q+p.j.1r});H;k"M":f.T({"-1z-17":"1b("+p.j.x+"I) 19("+p.j.y+"I) 1s("+h.1t+"1u) 1a("+h.1a+")","-1o-17":"1b("+p.j.x+"I) 19("+p.j.y+"I) 1s("+h.1t+"1u) 1a("+h.1a+")",17:"1b("+p.j.x+"I) 19("+p.j.y+"I) 1s("+h.1t+"1u) 1a("+h.1a+")"})}i("<12>").X("b-1F").V(e)}}),8.1G(s,a,n,l,d,c,e)},1G:D(i,s,o,a,r,n,l){i.16(".b-1F").X("b-2m");K d=o.16("> .b-9-1e-1d > 1f"),c=a.16("> .b-9-1e-1d > 1f"),p=r.16("> .b-9-1e-1d > 1f"),h=n.16("> .b-9-1e-1d > 1f"),m=t.2n.2o.2p,f=e.1j.Y,g=1.5*f;U(s){k"A":t.q.W.L(o[0],2,{u:m,F:E},0).L(a[0],2,{u:m,F:-1k},0).N(r[0],2,{F:1l},{u:m,F:E},0).N(n[0],2,{F:E},{u:m,F:0},1);H;k"14":t.q.W.L(o[0],2,{u:m,F:-E},0).L(a[0],2,{u:m,F:1k},0).N(r[0],2,{F:-1l},{u:m,F:-E},0).N(n[0],2,{F:-E},{u:m,F:0},1);H;k"z":t.q.W.L(o[0],2,{u:m,G:-E},0).L(a[0],2,{u:m,G:1k},0).N(r[0],2,{G:-1l},{u:m,G:-E},0).N(n[0],2,{G:-E},{u:m,G:0},1);H;k"11":t.q.W.L(o[0],2,{u:m,G:E},0).L(a[0],2,{u:m,G:-1k},0).N(r[0],2,{G:1l},{u:m,G:E},0).N(n[0],2,{G:E},{u:m,G:0},1)}d[0]&&t.q.W.L(d[0],2,{u:m,Y:g},0),c[0]&&t.q.W.L(c[0],2,{u:m,Y:f},0),p[0]&&t.q.W.N(p[0],2,{Y:g},{u:m,Y:1},0),h[0]&&t.q.W.N(h[0],2,{Y:g},{u:m,Y:1},1)}},t.q.S.1y.2A=D(){t.1D.M.O.2B&&t.2C.2D?(t.q.1v.O.2E||t.q.1v.O.2F)&&w.10(2*w.18())+1===1?t.q.S.1L.1y.1M():t.q.S.9.1m():t.q.S.1L.1y.1M()}}}}(2g);',62,168,'||||||||this|origami||ls||||||||responsive|case||||||transitions||||ease|blocksNum|Math|||top|left|position|slider|function|90|rotationY|rotationX|break|px|for|var|to|next|fromTo|data|width|height|parent|slide|css|switch|appendTo|_slideTransition|addClass|opacity|is|floor|bottom|div|current|right|cur|find|transform|random|translateY|scale|translateX|tile|holder|image|img|block|filter|background|pluginDefaults|180|130|start|direction|webkit|lastDir|kbRotation|kbScale|rotate|rotation|deg|nextSlide|maxTiles|ceilRatio|select|ms|init|return|appendTiles|slides|getDirection|light|setTransition|addBlocks|createBlock|wrapper|extendLayerSlider|normal|transitionType|hasClass|2018|defaults|dataKey|releaseDate|kenBurns|Kreatura|functions|getURL|authorName|attr|src|zIndex|prependTo|ceil|marginLeft|marginTop|outline||1px|solid|transparent|layersWrapper|requiredLSVersion|version|LayerSlider|Plugin|Transition|if|jQuery|abs|each|Slide|05|playByScroll|black|gsap|Cubic|easeInOut|up|Origami|name|pluginData|plugins|device|_layerSlider|scroll|window|03|slideTransitionType|transitionorigami|browser|supports3D|transition3d|transition2d|from|curSlide'.split('|'),0,{}));