Changeset 115181 in spip-zone


Ignore:
Timestamp:
May 2, 2019, 9:00:30 AM (3 weeks ago)
Author:
real3t@…
Message:

[SoyezCréateurs?] jquery-flipster en 1.1.4 (https://github.com/drien/jquery-flipster/releases)

Location:
_squelettes_/soyezcreateurs_net/trunk/plugins/soyezcreateurs/javascript/flipster/dist
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • _squelettes_/soyezcreateurs_net/trunk/plugins/soyezcreateurs/javascript/flipster/dist/jquery.flipster.css

    r109209 r115181  
    1 /*! jQuery.Flipster, v1.1.2 (built 2017-11-10) */
     1/*! jQuery.Flipster, v1.1.3 (built 2019-05-01) */
    22/* @group Flipster Essential Styles */
    33.flipster {
     
    2121  white-space: nowrap;
    2222  word-spacing: -0.25em;
    23   transform-origin: 50% 50%;
    24   backface-visibility: hidden;
     23  -webkit-transform-origin: 50% 50%;
     24      -ms-transform-origin: 50% 50%;
     25          transform-origin: 50% 50%;
     26  -webkit-backface-visibility: hidden;
     27          backface-visibility: hidden;
    2528}
    2629.flipster__item {
     
    4447  top: 50%;
    4548  display: block;
    46   appearance: none;
     49  -webkit-appearance: none;
     50     -moz-appearance: none;
     51          appearance: none;
    4752  background: none;
    4853  border: none;
     
    5257  font-size: 15px;
    5358  opacity: 0.5;
     59  -webkit-transition: opacity 500ms ease;
     60  -o-transition: opacity 500ms ease;
    5461  transition: opacity 500ms ease;
    5562  margin: -1em 2em;
     
    97104  position: relative;
    98105  overflow: hidden;
     106  -webkit-transition: all 250ms ease-out;
     107  -o-transition: all 250ms ease-out;
    99108  transition: all 250ms ease-out;
    100   transition-timing-function: cubic-bezier(0.56, 0.12, 0.12, 0.98);
     109  -webkit-transition-timing-function: cubic-bezier(0.56, 0.12, 0.12, 0.98);
     110       -o-transition-timing-function: cubic-bezier(0.56, 0.12, 0.12, 0.98);
     111          transition-timing-function: cubic-bezier(0.56, 0.12, 0.12, 0.98);
    101112}
    102113.flipster__nav__link::after {
     
    110121  height: 100%;
    111122  z-index: -1;
    112   transform: translateY(100%) translateY(-0.25em);
     123  -webkit-transform: translateY(100%) translateY(-0.25em);
     124      -ms-transform: translateY(100%) translateY(-0.25em);
     125          transform: translateY(100%) translateY(-0.25em);
     126  -webkit-transition: inherit;
     127  -o-transition: inherit;
    113128  transition: inherit;
    114129}
     
    121136.flipster__nav__link:hover::after,
    122137.flipster__nav__link:focus::after {
    123   transform: translateY(0);
     138  -webkit-transform: translateY(0);
     139      -ms-transform: translateY(0);
     140          transform: translateY(0);
    124141}
    125142.flipster__nav__child {
     
    154171.flipster--carousel .flipster__item,
    155172.flipster--carousel .flipster__item__content {
     173  -webkit-transition: all 350ms ease-in-out;
     174  -o-transition: all 350ms ease-in-out;
    156175  transition: all 350ms ease-in-out;
    157   transition-timing-function: cubic-bezier(0.56, 0.12, 0.12, 0.98);
     176  -webkit-transition-timing-function: cubic-bezier(0.56, 0.12, 0.12, 0.98);
     177       -o-transition-timing-function: cubic-bezier(0.56, 0.12, 0.12, 0.98);
     178          transition-timing-function: cubic-bezier(0.56, 0.12, 0.12, 0.98);
    158179}
    159180.flipster--carousel .flipster__item {
    160   perspective: 800px;
     181  -webkit-perspective: 800px;
     182          perspective: 800px;
    161183}
    162184.flipster--carousel .flipster__item--past,
    163185.flipster--carousel .flipster__item--future {
    164186  opacity: 0;
    165   transition-delay: 115ms;
     187  -webkit-transition-delay: 115ms;
     188       -o-transition-delay: 115ms;
     189          transition-delay: 115ms;
    166190}
    167191.flipster--carousel .flipster__item--past-2,
    168192.flipster--carousel .flipster__item--future-2 {
    169193  opacity: 0.6;
    170   transition-delay: 90ms;
     194  -webkit-transition-delay: 90ms;
     195       -o-transition-delay: 90ms;
     196          transition-delay: 90ms;
    171197}
    172198.flipster--carousel .flipster__item--past-1,
    173199.flipster--carousel .flipster__item--future-1 {
    174200  opacity: 0.8;
    175   transition-delay: 60ms;
     201  -webkit-transition-delay: 60ms;
     202       -o-transition-delay: 60ms;
     203          transition-delay: 60ms;
    176204}
    177205.flipster--carousel .flipster__item--past .flipster__item__content {
    178   transform: translateX(100%) rotateY(-20deg) scale(0.5);
     206  -webkit-transform: translateX(100%) rotateY(-20deg) scale(0.5);
     207          transform: translateX(100%) rotateY(-20deg) scale(0.5);
    179208}
    180209.flipster--carousel .flipster__item--past-2 .flipster__item__content {
    181   transform: translateX(25%) rotateY(40deg) scale(0.65);
     210  -webkit-transform: translateX(25%) rotateY(40deg) scale(0.65);
     211          transform: translateX(25%) rotateY(40deg) scale(0.65);
    182212}
    183213.flipster--carousel .flipster__item--past-1 .flipster__item__content {
    184   transform: rotateY(45deg) scale(0.8);
     214  -webkit-transform: rotateY(45deg) scale(0.8);
     215          transform: rotateY(45deg) scale(0.8);
    185216}
    186217.flipster--carousel .flipster__item--future .flipster__item__content {
    187   transform: translateX(-100%) rotateY(20deg) scale(0.5);
     218  -webkit-transform: translateX(-100%) rotateY(20deg) scale(0.5);
     219          transform: translateX(-100%) rotateY(20deg) scale(0.5);
    188220}
    189221.flipster--carousel .flipster__item--future-2 .flipster__item__content {
    190   transform: translateX(-25%) rotateY(-40deg) scale(0.65);
     222  -webkit-transform: translateX(-25%) rotateY(-40deg) scale(0.65);
     223          transform: translateX(-25%) rotateY(-40deg) scale(0.65);
    191224}
    192225.flipster--carousel .flipster__item--future-1 .flipster__item__content {
    193   transform: rotateY(-45deg) scale(0.8);
     226  -webkit-transform: rotateY(-45deg) scale(0.8);
     227          transform: rotateY(-45deg) scale(0.8);
    194228}
    195229.flipster--carousel.no-rotate .flipster__item--past .flipster__item__content {
    196   transform: translateX(175%) scale(0.5);
     230  -webkit-transform: translateX(175%) scale(0.5);
     231      -ms-transform: translateX(175%) scale(0.5);
     232          transform: translateX(175%) scale(0.5);
    197233}
    198234.flipster--carousel.no-rotate .flipster__item--past-2 .flipster__item__content {
    199   transform: translateX(25%) scale(0.65);
     235  -webkit-transform: translateX(25%) scale(0.65);
     236      -ms-transform: translateX(25%) scale(0.65);
     237          transform: translateX(25%) scale(0.65);
    200238}
    201239.flipster--carousel.no-rotate .flipster__item--past-1 .flipster__item__content {
    202   transform: translateX(0%) scale(0.8);
     240  -webkit-transform: translateX(0%) scale(0.8);
     241      -ms-transform: translateX(0%) scale(0.8);
     242          transform: translateX(0%) scale(0.8);
    203243}
    204244.flipster--carousel.no-rotate .flipster__item--future .flipster__item__content {
    205   transform: translateX(-175%) scale(0.5);
     245  -webkit-transform: translateX(-175%) scale(0.5);
     246      -ms-transform: translateX(-175%) scale(0.5);
     247          transform: translateX(-175%) scale(0.5);
    206248}
    207249.flipster--carousel.no-rotate .flipster__item--future-2 .flipster__item__content {
    208   transform: translateX(-25%) scale(0.65);
     250  -webkit-transform: translateX(-25%) scale(0.65);
     251      -ms-transform: translateX(-25%) scale(0.65);
     252          transform: translateX(-25%) scale(0.65);
    209253}
    210254.flipster--carousel.no-rotate .flipster__item--future-1 .flipster__item__content {
    211   transform: translateX(0%) scale(0.8);
     255  -webkit-transform: translateX(0%) scale(0.8);
     256      -ms-transform: translateX(0%) scale(0.8);
     257          transform: translateX(0%) scale(0.8);
    212258}
    213259.flipster--carousel .flipster__item--current .flipster__item__content {
    214   transform: translateX(0) rotateY(0deg) scale(1);
    215   transition-delay: 60ms;
     260  -webkit-transform: translateX(0) rotateY(0deg) scale(1);
     261          transform: translateX(0) rotateY(0deg) scale(1);
     262  -webkit-transition-delay: 60ms;
     263       -o-transition-delay: 60ms;
     264          transition-delay: 60ms;
    216265}
    217266/* @end */
     
    221270.flipster--coverflow .flipster__item,
    222271.flipster--coverflow .flipster__item__content {
     272  -webkit-transition: all 350ms ease-in-out;
     273  -o-transition: all 350ms ease-in-out;
    223274  transition: all 350ms ease-in-out;
    224   transition-timing-function: cubic-bezier(0.56, 0.12, 0.12, 0.98);
     275  -webkit-transition-timing-function: cubic-bezier(0.56, 0.12, 0.12, 0.98);
     276       -o-transition-timing-function: cubic-bezier(0.56, 0.12, 0.12, 0.98);
     277          transition-timing-function: cubic-bezier(0.56, 0.12, 0.12, 0.98);
    225278}
    226279.flipster--coverflow .flipster__item {
    227   perspective: 800px;
     280  -webkit-perspective: 800px;
     281          perspective: 800px;
    228282}
    229283.flipster--coverflow .flipster__container {
     
    231285}
    232286.flipster--coverflow .flipster__item__content {
    233   transform-origin: 50% 100%;
     287  -webkit-transform-origin: 50% 100%;
     288      -ms-transform-origin: 50% 100%;
     289          transform-origin: 50% 100%;
    234290  box-reflect: below 0 -webkit-gradient(linear, left bottom, left top, color-stop(0.05, rgba(255, 255, 255, 0.12)), color-stop(0.2, transparent));
    235291  -webkit-box-reflect: below 0 -webkit-gradient(linear, left bottom, left top, color-stop(0.05, rgba(255, 255, 255, 0.12)), color-stop(0.2, transparent));
     
    239295}
    240296.flipster--coverflow .flipster__item--past .flipster__item__content {
    241   transform-origin: 0% 50%;
    242   transform: scale(0.75) rotateY(55deg);
     297  -webkit-transform-origin: 0% 50%;
     298      -ms-transform-origin: 0% 50%;
     299          transform-origin: 0% 50%;
     300  -webkit-transform: scale(0.75) rotateY(55deg);
     301          transform: scale(0.75) rotateY(55deg);
    243302}
    244303.flipster--coverflow .flipster__item--future .flipster__item__content {
    245   transform-origin: 100% 50%;
    246   transform: scale(0.75) rotateY(-55deg);
     304  -webkit-transform-origin: 100% 50%;
     305      -ms-transform-origin: 100% 50%;
     306          transform-origin: 100% 50%;
     307  -webkit-transform: scale(0.75) rotateY(-55deg);
     308          transform: scale(0.75) rotateY(-55deg);
    247309}
    248310.flipster--coverflow .flip-current .flipster__item__content {
    249   transform: rotateY(0deg);
     311  -webkit-transform: rotateY(0deg);
     312          transform: rotateY(0deg);
    250313}
    251314/* @end */
     
    255318.flipster--flat .flipster__item,
    256319.flipster--flat .flipster__item__content {
     320  -webkit-transition: all 400ms ease-in-out;
     321  -o-transition: all 400ms ease-in-out;
    257322  transition: all 400ms ease-in-out;
    258323}
     
    262327}
    263328.flipster--flat .flipster__item--past .flipster__item__content {
    264   transform: scale(0.75);
     329  -webkit-transform: scale(0.75);
     330      -ms-transform: scale(0.75);
     331          transform: scale(0.75);
    265332}
    266333.flipster--flat .flipster__item--future .flipster__item__content {
    267   transform: scale(0.75);
     334  -webkit-transform: scale(0.75);
     335      -ms-transform: scale(0.75);
     336          transform: scale(0.75);
    268337}
    269338/* @end */
     
    275344.flipster--wheel .flipster__container,
    276345.flipster--wheel .flipster__item__content {
     346  -webkit-transition: all 400ms ease-in-out;
     347  -o-transition: all 400ms ease-in-out;
    277348  transition: all 400ms ease-in-out;
    278   transition-timing-function: cubic-bezier(0.56, 0.12, 0.12, 0.98);
     349  -webkit-transition-timing-function: cubic-bezier(0.56, 0.12, 0.12, 0.98);
     350       -o-transition-timing-function: cubic-bezier(0.56, 0.12, 0.12, 0.98);
     351          transition-timing-function: cubic-bezier(0.56, 0.12, 0.12, 0.98);
    279352}
    280353.flipster--wheel .flipster__container {
     
    282355}
    283356.flipster--wheel .flipster__item__content {
    284   transform-origin: 50% 100%;
     357  -webkit-transform-origin: 50% 100%;
     358      -ms-transform-origin: 50% 100%;
     359          transform-origin: 50% 100%;
    285360}
    286361.flipster--wheel .flipster__item--past .flipster__item__content {
    287   transform-origin: 100% 100%;
     362  -webkit-transform-origin: 100% 100%;
     363      -ms-transform-origin: 100% 100%;
     364          transform-origin: 100% 100%;
    288365}
    289366.flipster--wheel .flipster__item--future .flipster__item__content {
    290   transform-origin: 0% 100%;
     367  -webkit-transform-origin: 0% 100%;
     368      -ms-transform-origin: 0% 100%;
     369          transform-origin: 0% 100%;
    291370}
    292371.flipster--wheel .flipster__item__content img:only-child {
     
    295374.flipster--wheel .flipster__item--past .flipster__item__content {
    296375  opacity: 0;
    297   transform: rotateZ(-80deg) translate(-170%, 110%);
     376  -webkit-transform: rotateZ(-80deg) translate(-170%, 110%);
     377      -ms-transform: rotate(-80deg) translate(-170%, 110%);
     378          transform: rotateZ(-80deg) translate(-170%, 110%);
    298379}
    299380.flipster--wheel .flipster__item--future .flipster__item__content {
    300381  opacity: 0;
    301   transform: rotateZ(80deg) translate(170%, 110%);
     382  -webkit-transform: rotateZ(80deg) translate(170%, 110%);
     383      -ms-transform: rotate(80deg) translate(170%, 110%);
     384          transform: rotateZ(80deg) translate(170%, 110%);
    302385}
    303386.flipster--wheel .flipster__item--past-3 .flipster__item__content {
    304387  opacity: 1;
    305   transform: rotateZ(-60deg) translate(-70%, 75%);
     388  -webkit-transform: rotateZ(-60deg) translate(-70%, 75%);
     389      -ms-transform: rotate(-60deg) translate(-70%, 75%);
     390          transform: rotateZ(-60deg) translate(-70%, 75%);
    306391}
    307392.flipster--wheel .flipster__item--future-3 .flipster__item__content {
    308393  opacity: 1;
    309   transform: rotateZ(60deg) translate(70%, 75%);
     394  -webkit-transform: rotateZ(60deg) translate(70%, 75%);
     395      -ms-transform: rotate(60deg) translate(70%, 75%);
     396          transform: rotateZ(60deg) translate(70%, 75%);
    310397}
    311398.flipster--wheel .flipster__item--past-2 .flipster__item__content {
    312399  opacity: 1;
    313   transform: rotateZ(-40deg) translate(-17%, 30%);
     400  -webkit-transform: rotateZ(-40deg) translate(-17%, 30%);
     401      -ms-transform: rotate(-40deg) translate(-17%, 30%);
     402          transform: rotateZ(-40deg) translate(-17%, 30%);
    314403}
    315404.flipster--wheel .flipster__item--future-2 .flipster__item__content {
    316405  opacity: 1;
    317   transform: rotateZ(40deg) translate(17%, 30%);
     406  -webkit-transform: rotateZ(40deg) translate(17%, 30%);
     407      -ms-transform: rotate(40deg) translate(17%, 30%);
     408          transform: rotateZ(40deg) translate(17%, 30%);
    318409}
    319410.flipster--wheel .flipster__item--past-1 .flipster__item__content {
    320411  opacity: 1;
    321   transform: rotateZ(-20deg);
     412  -webkit-transform: rotateZ(-20deg);
     413      -ms-transform: rotate(-20deg);
     414          transform: rotateZ(-20deg);
    322415}
    323416.flipster--wheel .flipster__item--future-1 .flipster__item__content {
    324417  opacity: 1;
    325   transform: rotateZ(20deg);
     418  -webkit-transform: rotateZ(20deg);
     419      -ms-transform: rotate(20deg);
     420          transform: rotateZ(20deg);
    326421}
    327422.flipster--wheel .flip-current .flipster__item__content {
    328   transform: rotateX(0deg);
    329 }
    330 /* @end */
     423  -webkit-transform: rotateX(0deg);
     424          transform: rotateX(0deg);
     425}
     426/* @end */
  • _squelettes_/soyezcreateurs_net/trunk/plugins/soyezcreateurs/javascript/flipster/dist/jquery.flipster.min.css

    r109209 r115181  
    1 /*! jQuery.Flipster, v1.1.2 (built 2017-11-10) */.flipster{display:block;overflow-x:hidden;overflow-y:visible;position:relative}.flipster:focus{outline:none}.flipster__container,.flipster__item{margin:0;padding:0;list-style-type:none;position:relative}.flipster__container{display:block;white-space:nowrap;word-spacing:-0.25em;transform-origin:50% 50%;backface-visibility:hidden}.flipster__item{display:inline-block;white-space:normal;word-spacing:normal;vertical-align:bottom}.flipster--click .flipster__item--past,.flipster--click .flipster__item--future{cursor:pointer}.flipster__item img{max-width:100%}.flipster__button{position:absolute;top:50%;display:block;appearance:none;background:none;border:none;padding:0;z-index:999;cursor:pointer;font-size:15px;opacity:.5;transition:opacity 500ms ease;margin:-1em 2em}.flipster__button svg{width:2em;stroke:currentColor;fill:transparent;stroke-width:3;stroke-linecap:round}.flipster__button:hover,.flipster__button:focus{opacity:1}.flipster__button--prev{left:0}.flipster__button--next{right:0}.flipster__nav,.flipster__nav__item{list-style-type:none;margin:0;padding:0}.flipster__nav{display:block;margin:0 0 4em;text-align:center;position:relative}.flipster__nav__item{display:inline-block;margin:0 .25em}.flipster__nav__link{display:block;color:inherit;padding:.5em 1em;position:relative;overflow:hidden;transition:all 250ms ease-out;transition-timing-function:cubic-bezier(.56, .12, .12, .98)}.flipster__nav__link::after{content:'';display:block;background:#232221;position:absolute;top:0;left:0;width:100%;height:100%;z-index:-1;transform:translateY(100%) translateY(-0.25em);transition:inherit}.flipster__nav__item--current>.flipster__nav__link,.flipster__nav__link:hover,.flipster__nav__link:focus{color:#fff}.flipster__nav__item--current>.flipster__nav__link::after,.flipster__nav__link:hover::after,.flipster__nav__link:focus::after{transform:translateY(0)}.flipster__nav__child{display:none;position:absolute;top:100%;left:0;right:0;margin-top:-1px;padding:.5em;background:#4e4441;z-index:1}.flipster__nav__child .flipster__nav__link{color:#fff}.flipster__nav__child .flipster__nav__link::after{background:#fff}.flipster__nav__child .flipster__nav__item--current>.flipster__nav__link,.flipster__nav__child .flipster__nav__link:hover,.flipster__nav__child .flipster__nav__link:focus{color:#232221}.flipster__nav__item--current .flipster__nav__child{display:block}.flipster--carousel .flipster__container,.flipster--carousel .flipster__item,.flipster--carousel .flipster__item__content{transition:all 350ms ease-in-out;transition-timing-function:cubic-bezier(.56, .12, .12, .98)}.flipster--carousel .flipster__item{perspective:800px}.flipster--carousel .flipster__item--past,.flipster--carousel .flipster__item--future{opacity:0;transition-delay:115ms}.flipster--carousel .flipster__item--past-2,.flipster--carousel .flipster__item--future-2{opacity:.6;transition-delay:90ms}.flipster--carousel .flipster__item--past-1,.flipster--carousel .flipster__item--future-1{opacity:.8;transition-delay:60ms}.flipster--carousel .flipster__item--past .flipster__item__content{transform:translateX(100%) rotateY(-20deg) scale(.5)}.flipster--carousel .flipster__item--past-2 .flipster__item__content{transform:translateX(25%) rotateY(40deg) scale(.65)}.flipster--carousel .flipster__item--past-1 .flipster__item__content{transform:rotateY(45deg) scale(.8)}.flipster--carousel .flipster__item--future .flipster__item__content{transform:translateX(-100%) rotateY(20deg) scale(.5)}.flipster--carousel .flipster__item--future-2 .flipster__item__content{transform:translateX(-25%) rotateY(-40deg) scale(.65)}.flipster--carousel .flipster__item--future-1 .flipster__item__content{transform:rotateY(-45deg) scale(.8)}.flipster--carousel.no-rotate .flipster__item--past .flipster__item__content{transform:translateX(175%) scale(.5)}.flipster--carousel.no-rotate .flipster__item--past-2 .flipster__item__content{transform:translateX(25%) scale(.65)}.flipster--carousel.no-rotate .flipster__item--past-1 .flipster__item__content{transform:translateX(0) scale(.8)}.flipster--carousel.no-rotate .flipster__item--future .flipster__item__content{transform:translateX(-175%) scale(.5)}.flipster--carousel.no-rotate .flipster__item--future-2 .flipster__item__content{transform:translateX(-25%) scale(.65)}.flipster--carousel.no-rotate .flipster__item--future-1 .flipster__item__content{transform:translateX(0) scale(.8)}.flipster--carousel .flipster__item--current .flipster__item__content{transform:translateX(0) rotateY(0deg) scale(1);transition-delay:60ms}.flipster--coverflow .flipster__container,.flipster--coverflow .flipster__item,.flipster--coverflow .flipster__item__content{transition:all 350ms ease-in-out;transition-timing-function:cubic-bezier(.56, .12, .12, .98)}.flipster--coverflow .flipster__item{perspective:800px}.flipster--coverflow .flipster__container{padding-bottom:5%}.flipster--coverflow .flipster__item__content{transform-origin:50% 100%;box-reflect:below 0 -webkit-gradient(linear, left bottom, left top, color-stop(.05, rgba(255,255,255,0.12)), color-stop(.2, transparent));-webkit-box-reflect:below 0 -webkit-gradient(linear, left bottom, left top, color-stop(.05, rgba(255,255,255,0.12)), color-stop(.2, transparent))}.flipster--coverflow .flipster__item__content img:only-child{display:block}.flipster--coverflow .flipster__item--past .flipster__item__content{transform-origin:0 50%;transform:scale(.75) rotateY(55deg)}.flipster--coverflow .flipster__item--future .flipster__item__content{transform-origin:100% 50%;transform:scale(.75) rotateY(-55deg)}.flipster--coverflow .flip-current .flipster__item__content{transform:rotateY(0deg)}.flipster--flat .flipster__container,.flipster--flat .flipster__item,.flipster--flat .flipster__item__content{transition:all 400ms ease-in-out}.flipster--flat .flipster__item--past,.flipster--flat .flipster__item--future{opacity:.5}.flipster--flat .flipster__item--past .flipster__item__content{transform:scale(.75)}.flipster--flat .flipster__item--future .flipster__item__content{transform:scale(.75)}.flipster--wheel{overflow:hidden}.flipster--wheel .flipster__container,.flipster--wheel .flipster__item__content{transition:all 400ms ease-in-out;transition-timing-function:cubic-bezier(.56, .12, .12, .98)}.flipster--wheel .flipster__container{padding-bottom:20%}.flipster--wheel .flipster__item__content{transform-origin:50% 100%}.flipster--wheel .flipster__item--past .flipster__item__content{transform-origin:100% 100%}.flipster--wheel .flipster__item--future .flipster__item__content{transform-origin:0 100%}.flipster--wheel .flipster__item__content img:only-child{display:block}.flipster--wheel .flipster__item--past .flipster__item__content{opacity:0;transform:rotateZ(-80deg) translate(-170%, 110%)}.flipster--wheel .flipster__item--future .flipster__item__content{opacity:0;transform:rotateZ(80deg) translate(170%, 110%)}.flipster--wheel .flipster__item--past-3 .flipster__item__content{opacity:1;transform:rotateZ(-60deg) translate(-70%, 75%)}.flipster--wheel .flipster__item--future-3 .flipster__item__content{opacity:1;transform:rotateZ(60deg) translate(70%, 75%)}.flipster--wheel .flipster__item--past-2 .flipster__item__content{opacity:1;transform:rotateZ(-40deg) translate(-17%, 30%)}.flipster--wheel .flipster__item--future-2 .flipster__item__content{opacity:1;transform:rotateZ(40deg) translate(17%, 30%)}.flipster--wheel .flipster__item--past-1 .flipster__item__content{opacity:1;transform:rotateZ(-20deg)}.flipster--wheel .flipster__item--future-1 .flipster__item__content{opacity:1;transform:rotateZ(20deg)}.flipster--wheel .flip-current .flipster__item__content{transform:rotateX(0deg)}
     1/*! jQuery.Flipster, v1.1.3 (built 2019-05-01) */.flipster{display:block;overflow-x:hidden;overflow-y:visible;position:relative}.flipster:focus{outline:none}.flipster__container,.flipster__item{margin:0;padding:0;list-style-type:none;position:relative}.flipster__container{display:block;white-space:nowrap;word-spacing:-0.25em;-webkit-transform-origin:50% 50%;-ms-transform-origin:50% 50%;transform-origin:50% 50%;-webkit-backface-visibility:hidden;backface-visibility:hidden}.flipster__item{display:inline-block;white-space:normal;word-spacing:normal;vertical-align:bottom}.flipster--click .flipster__item--past,.flipster--click .flipster__item--future{cursor:pointer}.flipster__item img{max-width:100%}.flipster__button{position:absolute;top:50%;display:block;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:none;padding:0;z-index:999;cursor:pointer;font-size:15px;opacity:.5;-webkit-transition:opacity 500ms ease;-o-transition:opacity 500ms ease;transition:opacity 500ms ease;margin:-1em 2em}.flipster__button svg{width:2em;stroke:currentColor;fill:transparent;stroke-width:3;stroke-linecap:round}.flipster__button:hover,.flipster__button:focus{opacity:1}.flipster__button--prev{left:0}.flipster__button--next{right:0}.flipster__nav,.flipster__nav__item{list-style-type:none;margin:0;padding:0}.flipster__nav{display:block;margin:0 0 4em;text-align:center;position:relative}.flipster__nav__item{display:inline-block;margin:0 .25em}.flipster__nav__link{display:block;color:inherit;padding:.5em 1em;position:relative;overflow:hidden;-webkit-transition:all 250ms ease-out;-o-transition:all 250ms ease-out;transition:all 250ms ease-out;-webkit-transition-timing-function:cubic-bezier(.56, .12, .12, .98);-o-transition-timing-function:cubic-bezier(.56, .12, .12, .98);transition-timing-function:cubic-bezier(.56, .12, .12, .98)}.flipster__nav__link::after{content:'';display:block;background:#232221;position:absolute;top:0;left:0;width:100%;height:100%;z-index:-1;-webkit-transform:translateY(100%) translateY(-0.25em);-ms-transform:translateY(100%) translateY(-0.25em);transform:translateY(100%) translateY(-0.25em);-webkit-transition:inherit;-o-transition:inherit;transition:inherit}.flipster__nav__item--current>.flipster__nav__link,.flipster__nav__link:hover,.flipster__nav__link:focus{color:#FFF}.flipster__nav__item--current>.flipster__nav__link::after,.flipster__nav__link:hover::after,.flipster__nav__link:focus::after{-webkit-transform:translateY(0);-ms-transform:translateY(0);transform:translateY(0)}.flipster__nav__child{display:none;position:absolute;top:100%;left:0;right:0;margin-top:-1px;padding:.5em;background:#4e4441;z-index:1}.flipster__nav__child .flipster__nav__link{color:#FFF}.flipster__nav__child .flipster__nav__link::after{background:#FFF}.flipster__nav__child .flipster__nav__item--current>.flipster__nav__link,.flipster__nav__child .flipster__nav__link:hover,.flipster__nav__child .flipster__nav__link:focus{color:#232221}.flipster__nav__item--current .flipster__nav__child{display:block}.flipster--carousel .flipster__container,.flipster--carousel .flipster__item,.flipster--carousel .flipster__item__content{-webkit-transition:all 350ms ease-in-out;-o-transition:all 350ms ease-in-out;transition:all 350ms ease-in-out;-webkit-transition-timing-function:cubic-bezier(.56, .12, .12, .98);-o-transition-timing-function:cubic-bezier(.56, .12, .12, .98);transition-timing-function:cubic-bezier(.56, .12, .12, .98)}.flipster--carousel .flipster__item{-webkit-perspective:800px;perspective:800px}.flipster--carousel .flipster__item--past,.flipster--carousel .flipster__item--future{opacity:0;-webkit-transition-delay:115ms;-o-transition-delay:115ms;transition-delay:115ms}.flipster--carousel .flipster__item--past-2,.flipster--carousel .flipster__item--future-2{opacity:.6;-webkit-transition-delay:90ms;-o-transition-delay:90ms;transition-delay:90ms}.flipster--carousel .flipster__item--past-1,.flipster--carousel .flipster__item--future-1{opacity:.8;-webkit-transition-delay:60ms;-o-transition-delay:60ms;transition-delay:60ms}.flipster--carousel .flipster__item--past .flipster__item__content{-webkit-transform:translateX(100%) rotateY(-20deg) scale(.5);transform:translateX(100%) rotateY(-20deg) scale(.5)}.flipster--carousel .flipster__item--past-2 .flipster__item__content{-webkit-transform:translateX(25%) rotateY(40deg) scale(.65);transform:translateX(25%) rotateY(40deg) scale(.65)}.flipster--carousel .flipster__item--past-1 .flipster__item__content{-webkit-transform:rotateY(45deg) scale(.8);transform:rotateY(45deg) scale(.8)}.flipster--carousel .flipster__item--future .flipster__item__content{-webkit-transform:translateX(-100%) rotateY(20deg) scale(.5);transform:translateX(-100%) rotateY(20deg) scale(.5)}.flipster--carousel .flipster__item--future-2 .flipster__item__content{-webkit-transform:translateX(-25%) rotateY(-40deg) scale(.65);transform:translateX(-25%) rotateY(-40deg) scale(.65)}.flipster--carousel .flipster__item--future-1 .flipster__item__content{-webkit-transform:rotateY(-45deg) scale(.8);transform:rotateY(-45deg) scale(.8)}.flipster--carousel.no-rotate .flipster__item--past .flipster__item__content{-webkit-transform:translateX(175%) scale(.5);-ms-transform:translateX(175%) scale(.5);transform:translateX(175%) scale(.5)}.flipster--carousel.no-rotate .flipster__item--past-2 .flipster__item__content{-webkit-transform:translateX(25%) scale(.65);-ms-transform:translateX(25%) scale(.65);transform:translateX(25%) scale(.65)}.flipster--carousel.no-rotate .flipster__item--past-1 .flipster__item__content{-webkit-transform:translateX(0%) scale(.8);-ms-transform:translateX(0%) scale(.8);transform:translateX(0%) scale(.8)}.flipster--carousel.no-rotate .flipster__item--future .flipster__item__content{-webkit-transform:translateX(-175%) scale(.5);-ms-transform:translateX(-175%) scale(.5);transform:translateX(-175%) scale(.5)}.flipster--carousel.no-rotate .flipster__item--future-2 .flipster__item__content{-webkit-transform:translateX(-25%) scale(.65);-ms-transform:translateX(-25%) scale(.65);transform:translateX(-25%) scale(.65)}.flipster--carousel.no-rotate .flipster__item--future-1 .flipster__item__content{-webkit-transform:translateX(0%) scale(.8);-ms-transform:translateX(0%) scale(.8);transform:translateX(0%) scale(.8)}.flipster--carousel .flipster__item--current .flipster__item__content{-webkit-transform:translateX(0) rotateY(0deg) scale(1);transform:translateX(0) rotateY(0deg) scale(1);-webkit-transition-delay:60ms;-o-transition-delay:60ms;transition-delay:60ms}.flipster--coverflow .flipster__container,.flipster--coverflow .flipster__item,.flipster--coverflow .flipster__item__content{-webkit-transition:all 350ms ease-in-out;-o-transition:all 350ms ease-in-out;transition:all 350ms ease-in-out;-webkit-transition-timing-function:cubic-bezier(.56, .12, .12, .98);-o-transition-timing-function:cubic-bezier(.56, .12, .12, .98);transition-timing-function:cubic-bezier(.56, .12, .12, .98)}.flipster--coverflow .flipster__item{-webkit-perspective:800px;perspective:800px}.flipster--coverflow .flipster__container{padding-bottom:5%}.flipster--coverflow .flipster__item__content{-webkit-transform-origin:50% 100%;-ms-transform-origin:50% 100%;transform-origin:50% 100%;box-reflect:below 0 -webkit-gradient(linear, left bottom, left top, color-stop(.05, rgba(255,255,255,0.12)), color-stop(.2, transparent));-webkit-box-reflect:below 0 -webkit-gradient(linear, left bottom, left top, color-stop(.05, rgba(255,255,255,0.12)), color-stop(.2, transparent))}.flipster--coverflow .flipster__item__content img:only-child{display:block}.flipster--coverflow .flipster__item--past .flipster__item__content{-webkit-transform-origin:0% 50%;-ms-transform-origin:0% 50%;transform-origin:0% 50%;-webkit-transform:scale(.75) rotateY(55deg);transform:scale(.75) rotateY(55deg)}.flipster--coverflow .flipster__item--future .flipster__item__content{-webkit-transform-origin:100% 50%;-ms-transform-origin:100% 50%;transform-origin:100% 50%;-webkit-transform:scale(.75) rotateY(-55deg);transform:scale(.75) rotateY(-55deg)}.flipster--coverflow .flip-current .flipster__item__content{-webkit-transform:rotateY(0deg);transform:rotateY(0deg)}.flipster--flat .flipster__container,.flipster--flat .flipster__item,.flipster--flat .flipster__item__content{-webkit-transition:all 400ms ease-in-out;-o-transition:all 400ms ease-in-out;transition:all 400ms ease-in-out}.flipster--flat .flipster__item--past,.flipster--flat .flipster__item--future{opacity:.5}.flipster--flat .flipster__item--past .flipster__item__content{-webkit-transform:scale(.75);-ms-transform:scale(.75);transform:scale(.75)}.flipster--flat .flipster__item--future .flipster__item__content{-webkit-transform:scale(.75);-ms-transform:scale(.75);transform:scale(.75)}.flipster--wheel{overflow:hidden}.flipster--wheel .flipster__container,.flipster--wheel .flipster__item__content{-webkit-transition:all 400ms ease-in-out;-o-transition:all 400ms ease-in-out;transition:all 400ms ease-in-out;-webkit-transition-timing-function:cubic-bezier(.56, .12, .12, .98);-o-transition-timing-function:cubic-bezier(.56, .12, .12, .98);transition-timing-function:cubic-bezier(.56, .12, .12, .98)}.flipster--wheel .flipster__container{padding-bottom:20%}.flipster--wheel .flipster__item__content{-webkit-transform-origin:50% 100%;-ms-transform-origin:50% 100%;transform-origin:50% 100%}.flipster--wheel .flipster__item--past .flipster__item__content{-webkit-transform-origin:100% 100%;-ms-transform-origin:100% 100%;transform-origin:100% 100%}.flipster--wheel .flipster__item--future .flipster__item__content{-webkit-transform-origin:0% 100%;-ms-transform-origin:0% 100%;transform-origin:0% 100%}.flipster--wheel .flipster__item__content img:only-child{display:block}.flipster--wheel .flipster__item--past .flipster__item__content{opacity:0;-webkit-transform:rotateZ(-80deg) translate(-170%, 110%);-ms-transform:rotate(-80deg) translate(-170%, 110%);transform:rotateZ(-80deg) translate(-170%, 110%)}.flipster--wheel .flipster__item--future .flipster__item__content{opacity:0;-webkit-transform:rotateZ(80deg) translate(170%, 110%);-ms-transform:rotate(80deg) translate(170%, 110%);transform:rotateZ(80deg) translate(170%, 110%)}.flipster--wheel .flipster__item--past-3 .flipster__item__content{opacity:1;-webkit-transform:rotateZ(-60deg) translate(-70%, 75%);-ms-transform:rotate(-60deg) translate(-70%, 75%);transform:rotateZ(-60deg) translate(-70%, 75%)}.flipster--wheel .flipster__item--future-3 .flipster__item__content{opacity:1;-webkit-transform:rotateZ(60deg) translate(70%, 75%);-ms-transform:rotate(60deg) translate(70%, 75%);transform:rotateZ(60deg) translate(70%, 75%)}.flipster--wheel .flipster__item--past-2 .flipster__item__content{opacity:1;-webkit-transform:rotateZ(-40deg) translate(-17%, 30%);-ms-transform:rotate(-40deg) translate(-17%, 30%);transform:rotateZ(-40deg) translate(-17%, 30%)}.flipster--wheel .flipster__item--future-2 .flipster__item__content{opacity:1;-webkit-transform:rotateZ(40deg) translate(17%, 30%);-ms-transform:rotate(40deg) translate(17%, 30%);transform:rotateZ(40deg) translate(17%, 30%)}.flipster--wheel .flipster__item--past-1 .flipster__item__content{opacity:1;-webkit-transform:rotateZ(-20deg);-ms-transform:rotate(-20deg);transform:rotateZ(-20deg)}.flipster--wheel .flipster__item--future-1 .flipster__item__content{opacity:1;-webkit-transform:rotateZ(20deg);-ms-transform:rotate(20deg);transform:rotateZ(20deg)}.flipster--wheel .flip-current .flipster__item__content{-webkit-transform:rotateX(0deg);transform:rotateX(0deg)}
  • _squelettes_/soyezcreateurs_net/trunk/plugins/soyezcreateurs/javascript/flipster/dist/jquery.flipster.min.js

    r109209 r115181  
    1 /*! jQuery.Flipster, v1.1.2 (built 2017-11-10) */
    2 !function(a,b,c){"use strict";function d(a,b){var c=null;return function(){var d=this,e=arguments;null===c&&(c=setTimeout(function(){a.apply(d,e),c=null},b))}}var e=function(){var a={};return function(b){if(a[b]!==c)return a[b];var d=document.createElement("div"),e=d.style,f=b.charAt(0).toUpperCase()+b.slice(1),g=["webkit","moz","ms","o"],h=(b+" "+g.join(f+" ")+f).split(" ");for(var i in h)if(h[i]in e)return a[b]=h[i];return a[b]=!1}}(),f="http://www.w3.org/2000/svg",g=function(){var a;return function(){if(a!==c)return a;var b=document.createElement("div");return b.innerHTML="<svg/>",a=b.firstChild&&b.firstChild.namespaceURI===f}}(),h=a(b),i=e("transform"),j={itemContainer:"ul",itemSelector:"li",start:"center",fadeIn:400,loop:!1,autoplay:!1,pauseOnHover:!0,style:"coverflow",spacing:-.6,click:!0,keyboard:!0,scrollwheel:!0,touch:!0,nav:!1,buttons:!1,buttonPrev:"Previous",buttonNext:"Next",onItemSwitch:!1},k={main:"flipster",active:"flipster--active",container:"flipster__container",nav:"flipster__nav",navChild:"flipster__nav__child",navItem:"flipster__nav__item",navLink:"flipster__nav__link",navCurrent:"flipster__nav__item--current",navCategory:"flipster__nav__item--category",navCategoryLink:"flipster__nav__link--category",button:"flipster__button",buttonPrev:"flipster__button--prev",buttonNext:"flipster__button--next",item:"flipster__item",itemCurrent:"flipster__item--current",itemPast:"flipster__item--past",itemFuture:"flipster__item--future",itemContent:"flipster__item__content"},l=new RegExp("\\b("+k.itemCurrent+"|"+k.itemPast+"|"+k.itemFuture+")(.*?)(\\s|$)","g"),m=new RegExp("\\s\\s+","g");a.fn.flipster=function(b){if("string"==typeof b){var e=Array.prototype.slice.call(arguments,1);return this.each(function(){var c=a(this).data("methods");return c[b]?c[b].apply(this,e):this})}var n=a.extend({},j,b);return this.each(function(){function b(a){var b="next"===a?n.buttonNext:n.buttonPrev;return"custom"!==n.buttons&&g?'<svg viewBox="0 0 13 20" xmlns="'+f+'" aria-labelledby="title"><title>'+b+'</title><polyline points="10,3 3,10 10,17"'+("next"===a?' transform="rotate(180 6.5,10)"':"")+"/></svg>":b}function e(c){return c=c||"next",a('<button class="'+k.button+" "+("next"===c?k.buttonNext:k.buttonPrev)+'" role="button" />').html(b(c)).on("click",function(a){v(c),a.preventDefault()})}function j(){n.buttons&&J.length>1&&(O.find("."+k.button).remove(),O.append(e("prev"),e("next")))}function o(){var b={};!n.nav||J.length<=1||(L&&L.remove(),L=a('<ul class="'+k.nav+'" role="navigation" />'),N=a(""),J.each(function(c){var d=a(this),e=d.data("flip-category"),f=d.data("flip-title")||d.attr("title")||c,g=a('<a href="#" class="'+k.navLink+'">'+f+"</a>").data("index",c);if(N=N.add(g),e){if(!b[e]){var h=a('<li class="'+k.navItem+" "+k.navCategory+'">'),i=a('<a href="#" class="'+k.navLink+" "+k.navCategoryLink+'" data-flip-category="'+e+'">'+e+"</a>").data("category",e).data("index",c);b[e]=a('<ul class="'+k.navChild+'" />'),N=N.add(i),h.append(i,b[e]).appendTo(L)}b[e].append(g)}else L.append(g);g.wrap('<li class="'+k.navItem+'">')}),L.on("click","a",function(b){var c=a(this).data("index");c>=0&&(v(c),b.preventDefault())}),"after"===n.nav?O.append(L):O.prepend(L),M=L.find("."+k.navItem))}function p(){if(n.nav){var b=K.data("flip-category");M.removeClass(k.navCurrent),N.filter(function(){return a(this).data("index")===Q||b&&a(this).data("category")===b}).parent().addClass(k.navCurrent)}}function q(){O.css("transition","none"),G.css("transition","none"),J.css("transition","none")}function r(){O.css("transition",""),G.css("transition",""),J.css("transition","")}function s(){var b,c=0;return J.each(function(){(b=a(this).height())>c&&(c=b)}),c}function t(b){if(b&&q(),H=G.width(),G.height(s()),!H)return void(I=I||setInterval(function(){t(b)},500));I&&(clearInterval(I),I=!1),J.each(function(c){var d,e,f=a(this);f.attr("class",function(a,b){return b&&b.replace(l,"").replace(m," ")}),d=f.outerWidth(),0!==n.spacing&&f.css("margin-right",d*n.spacing+"px"),e=f.position().left,P[c]=-1*(e+d/2-H/2),c===J.length-1&&(u(),b&&setTimeout(r,1))})}function u(){var b,d,e,f=J.length;J.each(function(c){b=a(this),d=" ",c===Q?(d+=k.itemCurrent,e=f+1):c<Q?(d+=k.itemPast+" "+k.itemPast+"-"+(Q-c),e=f-(Q-c)):(d+=k.itemFuture+" "+k.itemFuture+"-"+(c-Q),e=f-(c-Q)),b.css("z-index",e).attr("class",function(a,b){return b&&b.replace(l,"").replace(m," ")+d})}),Q>=0&&(H&&P[Q]!==c||t(!0),i?G.css("transform","translateX("+P[Q]+"px)"):G.css({left:P[Q]+"px"})),p()}function v(a){var b=Q;if(!(J.length<=1))return"prev"===a?Q>0?Q--:n.loop&&(Q=J.length-1):"next"===a?Q<J.length-1?Q++:n.loop&&(Q=0):"number"==typeof a?Q=a:a!==c&&(Q=J.index(a),n.loop&&b!=Q&&(b==J.length-1&&Q!=J.length-2&&(Q=0),0==b&&1!=Q&&(Q=J.length-1))),K=J.eq(Q),Q!==b&&n.onItemSwitch&&n.onItemSwitch.call(O,J[Q],J[b]),u(),O}function w(a){return n.autoplay=a||n.autoplay,clearInterval(R),R=setInterval(function(){var a=Q;v("next"),a!==Q||n.loop||clearInterval(R)},n.autoplay),O}function x(){return clearInterval(R),R=0,O}function y(a){return x(),n.autoplay&&a&&(R=-1),O}function z(){t(!0),O.hide().css("visibility","").addClass(k.active).fadeIn(n.fadeIn)}function A(){if(G=O.find(n.itemContainer).addClass(k.container),J=G.find(n.itemSelector),!(J.length<=1))return J.addClass(k.item).each(function(){var b=a(this);b.children("."+k.itemContent).length||b.wrapInner('<div class="'+k.itemContent+'" />')}),n.click&&J.on("click.flipster touchend.flipster",function(b){S||(a(this).hasClass(k.itemCurrent)||b.preventDefault(),v(this))}),j(),o(),Q>=0&&v(Q),O}function B(a){n.keyboard&&(a[0].tabIndex=0,a.on("keydown.flipster",d(function(a){var b=a.which;37!==b&&39!==b||(v(37===b?"prev":"next"),a.preventDefault())},250,!0)))}function C(a){if(n.scrollwheel){var b,c,e=!1,f=0,g=0,i=0,j=/mozilla/.test(navigator.userAgent.toLowerCase())&&!/webkit/.test(navigator.userAgent.toLowerCase());a.on("mousewheel.flipster wheel.flipster",function(){e=!0}).on("mousewheel.flipster wheel.flipster",d(function(a){clearTimeout(g),g=setTimeout(function(){f=0,i=0},300),a=a.originalEvent,i+=a.wheelDelta||-1*(a.deltaY+a.deltaX),Math.abs(i)<25&&!j||(f++,b=i>0?"prev":"next",c!==b&&(f=0),c=b,(f<6||f%3==0)&&v(b),i=0)},50)),h.on("mousewheel.flipster wheel.flipster",function(a){e&&(a.preventDefault(),e=!1)})}}function D(a){if(n.touch){var b,c,d,e,f,g;a.on({"touchstart.flipster":function(a){a=a.originalEvent,b=a.touches?a.touches[0].clientX:a.clientX,c=a.touches?a.touches[0].clientY:a.clientY},"touchmove.flipster":function(a){a=a.originalEvent,d=a.touches?a.touches[0].clientX:a.clientX,e=a.touches?a.touches[0].clientY:a.clientY,g=d-b,f=e-c,Math.abs(g)>30&&Math.abs(f)<100&&a.preventDefault()},"touchend.flipster touchcancel.flipster ":function(){g=d-b,f=e-c,Math.abs(g)>30&&Math.abs(f)<100&&v(g>0?"prev":"next")}})}}function E(){var a;if(O.css("visibility","hidden"),A(),J.length<=1)return void O.css("visibility","");a=!!n.style&&"flipster--"+n.style.split(" ").join(" flipster--"),O.addClass([k.main,i?"flipster--transform":" flipster--no-transform",a,n.click?"flipster--click":""].join(" ")),n.start&&(Q="center"===n.start?Math.floor(J.length/2):n.start),v(Q);var b=O.find("img");if(b.length){var c=0;b.on("load",function(){++c>=b.length&&z()}),setTimeout(z,750)}else z();h.on("resize.flipster",d(t,400)),n.autoplay&&w(),n.pauseOnHover&&G.on("mouseenter.flipster",function(){R?y(!0):x()}).on("mouseleave.flipster",function(){-1===R&&w()}),B(O),C(G),D(G)}var F,G,H,I,J,K,L,M,N,O=a(this),P=[],Q=0,R=!1,S=!1;F={jump:v,next:function(){return v("next")},prev:function(){return v("prev")},play:w,stop:x,pause:y,index:A},O.data("methods",F),O.hasClass(k.active)||E()})}}(jQuery,window);
     1/*! jQuery.Flipster, v1.1.3 (built 2019-05-01) */
     2
     3!function(I,t,P){"use strict";function D(n,i){var a=null;return function(){var t=this,e=arguments;null===a&&(a=setTimeout(function(){n.apply(t,e),a=null},i))}}var r,e=(r={},function(t){if(r[t]!==P)return r[t];var e=document.createElement("div").style,n=t.charAt(0).toUpperCase()+t.slice(1),i=(t+" "+["webkit","moz","ms","o"].join(n+" ")+n).split(" ");for(var a in i)if(i[a]in e)return r[t]=i[a];return r[t]=!1}),L="http://www.w3.org/2000/svg",E=I(t),M=e("transform"),i={itemContainer:"ul",itemSelector:"li",start:"center",fadeIn:400,loop:!1,autoplay:!1,pauseOnHover:!0,style:"coverflow",spacing:-.6,click:!0,keyboard:!0,scrollwheel:!0,touch:!0,nav:!1,buttons:!1,buttonPrev:"Previous",buttonNext:"Next",onItemSwitch:!1},T={main:"flipster",active:"flipster--active",container:"flipster__container",nav:"flipster__nav",navChild:"flipster__nav__child",navItem:"flipster__nav__item",navLink:"flipster__nav__link",navCurrent:"flipster__nav__item--current",navCategory:"flipster__nav__item--category",navCategoryLink:"flipster__nav__link--category",button:"flipster__button",buttonPrev:"flipster__button--prev",buttonNext:"flipster__button--next",item:"flipster__item",itemCurrent:"flipster__item--current",itemPast:"flipster__item--past",itemFuture:"flipster__item--future",itemContent:"flipster__item__content"},X=new RegExp("\\b("+T.itemCurrent+"|"+T.itemPast+"|"+T.itemFuture+")(.*?)(\\s|$)","g"),j=new RegExp("\\s\\s+","g");I.fn.flipster=function(e){if("string"==typeof e){var n=Array.prototype.slice.call(arguments,1);return this.each(function(){var t=I(this).data("methods");return t[e]?t[e].apply(this,n):this})}var k=I.extend({},i,e);return this.each(function(){var t,r,o,e,l,s,c,u,f,i=I(this),p=[],v=0,a=!1,n=!1;function h(e){return e=e||"next",I('<button class="'+T.button+" "+("next"===e?T.buttonNext:T.buttonPrev)+'" role="button" />').html(function(t){var e="next"===t?k.buttonNext:k.buttonPrev;return"custom"===k.buttons?e:'<svg viewBox="0 0 13 20" xmlns="'+L+'" aria-labelledby="title"><title>'+e+'</title><polyline points="10,3 3,10 10,17"'+("next"===t?' transform="rotate(180 6.5,10)"':"")+"/></svg>"}(e)).on("click",function(t){_(e),t.preventDefault()})}function d(){i.css("transition",""),r.css("transition",""),l.css("transition","")}function m(a){a&&(i.css("transition","none"),r.css("transition","none"),l.css("transition","none")),o=r.width(),r.height(function(){var t,e=0;return l.each(function(){t=I(this).height(),e<t&&(e=t)}),e}()),o?(e&&(clearInterval(e),e=!1),l.each(function(t){var e,n,i=I(this);i.attr("class",function(t,e){return e&&e.replace(X,"").replace(j," ")}),e=i.outerWidth(),0!==k.spacing&&i.css("margin-right",e*k.spacing+"px"),n=i.position().left,p[t]=-1*(n+e/2-o/2),t===l.length-1&&(g(),a&&setTimeout(d,1))})):e=e||setInterval(function(){m(a)},500)}function g(){var e,n,i,a=l.length;l.each(function(t){e=I(this),n=" ",i=t===v?(n+=T.itemCurrent,a+1):t<v?(n+=T.itemPast+" "+T.itemPast+"-"+(v-t),a-(v-t)):(n+=T.itemFuture+" "+T.itemFuture+"-"+(t-v),a-(t-v)),e.css("z-index",i).attr("class",function(t,e){return e&&e.replace(X,"").replace(j," ")+n})}),0<=v&&(o&&p[v]!==P||m(!0),M?r.css("transform","translateX("+p[v]+"px)"):r.css({left:p[v]+"px"})),function(){if(k.nav){var t=s.data("flip-category");u.removeClass(T.navCurrent),f.filter(function(){return I(this).data("index")===v||t&&I(this).data("category")===t}).parent().addClass(T.navCurrent)}}()}function _(t){var e=v;if(!(l.length<=1))return"prev"===t?0<v?v--:k.loop&&(v=l.length-1):"next"===t?v<l.length-1?v++:k.loop&&(v=0):"number"==typeof t?v=t:t!==P&&(v=l.index(t),k.loop&&e!=v&&(e==l.length-1&&v!=l.length-2&&(v=0),0==e&&1!=v&&(v=l.length-1))),s=l.eq(v),v!==e&&k.onItemSwitch&&k.onItemSwitch.call(i,l[v],l[e]),g(),i}function y(t){return k.autoplay=t||k.autoplay,clearInterval(a),a=setInterval(function(){var t=v;_("next"),t!==v||k.loop||clearInterval(a)},k.autoplay),i}function b(){return clearInterval(a),a=0,i}function x(t){return b(),k.autoplay&&t&&(a=-1),i}function w(){m(!0),i.hide().css("visibility","").addClass(T.active).fadeIn(k.fadeIn)}function C(){if(r=i.find(k.itemContainer).addClass(T.container),!((l=r.find(k.itemSelector)).length<=1))return l.addClass(T.item).each(function(){var t=I(this);t.children("."+T.itemContent).length||t.wrapInner('<div class="'+T.itemContent+'" />')}),k.click&&l.on("click.flipster touchend.flipster",function(t){n||(I(this).hasClass(T.itemCurrent)||t.preventDefault(),_(this))}),k.buttons&&1<l.length&&(i.find("."+T.button).remove(),i.append(h("prev"),h("next"))),function(){var s={};!k.nav||l.length<=1||(c&&c.remove(),c=I('<ul class="'+T.nav+'" role="navigation" />'),f=I(""),l.each(function(t){var e=I(this),n=e.data("flip-category"),i=e.data("flip-title")||e.attr("title")||t,a=I('<a href="#" class="'+T.navLink+'">'+i+"</a>").data("index",t);if(f=f.add(a),n){if(!s[n]){var r=I('<li class="'+T.navItem+" "+T.navCategory+'">'),o=I('<a href="#" class="'+T.navLink+" "+T.navCategoryLink+'" data-flip-category="'+n+'">'+n+"</a>").data("category",n).data("index",t);s[n]=I('<ul class="'+T.navChild+'" />'),f=f.add(o),r.append(o,s[n]).appendTo(c)}s[n].append(a)}else c.append(a);a.wrap('<li class="'+T.navItem+'">')}),c.on("click","a",function(t){var e=I(this).data("index");0<=e&&(_(e),t.preventDefault())}),"after"===k.nav?i.append(c):i.prepend(c),u=c.find("."+T.navItem))}(),0<=v&&_(v),i}t={jump:_,next:function(){return _("next")},prev:function(){return _("prev")},play:y,stop:b,pause:x,index:C},i.data("methods",t),i.hasClass(T.active)||function(){var t;if(i.css("visibility","hidden"),C(),l.length<=1)i.css("visibility","");else{t=!!k.style&&"flipster--"+k.style.split(" ").join(" flipster--"),i.addClass([T.main,M?"flipster--transform":" flipster--no-transform",t,k.click?"flipster--click":""].join(" ")),k.start&&(v="center"===k.start?Math.floor(l.length/2):k.start),_(v);var e=i.find("img");if(e.length){var n=0;e.on("load",function(){++n>=e.length&&w()}),setTimeout(w,750)}else w();E.on("resize.flipster",D(m,400)),k.autoplay&&y(),k.pauseOnHover&&r.on("mouseenter.flipster",function(){a?x(!0):b()}).on("mouseleave.flipster",function(){-1===a&&y()}),function(t){k.keyboard&&(t[0].tabIndex=0,t.on("keydown.flipster",D(function(t){var e=t.which;37!==e&&39!==e||(_(37===e?"prev":"next"),t.preventDefault())},250)))}(i),function(t){if(k.scrollwheel){var e,n,i=!1,a=0,r=0,o=0,s=/mozilla/.test(navigator.userAgent.toLowerCase())&&!/webkit/.test(navigator.userAgent.toLowerCase());t.on("mousewheel.flipster wheel.flipster",function(){i=!0}).on("mousewheel.flipster wheel.flipster",D(function(t){clearTimeout(r),r=setTimeout(function(){o=a=0},300),t=t.originalEvent,o+=t.wheelDelta||-1*(t.deltaY+t.deltaX),Math.abs(o)<25&&!s||(a++,n!==(e=0<o?"prev":"next")&&(a=0),n=e,(a<6||a%3==0)&&_(e),o=0)},50)),E.on("mousewheel.flipster wheel.flipster",function(t){i&&(t.preventDefault(),i=!1)})}}(r),function(t){var e,n,i,a,r,o;k.touch&&t.on({"touchstart.flipster":function(t){t=t.originalEvent,e=t.touches?t.touches[0].clientX:t.clientX,n=t.touches?t.touches[0].clientY:t.clientY},"touchmove.flipster":function(t){t=t.originalEvent,i=t.touches?t.touches[0].clientX:t.clientX,a=t.touches?t.touches[0].clientY:t.clientY,o=i-e,r=a-n,30<Math.abs(o)&&Math.abs(r)<100&&t.preventDefault()},"touchend.flipster touchcancel.flipster ":function(){o=i-e,r=a-n,30<Math.abs(o)&&Math.abs(r)<100&&_(0<o?"prev":"next")}})}(r)}}()})}}(jQuery,window);
Note: See TracChangeset for help on using the changeset viewer.