Import initial site

This commit is contained in:
Matthieu Dubuget committed 2016-10-16 10:53:19 +02:00
commit 61c93eb852
70 files changed
+177117

No files matched your search

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 230 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 322 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 232 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 215 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 230 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 256 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 244 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 259 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 208 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 279 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 211 KiB

+80617
View File
File diff suppressed because it is too large. Load diff
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 24 MiB

+79584
View File
File diff suppressed because it is too large. Load diff

After

Width:  |  Height:  |  Size: 5.8 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 332 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 326 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 326 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 261 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 255 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 277 KiB

+6077
View File
File diff suppressed because it is too large. Load diff

After

Width:  |  Height:  |  Size: 131 KiB

+13
View File
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg height="60" width="60" version="1.1">
<g transform="translate(153,20)">
<circle
r="13.498"
cy="10"
cx="-122.677"
id="circle5328" />
<path
d="m -93,6.992 -6.753,0 c -1.346,-10.369 -9.545,-18.568 -19.917,-19.917 l 0,-7.075 -6.013,0 0,7.074 c -10.369,1.35 -18.568,9.549 -19.917,19.917 l -7.4,0 0,6.013 7.399,0 c 1.35,10.372 9.549,18.568 19.917,19.917 l 0,7.079 6.013,0 0,-7.078 c 10.372,-1.349 18.571,-9.545 19.917,-19.917 l 6.754,0 0,-6.013 z m -29.677,21.29 c -10.081,0 -18.28,-8.203 -18.28,-18.284 0,-10.081 8.199,-18.28 18.28,-18.28 10.081,0 18.283,8.199 18.283,18.28 0,10.081 -8.202,18.284 -18.283,18.284 z"
/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 739 B

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 321 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 298 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 286 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 286 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 361 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 352 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 66 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 823 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 281 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 265 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 65 KiB

Binary file not shown.
+21
View File
@@ -0,0 +1,21 @@
The MIT License
Copyright (c) 2013 Aino http://aino.se
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
File diff suppressed because it is too large. Load diff
+3
View File
@@ -0,0 +1,3 @@
!function(t,e,i,n){var a=e.document,o=t(a),r=t(e),s=Array.prototype,l=1.41,c=true,u=3e4,h=false,f=navigator.userAgent.toLowerCase(),d=e.location.hash.replace(/#\//,""),p=e.location.protocol,g=Math,m=function(){},v=function(){return false},y=function(){var t=3,e=a.createElement("div"),i=e.getElementsByTagName("i");do{e.innerHTML="<!--[if gt IE "+ ++t+"]><i></i><![endif]-->"}while(i[0]);return t>4?t:a.documentMode||n}(),_=function(){return{html:a.documentElement,body:a.body,head:a.getElementsByTagName("head")[0],title:a.title}},b=e.parent!==e.self,w="data ready thumbnail loadstart loadfinish image play pause progress "+"fullscreen_enter fullscreen_exit idle_enter idle_exit rescale "+"lightbox_open lightbox_close lightbox_image",x=function(){var e=[];t.each(w.split(" "),function(t,i){e.push(i);if(/_/.test(i)){e.push(i.replace(/_/g,""))}});return e}(),T=function(e){var i;if(typeof e!=="object"){return e}t.each(e,function(n,a){if(/^[a-z]+_/.test(n)){i="";t.each(n.split("_"),function(t,e){i+=t>0?e.substr(0,1).toUpperCase()+e.substr(1):e});e[i]=a;delete e[n]}});return e},k=function(e){if(t.inArray(e,x)>-1){return i[e.toUpperCase()]}return e},C={youtube:{reg:/https?:\/\/(?:[a-zA_Z]{2,3}.)?(?:youtube\.com\/watch\?)((?:[\w\d\-\_\=]+&amp;(?:amp;)?)*v(?:&lt;[A-Z]+&gt;)?=([0-9a-zA-Z\-\_]+))/i,embed:function(){return"http://www.youtube.com/embed/"+this.id},getUrl:function(){return p+"//gdata.youtube.com/feeds/api/videos/"+this.id+"?v=2&alt=json-in-script&callback=?"},get_thumb:function(t){return t.entry.media$group.media$thumbnail[2].url},get_image:function(t){if(t.entry.yt$hd){return p+"//img.youtube.com/vi/"+this.id+"/maxresdefault.jpg"}return t.entry.media$group.media$thumbnail[3].url}},vimeo:{reg:/https?:\/\/(?:www\.)?(vimeo\.com)\/(?:hd#)?([0-9]+)/i,embed:function(){return"http://player.vimeo.com/video/"+this.id},getUrl:function(){return p+"//vimeo.com/api/v2/video/"+this.id+".json?callback=?"},get_thumb:function(t){return t[0].thumbnail_medium},get_image:function(t){return t[0].thumbnail_large}},dailymotion:{reg:/https?:\/\/(?:www\.)?(dailymotion\.com)\/video\/([^_]+)/,embed:function(){return p+"//www.dailymotion.com/embed/video/"+this.id},getUrl:function(){return"https://api.dailymotion.com/video/"+this.id+"?fields=thumbnail_240_url,thumbnail_720_url&callback=?"},get_thumb:function(t){return t.thumbnail_240_url},get_image:function(t){return t.thumbnail_720_url}},_inst:[]},I=function(e,i){for(var n=0;n<C._inst.length;n++){if(C._inst[n].id===i&&C._inst[n].type==e){return C._inst[n]}}this.type=e;this.id=i;this.readys=[];C._inst.push(this);var a=this;t.extend(this,C[e]);t.getJSON(this.getUrl(),function(e){a.data=e;t.each(a.readys,function(t,e){e(a.data)});a.readys=[]});this.getMedia=function(t,e,i){i=i||m;var n=this;var a=function(i){e(n["get_"+t](i))};try{if(n.data){a(n.data)}else{n.readys.push(a)}}catch(o){i()}}},S=function(t){var e;for(var i in C){e=t&&C[i].reg&&t.match(C[i].reg);if(e&&e.length){return{id:e[2],provider:i}}}return false},A={support:function(){var t=_().html;return!b&&(t.requestFullscreen||t.msRequestFullscreen||t.mozRequestFullScreen||t.webkitRequestFullScreen)}(),callback:m,enter:function(t,e,i){this.instance=t;this.callback=e||m;i=i||_().html;if(i.requestFullscreen){i.requestFullscreen()}else if(i.msRequestFullscreen){i.msRequestFullscreen()}else if(i.mozRequestFullScreen){i.mozRequestFullScreen()}else if(i.webkitRequestFullScreen){i.webkitRequestFullScreen()}},exit:function(t){this.callback=t||m;if(a.exitFullscreen){a.exitFullscreen()}else if(a.msExitFullscreen){a.msExitFullscreen()}else if(a.mozCancelFullScreen){a.mozCancelFullScreen()}else if(a.webkitCancelFullScreen){a.webkitCancelFullScreen()}},instance:null,listen:function(){if(!this.support){return}var t=function(){if(!A.instance){return}var t=A.instance._fullscreen;if(a.fullscreen||a.mozFullScreen||a.webkitIsFullScreen||a.msFullscreenElement&&a.msFullscreenElement!==null){t._enter(A.callback)}else{t._exit(A.callback)}};a.addEventListener("fullscreenchange",t,false);a.addEventListener("MSFullscreenChange",t,false);a.addEventListener("mozfullscreenchange",t,false);a.addEventListener("webkitfullscreenchange",t,false)}},E=[],D=[],$=false,L=false,P=[],z=[],F=function(e){z.push(e);t.each(P,function(t,i){if(i._options.theme==e.name||!i._initialized&&!i._options.theme){i.theme=e;i._init.call(i)}})},H=function(){return{clearTimer:function(e){t.each(i.get(),function(){this.clearTimer(e)})},addTimer:function(e){t.each(i.get(),function(){this.addTimer(e)})},array:function(t){return s.slice.call(t,0)},create:function(t,e){e=e||"div";var i=a.createElement(e);i.className=t;return i},removeFromArray:function(e,i){t.each(e,function(t,n){if(n==i){e.splice(t,1);return false}});return e},getScriptPath:function(e){e=e||t("script:last").attr("src");var i=e.split("/");if(i.length==1){return""}i.pop();return i.join("/")+"/"},animate:function(){var n=function(t){var i="transition WebkitTransition MozTransition OTransition".split(" "),n;if(e.opera){return false}foLine truncated
this._options.initialTransition=this._options.initialTransition||this._options.transitionInitial;if(a){if(a.debug===false){c=false}if(typeof a.imageTimeout==="number"){u=a.imageTimeout}if(typeof a.dummy==="string"){h=a.dummy}if(typeof a.theme=="string"){this._options.theme=a.theme}}t(this._target).children().hide();if(i.QUIRK){i.raise("Your page is in Quirks mode, Galleria may not render correctly. Please validate your HTML and add a correct doctype.")}if(z.length){if(this._options.theme){for(var o=0;o<z.length;o++){if(this._options.theme===z[o].name){this.theme=z[o];break}}}else{this.theme=z[0]}}if(typeof this.theme=="object"){this._init()}else{P.push(this)}return this},_init:function(){var o=this,s=this._options;if(this._initialized){i.raise("Init failed: Gallery instance already initialized.");return this}this._initialized=true;if(!this.theme){i.raise("Init failed: No theme found.",true);return this}t.extend(true,s,this.theme.defaults,this._original.options,i.configure.options);s.swipe=function(t){if(t=="enforced"){return true}if(t===false||t=="disabled"){return false}return!!i.TOUCH}(s.swipe);if(s.swipe){s.clicknext=false;s.imagePan=false}!function(t){if(!("getContext"in t)){t=null;return}L=L||{elem:t,context:t.getContext("2d"),cache:{},length:0}}(a.createElement("canvas"));this.bind(i.DATA,function(){if(e.screen&&e.screen.width&&Array.prototype.forEach){this._data.forEach(function(t){var i="devicePixelRatio"in e?e.devicePixelRatio:1,n=g.max(e.screen.width,e.screen.height);if(n*i<1024){t.big=t.image}})}this._original.data=this._data;this.get("total").innerHTML=this.getDataLength();var t=this.$("container");if(o._options.height<2){o._userRatio=o._ratio=o._options.height}var n={width:0,height:0};var a=function(){return o.$("stage").height()};H.wait({until:function(){n=o._getWH();t.width(n.width).height(n.height);return a()&&n.width&&n.height>50},success:function(){o._width=n.width;o._height=n.height;o._ratio=o._ratio||n.height/n.width;if(i.WEBKIT){e.setTimeout(function(){o._run()},1)}else{o._run()}},error:function(){if(a()){i.raise("Could not extract sufficient width/height of the gallery container. Traced measures: width:"+n.width+"px, height: "+n.height+"px.",true)}else{i.raise("Could not extract a stage height from the CSS. Traced height: "+a()+"px.",true)}},timeout:typeof this._options.wait=="number"?this._options.wait:false})});this.append({"info-text":["info-title","info-description"],info:["info-text"],"image-nav":["image-nav-right","image-nav-left"],stage:["images","loader","counter","image-nav"],"thumbnails-list":["thumbnails"],"thumbnails-container":["thumb-nav-left","thumbnails-list","thumb-nav-right"],container:["stage","thumbnails-container","info","tooltip"]});H.hide(this.$("counter").append(this.get("current"),a.createTextNode(" / "),this.get("total")));this.setCounter("&#8211;");H.hide(o.get("tooltip"));this.$("container").addClass([i.TOUCH?"touch":"notouch",this._options.variation,"galleria-theme-"+this.theme.name].join(" "));if(!this._options.swipe){t.each(new Array(2),function(e){var n=new i.Picture;t(n.container).css({position:"absolute",top:0,left:0}).prepend(o._layers[e]=t(H.create("galleria-layer")).css({position:"absolute",top:0,left:0,right:0,bottom:0,zIndex:2})[0]);o.$("images").append(n.container);o._controls[e]=n;var a=new i.Picture;a.isIframe=true;t(a.container).attr("class","galleria-frame").css({position:"absolute",top:0,left:0,zIndex:4,background:"#000",display:"none"}).appendTo(n.container);o._controls.frames[e]=a})}this.$("images").css({position:"relative",top:0,left:0,width:"100%",height:"100%"});if(s.swipe){this.$("images").css({position:"absolute",top:0,left:0,width:0,height:"100%"});this.finger=new i.Finger(this.get("stage"),{onchange:function(t){o.pause().show(t)},oncomplete:function(e){var i=g.max(0,g.min(parseInt(e,10),o.getDataLength()-1)),n=o.getData(i);t(o._thumbnails[i].container).addClass("active").siblings(".active").removeClass("active");if(!n){return}o.$("images").find(".galleria-frame").css("opacity",0).hide().find("iframe").remove();if(o._options.carousel&&o._options.carouselFollow){o._carousel.follow(i)}}});this.bind(i.RESCALE,function(){this.finger.setup()});this.$("stage").on("click",function(i){var a=o.getData();if(!a){return}if(a.iframe){if(o.isPlaying()){o.pause()}var r=o._controls.frames[o._active],s=o._stageWidth,l=o._stageHeight;if(t(r.container).find("iframe").length){return}t(r.container).css({width:s,height:l,opacity:0}).show().animate({opacity:1},200);e.setTimeout(function(){r.load(a.iframe+(a.video?"&autoplay=1":""),{width:s,height:l},function(t){o.$("container").addClass("videoplay");t.scale({width:o._stageWidth,height:o._stageHeight,iframelimit:a.video?o._options.maxVideoSize:n})})},100);return}if(a.link){if(o._options.popupLinks){var c=e.open(a.link,"_blank")}else{e.location.href=a.link}return}});this.bind(i.IMAGE,function(e){o.setCounter(e.index);o.setInfo(e.index);var i=this.getNext(),n=this.getPrev();var a=[n,i];a.push(this.getNext(i)Line truncated
}};if(c){o(e);if(i){throw new Error(n+": "+e)}}else if(i){if($){return}$=true;i=false;o("Gallery could not load.")}};i.version=l;i.getLoadedThemes=function(){return t.map(z,function(t){return t.name})};i.requires=function(t,e){e=e||"You need to upgrade Galleria to version "+t+" to use one or more components.";if(i.version<t){i.raise(e,true)}return i};i.Picture=function(e){this.id=e||null;this.image=null;this.container=H.create("galleria-image");t(this.container).css({overflow:"hidden",position:"relative"});this.original={width:0,height:0};this.ready=false;this.isIframe=false};i.Picture.prototype={cache:{},show:function(){H.show(this.image)},hide:function(){H.moveOut(this.image)},clear:function(){this.image=null},isCached:function(t){return!!this.cache[t]},preload:function(e){t(new Image).load(function(t,e){return function(){e[t]=t}}(e,this.cache)).attr("src",e)},load:function(n,a,o){if(typeof a=="function"){o=a;a=null}if(this.isIframe){var r="if"+(new Date).getTime();var s=this.image=t("<iframe>",{src:n,frameborder:0,id:r,allowfullscreen:true,css:{visibility:"hidden"}})[0];if(a){t(s).css(a)}t(this.container).find("iframe,img").remove();this.container.appendChild(this.image);t("#"+r).load(function(i,n){return function(){e.setTimeout(function(){t(i.image).css("visibility","visible");if(typeof n=="function"){n.call(i,i)}},10)}}(this,o));return this.container}this.image=new Image;if(i.IE8){t(this.image).css("filter","inherit")}if(!i.IE&&!i.CHROME&&!i.SAFARI){t(this.image).css("image-rendering","optimizequality")}var l=false,c=false,u=t(this.container),f=t(this.image),d=function(){if(!l){l=true;e.setTimeout(function(t,e){return function(){t.attr("src",e+(e.indexOf("?")>-1?"&":"?")+H.timestamp())}}(t(this),n),50)}else{if(h){t(this).attr("src",h)}else{i.raise("Image not found: "+n)}}},p=function(n,o,r){return function(){var s=function(){t(this).off("load");n.original=a||{height:this.height,width:this.width};if(i.HAS3D){this.style.MozTransform=this.style.webkitTransform="translate3d(0,0,0)"}u.append(this);n.cache[r]=r;if(typeof o=="function"){e.setTimeout(function(){o.call(n,n)},1)}};if(!this.width||!this.height){!function(e){H.wait({until:function(){return e.width&&e.height},success:function(){s.call(e)},error:function(){if(!c){t(new Image).load(p).attr("src",e.src);c=true}else{i.raise("Could not extract width/height from image: "+e.src+". Traced measures: width:"+e.width+"px, height: "+e.height+"px.")}},timeout:100})}(this)}else{s.call(this)}}}(this,o,n);u.find("iframe,img").remove();f.css("display","block");H.hide(this.image);t.each("minWidth minHeight maxWidth maxHeight".split(" "),function(t,e){f.css(e,/min/.test(e)?"0":"none")});f.load(p).on("error",d).attr("src",n);return this.container},scale:function(e){var a=this;e=t.extend({width:0,height:0,min:n,max:n,margin:0,complete:m,position:"center",crop:false,canvas:false,iframelimit:n},e);if(this.isIframe){var o=e.width,r=e.height,s,l;if(e.iframelimit){var c=g.min(e.iframelimit/o,e.iframelimit/r);if(c<1){s=o*c;l=r*c;t(this.image).css({top:r/2-l/2,left:o/2-s/2,position:"absolute"})}else{t(this.image).css({top:0,left:0})}}t(this.image).width(s||o).height(l||r).removeAttr("width").removeAttr("height");t(this.container).width(o).height(r);e.complete.call(a,a);try{if(this.image.contentWindow){t(this.image.contentWindow).trigger("resize")}}catch(u){}return this.container}if(!this.image){return this.container}var h,f,d=t(a.container),p;H.wait({until:function(){h=e.width||d.width()||H.parseValue(d.css("width"));f=e.height||d.height()||H.parseValue(d.css("height"));return h&&f},success:function(){var i=(h-e.margin*2)/a.original.width,n=(f-e.margin*2)/a.original.height,o=g.min(i,n),r=g.max(i,n),s={"true":r,width:i,height:n,"false":o,landscape:a.original.width>a.original.height?r:o,portrait:a.original.width<a.original.height?r:o},l=s[e.crop.toString()],c="";if(e.max){l=g.min(e.max,l)}if(e.min){l=g.max(e.min,l)}t.each(["width","height"],function(e,i){t(a.image)[i](a[i]=a.image[i]=g.round(a.original[i]*l))});t(a.container).width(h).height(f);if(e.canvas&&L){L.elem.width=a.width;L.elem.height=a.height;c=a.image.src+":"+a.width+"x"+a.height;a.image.src=L.cache[c]||function(t){L.context.drawImage(a.image,0,0,a.original.width*l,a.original.height*l);try{p=L.elem.toDataURL();L.length+=p.length;L.cache[t]=p;return p}catch(e){return a.image.src}}(c)}var u={},d={},m=function(e,i,n){var o=0;if(/\%/.test(e)){var r=parseInt(e,10)/100,s=a.image[i]||t(a.image)[i]();o=g.ceil(s*-1*r+n*r)}else{o=H.parseValue(e)}return o},v={top:{top:0},left:{left:0},right:{left:"100%"},bottom:{top:"100%"}};t.each(e.position.toLowerCase().split(" "),function(t,e){if(e==="center"){e="50%"}u[t?"top":"left"]=e});t.each(u,function(e,i){if(v.hasOwnProperty(i)){t.extend(d,v[i])}});u=u.top?t.extend(u,d):d;u=t.extend({top:"50%",left:"50%"},u);t(a.image).css({position:"absolute",top:m(u.top,"height",f),left:m(u.left,"width",h)});a.show();a.ready=true;e.complete.call(a,a)},error:function(){i.raise("Could not scale imaLine truncated
+62
View File
@@ -0,0 +1,62 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Galleria Flickr Plugin</title>
<style>
/* Demo styles */
html,body{background:#222;margin:0;}
body{border-top:4px solid #000;}
.content{color:#777;font:12px/1.4 "helvetica neue",arial,sans-serif;width:620px;margin:20px auto;}
h1{font-size:12px;font-weight:normal;color:#ddd;margin:0;}
p{margin:0 0 20px}
a {color:#22BCB9;text-decoration:none;}
.cred{margin-top:20px;font-size:11px;}
/* This rule is read by Galleria to define the gallery height: */
#galleria{height:320px;}
</style>
<!-- load jQuery -->
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.js"></script>
<!-- load Galleria -->
<script src="../../galleria-1.4.2.min.js"></script>
<!-- load flickr plugin -->
<script src="galleria.flickr.min.js"></script>
</head>
<body>
<div class="content">
<h1>Galleria Flickr Plugin Demo</h1>
<p>Demonstrating a basic gallery example with a Flickr search.</p>
<!-- Adding gallery images. This is just a container for the dynamic flickr images -->
<div id="galleria"></div>
<p class="cred">Made by <a href="http://galleria.aino.se">Galleria</a>.</p>
<a href="#" id="close">cloase</a>
</div>
<script>
// Load the classic theme
Galleria.loadTheme('../../themes/classic/galleria.classic.min.js');
// Initialize Galleria
Galleria.run('#galleria', {
// search flickr for "galleria"
flickr: 'search:galleria',
flickrOptions: {
// sort by interestingness
sort: 'interestingness-desc'
}
});
</script>
</body>
</html>
Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

+383
View File
@@ -0,0 +1,383 @@
/**
* Galleria Flickr Plugin 2012-09-04
* http://galleria.io
*
* Licensed under the MIT license
* https://raw.github.com/aino/galleria/master/LICENSE
*
*/
(function($) {
/*global jQuery, Galleria, window */
Galleria.requires(1.25, 'The Flickr Plugin requires Galleria version 1.2.5 or later.');
// The script path
var PATH = Galleria.utils.getScriptPath();
/**
@class
@constructor
@example var flickr = new Galleria.Flickr();
@author http://galleria.io
@requires jQuery
@requires Galleria
@param {String} [api_key] Flickr API key to be used, defaults to the Galleria key
@returns Instance
*/
Galleria.Flickr = function( api_key ) {
this.api_key = api_key || '2a2ce06c15780ebeb0b706650fc890b2';
this.options = {
max: 30, // photos to return
imageSize: 'medium', // photo size ( thumb,small,medium,big,original )
thumbSize: 'thumb', // thumbnail size ( thumb,small,medium,big,original )
sort: 'interestingness-desc', // sort option ( date-posted-asc, date-posted-desc, date-taken-asc, date-taken-desc, interestingness-desc, interestingness-asc, relevance )
description: false, // set this to true to get description as caption
complete: function(){}, // callback to be called inside the Galleria.prototype.load
backlink: false // set this to true if you want to pass a link back to the original image
};
};
Galleria.Flickr.prototype = {
// bring back the constructor reference
constructor: Galleria.Flickr,
/**
Search for anything at Flickr
@param {String} phrase The string to search for
@param {Function} [callback] The callback to be called when the data is ready
@returns Instance
*/
search: function( phrase, callback ) {
return this._find({
text: phrase
}, callback );
},
/**
Search for anything at Flickr by tag
@param {String} tag The tag(s) to search for
@param {Function} [callback] The callback to be called when the data is ready
@returns Instance
*/
tags: function( tag, callback ) {
return this._find({
tags: tag
}, callback);
},
/**
Get a user's public photos
@param {String} username The username as shown in the URL to fetch
@param {Function} [callback] The callback to be called when the data is ready
@returns Instance
*/
user: function( username, callback ) {
return this._call({
method: 'flickr.urls.lookupUser',
url: 'flickr.com/photos/' + username
}, function( data ) {
this._find({
user_id: data.user.id,
method: 'flickr.people.getPublicPhotos'
}, callback);
});
},
/**
Get photos from a photoset by ID
@param {String|Number} photoset_id The photoset id to fetch
@param {Function} [callback] The callback to be called when the data is ready
@returns Instance
*/
set: function( photoset_id, callback ) {
return this._find({
photoset_id: photoset_id,
method: 'flickr.photosets.getPhotos'
}, callback);
},
/**
Get photos from a gallery by ID
@param {String|Number} gallery_id The gallery id to fetch
@param {Function} [callback] The callback to be called when the data is ready
@returns Instance
*/
gallery: function( gallery_id, callback ) {
return this._find({
gallery_id: gallery_id,
method: 'flickr.galleries.getPhotos'
}, callback);
},
/**
Search groups and fetch photos from the first group found
Useful if you know the exact name of a group and want to show the groups photos.
@param {String} group The group name to search for
@param {Function} [callback] The callback to be called when the data is ready
@returns Instance
*/
groupsearch: function( group, callback ) {
return this._call({
text: group,
method: 'flickr.groups.search'
}, function( data ) {
this.group( data.groups.group[0].nsid, callback );
});
},
/**
Get photos from a group by ID
@param {String} group_id The group id to fetch
@param {Function} [callback] The callback to be called when the data is ready
@returns Instance
*/
group: function ( group_id, callback ) {
return this._find({
group_id: group_id,
method: 'flickr.groups.pools.getPhotos'
}, callback );
},
/**
Set flickr options
@param {Object} options The options object to blend
@returns Instance
*/
setOptions: function( options ) {
$.extend(this.options, options);
return this;
},
// call Flickr and raise errors
_call: function( params, callback ) {
var url = 'https://api.flickr.com/services/rest/?';
var scope = this;
params = $.extend({
format : 'json',
jsoncallback : '?',
api_key: this.api_key
}, params );
$.each(params, function( key, value ) {
url += '&' + key + '=' + value;
});
$.getJSON(url, function(data) {
if ( data.stat === 'ok' ) {
callback.call(scope, data);
} else {
Galleria.raise( data.code.toString() + ' ' + data.stat + ': ' + data.message, true );
}
});
return scope;
},
// "hidden" way of getting a big image (~1024) from flickr
_getBig: function( photo ) {
if ( photo.url_l ) {
return photo.url_l;
} else if ( parseInt( photo.width_o, 10 ) > 1280 ) {
return 'https://farm'+photo.farm + '.static.flickr.com/'+photo.server +
'/' + photo.id + '_' + photo.secret + '_b.jpg';
}
return photo.url_o || photo.url_z || photo.url_m;
},
// get image size by option name
_getSize: function( photo, size ) {
var img;
switch(size) {
case 'thumb':
img = photo.url_t;
break;
case 'small':
img = photo.url_s;
break;
case 'big':
img = this._getBig( photo );
break;
case 'original':
img = photo.url_o ? photo.url_o : this._getBig( photo );
break;
default:
img = photo.url_z || photo.url_m;
break;
}
return img;
},
// ask flickr for photos, parse the result and call the callback with the galleria-ready data array
_find: function( params, callback ) {
params = $.extend({
method: 'flickr.photos.search',
extras: 'url_t,url_m,url_o,url_s,url_l,url_z,description',
sort: this.options.sort,
per_page: Math.min( this.options.max, 500 )
}, params );
return this._call( params, function(data) {
var gallery = [],
photos = data.photos ? data.photos.photo : data.photoset.photo,
len = photos.length,
photo,
i;
for ( i=0; i<len; i++ ) {
photo = photos[i];
gallery.push({
thumb: this._getSize( photo, this.options.thumbSize ),
image: this._getSize( photo, this.options.imageSize ),
big: this._getBig( photo ),
title: photos[i].title,
description: this.options.description && photos[i].description ? photos[i].description._content : '',
link: this.options.backlink ? 'https://flickr.com/photos/' + photo.owner + '/' + photo.id : ''
});
}
callback.call( this, gallery );
});
}
};
/**
Galleria modifications
We fake-extend the load prototype to make Flickr integration as simple as possible
*/
// save the old prototype in a local variable
var load = Galleria.prototype.load;
// fake-extend the load prototype using the flickr data
Galleria.prototype.load = function() {
// pass if no data is provided or flickr option not found
if ( arguments.length || typeof this._options.flickr !== 'string' ) {
load.apply( this, Galleria.utils.array( arguments ) );
return;
}
// define some local vars
var self = this,
args = Galleria.utils.array( arguments ),
flickr = this._options.flickr.split(':'),
f,
opts = $.extend({}, self._options.flickrOptions),
loader = typeof opts.loader !== 'undefined' ?
opts.loader : $('<div>').css({
width: 48,
height: 48,
opacity: 0.7,
background:'#000 url('+PATH+'loader.gif) no-repeat 50% 50%'
});
if ( flickr.length ) {
// validate the method
if ( typeof Galleria.Flickr.prototype[ flickr[0] ] !== 'function' ) {
Galleria.raise( flickr[0] + ' method not found in Flickr plugin' );
return load.apply( this, args );
}
// validate the argument
if ( !flickr[1] ) {
Galleria.raise( 'No flickr argument found' );
return load.apply( this, args );
}
// apply the preloader
window.setTimeout(function() {
self.$( 'target' ).append( loader );
},100);
// create the instance
f = new Galleria.Flickr();
// apply Flickr options
if ( typeof self._options.flickrOptions === 'object' ) {
f.setOptions( self._options.flickrOptions );
}
// call the flickr method and trigger the DATA event
f[ flickr[0] ]( flickr[1], function( data ) {
self._data = data;
loader.remove();
self.trigger( Galleria.DATA );
f.options.complete.call(f, data);
});
} else {
// if flickr array not found, pass
load.apply( this, args );
}
};
}( jQuery ) );
+1
View File
@@ -0,0 +1 @@
!function(t){Galleria.requires(1.25,"The Flickr Plugin requires Galleria version 1.2.5 or later.");var i=Galleria.utils.getScriptPath();Galleria.Flickr=function(t){this.api_key=t||"2a2ce06c15780ebeb0b706650fc890b2";this.options={max:30,imageSize:"medium",thumbSize:"thumb",sort:"interestingness-desc",description:false,complete:function(){},backlink:false}};Galleria.Flickr.prototype={constructor:Galleria.Flickr,search:function(t,i){return this._find({text:t},i)},tags:function(t,i){return this._find({tags:t},i)},user:function(t,i){return this._call({method:"flickr.urls.lookupUser",url:"flickr.com/photos/"+t},function(t){this._find({user_id:t.user.id,method:"flickr.people.getPublicPhotos"},i)})},set:function(t,i){return this._find({photoset_id:t,method:"flickr.photosets.getPhotos"},i)},gallery:function(t,i){return this._find({gallery_id:t,method:"flickr.galleries.getPhotos"},i)},groupsearch:function(t,i){return this._call({text:t,method:"flickr.groups.search"},function(t){this.group(t.groups.group[0].nsid,i)})},group:function(t,i){return this._find({group_id:t,method:"flickr.groups.pools.getPhotos"},i)},setOptions:function(i){t.extend(this.options,i);return this},_call:function(i,e){var r="https://api.flickr.com/services/rest/?";var o=this;i=t.extend({format:"json",jsoncallback:"?",api_key:this.api_key},i);t.each(i,function(t,i){r+="&"+t+"="+i});t.getJSON(r,function(t){if(t.stat==="ok"){e.call(o,t)}else{Galleria.raise(t.code.toString()+" "+t.stat+": "+t.message,true)}});return o},_getBig:function(t){if(t.url_l){return t.url_l}else if(parseInt(t.width_o,10)>1280){return"https://farm"+t.farm+".static.flickr.com/"+t.server+"/"+t.id+"_"+t.secret+"_b.jpg"}return t.url_o||t.url_z||t.url_m},_getSize:function(t,i){var e;switch(i){case"thumb":e=t.url_t;break;case"small":e=t.url_s;break;case"big":e=this._getBig(t);break;case"original":e=t.url_o?t.url_o:this._getBig(t);break;default:e=t.url_z||t.url_m;break}return e},_find:function(i,e){i=t.extend({method:"flickr.photos.search",extras:"url_t,url_m,url_o,url_s,url_l,url_z,description",sort:this.options.sort,per_page:Math.min(this.options.max,500)},i);return this._call(i,function(t){var i=[],r=t.photos?t.photos.photo:t.photoset.photo,o=r.length,s,l;for(l=0;l<o;l++){s=r[l];i.push({thumb:this._getSize(s,this.options.thumbSize),image:this._getSize(s,this.options.imageSize),big:this._getBig(s),title:r[l].title,description:this.options.description&&r[l].description?r[l].description._content:"",link:this.options.backlink?"https://flickr.com/photos/"+s.owner+"/"+s.id:""})}e.call(this,i)})}};var e=Galleria.prototype.load;Galleria.prototype.load=function(){if(arguments.length||typeof this._options.flickr!=="string"){e.apply(this,Galleria.utils.array(arguments));return}var r=this,o=Galleria.utils.array(arguments),s=this._options.flickr.split(":"),l,n=t.extend({},r._options.flickrOptions),a=typeof n.loader!=="undefined"?n.loader:t("<div>").css({width:48,height:48,opacity:.7,background:"#000 url("+i+"loader.gif) no-repeat 50% 50%"});if(s.length){if(typeof Galleria.Flickr.prototype[s[0]]!=="function"){Galleria.raise(s[0]+" method not found in Flickr plugin");return e.apply(this,o)}if(!s[1]){Galleria.raise("No flickr argument found");return e.apply(this,o)}window.setTimeout(function(){r.$("target").append(a)},100);l=new Galleria.Flickr;if(typeof r._options.flickrOptions==="object"){l.setOptions(r._options.flickrOptions)}l[s[0]](s[1],function(t){r._data=t;a.remove();r.trigger(Galleria.DATA);l.options.complete.call(l,t)})}else{e.apply(this,o)}}}(jQuery);
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

@@ -0,0 +1,146 @@
/**
* Galleria History Plugin 2012-04-04
* http://galleria.io
*
* Licensed under the MIT license
* https://raw.github.com/aino/galleria/master/LICENSE
*
*/
(function( $, window ) {
/*global jQuery, Galleria, window */
Galleria.requires(1.25, 'The History Plugin requires Galleria version 1.2.5 or later.');
Galleria.History = (function() {
var onloads = [],
init = false,
loc = window.location,
doc = window.document,
ie = Galleria.IE,
support = 'onhashchange' in window && ( doc.mode === undefined || doc.mode > 7 ),
iframe,
get = function( winloc ) {
if( iframe && !support && Galleria.IE ) {
winloc = winloc || iframe.location;
} else {
winloc = loc;
}
return parseInt( winloc.hash.substr(2), 10 );
},
saved = get( loc ),
callbacks = [],
onchange = function() {
$.each( callbacks, function( i, fn ) {
fn.call( window, get() );
});
},
ready = function() {
$.each( onloads, function(i, fn) {
fn();
});
init = true;
},
setHash = function( val ) {
return '/' + val;
};
// always remove support if IE < 8
if ( support && ie < 8 ) {
support = false;
}
if ( !support ) {
$(function() {
var interval = window.setInterval(function() {
var hash = get();
if ( !isNaN( hash ) && hash != saved ) {
saved = hash;
loc.hash = setHash( hash );
onchange();
}
}, 50);
if ( ie ) {
$('<iframe tabindex="-1" title="empty">').hide().attr( 'src', 'about:blank' ).one('load', function() {
iframe = this.contentWindow;
ready();
}).insertAfter(doc.body);
} else {
ready();
}
});
} else {
ready();
}
return {
change: function( fn ) {
callbacks.push( fn );
if( support ) {
window.onhashchange = onchange;
}
},
set: function( val ) {
if ( isNaN( val ) ) {
return;
}
if ( !support && ie ) {
this.ready(function() {
var idoc = iframe.document;
idoc.open();
idoc.close();
iframe.location.hash = setHash( val );
});
}
loc.hash = setHash( val );
},
ready: function(fn) {
if (!init) {
onloads.push(fn);
} else {
fn();
}
}
};
}());
}( jQuery, this ));
+1
View File
@@ -0,0 +1 @@
!function(n,e){Galleria.requires(1.25,"The History Plugin requires Galleria version 1.2.5 or later.");Galleria.History=function(){var i=[],t=false,a=e.location,o=e.document,r=Galleria.IE,s="onhashchange"in e&&(o.mode===undefined||o.mode>7),u,c=function(n){if(u&&!s&&Galleria.IE){n=n||u.location}else{n=a}return parseInt(n.hash.substr(2),10)},f=c(a),l=[],h=function(){n.each(l,function(n,i){i.call(e,c())})},d=function(){n.each(i,function(n,e){e()});t=true},y=function(n){return"/"+n};if(s&&r<8){s=false}if(!s){n(function(){var i=e.setInterval(function(){var n=c();if(!isNaN(n)&&n!=f){f=n;a.hash=y(n);h()}},50);if(r){n('<iframe tabindex="-1" title="empty">').hide().attr("src","about:blank").one("load",function(){u=this.contentWindow;d()}).insertAfter(o.body)}else{d()}})}else{d()}return{change:function(n){l.push(n);if(s){e.onhashchange=h}},set:function(n){if(isNaN(n)){return}if(!s&&r){this.ready(function(){var e=u.document;e.open();e.close();u.location.hash=y(n)})}a.hash=y(n)},ready:function(n){if(!t){i.push(n)}else{n()}}}}()}(jQuery,this);
+100
View File
@@ -0,0 +1,100 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Galleria History Plugin</title>
<style>
/* Demo styles */
html,body{background:#222;margin:0;}
body{border-top:4px solid #000;}
.content{color:#777;font:12px/1.4 "helvetica neue",arial,sans-serif;width:620px;margin:20px auto;}
h1{font-size:12px;font-weight:normal;color:#ddd;margin:0;}
p{margin:0 0 20px}
a {color:#22BCB9;text-decoration:none;}
.cred{margin-top:20px;font-size:11px;}
/* This rule is read by Galleria to define the gallery height: */
#galleria{height:320px}
</style>
<!-- load jQuery -->
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.js"></script>
<!-- load Galleria -->
<script src="../../galleria-1.4.2.min.js"></script>
<!-- load the History plugin, no need for further scripting -->
<script src="galleria.history.min.js"></script>
</head>
<body>
<div class="content">
<h1>Galleria History Plugin</h1>
<p>Demonstrating a basic history example. Supports most browsers, including FF 3.0+ and IE 7+</p>
<!-- Adding gallery images. We use resized thumbnails here for better performance, but it’s not necessary -->
<div id="galleria">
<a href="http://upload.wikimedia.org/wikipedia/commons/thumb/3/34/Locomotives-Roundhouse2.jpg/800px-Locomotives-Roundhouse2.jpg">
<img title="Locomotives Roundhouse"
alt="Steam locomotives of the Chicago &amp; North Western Railway."
src="http://upload.wikimedia.org/wikipedia/commons/thumb/3/34/Locomotives-Roundhouse2.jpg/100px-Locomotives-Roundhouse2.jpg">
</a>
<a href="http://upload.wikimedia.org/wikipedia/commons/thumb/3/36/Icebergs_in_the_High_Arctic_-_20050907.jpg/1000px-Icebergs_in_the_High_Arctic_-_20050907.jpg">
<img title="Icebergs in the High Arctic"
alt="”The debris loading isn't particularly extensive, but the color is usual.”"
src="http://upload.wikimedia.org/wikipedia/commons/thumb/3/36/Icebergs_in_the_High_Arctic_-_20050907.jpg/100px-Icebergs_in_the_High_Arctic_-_20050907.jpg">
</a>
<a href="http://upload.wikimedia.org/wikipedia/commons/thumb/f/fe/Ara%C3%B1a._A_Estrada%2C_Galiza._02.jpg/1000px-Ara%C3%B1a._A_Estrada%2C_Galiza._02.jpg">
<img title="Araña"
alt="Xysticus cristatus, A Estrada, Galicia, Spain"
src="http://upload.wikimedia.org/wikipedia/commons/thumb/f/fe/Ara%C3%B1a._A_Estrada%2C_Galiza._02.jpg/100px-Ara%C3%B1a._A_Estrada%2C_Galiza._02.jpg">
</a>
<a href="http://upload.wikimedia.org/wikipedia/commons/thumb/2/2d/9104_-_Milano_-_Museo_storia_naturale_-_Fluorite_-_Foto_Giovanni_Dall%27Orto_22-Apr-2007.jpg/1000px-9104_-_Milano_-_Museo_storia_naturale_-_Fluorite_-_Foto_Giovanni_Dall%27Orto_22-Apr-2007.jpg">
<img title="Museo storia naturale"
src="http://upload.wikimedia.org/wikipedia/commons/thumb/2/2d/9104_-_Milano_-_Museo_storia_naturale_-_Fluorite_-_Foto_Giovanni_Dall%27Orto_22-Apr-2007.jpg/100px-9104_-_Milano_-_Museo_storia_naturale_-_Fluorite_-_Foto_Giovanni_Dall%27Orto_22-Apr-2007.jpg">
</a>
<a href="http://upload.wikimedia.org/wikipedia/commons/thumb/1/15/Grj%C3%B3tagj%C3%A1_caves_in_summer_2009_%282%29.jpg/1000px-Grj%C3%B3tagj%C3%A1_caves_in_summer_2009_%282%29.jpg">
<img title="Grjótagjá caves in summer 2009"
src="http://upload.wikimedia.org/wikipedia/commons/thumb/1/15/Grj%C3%B3tagj%C3%A1_caves_in_summer_2009_%282%29.jpg/100px-Grj%C3%B3tagj%C3%A1_caves_in_summer_2009_%282%29.jpg">
</a>
<a href="http://upload.wikimedia.org/wikipedia/commons/thumb/9/90/20091128_Loutra_Thermes_Xanthi_Thrace_Greece_2.jpg/1000px-20091128_Loutra_Thermes_Xanthi_Thrace_Greece_2.jpg">
<img title="Thermes"
alt="Xanthi hot-spa springs, Xanthi Prefecture, Greece"
src="http://upload.wikimedia.org/wikipedia/commons/thumb/9/90/20091128_Loutra_Thermes_Xanthi_Thrace_Greece_2.jpg/100px-20091128_Loutra_Thermes_Xanthi_Thrace_Greece_2.jpg">
</a>
<a href="http://upload.wikimedia.org/wikipedia/commons/thumb/5/58/Polish_Army_Ko%C5%82obrzeg_077.JPG/1024px-Polish_Army_Ko%C5%82obrzeg_077.JPG">
<img title="Polish Army Kołobrzeg"
alt="A display of the Polish Army. Both the soldier, and the vehicle belong to the 7th Pomeranian Coastal Defence Brigade, a part of the Szczecin-based 12th Mechanized Division ”Bolesław Krzywousty”"
src="http://upload.wikimedia.org/wikipedia/commons/thumb/5/58/Polish_Army_Ko%C5%82obrzeg_077.JPG/100px-Polish_Army_Ko%C5%82obrzeg_077.JPG">
</a>
<a href="http://upload.wikimedia.org/wikipedia/commons/thumb/2/2d/20100213_Zlatograd_Bulgaria_3.jpg/1024px-20100213_Zlatograd_Bulgaria_3.jpg">
<img title="Zlatograd Bulgaria"
src="http://upload.wikimedia.org/wikipedia/commons/thumb/2/2d/20100213_Zlatograd_Bulgaria_3.jpg/100px-20100213_Zlatograd_Bulgaria_3.jpg">
</a>
<a href="http://upload.wikimedia.org/wikipedia/commons/thumb/b/b5/FEMA_-_5399_-_Photograph_by_Andrea_Booher_taken_on_09-28-2001_in_New_York.jpg/1024px-FEMA_-_5399_-_Photograph_by_Andrea_Booher_taken_on_09-28-2001_in_New_York.jpg">
<img title="09-28-2001 in New York City"
alt="New York, NY, September 28, 2001 -- Debris on surrounding roofs at the site of the World Trade Center. Photo by Andrea Booher/ FEMA News Photo"
src="http://upload.wikimedia.org/wikipedia/commons/thumb/b/b5/FEMA_-_5399_-_Photograph_by_Andrea_Booher_taken_on_09-28-2001_in_New_York.jpg/100px-FEMA_-_5399_-_Photograph_by_Andrea_Booher_taken_on_09-28-2001_in_New_York.jpg">
</a>
<a href="http://upload.wikimedia.org/wikipedia/commons/thumb/e/e6/Antennae%2C_Hubble_images.jpg/1024px-Antennae%2C_Hubble_images.jpg">
<img src="http://upload.wikimedia.org/wikipedia/commons/thumb/e/e6/Antennae%2C_Hubble_images.jpg/100px-Antennae%2C_Hubble_images.jpg">
</a>
</div>
<p class="cred">Made by <a href="http://galleria.aino.se">Galleria</a>.</p>
</div>
<script>
// Load the classic theme
Galleria.loadTheme('../../themes/classic/galleria.classic.min.js');
// Initialize Galleria
Galleria.run('#galleria');
</script>
</body>
</html>
+320
View File
@@ -0,0 +1,320 @@
/**
* Galleria Picasa Plugin 2012-04-04
* http://galleria.io
*
* Licensed under the MIT license
* https://raw.github.com/aino/galleria/master/LICENSE
*
*/
(function($) {
/*global jQuery, Galleria, window */
Galleria.requires(1.25, 'The Picasa Plugin requires Galleria version 1.2.5 or later.');
// The script path
var PATH = Galleria.utils.getScriptPath();
/**
@class
@constructor
@example var picasa = new Galleria.Picasa();
@author http://aino.se
@requires jQuery
@requires Galleria
@returns Instance
*/
Galleria.Picasa = function() {
this.options = {
max: 30, // photos to return
imageSize: 'medium', // photo size ( thumb,small,medium,big,original ) or a number
thumbSize: 'thumb', // thumbnail size ( thumb,small,medium,big,original ) or a number
complete: function(){} // callback to be called inside the Galleria.prototype.load
};
};
Galleria.Picasa.prototype = {
// bring back the constructor reference
constructor: Galleria.Picasa,
/**
Search for anything at Picasa
@param {String} phrase The string to search for
@param {Function} [callback] The callback to be called when the data is ready
@returns Instance
*/
search: function( phrase, callback ) {
return this._call( 'search', 'all', {
q: phrase
}, callback );
},
/**
Get a user's public photos
@param {String} username The username to fetch photos from
@param {Function} [callback] The callback to be called when the data is ready
@returns Instance
*/
user: function( username, callback ) {
return this._call( 'user', 'user/' + username, callback );
},
/**
Get photos from an album
@param {String} username The username that owns the album
@param {String} album The album ID
@param {Function} [callback] The callback to be called when the data is ready
@returns Instance
*/
useralbum: function( username, album, callback ) {
return this._call( 'useralbum', 'user/' + username + '/album/' + album, callback );
},
/**
Set picasa options
@param {Object} options The options object to blend
@returns Instance
*/
setOptions: function( options ) {
$.extend(this.options, options);
return this;
},
// call Picasa
_call: function( type, url, params, callback ) {
url = 'https://picasaweb.google.com/data/feed/api/' + url + '?';
if (typeof params == 'function') {
callback = params;
params = {};
}
var self = this;
params = $.extend({
'kind': 'photo',
'access': 'public',
'max-results': this.options.max,
'thumbsize': this._getSizes().join(','),
'alt': 'json-in-script',
'callback': '?'
}, params );
$.each(params, function( key, value ) {
url += '&' + key + '=' + value;
});
// since Picasa throws 404 when the call is malformed, we must set a timeout here:
var data = false;
Galleria.utils.wait({
until: function() {
return data;
},
success: function() {
self._parse.call( self, data.feed.entry, callback );
},
error: function() {
var msg = '';
if ( type == 'user' ) {
msg = 'user not found.';
} else if ( type == 'useralbum' ) {
msg = 'album or user not found.';
}
Galleria.raise('Picasa request failed' + (msg ? ': ' + msg : '.'));
},
timeout: 5000
});
$.getJSON( url, function( result ) {
data = result;
});
return self;
},
// parse image sizes and return an array of three
_getSizes: function() {
var self = this,
norm = {
small: '72c',
thumb: '104u',
medium: '640u',
big: '1024u',
original: '1600u'
},
op = self.options,
t = {},
n,
sz = [32,48,64,72,94,104,110,128,144,150,160,200,220,288,320,400,512,576,640,720,800,912,1024,1152,1280,1440,1600];
$(['thumbSize', 'imageSize']).each(function() {
if( op[this] in norm ) {
t[this] = norm[ op[this] ];
} else {
n = Galleria.utils.parseValue( op[this] );
if (n > 1600) {
n = 1600;
} else {
$.each( sz, function(i) {
if ( n < this ) {
n = sz[i-1];
return false;
}
});
}
t[this] = n;
}
});
return [ t.thumbSize, t.imageSize, '1280u'];
},
// parse the result and call the callback with the galleria-ready data array
_parse: function( data, callback ) {
var self = this,
gallery = [],
img;
$.each( data, function() {
img = this.media$group.media$thumbnail;
gallery.push({
thumb: img[0].url,
image: img[1].url,
big: img[2].url,
title: this.summary.$t
});
});
callback.call( this, gallery );
}
};
/**
Galleria modifications
We fake-extend the load prototype to make Picasa integration as simple as possible
*/
// save the old prototype in a local variable
var load = Galleria.prototype.load;
// fake-extend the load prototype using the picasa data
Galleria.prototype.load = function() {
// pass if no data is provided or picasa option not found
if ( arguments.length || typeof this._options.picasa !== 'string' ) {
load.apply( this, Galleria.utils.array( arguments ) );
return;
}
// define some local vars
var self = this,
args = Galleria.utils.array( arguments ),
picasa = this._options.picasa.split(':'),
p,
opts = $.extend({}, self._options.picasaOptions),
loader = typeof opts.loader !== 'undefined' ?
opts.loader : $('<div>').css({
width: 48,
height: 48,
opacity: 0.7,
background:'#000 url('+PATH+'loader.gif) no-repeat 50% 50%'
});
if ( picasa.length ) {
// validate the method
if ( typeof Galleria.Picasa.prototype[ picasa[0] ] !== 'function' ) {
Galleria.raise( picasa[0] + ' method not found in Picasa plugin' );
return load.apply( this, args );
}
// validate the argument
if ( !picasa[1] ) {
Galleria.raise( 'No picasa argument found' );
return load.apply( this, args );
}
// apply the preloader
window.setTimeout(function() {
self.$( 'target' ).append( loader );
},100);
// create the instance
p = new Galleria.Picasa();
// apply Flickr options
if ( typeof self._options.picasaOptions === 'object' ) {
p.setOptions( self._options.picasaOptions );
}
// call the picasa method and trigger the DATA event
var arg = [];
if ( picasa[0] == 'useralbum' ) {
arg = picasa[1].split('/');
if (arg.length != 2) {
Galleria.raise( 'Picasa useralbum not correctly formatted (should be [user]/[album])');
return;
}
} else {
arg.push( picasa[1] );
}
arg.push(function(data) {
self._data = data;
loader.remove();
self.trigger( Galleria.DATA );
p.options.complete.call(p, data);
});
p[ picasa[0] ].apply( p, arg );
} else {
// if flickr array not found, pass
load.apply( this, args );
}
};
}( jQuery ) );
+1
View File
@@ -0,0 +1 @@
!function(i){Galleria.requires(1.25,"The Picasa Plugin requires Galleria version 1.2.5 or later.");var e=Galleria.utils.getScriptPath();Galleria.Picasa=function(){this.options={max:30,imageSize:"medium",thumbSize:"thumb",complete:function(){}}};Galleria.Picasa.prototype={constructor:Galleria.Picasa,search:function(i,e){return this._call("search","all",{q:i},e)},user:function(i,e){return this._call("user","user/"+i,e)},useralbum:function(i,e,t){return this._call("useralbum","user/"+i+"/album/"+e,t)},setOptions:function(e){i.extend(this.options,e);return this},_call:function(e,t,a,s){t="https://picasaweb.google.com/data/feed/api/"+t+"?";if(typeof a=="function"){s=a;a={}}var r=this;a=i.extend({kind:"photo",access:"public","max-results":this.options.max,thumbsize:this._getSizes().join(","),alt:"json-in-script",callback:"?"},a);i.each(a,function(i,e){t+="&"+i+"="+e});var l=false;Galleria.utils.wait({until:function(){return l},success:function(){r._parse.call(r,l.feed.entry,s)},error:function(){var i="";if(e=="user"){i="user not found."}else if(e=="useralbum"){i="album or user not found."}Galleria.raise("Picasa request failed"+(i?": "+i:"."))},timeout:5e3});i.getJSON(t,function(i){l=i});return r},_getSizes:function(){var e=this,t={small:"72c",thumb:"104u",medium:"640u",big:"1024u",original:"1600u"},a=e.options,s={},r,l=[32,48,64,72,94,104,110,128,144,150,160,200,220,288,320,400,512,576,640,720,800,912,1024,1152,1280,1440,1600];i(["thumbSize","imageSize"]).each(function(){if(a[this]in t){s[this]=t[a[this]]}else{r=Galleria.utils.parseValue(a[this]);if(r>1600){r=1600}else{i.each(l,function(i){if(r<this){r=l[i-1];return false}})}s[this]=r}});return[s.thumbSize,s.imageSize,"1280u"]},_parse:function(e,t){var a=this,s=[],r;i.each(e,function(){r=this.media$group.media$thumbnail;s.push({thumb:r[0].url,image:r[1].url,big:r[2].url,title:this.summary.$t})});t.call(this,s)}};var t=Galleria.prototype.load;Galleria.prototype.load=function(){if(arguments.length||typeof this._options.picasa!=="string"){t.apply(this,Galleria.utils.array(arguments));return}var a=this,s=Galleria.utils.array(arguments),r=this._options.picasa.split(":"),l,n=i.extend({},a._options.picasaOptions),u=typeof n.loader!=="undefined"?n.loader:i("<div>").css({width:48,height:48,opacity:.7,background:"#000 url("+e+"loader.gif) no-repeat 50% 50%"});if(r.length){if(typeof Galleria.Picasa.prototype[r[0]]!=="function"){Galleria.raise(r[0]+" method not found in Picasa plugin");return t.apply(this,s)}if(!r[1]){Galleria.raise("No picasa argument found");return t.apply(this,s)}window.setTimeout(function(){a.$("target").append(u)},100);l=new Galleria.Picasa;if(typeof a._options.picasaOptions==="object"){l.setOptions(a._options.picasaOptions)}var o=[];if(r[0]=="useralbum"){o=r[1].split("/");if(o.length!=2){Galleria.raise("Picasa useralbum not correctly formatted (should be [user]/[album])");return}}else{o.push(r[1])}o.push(function(i){a._data=i;u.remove();a.trigger(Galleria.DATA);l.options.complete.call(l,i)});l[r[0]].apply(l,o)}else{t.apply(this,s)}}}(jQuery);
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

+55
View File
@@ -0,0 +1,55 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Galleria Flickr Plugin</title>
<style>
/* Demo styles */
html,body{background:#222;margin:0;}
body{border-top:4px solid #000;}
.content{color:#777;font:12px/1.4 "helvetica neue",arial,sans-serif;width:620px;margin:20px auto;}
h1{font-size:12px;font-weight:normal;color:#ddd;margin:0;}
p{margin:0 0 20px}
a {color:#22BCB9;text-decoration:none;}
.cred{margin-top:20px;font-size:11px;}
/* This rule is read by Galleria to define the gallery height: */
#galleria{height:320px;}
</style>
<!-- load jQuery -->
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.js"></script>
<!-- load Galleria -->
<script src="../../galleria-1.4.2.min.js"></script>
<!-- load picasa plugin -->
<script src="galleria.picasa.min.js"></script>
</head>
<body>
<div class="content">
<h1>Galleria Picasa Plugin Demo</h1>
<p>Demonstrating a basic gallery example with photos from a Picasa album.</p>
<!-- Adding gallery images. This is just a container for the dynamic picasa images -->
<div id="galleria"></div>
<p class="cred">Made by <a href="http://galleria.aino.se">Galleria</a>.</p>
</div>
<script>
// Load the classic theme
Galleria.loadTheme('../../themes/classic/galleria.classic.min.js');
Galleria.run('#galleria', {
// The user & album. This example fetches the album "Demo" from the user "galleriajs"
picasa: 'useralbum:galleriajs/Demo'
});
</script>
</body>
</html>
+124
View File
@@ -0,0 +1,124 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Galleria Classic Theme</title>
<style>
/* Demo styles */
html,body{background:#222;margin:0;}
body{border-top:4px solid #000;}
.content{color:#777;font:12px/1.4 "helvetica neue",arial,sans-serif;width:620px;margin:20px auto;}
h1{font-size:12px;font-weight:normal;color:#ddd;margin:0;}
p{margin:0 0 20px}
a {color:#22BCB9;text-decoration:none;}
.cred{margin-top:20px;font-size:11px;}
/* This rule is read by Galleria to define the gallery height: */
#galleria{height:320px}
</style>
<!-- load jQuery -->
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.js"></script>
<!-- load Galleria -->
<script src="../../galleria-1.4.2.min.js"></script>
</head>
<body>
<div class="content">
<h1>Galleria Classic Theme</h1>
<p>Demonstrating a basic gallery example.</p>
<!-- Adding gallery images. We use resized thumbnails here for better performance, but it’s not necessary -->
<div id="galleria">
<a href="http://upload.wikimedia.org/wikipedia/commons/thumb/a/a2/Biandintz_eta_zaldiak_-_modified2.jpg/800px-Biandintz_eta_zaldiak_-_modified2.jpg">
<img
src="http://upload.wikimedia.org/wikipedia/commons/thumb/a/a2/Biandintz_eta_zaldiak_-_modified2.jpg/100px-Biandintz_eta_zaldiak_-_modified2.jpg",
data-big="http://upload.wikimedia.org/wikipedia/commons/thumb/a/a2/Biandintz_eta_zaldiak_-_modified2.jpg/1280px-Biandintz_eta_zaldiak_-_modified2.jpg"
data-title="Biandintz eta zaldiak"
data-description="Horses on Bianditz mountain, in Navarre, Spain."
>
</a>
<a href="http://upload.wikimedia.org/wikipedia/commons/thumb/6/6c/Athabasca_Rail_at_Brule_Lake.jpg/800px-Athabasca_Rail_at_Brule_Lake.jpg">
<img
src="http://upload.wikimedia.org/wikipedia/commons/thumb/6/6c/Athabasca_Rail_at_Brule_Lake.jpg/100px-Athabasca_Rail_at_Brule_Lake.jpg",
data-big="http://upload.wikimedia.org/wikipedia/commons/thumb/6/6c/Athabasca_Rail_at_Brule_Lake.jpg/1280px-Athabasca_Rail_at_Brule_Lake.jpg"
data-title="Athabasca Rail"
data-description="The Athabasca River railroad track at the mouth of Brulé Lake in Alberta, Canada."
>
</a>
<a href="http://upload.wikimedia.org/wikipedia/commons/thumb/1/1f/Back-scattering_crepuscular_rays_panorama_1.jpg/1280px-Back-scattering_crepuscular_rays_panorama_1.jpg">
<img
src="http://upload.wikimedia.org/wikipedia/commons/thumb/1/1f/Back-scattering_crepuscular_rays_panorama_1.jpg/100px-Back-scattering_crepuscular_rays_panorama_1.jpg",
data-big="http://upload.wikimedia.org/wikipedia/commons/thumb/1/1f/Back-scattering_crepuscular_rays_panorama_1.jpg/1400px-Back-scattering_crepuscular_rays_panorama_1.jpg"
data-title="Back-scattering crepuscular rays"
data-description="Picture of the day on Wikimedia Commons 26 September 2010."
>
</a>
<a href="http://upload.wikimedia.org/wikipedia/commons/thumb/7/75/Interior_convento_3.jpg/800px-Interior_convento_3.jpg">
<img
src="http://upload.wikimedia.org/wikipedia/commons/thumb/7/75/Interior_convento_3.jpg/120px-Interior_convento_3.jpg",
data-big="http://upload.wikimedia.org/wikipedia/commons/thumb/7/75/Interior_convento_3.jpg/1400px-Interior_convento_3.jpg"
data-title="Interior convento"
data-description="Interior view of Yuriria Convent, founded in 1550."
>
</a>
<a href="http://upload.wikimedia.org/wikipedia/commons/thumb/6/6b/Oxbow_Bend_outlook_in_the_Grand_Teton_National_Park.jpg/800px-Oxbow_Bend_outlook_in_the_Grand_Teton_National_Park.jpg">
<img
src="http://upload.wikimedia.org/wikipedia/commons/thumb/6/6b/Oxbow_Bend_outlook_in_the_Grand_Teton_National_Park.jpg/100px-Oxbow_Bend_outlook_in_the_Grand_Teton_National_Park.jpg",
data-big="http://upload.wikimedia.org/wikipedia/commons/thumb/6/6b/Oxbow_Bend_outlook_in_the_Grand_Teton_National_Park.jpg/1280px-Oxbow_Bend_outlook_in_the_Grand_Teton_National_Park.jpg"
data-title="Oxbow Bend outlook"
data-description="View over the Snake River to the Mount Moran with the Skillet Glacier."
>
</a>
<a href="http://upload.wikimedia.org/wikipedia/commons/thumb/c/c9/Hazy_blue_hour_in_Grand_Canyon.JPG/800px-Hazy_blue_hour_in_Grand_Canyon.JPG">
<img
src="http://upload.wikimedia.org/wikipedia/commons/thumb/c/c9/Hazy_blue_hour_in_Grand_Canyon.JPG/100px-Hazy_blue_hour_in_Grand_Canyon.JPG",
data-big="http://upload.wikimedia.org/wikipedia/commons/thumb/c/c9/Hazy_blue_hour_in_Grand_Canyon.JPG/1280px-Hazy_blue_hour_in_Grand_Canyon.JPG"
data-title="Hazy blue hour"
data-description="Hazy blue hour in Grand Canyon. View from the South Rim."
>
</a>
<a href="http://upload.wikimedia.org/wikipedia/commons/thumb/f/f4/2909_vallon_moy_res.jpg/800px-2909_vallon_moy_res.jpg">
<img
src="http://upload.wikimedia.org/wikipedia/commons/thumb/f/f4/2909_vallon_moy_res.jpg/100px-2909_vallon_moy_res.jpg",
data-big="http://upload.wikimedia.org/wikipedia/commons/thumb/f/f4/2909_vallon_moy_res.jpg/1280px-2909_vallon_moy_res.jpg"
data-title="Haute Severaisse valley"
data-description="View of Haute Severaisse valley and surrounding summits from the slopes of Les Vernets."
>
</a>
<a href="http://upload.wikimedia.org/wikipedia/commons/thumb/4/46/Bohinjsko_jezero_2.jpg/800px-Bohinjsko_jezero_2.jpg">
<img
src="http://upload.wikimedia.org/wikipedia/commons/thumb/4/46/Bohinjsko_jezero_2.jpg/100px-Bohinjsko_jezero_2.jpg",
data-big="http://upload.wikimedia.org/wikipedia/commons/thumb/4/46/Bohinjsko_jezero_2.jpg/1280px-Bohinjsko_jezero_2.jpg"
data-title="Bohinj lake"
data-description="Bohinj lake (Triglav National Park, Slovenia) in the morning."
>
</a>
<a href="http://upload.wikimedia.org/wikipedia/commons/thumb/3/32/Bowling_Balls_Beach_2_edit.jpg/800px-Bowling_Balls_Beach_2_edit.jpg">
<img
src="http://upload.wikimedia.org/wikipedia/commons/thumb/3/32/Bowling_Balls_Beach_2_edit.jpg/100px-Bowling_Balls_Beach_2_edit.jpg",
data-big="http://upload.wikimedia.org/wikipedia/commons/thumb/3/32/Bowling_Balls_Beach_2_edit.jpg/1280px-Bowling_Balls_Beach_2_edit.jpg"
data-title="Bowling Balls"
data-description="Mendocino county, California, USA."
>
</a>
</div>
<p class="cred">Made by <a href="http://galleria.aino.se">Galleria</a>.</p>
</div>
<script>
// Load the classic theme
Galleria.loadTheme('galleria.classic.min.js');
// Initialize Galleria
Galleria.run('#galleria');
</script>
</body>
</html>
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

@@ -0,0 +1,219 @@
/* Galleria Classic Theme 2012-08-07 | https://raw.github.com/aino/galleria/master/LICENSE | (c) Aino */
#galleria-loader{height:1px!important}
.galleria-theme-classic {
position: relative;
overflow: hidden;
background: #000;
}
.galleria-theme-classic img {
-moz-user-select: none;
-webkit-user-select: none;
-o-user-select: none;
}
.galleria-theme-classic .galleria-stage {
position: absolute;
top: 10px;
bottom: 60px;
left: 10px;
right: 10px;
overflow:hidden;
}
.galleria-theme-classic .galleria-thumbnails-container {
height: 50px;
bottom: 0;
position: absolute;
left: 10px;
right: 10px;
z-index: 2;
}
.galleria-theme-classic .galleria-carousel .galleria-thumbnails-list {
margin-left: 30px;
margin-right: 30px;
}
.galleria-theme-classic .galleria-thumbnails .galleria-image {
height: 40px;
width: 60px;
background: #000;
margin: 0 5px 0 0;
border: 1px solid #000;
float: left;
cursor: pointer;
}
.galleria-theme-classic .galleria-counter {
position: absolute;
bottom: 10px;
left: 10px;
text-align: right;
color: #fff;
font: normal 11px/1 arial,sans-serif;
z-index: 1;
}
.galleria-theme-classic .galleria-loader {
background: #000;
width: 20px;
height: 20px;
position: absolute;
top: 10px;
right: 10px;
z-index: 2;
display: none;
background: url(classic-loader.gif) no-repeat 2px 2px;
}
.galleria-theme-classic .galleria-info {
width: 50%;
top: 15px;
left: 15px;
z-index: 2;
position: absolute;
}
.galleria-theme-classic .galleria-info-text {
background-color: #000;
padding: 12px;
display: none;
/* IE7 */ zoom:1;
}
.galleria-theme-classic .galleria-info-title {
font: bold 12px/1.1 arial,sans-serif;
margin: 0;
color: #fff;
margin-bottom: 7px;
}
.galleria-theme-classic .galleria-info-description {
font: italic 12px/1.4 georgia,serif;
margin: 0;
color: #bbb;
}
.galleria-theme-classic .galleria-info-close {
width: 9px;
height: 9px;
position: absolute;
top: 5px;
right: 5px;
background-position: -753px -11px;
opacity: .5;
filter: alpha(opacity=50);
cursor: pointer;
display: none;
}
.galleria-theme-classic .notouch .galleria-info-close:hover{
opacity:1;
filter: alpha(opacity=100);
}
.galleria-theme-classic .touch .galleria-info-close:active{
opacity:1;
filter: alpha(opacity=100);
}
.galleria-theme-classic .galleria-info-link {
background-position: -669px -5px;
opacity: .7;
filter: alpha(opacity=70);
position: absolute;
width: 20px;
height: 20px;
cursor: pointer;
background-color: #000;
}
.galleria-theme-classic.notouch .galleria-info-link:hover {
opacity: 1;
filter: alpha(opacity=100);
}
.galleria-theme-classic.touch .galleria-info-link:active {
opacity: 1;
filter: alpha(opacity=100);
}
.galleria-theme-classic .galleria-image-nav {
position: absolute;
top: 50%;
margin-top: -62px;
width: 100%;
height: 62px;
left: 0;
}
.galleria-theme-classic .galleria-image-nav-left,
.galleria-theme-classic .galleria-image-nav-right {
opacity: .3;
filter: alpha(opacity=30);
cursor: pointer;
width: 62px;
height: 124px;
position: absolute;
left: 10px;
z-index: 2;
background-position: 0 46px;
}
.galleria-theme-classic .galleria-image-nav-right {
left: auto;
right: 10px;
background-position: -254px 46px;
z-index: 2;
}
.galleria-theme-classic.notouch .galleria-image-nav-left:hover,
.galleria-theme-classic.notouch .galleria-image-nav-right:hover {
opacity: 1;
filter: alpha(opacity=100);
}
.galleria-theme-classic.touch .galleria-image-nav-left:active,
.galleria-theme-classic.touch .galleria-image-nav-right:active {
opacity: 1;
filter: alpha(opacity=100);
}
.galleria-theme-classic .galleria-thumb-nav-left,
.galleria-theme-classic .galleria-thumb-nav-right {
cursor: pointer;
display: none;
background-position: -495px 5px;
position: absolute;
left: 0;
top: 0;
height: 40px;
width: 23px;
z-index: 3;
opacity: .8;
filter: alpha(opacity=80);
}
.galleria-theme-classic .galleria-thumb-nav-right {
background-position: -578px 5px;
border-right: none;
right: 0;
left: auto;
}
.galleria-theme-classic .galleria-thumbnails-container .disabled {
opacity: .2;
filter: alpha(opacity=20);
cursor: default;
}
.galleria-theme-classic.notouch .galleria-thumb-nav-left:hover,
.galleria-theme-classic.notouch .galleria-thumb-nav-right:hover {
opacity: 1;
filter: alpha(opacity=100);
background-color: #111;
}
.galleria-theme-classic.touch .galleria-thumb-nav-left:active,
.galleria-theme-classic.touch .galleria-thumb-nav-right:active {
opacity: 1;
filter: alpha(opacity=100);
background-color: #111;
}
.galleria-theme-classic.notouch .galleria-thumbnails-container .disabled:hover {
opacity: .2;
filter: alpha(opacity=20);
background-color: transparent;
}
.galleria-theme-classic .galleria-carousel .galleria-thumb-nav-left,
.galleria-theme-classic .galleria-carousel .galleria-thumb-nav-right {
display: block;
}
.galleria-theme-classic .galleria-thumb-nav-left,
.galleria-theme-classic .galleria-thumb-nav-right,
.galleria-theme-classic .galleria-info-link,
.galleria-theme-classic .galleria-info-close,
.galleria-theme-classic .galleria-image-nav-left,
.galleria-theme-classic .galleria-image-nav-right {
background-image: url(classic-map.png);
background-repeat: no-repeat;
}
.galleria-theme-classic.galleria-container.videoplay .galleria-info,
.galleria-theme-classic.galleria-container.videoplay .galleria-counter{ display:none!important; }
+100
View File
@@ -0,0 +1,100 @@
/**
* Galleria Classic Theme 2012-08-08
* http://galleria.io
*
* Licensed under the MIT license
* https://raw.github.com/aino/galleria/master/LICENSE
*
*/
(function($) {
/*global window, jQuery, Galleria */
Galleria.addTheme({
name: 'classic',
author: 'Galleria',
css: 'galleria.classic.css',
defaults: {
transition: 'slide',
thumbCrop: 'height',
// set this to false if you want to show the caption all the time:
_toggleInfo: true
},
init: function(options) {
Galleria.requires(1.4, 'This version of Classic theme requires Galleria 1.4 or later');
// add some elements
this.addElement('info-link','info-close');
this.append({
'info' : ['info-link','info-close']
});
// cache some stuff
var info = this.$('info-link,info-close,info-text'),
touch = Galleria.TOUCH;
// show loader & counter with opacity
this.$('loader,counter').show().css('opacity', 0.4);
// some stuff for non-touch browsers
if (! touch ) {
this.addIdleState( this.get('image-nav-left'), { left:-50 });
this.addIdleState( this.get('image-nav-right'), { right:-50 });
this.addIdleState( this.get('counter'), { opacity:0 });
}
// toggle info
if ( options._toggleInfo === true ) {
info.bind( 'click:fast', function() {
info.toggle();
});
} else {
info.show();
this.$('info-link, info-close').hide();
}
// bind some stuff
this.bind('thumbnail', function(e) {
if (! touch ) {
// fade thumbnails
$(e.thumbTarget).css('opacity', 0.6).parent().hover(function() {
$(this).not('.active').children().stop().fadeTo(100, 1);
}, function() {
$(this).not('.active').children().stop().fadeTo(400, 0.6);
});
if ( e.index === this.getIndex() ) {
$(e.thumbTarget).css('opacity',1);
}
} else {
$(e.thumbTarget).css('opacity', this.getIndex() ? 1 : 0.6).bind('click:fast', function() {
$(this).css( 'opacity', 1 ).parent().siblings().children().css('opacity', 0.6);
});
}
});
var activate = function(e) {
$(e.thumbTarget).css('opacity',1).parent().siblings().children().css('opacity', 0.6);
};
this.bind('loadstart', function(e) {
if (!e.cached) {
this.$('loader').show().fadeTo(200, 0.4);
}
window.setTimeout(function() {
activate(e);
}, touch ? 300 : 0);
this.$('info').toggle( this.hasInfo() );
});
this.bind('loadfinish', function(e) {
this.$('loader').fadeOut(200);
});
}
});
}(jQuery));
+1
View File
@@ -0,0 +1 @@
!function(i){Galleria.addTheme({name:"classic",author:"Galleria",css:"galleria.classic.css",defaults:{transition:"slide",thumbCrop:"height",_toggleInfo:true},init:function(t){Galleria.requires(1.4,"This version of Classic theme requires Galleria 1.4 or later");this.addElement("info-link","info-close");this.append({info:["info-link","info-close"]});var e=this.$("info-link,info-close,info-text"),s=Galleria.TOUCH;this.$("loader,counter").show().css("opacity",.4);if(!s){this.addIdleState(this.get("image-nav-left"),{left:-50});this.addIdleState(this.get("image-nav-right"),{right:-50});this.addIdleState(this.get("counter"),{opacity:0})}if(t._toggleInfo===true){e.bind("click:fast",function(){e.toggle()})}else{e.show();this.$("info-link, info-close").hide()}this.bind("thumbnail",function(t){if(!s){i(t.thumbTarget).css("opacity",.6).parent().hover(function(){i(this).not(".active").children().stop().fadeTo(100,1)},function(){i(this).not(".active").children().stop().fadeTo(400,.6)});if(t.index===this.getIndex()){i(t.thumbTarget).css("opacity",1)}}else{i(t.thumbTarget).css("opacity",this.getIndex()?1:.6).bind("click:fast",function(){i(this).css("opacity",1).parent().siblings().children().css("opacity",.6)})}});var n=function(t){i(t.thumbTarget).css("opacity",1).parent().siblings().children().css("opacity",.6)};this.bind("loadstart",function(i){if(!i.cached){this.$("loader").show().fadeTo(200,.4)}window.setTimeout(function(){n(i)},s?300:0);this.$("info").toggle(this.hasInfo())});this.bind("loadfinish",function(i){this.$("loader").fadeOut(200)})}})}(jQuery);
+988
View File
@@ -0,0 +1,988 @@
<!doctype html>
<!--[if lt IE 7]>
<html class="no-js ie6 oldie" lang="en">
<![endif]-->
<!--[if IE 7]>
<html class="no-js ie7 oldie" lang="en">
<![endif]-->
<!--[if IE 8]>
<html class="no-js ie8 oldie" lang="en">
<![endif]-->
<!--[if gt IE 8]><!-->
<html class="no-js" lang="fr">
<!--<![endif]-->
<head>
<meta charset="utf-8" />
<title>Appartement 10 couchages à Valloire</title>
<meta name="keywords" content="valloire,appartement,location,ski,terrasse" />
<meta name="description" content="Appartement 3 étoiles à Valloire. À 3 minutes des remontées mécaniques en navette. 10 couchages. 3 chambres. 2 salles-de-bains." />
<meta http-equiv="content-language" content="fr" />
<link rel="icon" href="files/ski.ico" type="image/x-icon" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width,initial-scale=1">
<link rel="stylesheet" href="site_69553_1_29.css">
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.js"></script>
<!-- DE QUOI AFFICHER LES PHOTOS -->
<script src="galleria/galleria-1.4.2.min.js"></script>
<style>
.galleria{ width:100% }
.galleria-theme-classic { background: #aaaaaa}
</style>
</head>
<body class="">
<!-- BANDEAU DE TITRE -->
<header class="bk-header">
<div class="wrapper clearfix">
<div id="page-zones__template-widgets__companyname-companyname" class="widget companyname " data-widget-type="companyname" data-uniqueid="page-zones__template-widgets__companyname-companyname">
<a href="/">Appartement 10 couchages à Valloire — Résidence les Terrasses de Choseaux</a>
</div>
</div>
</header>
<!-- CONTENU -->
<div class="canvas">
<div class="main wrapper clearfix">
<!-- IMAGE PANORAMA -->
<section>
<div id="page-zones__template-widgets__feature-featurehome" class="widget feature " data-widget-type="feature" data-uniqueid="page-zones__template-widgets__feature-featurehome">
<div class="feature-bgimg" style="background-image: url('files/site-bandeau-2013-valloire-00036379.jpg'); background-position: center -8.8685501453488%" ></div>
<!-- this is for getting the background image naturalWidth and naturalHeight -->
<img src="files/site-bandeau-2013-valloire-00036379.jpg" style="display:none;" class="js-image" alt="image de présentation"/>
</div>
</section>
<section
id="page-zones__main"
class="bk-zone column "
data-uniqueid="page-zones__main"
>
<div
id="page-zones__main-widgets__content"
class="widget content"
data-uniqueid="page-zones__main-widgets__content"
>
<div class="bk-content-text js-text-content wysihtml-editor-content">
<h1>Situé au hameau les Choseaux Ville</h1>
</div>
<div
id="page-zones__main-widgets__responsivecolumns"
class="widget responsivecolumns columns-two-75-25"
data-uniqueid="page-zones__main-widgets__responsivecolumns"
>
<section
id="page-zones__main-widgets__responsivecolumns-zones__column"
class="bk-zone column columns-two-left"
data-uniqueid="page-zones__main-widgets__responsivecolumns-zones__column"
>
<div
id="page-zones__main-widgets__responsivecolumns-zones__column-widgets__content1"
class="widget content"
data-uniqueid="page-zones__main-widgets__responsivecolumns-zones__column-widgets__content1"
>
<div class="bk-content-text js-text-content wysihtml-editor-content">
<p>Appartement de 89 m², classé ✶✶✶, avec une place de parking extérieure et une place de parking couverte.</p>
<p>L’appartement est à 7 minutes à pied du centre de Valloire et des remontées mécaniques (700&nbsp;m) et à 2 minutes
avec la navette gratuite qui effectue le trajet
<a href="http://static.sitra-tourisme.com/filestore/objets-touristiques/documents/74/39/1320778.pdf" target="_blank">
toutes les ½ heures</a> durant la saison de ski (il s’agit de la navette «&nbsp;Hameau du col&nbsp;→&nbsp;Crêt de
la Brive&nbsp;», arrêt «&nbsp;Choseaux Ville&nbsp;»).</p>
<p>Situé en rez-de-chaussée, il dispose d’une terrasse de 37 m².</p>
<p>Livré neuf en 2015, il est confortable et équipé d’un système de chauffage par le sol.</p>
</div>
</div>
</section>
<!-- FLASHCODE COORDONÉES GPS -->
<section
id="page-zones__main-widgets__responsivecolumns-zones__column1"
class="bk-zone column columns-two-right"
data-uniqueid="page-zones__main-widgets__responsivecolumns-zones__column1"
>
<div
id="page-zones__main-widgets__responsivecolumns-zones__column1-widgets__content"
class="widget content"
data-uniqueid="page-zones__main-widgets__responsivecolumns-zones__column1-widgets__content"
>
<div class="bk-content-text js-text-content wysihtml-editor-content">
<a href="geo:45.170935,6.433975">
<svg height="33.642372mm" width="25.177399mm">
<g transform="translate(-209.47389,-283.64731)" id="layer1">
<g style="display:inline" transform="matrix(0.01837997,0,0,0.01837997,209.29011,281.30119)" id="g12750">
<title id="title12752">Layer 1</title>
<g id="svg_1">
<path style="clip-rule:evenodd;fill:#e6e6e6;fill-rule:evenodd;stroke:#000000;stroke-width:37;stroke-miterlimit:10" d="M 730.94,1839.63 C 692.17401,1649.33 623.82397,1490.96 541.03699,1344.1899 479.63001,1235.3199 408.49301,1134.83 342.673,1029.25 320.70099,994.00702 301.73901,956.77399 280.62601,920.19702 238.41,847.06 204.18201,762.26202 206.357,652.26501 208.482,544.79199 239.565,458.58099 284.38699,388.09299 358.10599,272.15799 481.58801,177.104 647.271,152.12399 782.737,131.7 909.74597,166.20599 999.81403,218.87199 1073.41,261.91 1130.41,319.39899 1173.73,387.15201 c 45.22,70.716 76.36,154.25998 78.97,263.23196 1.34,55.83002 -7.8,107.53204 -20.68,150.41803 -13.03,43.409 -33.99,79.69501 -52.64,118.45398 -36.41,75.659 -82.05,144.98402 -127.86,214.34402 -136.43699,206.61 -264.49601,417.31 -320.58,706.03 z" stroke-miterlimit="10" id="svg_2"></path>
<path style="clip-rule:evenodd;opacity:0.08999999;fill:#000000;fill-rule:evenodd" d="m 731.37903,1934.41 c 131.60394,-120.87 211.31396,-235.9799 269.14097,-350.49 42.89,-84.95 70.5401,-169.17 106.95,-254.06 12.16,-28.34 28.51,-56.57 42.52,-85.2999 28.02,-57.4501 72.66,-118.1401 169.03,-178.1001 94.1601,-58.59 193.95,-93.75602 291.58,-114.697 160.56,-34.44202 344.28,-37.29901 502.5899,15.59302 129.45,43.24398 204.6802,113.46388 233.7801,178.86398 23.78,53.44 21.4299,108.18 -1.0401,163.0999 -23.4599,57.3201 -69.5698,116.0701 -161.1098,177.3901 -46.9002,31.42 -98.9002,56.3401 -146.4101,74.87 -48.0901,18.76 -96.5999,30.39 -145.33,44.32 -95.12,27.19 -192.42,47.15 -289.8901,67.08 -290.3199,59.3399 -577.25,124.32 -871.81087,261.43 z" id="svg_3"></path>
<circle style="clip-rule:evenodd;fill:#000000;fill-rule:evenodd" r="183.33299" cy="651.047" cx="729.54602" id="svg_4"></circle>
</g>
</g>
<text xml:space="preserve" style="font-style:normal;font-weight:normal;font-size:15.97766876px;line-height:125%;font-family:Sans;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" x="208.69373" y="382.65424" id="text6660"><tspan id="tspan6662" x="208.69373" y="382.65424">45.170935,</tspan><tspan id="tspan9727" x="208.69373" y="402.62631">6.433975</tspan></text>
<g id="g9390">
<rect x="241.14487" y="313.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7019"></rect>
<rect x="243.14487" y="313.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7021"></rect>
<rect x="245.14487" y="313.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7023"></rect>
<rect x="247.14487" y="313.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7025"></rect>
<rect x="249.14487" y="313.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7027"></rect>
<rect x="251.14487" y="313.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7029"></rect>
<rect x="253.14487" y="313.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7031"></rect>
<rect x="261.14487" y="313.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7033"></rect>
<rect x="267.14487" y="313.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7035"></rect>
<rect x="269.14487" y="313.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7037"></rect>
<rect x="271.14487" y="313.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7039"></rect>
<rect x="273.14487" y="313.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7041"></rect>
<rect x="277.14487" y="313.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7043"></rect>
<rect x="279.14487" y="313.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7045"></rect>
<rect x="281.14487" y="313.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7047"></rect>
<rect x="283.14487" y="313.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7049"></rect>
<rect x="285.14487" y="313.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7051"></rect>
<rect x="287.14487" y="313.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7053"></rect>
<rect x="289.14487" y="313.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7055"></rect>
<rect x="241.14487" y="315.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7057"></rect>
<rect x="253.14487" y="315.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7059"></rect>
<rect x="257.14487" y="315.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7061"></rect>
<rect x="259.14487" y="315.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7063"></rect>
<rect x="261.14487" y="315.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7065"></rect>
<rect x="267.14487" y="315.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7067"></rect>
<rect x="269.14487" y="315.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7069"></rect>
<rect x="271.14487" y="315.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7071"></rect>
<rect x="273.14487" y="315.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7073"></rect>
<rect x="277.14487" y="315.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7075"></rect>
<rect x="289.14487" y="315.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7077"></rect>
<rect x="241.14487" y="317.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7079"></rect>
<rect x="245.14487" y="317.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7081"></rect>
<rect x="247.14487" y="317.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7083"></rect>
<rect x="249.14487" y="317.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7085"></rect>
<rect x="253.14487" y="317.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7087"></rect>
<rect x="257.14487" y="317.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7089"></rect>
<rect x="271.14487" y="317.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7091"></rect>
<rect x="277.14487" y="317.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7093"></rect>
<rect x="281.14487" y="317.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7095"></rect>
<rect x="283.14487" y="317.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7097"></rect>
<rect x="285.14487" y="317.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7099"></rect>
<rect x="289.14487" y="317.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7101"></rect>
<rect x="241.14487" y="319.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7103"></rect>
<rect x="245.14487" y="319.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7105"></rect>
<rect x="247.14487" y="319.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7107"></rect>
<rect x="249.14487" y="319.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7109"></rect>
<rect x="253.14487" y="319.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7111"></rect>
<rect x="259.14487" y="319.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7113"></rect>
<rect x="265.14487" y="319.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7115"></rect>
<rect x="271.14487" y="319.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7117"></rect>
<rect x="273.14487" y="319.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7119"></rect>
<rect x="277.14487" y="319.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7121"></rect>
<rect x="281.14487" y="319.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7123"></rect>
<rect x="283.14487" y="319.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7125"></rect>
<rect x="285.14487" y="319.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7127"></rect>
<rect x="289.14487" y="319.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7129"></rect>
<rect x="241.14487" y="321.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7131"></rect>
<rect x="245.14487" y="321.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7133"></rect>
<rect x="247.14487" y="321.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7135"></rect>
<rect x="249.14487" y="321.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7137"></rect>
<rect x="253.14487" y="321.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7139"></rect>
<rect x="257.14487" y="321.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7141"></rect>
<rect x="259.14487" y="321.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7143"></rect>
<rect x="261.14487" y="321.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7145"></rect>
<rect x="265.14487" y="321.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7147"></rect>
<rect x="267.14487" y="321.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7149"></rect>
<rect x="271.14487" y="321.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7151"></rect>
<rect x="277.14487" y="321.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7153"></rect>
<rect x="281.14487" y="321.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7155"></rect>
<rect x="283.14487" y="321.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7157"></rect>
<rect x="285.14487" y="321.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7159"></rect>
<rect x="289.14487" y="321.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7161"></rect>
<rect x="241.14487" y="323.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7163"></rect>
<rect x="253.14487" y="323.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7165"></rect>
<rect x="257.14487" y="323.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7167"></rect>
<rect x="261.14487" y="323.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7169"></rect>
<rect x="265.14487" y="323.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7171"></rect>
<rect x="267.14487" y="323.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7173"></rect>
<rect x="271.14487" y="323.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7175"></rect>
<rect x="277.14487" y="323.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7177"></rect>
<rect x="289.14487" y="323.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7179"></rect>
<rect x="241.14487" y="325.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7181"></rect>
<rect x="243.14487" y="325.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7183"></rect>
<rect x="245.14487" y="325.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7185"></rect>
<rect x="247.14487" y="325.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7187"></rect>
<rect x="249.14487" y="325.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7189"></rect>
<rect x="251.14487" y="325.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7191"></rect>
<rect x="253.14487" y="325.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7193"></rect>
<rect x="257.14487" y="325.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7195"></rect>
<rect x="261.14487" y="325.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7197"></rect>
<rect x="265.14487" y="325.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7199"></rect>
<rect x="269.14487" y="325.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7201"></rect>
<rect x="273.14487" y="325.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7203"></rect>
<rect x="277.14487" y="325.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7205"></rect>
<rect x="279.14487" y="325.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7207"></rect>
<rect x="281.14487" y="325.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7209"></rect>
<rect x="283.14487" y="325.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7211"></rect>
<rect x="285.14487" y="325.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7213"></rect>
<rect x="287.14487" y="325.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7215"></rect>
<rect x="289.14487" y="325.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7217"></rect>
<rect x="257.14487" y="327.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7219"></rect>
<rect x="261.14487" y="327.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7221"></rect>
<rect x="263.14487" y="327.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7223"></rect>
<rect x="271.14487" y="327.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7225"></rect>
<rect x="273.14487" y="327.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7227"></rect>
<rect x="241.14487" y="329.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7229"></rect>
<rect x="243.14487" y="329.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7231"></rect>
<rect x="247.14487" y="329.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7233"></rect>
<rect x="253.14487" y="329.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7235"></rect>
<rect x="255.14487" y="329.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7237"></rect>
<rect x="263.14487" y="329.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7239"></rect>
<rect x="265.14487" y="329.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7241"></rect>
<rect x="267.14487" y="329.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7243"></rect>
<rect x="273.14487" y="329.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7245"></rect>
<rect x="277.14487" y="329.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7247"></rect>
<rect x="279.14487" y="329.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7249"></rect>
<rect x="281.14487" y="329.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7251"></rect>
<rect x="285.14487" y="329.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7253"></rect>
<rect x="287.14487" y="329.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7255"></rect>
<rect x="243.14487" y="331.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7257"></rect>
<rect x="245.14487" y="331.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7259"></rect>
<rect x="247.14487" y="331.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7261"></rect>
<rect x="249.14487" y="331.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7263"></rect>
<rect x="259.14487" y="331.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7265"></rect>
<rect x="263.14487" y="331.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7267"></rect>
<rect x="265.14487" y="331.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7269"></rect>
<rect x="267.14487" y="331.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7271"></rect>
<rect x="269.14487" y="331.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7273"></rect>
<rect x="277.14487" y="331.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7275"></rect>
<rect x="279.14487" y="331.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7277"></rect>
<rect x="285.14487" y="331.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7279"></rect>
<rect x="287.14487" y="331.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7281"></rect>
<rect x="289.14487" y="331.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7283"></rect>
<rect x="243.14487" y="333.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7285"></rect>
<rect x="245.14487" y="333.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7287"></rect>
<rect x="247.14487" y="333.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7289"></rect>
<rect x="251.14487" y="333.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7291"></rect>
<rect x="253.14487" y="333.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7293"></rect>
<rect x="263.14487" y="333.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7295"></rect>
<rect x="265.14487" y="333.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7297"></rect>
<rect x="269.14487" y="333.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7299"></rect>
<rect x="275.14487" y="333.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7301"></rect>
<rect x="277.14487" y="333.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7303"></rect>
<rect x="281.14487" y="333.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7305"></rect>
<rect x="283.14487" y="333.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7307"></rect>
<rect x="285.14487" y="333.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7309"></rect>
<rect x="287.14487" y="333.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7311"></rect>
<rect x="289.14487" y="333.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7313"></rect>
<rect x="243.14487" y="335.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7315"></rect>
<rect x="245.14487" y="335.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7317"></rect>
<rect x="247.14487" y="335.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7319"></rect>
<rect x="257.14487" y="335.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7321"></rect>
<rect x="259.14487" y="335.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7323"></rect>
<rect x="261.14487" y="335.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7325"></rect>
<rect x="263.14487" y="335.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7327"></rect>
<rect x="265.14487" y="335.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7329"></rect>
<rect x="267.14487" y="335.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7331"></rect>
<rect x="271.14487" y="335.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7333"></rect>
<rect x="273.14487" y="335.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7335"></rect>
<rect x="275.14487" y="335.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7337"></rect>
<rect x="277.14487" y="335.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7339"></rect>
<rect x="279.14487" y="335.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7341"></rect>
<rect x="281.14487" y="335.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7343"></rect>
<rect x="283.14487" y="335.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7345"></rect>
<rect x="287.14487" y="335.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7347"></rect>
<rect x="249.14487" y="337.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7349"></rect>
<rect x="251.14487" y="337.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7351"></rect>
<rect x="253.14487" y="337.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7353"></rect>
<rect x="255.14487" y="337.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7355"></rect>
<rect x="261.14487" y="337.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7357"></rect>
<rect x="263.14487" y="337.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7359"></rect>
<rect x="267.14487" y="337.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7361"></rect>
<rect x="269.14487" y="337.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7363"></rect>
<rect x="271.14487" y="337.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7365"></rect>
<rect x="273.14487" y="337.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7367"></rect>
<rect x="277.14487" y="337.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7369"></rect>
<rect x="279.14487" y="337.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7371"></rect>
<rect x="283.14487" y="337.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7373"></rect>
<rect x="287.14487" y="337.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7375"></rect>
<rect x="289.14487" y="337.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7377"></rect>
<rect x="249.14487" y="339.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7379"></rect>
<rect x="257.14487" y="339.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7381"></rect>
<rect x="263.14487" y="339.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7383"></rect>
<rect x="269.14487" y="339.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7385"></rect>
<rect x="273.14487" y="339.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7387"></rect>
<rect x="277.14487" y="339.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7389"></rect>
<rect x="283.14487" y="339.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7391"></rect>
<rect x="287.14487" y="339.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7393"></rect>
<rect x="289.14487" y="339.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7395"></rect>
<rect x="243.14487" y="341.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7397"></rect>
<rect x="253.14487" y="341.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7399"></rect>
<rect x="259.14487" y="341.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7401"></rect>
<rect x="263.14487" y="341.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7403"></rect>
<rect x="267.14487" y="341.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7405"></rect>
<rect x="275.14487" y="341.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7407"></rect>
<rect x="277.14487" y="341.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7409"></rect>
<rect x="281.14487" y="341.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7411"></rect>
<rect x="289.14487" y="341.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7413"></rect>
<rect x="247.14487" y="343.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7415"></rect>
<rect x="251.14487" y="343.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7417"></rect>
<rect x="255.14487" y="343.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7419"></rect>
<rect x="259.14487" y="343.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7421"></rect>
<rect x="263.14487" y="343.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7423"></rect>
<rect x="267.14487" y="343.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7425"></rect>
<rect x="269.14487" y="343.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7427"></rect>
<rect x="271.14487" y="343.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7429"></rect>
<rect x="273.14487" y="343.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7431"></rect>
<rect x="275.14487" y="343.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7433"></rect>
<rect x="281.14487" y="343.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7435"></rect>
<rect x="283.14487" y="343.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7437"></rect>
<rect x="289.14487" y="343.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7439"></rect>
<rect x="243.14487" y="345.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7441"></rect>
<rect x="245.14487" y="345.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7443"></rect>
<rect x="247.14487" y="345.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7445"></rect>
<rect x="249.14487" y="345.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7447"></rect>
<rect x="253.14487" y="345.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7449"></rect>
<rect x="255.14487" y="345.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7451"></rect>
<rect x="259.14487" y="345.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7453"></rect>
<rect x="265.14487" y="345.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7455"></rect>
<rect x="269.14487" y="345.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7457"></rect>
<rect x="273.14487" y="345.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7459"></rect>
<rect x="275.14487" y="345.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7461"></rect>
<rect x="277.14487" y="345.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7463"></rect>
<rect x="279.14487" y="345.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7465"></rect>
<rect x="281.14487" y="345.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7467"></rect>
<rect x="285.14487" y="345.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7469"></rect>
<rect x="287.14487" y="345.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7471"></rect>
<rect x="289.14487" y="345.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7473"></rect>
<rect x="257.14487" y="347.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7475"></rect>
<rect x="261.14487" y="347.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7477"></rect>
<rect x="265.14487" y="347.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7479"></rect>
<rect x="273.14487" y="347.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7481"></rect>
<rect x="281.14487" y="347.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7483"></rect>
<rect x="283.14487" y="347.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7485"></rect>
<rect x="289.14487" y="347.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7487"></rect>
<rect x="241.14487" y="349.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7489"></rect>
<rect x="243.14487" y="349.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7491"></rect>
<rect x="245.14487" y="349.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7493"></rect>
<rect x="247.14487" y="349.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7495"></rect>
<rect x="249.14487" y="349.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7497"></rect>
<rect x="251.14487" y="349.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7499"></rect>
<rect x="253.14487" y="349.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7501"></rect>
<rect x="257.14487" y="349.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7503"></rect>
<rect x="263.14487" y="349.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7505"></rect>
<rect x="265.14487" y="349.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7507"></rect>
<rect x="269.14487" y="349.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7509"></rect>
<rect x="271.14487" y="349.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7511"></rect>
<rect x="273.14487" y="349.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7513"></rect>
<rect x="277.14487" y="349.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7515"></rect>
<rect x="281.14487" y="349.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7517"></rect>
<rect x="285.14487" y="349.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7519"></rect>
<rect x="287.14487" y="349.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7521"></rect>
<rect x="289.14487" y="349.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7523"></rect>
<rect x="241.14487" y="351.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7525"></rect>
<rect x="253.14487" y="351.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7527"></rect>
<rect x="259.14487" y="351.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7529"></rect>
<rect x="261.14487" y="351.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7531"></rect>
<rect x="265.14487" y="351.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7533"></rect>
<rect x="269.14487" y="351.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7535"></rect>
<rect x="271.14487" y="351.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7537"></rect>
<rect x="273.14487" y="351.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7539"></rect>
<rect x="281.14487" y="351.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7541"></rect>
<rect x="283.14487" y="351.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7543"></rect>
<rect x="285.14487" y="351.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7545"></rect>
<rect x="287.14487" y="351.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7547"></rect>
<rect x="241.14487" y="353.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7549"></rect>
<rect x="245.14487" y="353.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7551"></rect>
<rect x="247.14487" y="353.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7553"></rect>
<rect x="249.14487" y="353.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7555"></rect>
<rect x="253.14487" y="353.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7557"></rect>
<rect x="261.14487" y="353.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7559"></rect>
<rect x="265.14487" y="353.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7561"></rect>
<rect x="267.14487" y="353.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7563"></rect>
<rect x="273.14487" y="353.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7565"></rect>
<rect x="275.14487" y="353.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7567"></rect>
<rect x="277.14487" y="353.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7569"></rect>
<rect x="279.14487" y="353.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7571"></rect>
<rect x="281.14487" y="353.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7573"></rect>
<rect x="283.14487" y="353.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7575"></rect>
<rect x="287.14487" y="353.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7577"></rect>
<rect x="241.14487" y="355.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7579"></rect>
<rect x="245.14487" y="355.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7581"></rect>
<rect x="247.14487" y="355.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7583"></rect>
<rect x="249.14487" y="355.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7585"></rect>
<rect x="253.14487" y="355.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7587"></rect>
<rect x="257.14487" y="355.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7589"></rect>
<rect x="259.14487" y="355.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7591"></rect>
<rect x="261.14487" y="355.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7593"></rect>
<rect x="263.14487" y="355.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7595"></rect>
<rect x="267.14487" y="355.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7597"></rect>
<rect x="269.14487" y="355.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7599"></rect>
<rect x="273.14487" y="355.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7601"></rect>
<rect x="275.14487" y="355.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7603"></rect>
<rect x="279.14487" y="355.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7605"></rect>
<rect x="281.14487" y="355.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7607"></rect>
<rect x="241.14487" y="357.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7609"></rect>
<rect x="245.14487" y="357.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7611"></rect>
<rect x="247.14487" y="357.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7613"></rect>
<rect x="249.14487" y="357.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7615"></rect>
<rect x="253.14487" y="357.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7617"></rect>
<rect x="261.14487" y="357.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7619"></rect>
<rect x="275.14487" y="357.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7621"></rect>
<rect x="279.14487" y="357.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7623"></rect>
<rect x="281.14487" y="357.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7625"></rect>
<rect x="289.14487" y="357.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7627"></rect>
<rect x="241.14487" y="359.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7629"></rect>
<rect x="253.14487" y="359.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7631"></rect>
<rect x="257.14487" y="359.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7633"></rect>
<rect x="259.14487" y="359.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7635"></rect>
<rect x="261.14487" y="359.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7637"></rect>
<rect x="265.14487" y="359.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7639"></rect>
<rect x="267.14487" y="359.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7641"></rect>
<rect x="273.14487" y="359.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7643"></rect>
<rect x="277.14487" y="359.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7645"></rect>
<rect x="281.14487" y="359.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7647"></rect>
<rect x="283.14487" y="359.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7649"></rect>
<rect x="241.14487" y="361.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7651"></rect>
<rect x="243.14487" y="361.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7653"></rect>
<rect x="245.14487" y="361.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7655"></rect>
<rect x="247.14487" y="361.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7657"></rect>
<rect x="249.14487" y="361.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7659"></rect>
<rect x="251.14487" y="361.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7661"></rect>
<rect x="253.14487" y="361.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7663"></rect>
<rect x="257.14487" y="361.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7665"></rect>
<rect x="259.14487" y="361.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7667"></rect>
<rect x="267.14487" y="361.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7669"></rect>
<rect x="269.14487" y="361.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7671"></rect>
<rect x="273.14487" y="361.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7673"></rect>
<rect x="275.14487" y="361.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7675"></rect>
<rect x="277.14487" y="361.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7677"></rect>
<rect x="279.14487" y="361.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7679"></rect>
<rect x="281.14487" y="361.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7681"></rect>
<rect x="283.14487" y="361.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7683"></rect>
<rect x="287.14487" y="361.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7685"></rect>
<rect x="289.14487" y="361.05597" width="2" height="2" style="fill:#000000;stroke:none" id="rect7687"></rect>
</g>
<text id="text8375" y="302.202" x="242.19467" style="font-style:normal;font-weight:normal;font-size:25px;line-height:125%;font-family:Sans;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" xml:space="preserve"><tspan y="302.202" x="242.19467" id="tspan8377">GPS</tspan></text>
</g>
</svg>
</a>
</div>
</div>
</section>
</div>
<div
id="page-zones__main-widgets__image"
class="widget image"
data-uniqueid="page-zones__main-widgets__image"
>
<a href="#" data-image-href="files/situation.resized.png" rel="lightbox" title="">
<span class="image-img">
<img class="image" src="files/situation.resized.png" alt="" title="" data-filename="situation.resized.png" data-filesize="842332" data-imagesize="1000 x 706" width= "1000" />
</span>
</a>
</div>
<div
id="page-zones__main-widgets__content1"
class="widget content"
data-uniqueid="page-zones__main-widgets__content1"
>
<div class="bk-content-text js-text-content wysihtml-editor-content">
<h1>Agencement</h1>
</div>
</div>
<div
id="page-zones__main-widgets__image1"
class="widget image"
data-uniqueid="page-zones__main-widgets__image1"
>
<a href="#" data-image-href="files/plan_1.png" rel="lightbox" title="" class="widget-align-center">
<span class="image-img">
<img class="image" src="files/plan_1.png" alt="" title="" data-filename="plan_1.png" data-filesize="1630712" data-imagesize="1478 x 1030" width= "1478" />
</span>
</a>
</div>
<div
id="page-zones__main-widgets__content2"
class="widget content"
data-uniqueid="page-zones__main-widgets__content2"
>
<div class="bk-content-text js-text-content wysihtml-editor-content">
<h2>Pièce principale</h2>
<hr>
</div>
</div>
<div
id="page-zones__main-widgets__content13"
class="widget content"
data-uniqueid="page-zones__main-widgets__content13"
>
<div class="bk-content-text js-text-content wysihtml-editor-content">
<p>Cuisine équipée :
</p>
<ul>
<li>Four</li>
<li>Four à micro-ondes</li>
<li>Réfrigérateur-congélateur (200 L et 68 L)</li>
<li>Lave-vaisselle</li>
<li>Lave-linge-sèche-linge</li>
<li>Robot ménager</li>
<li>Cafetières à filtre et Nespresso™</li>
<li>Appareil à raclette</li>
<li>Gaufrier</li>
</ul>
<p>La table permet de manger confortablement à 8. Une table supplémentaire permet de manger à 10, voire à 12 en se serrant un peu.
</p>
<p><br>Côté salon, il y a un canapé convertible (140 × 190), et un téléviseur (chaînes par internet + satellite).
</p>
<p>Le Wi-Fi est diffusé dans tout l’appartement.<br>
</p>
</div>
</div>
<div class="galleria">
<img src="files/thumb_img_3740_1024.jpeg" data-title="Cuisine vue depuis le salon">
<img src="files/sjour20151102_2.resized.jpg" data-title="Salon — Fauteuils">
<img src="files/sjour20151102_1.resized.jpg" data-title="Salon">
<img src="files/cuisine20160118_2.resized.jpg" data-title="Cuisine">
</div>
<div
id="page-zones__main-widgets__gallery3"
class="widget gallery"
data-uniqueid="page-zones__main-widgets__gallery3"
>
<ul class="gallery-widget"> </ul>
</div>
<div
id="page-zones__main-widgets__content3"
class="widget content"
data-uniqueid="page-zones__main-widgets__content3"
>
<div class="bk-content-text js-text-content wysihtml-editor-content">
<h2>Chambre 1</h2>
<hr>
</div>
</div>
<div
id="page-zones__main-widgets__content9"
class="widget content"
data-uniqueid="page-zones__main-widgets__content9"
>
<div class="bk-content-text js-text-content wysihtml-editor-content">
<ul>
<li>Deux lits de 80 × 190 motorisés</li>
<li>Penderie</li>
</ul>
</div>
</div>
<div
id="page-zones__main-widgets__gallery2"
class="widget gallery"
data-uniqueid="page-zones__main-widgets__gallery2"
>
<ul class="gallery-widget">
</ul>
</div>
<div class="galleria">
<img src="files/chambrew20151126_4.resized.jpg" data-title="Chambre 1">
<img src="files/dsc03930.resized.jpg" data-title="Chambre 1 — Lits">
<img src="files/dsc03931.resized.jpg" data-title="Chambre 1 — Fenêtre">
</div>
<div
id="page-zones__main-widgets__content5"
class="widget content"
data-uniqueid="page-zones__main-widgets__content5"
>
<div class="bk-content-text js-text-content wysihtml-editor-content">
<h2>Chambre 2</h2>
<hr>
</div>
</div>
<div
id="page-zones__main-widgets__content10"
class="widget content"
data-uniqueid="page-zones__main-widgets__content10"
>
<div class="bk-content-text js-text-content wysihtml-editor-content">
<ul>
<li>Un lit double de 140 × 190</li>
<li>Penderie</li>
</ul>
</div>
</div>
<div class="galleria">
<img src="files/chambree20151101_2.resized.jpg" data-title="Chambre 2 — Lit">
<img src="files/chambree20151126_2.resized.jpg" data-title="Chambre 2 — Penderie">
<img src="files/chambree20151126_5.resized.jpg" data-title="Chambre 2 — Lit">
</div>
<div
id="page-zones__main-widgets__gallery1"
class="widget gallery"
data-uniqueid="page-zones__main-widgets__gallery1"
>
<ul class="gallery-widget">
</ul>
</div>
<div
id="page-zones__main-widgets__content6"
class="widget content"
data-uniqueid="page-zones__main-widgets__content6"
>
<div class="bk-content-text js-text-content wysihtml-editor-content">
<h2>Chambre 3</h2>
<hr>
</div>
</div>
<div
id="page-zones__main-widgets__content11"
class="widget content"
data-uniqueid="page-zones__main-widgets__content11"
>
<div class="bk-content-text js-text-content wysihtml-editor-content">
<ul>
<li>4 lits de 90 × 190</li>
<li>Coffres de rangement</li>
<li>Étagères</li>
<li>Bureau</li>
<li>Commode</li>
</ul>
</div>
</div>
<div class="galleria">
<img src="files/chambres20160118_5.resized.jpg" data-title="Chambre 3 — Bureau">
<img src="files/chambres20160118_4.resized.jpg" data-title="Chambre 3 — Lits superposés">
<img src="files/chambres20160118_1.resized.jpg" data-title="Chambre 3 - lits superposés et étagères">
</div>
<div
id="page-zones__main-widgets__gallery"
class="widget gallery"
data-uniqueid="page-zones__main-widgets__gallery"
>
<ul class="gallery-widget">
</ul>
</div>
<div
id="page-zones__main-widgets__content17"
class="widget content"
data-uniqueid="page-zones__main-widgets__content17"
>
<div class="bk-content-text js-text-content wysihtml-editor-content">
<h2>Salles de bains</h2>
<hr>
</div>
</div>
<div
id="page-zones__main-widgets__content18"
class="widget content"
data-uniqueid="page-zones__main-widgets__content18"
>
<div class="bk-content-text js-text-content wysihtml-editor-content">
<p>Les deux salles de bains disposent de douches à l’italienne et de radiateurs sèche-serviettes.
</p>
<p>Un sèche cheveux est à disposition.<br>
</p>
<p>Un pèse-personne permet de suivre l’effet du régime montagnard au jour le jour. <br>
</p>
</div>
</div>
<div class="galleria">
<img src="files/sdbw20151126_2.resized.jpg" data-title="Salle-de-bains 1">
<img src="files/sdbe20151126_2.resized.jpg" data-title="Salle-de-bains 2">
<img src="files/sdbe20151126_3.resized.jpg" data-title="Salle-de-bains 2">
</div>
<div
id="page-zones__main-widgets__content4"
class="widget content"
data-uniqueid="page-zones__main-widgets__content4"
>
<div class="bk-content-text js-text-content wysihtml-editor-content">
<h1>Divers</h1>
</div>
</div>
<div
id="page-zones__main-widgets__content12"
class="widget content"
data-uniqueid="page-zones__main-widgets__content12"
>
<div class="bk-content-text js-text-content wysihtml-editor-content">
<p>Une planche à repasser et un fer sont disponibles.
</p>
<p>Les différents produits ménagers et les ingrédients
culinaires de base sont présents, à titre de dépannage&nbsp;; leur
remplacement est souhaitable en cas de forte consommation.
</p>
<p>Il n’est pas autorisé de fumer à l’intérieur de l’appartement.
</p>
<p>Les animaux à poils, ou susceptibles de causer des dégats ne sont pas admis.
</p>
<p>La remise de clés et les états des lieux sont assurés par
l’<a href="http://www.valloire.net/fr/il4-commerces,services,ete_i372389-agence-chauvin-immobilier.aspx" target="_blank">agence Chauvin</a>.<br>
</p>
</div>
</div>
<div
id="page-zones__main-widgets__content15"
class="widget content"
data-uniqueid="page-zones__main-widgets__content15"
>
<div class="bk-content-text js-text-content wysihtml-editor-content">
<h1>Literie</h1>
</div>
</div>
<div
id="page-zones__main-widgets__content16"
class="widget content"
data-uniqueid="page-zones__main-widgets__content16"
>
<div class="bk-content-text js-text-content wysihtml-editor-content">
<p>Les draps ne sont pas fournis. Voici la liste de ce qui est disponible&nbsp;:<br>
</p>
<ul>
<li>10 oreillers de 50×70 ;</li>
<li>7 couettes de 140×200 (dont une
d'été) ;
</li>
<li>2 couettes de 200 × 200;</li>
<li>3 petites couvertures légères ;</li>
<li>une très
grande couverture très chaude ;
</li>
<li>4 alèses pour lits de 90 × 190 (4 autres
de remplacement, à disposition de l’agence)
</li>
</ul>
</div>
</div>
<div
id="page-zones__main-widgets__content14"
class="widget content"
data-uniqueid="page-zones__main-widgets__content14"
>
<div class="bk-content-text js-text-content wysihtml-editor-content">
<h1>Images</h1>
</div>
</div>
<div class="galleria">
<img src="files/thumb_img_3740_1024.jpeg" alt="Cuisine vue depuis le salon" data-title="Cuisine vue depuis le salon">
<img src="files/casiersskis20151128_1.resized.jpg" data-title="Casier à skis et chaussures">
<img src="files/chambrew20151126_3.resized.jpg" data-title="Chambre 1">
<img src="files/chambres20160118_5.resized.jpg" data-title="Chambre 3 — Bureau">
<img src="files/sjour20151102_2.resized.jpg" data-title="Salon — Fauteuils">
<img src="files/chambrew20151126_4.resized.jpg" data-title="Chambre 1 — Vue">
<img src="files/chambree20151126_3.resized.jpg" data-title="Chambre 2 — Lit et penderie">
<img src="files/chambree20151101_2.resized.jpg" data-title="Chambre 2 — Lit">
<img src="files/chambres20160118_4.resized.jpg" data-title="Chambre 3 — Lits superposés">
<img src="files/sjour20151102_1.resized.jpg" data-title="Salon">
<img src="files/chambres20160118_1.resized.jpg" data-title="Chambre 3 - lits superposés et étagères">
<img src="files/cuisine20160118_3.resized.jpg" data-title="Cuisine">
<img src="files/cuisine20160118_2.resized.jpg" data-title="Cuisine">
<img src="files/chambree20151126_2.resized.jpg" data-title="Chambre 2 — Penderie">
<img src="files/sdbe20151126_5.resized.jpg" data-title="Salle-de-bains 2">
<img src="files/sdbe20151126_4.resized.jpg" data-title="Salle-de-bains 2">
<img src="files/sdbw20151126_2.resized.jpg" data-title="Salle-de-bains 1">
<img src="files/sdbe20151126_2.resized.jpg" data-title="Salle-de-bains 2">
<img src="files/sdbw20151125_1.resized.jpg" data-title="Salle-de-bains 1">
<img src="files/dsc03932.resized.jpg" data-title="Couloir">
<img src="files/dsc03930.resized.jpg" data-title="Chambre 1 — Lits">
<img src="files/dsc03931.resized.jpg" data-title="Chambre 1 — Fenêtre">
<img src="files/dsc03926.resized.jpg" data-title="Salle-de-bains 2">
<img src="files/chambree20151126_5.resized.jpg" data-title="Chambre 2 — Lit">
<img src="files/sdbe20151126_3.resized.jpg" data-title="Salle-de-bains 2">
<img src="files/site-bandeau-2013-valloire-00036379.jpg" data-title="Valloire">
</div>
<script>
Galleria.loadTheme('galleria/themes/classic/galleria.classic.min.js');
Galleria.configure({
height: 0.8,
transition: 'fadeslide',
imageCrop: false,
showInfo: true,
autoplay: false,
responsive: true,
lightbox: true,
overlayOpacity: 0.0,
thumbnails: false
});
Galleria.run('.galleria');
</script>
<div
id="page-zones__main-widgets__content7"
class="widget content"
data-uniqueid="page-zones__main-widgets__content7"
>
<div class="bk-content-text js-text-content wysihtml-editor-content">
<h1>Tarifs hiver 2016</h1>
</div>
</div>
<div
id="page-zones__main-widgets__content8"
class="widget content"
data-uniqueid="page-zones__main-widgets__content8"
>
<div class="bk-content-text js-text-content wysihtml-editor-content">
<table style="width: 450px; height: 204px;border-collapse: collapse; border-spacing: 0px; font: inherit; border: 0px none;background-color:rgb(255,255,255);text-align:center" align="center">
<tbody>
<tr style=" height: 19px;background-color: rgb(230, 230, 230);font-weight: bold;">
<th>Période</th>
<th style="width: 160px;">Tarif</th>
<th style="width: 100px;">Prix</th>
</tr>
<tr> <td>16 jan. → 6 fév.</td> <td>Prix doux</td> <td>886 €</td> </tr>
<tr> <td>6 fév. → 13 fév.</td> <td>Prix haute saison 1</td> <td>1 586 €</td> </tr>
<tr> <td>13 fév. → 27 fév.</td> <td>Prix haute saison 2</td> <td>1 751 €</td> </tr>
<tr> <td>27 fév. → 5 mars</td> <td>Prix saison</td> <td>1 489 €</td> </tr>
<tr> <td>5 mars → 19 mars</td> <td>Prix doux</td> <td>886 €</td> </tr>
<tr> <td>19 mars → 9 avr.</td> <td>Prix très doux</td> <td>700 €</td> </tr>
<tr> <td>9 avr. → 16 avr. </td> <td>Prix promo </td> <td>557 € </td> </tr>
</tbody>
</table>
</div>
</div>
</section>
</div>
</div>
<!-- PIED DE PAGE -->
<footer class="bk-footer">
<div class="wrapper clearfix">
<div class="responsivecolumns columns-two-50-50">
<div class="column columns-two-left">
<div id="page-zones__template-widgets__content-footercolumn1content1" class="widget content " data-widget-type="content" data-uniqueid="page-zones__template-widgets__content-footercolumn1content1">
<div class="bk-content-text js-text-content wysihtml-editor-content">
<p>Pour nous contacter :
</p>
<ul>
<li><span style="color: rgb(255, 255, 255);"><strong>@</strong></span>
<a href="mailto:gdubuget@gmail.com" target="_self">gdubuget@gmail.com</a></li>
<li> <svg width="16.055372" height="20"> <!-- LOGO TÉLÉPHONE -->
<g id="g1331" transform="matrix(0.03842721,0.02679156,-0.02679156,0.03842721,3.7319469,-10.449883)">
<path d="m 309.337,64.0439 c -22.379,2.504 -103.754,39.6981 -106.129,231.4791 -2.5,202.025 83.75,244.525 106.37,244.067 l 0,-133.436 c -18.62,0 -22.366,-20.275 -26.62,-62.106 -2.814,-27.679 -3.634,-61.942 0,-96 2.552,-23.897 7,-47.223 26.5,-47.223 L 309.337,64.0439 Z" id="path1333" style="fill:#ffffff;stroke:none"></path>
<path d="m 357.583,539.825 c 8.625,0 14.811,-7.027 14.811,-14.902 l 0.062,-0.062 c 0,0 -0.062,-104 -0.062,-104.063 0,-8.25 -6.686,-14.754 -14.811,-14.754 l -37.799,0 0,133.781 c 0,0 37.707,0.058 37.738,0.027 l 0.061,-0.027 z" id="path1335" style="fill:#ffffff;stroke:none"></path>
<path d="m 357.583,200.825 c 8.625,0 14.811,-7.027 14.811,-14.902 l 0.062,-0.062 c 0,0 -0.062,-107.0001 -0.062,-107.0631 0,-8.25 -6.686,-14.754 -14.811,-14.754 l -37.799,0 0,136.7811 c 0,0 37.707,0.058 37.738,0.027 l 0.061,-0.027 z" id="path1337" style="fill:#ffffff;stroke:none"></path>
</g>
</svg><a href="tel:+33-4-78-04-13-65">+33 4 78 04 13 65</a></li>
<li>La remise de clés et les états des lieux sont assurés par l’<a href="http://www.valloire.net/fr/il4-commerces,services,ete_i372389-agence-chauvin-immobilier.aspx" target="_blank">agence Chauvin</a>.</li>
</ul>
</div>
</div>
</div>
<div class="column columns-two-right">
<div id="page-zones__template-widgets__content-footercolumn2content1" class="widget content " data-widget-type="content" data-uniqueid="page-zones__template-widgets__content-footercolumn2content1">
<div class="bk-content-text js-text-content wysihtml-editor-content">
<p>IBAN de la <b>S.C.I. Dubuval</b>&nbsp;:
</p>
<code>FR76 1382 5002 0008 0091 0529 287
</code>
</div>
</div>
</div>
</div>
</div>
</footer>
</body>
</html>
+343
View File
@@ -0,0 +1,343 @@
/*! jQuery v1.10.2 | (c) 2005, 2013 jQuery Foundation, Inc. | jquery.org/license
*/
(function(e,t){var n,r,i=typeof t,o=e.location,a=e.document,s=a.documentElement,l=e.jQuery,u=e.$,c={},p=[],f="1.10.2",d=p.concat,h=p.push,g=p.slice,m=p.indexOf,y=c.toString,v=c.hasOwnProperty,b=f.trim,x=function(e,t){return new x.fn.init(e,t,r)},w=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,T=/\S+/g,C=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,N=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,k=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,E=/^[\],:{}\s]*$/,S=/(?:^|:|,)(?:\s*\[)+/g,A=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,j=/"[^"\\\r\n]*"|true|false|null|-?(?:\d+\.|)\d+(?:[eE][+-]?\d+|)/g,D=/^-ms-/,L=/-([\da-z])/gi,H=function(e,t){return t.toUpperCase()},q=function(e){(a.addEventListener||"load"===e.type||"complete"===a.readyState)&&(_(),x.ready())},_=function(){a.addEventListener?(a.removeEventListener("DOMContentLoaded",q,!1),e.removeEventListener("load",q,!1)):(a.detachEvent("onreadystatechange",q),e.detachEvent("onload",q))};x.fn=x.prototype={jquery:f,constructor:x,init:function(e,n,r){var i,o;if(!e)return this;if("string"==typeof e){if(i="<"===e.charAt(0)&&">"===e.charAt(e.length-1)&&e.length>=3?[null,e,null]:N.exec(e),!i||!i[1]&&n)return!n||n.jquery?(n||r).find(e):this.constructor(n).find(e);if(i[1]){if(n=n instanceof x?n[0]:n,x.merge(this,x.parseHTML(i[1],n&&n.nodeType?n.ownerDocument||n:a,!0)),k.test(i[1])&&x.isPlainObject(n))for(i in n)x.isFunction(this[i])?this[i](n[i]):this.attr(i,n[i]);return this}if(o=a.getElementById(i[2]),o&&o.parentNode){if(o.id!==i[2])return r.find(e);this.length=1,this[0]=o}return this.context=a,this.selector=e,this}return e.nodeType?(this.context=this[0]=e,this.length=1,this):x.isFunction(e)?r.ready(e):(e.selector!==t&&(this.selector=e.selector,this.context=e.context),x.makeArray(e,this))},selector:"",length:0,toArray:function(){return g.call(this)},get:function(e){return null==e?this.toArray():0>e?this[this.length+e]:this[e]},pushStack:function(e){var t=x.merge(this.constructor(),e);return t.prevObject=this,t.context=this.context,t},each:function(e,t){return x.each(this,e,t)},ready:function(e){return x.ready.promise().done(e),this},slice:function(){return this.pushStack(g.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(0>e?t:0);return this.pushStack(n>=0&&t>n?[this[n]]:[])},map:function(e){return this.pushStack(x.map(this,function(t,n){return e.call(t,n,t)}))},end:function(){return this.prevObject||this.constructor(null)},push:h,sort:[].sort,splice:[].splice},x.fn.init.prototype=x.fn,x.extend=x.fn.extend=function(){var e,n,r,i,o,a,s=arguments[0]||{},l=1,u=arguments.length,c=!1;for("boolean"==typeof s&&(c=s,s=arguments[1]||{},l=2),"object"==typeof s||x.isFunction(s)||(s={}),u===l&&(s=this,--l);u>l;l++)if(null!=(o=arguments[l]))for(i in o)e=s[i],r=o[i],s!==r&&(c&&r&&(x.isPlainObject(r)||(n=x.isArray(r)))?(n?(n=!1,a=e&&x.isArray(e)?e:[]):a=e&&x.isPlainObject(e)?e:{},s[i]=x.extend(c,a,r)):r!==t&&(s[i]=r));return s},x.extend({expando:"jQuery"+(f+Math.random()).replace(/\D/g,""),noConflict:function(t){return e.$===x&&(e.$=u),t&&e.jQuery===x&&(e.jQuery=l),x},isReady:!1,readyWait:1,holdReady:function(e){e?x.readyWait++:x.ready(!0)},ready:function(e){if(e===!0?!--x.readyWait:!x.isReady){if(!a.body)return setTimeout(x.ready);x.isReady=!0,e!==!0&&--x.readyWait>0||(n.resolveWith(a,[x]),x.fn.trigger&&x(a).trigger("ready").off("ready"))}},isFunction:function(e){return"function"===x.type(e)},isArray:Array.isArray||function(e){return"array"===x.type(e)},isWindow:function(e){return null!=e&&e==e.window},isNumeric:function(e){return!isNaN(parseFloat(e))&&isFinite(e)},type:function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?c[y.call(e)]||"object":typeof e},isPlainObject:function(e){var n;if(!e||"object"!==x.type(e)||e.nodeType||x.isWindow(e))return!1;try{if(e.constructor&&!v.call(e,"constructor")&&!v.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(r){return!1}if(x.support.ownLast)for(n in e)return v.call(e,n);for(n in e);return n===t||v.call(e,n)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},error:function(e){throw Error(e)},parseHTML:function(e,t,n){if(!e||"string"!=typeof e)return null;"boolean"==typeof t&&(n=t,t=!1),t=t||a;var r=k.exec(e),i=!n&&[];return r?[t.createElement(r[1])]:(r=x.buildFragment([e],t,i),i&&x(i).remove(),x.merge([],r.childNodes))},parseJSON:function(n){return e.JSON&&e.JSON.parse?e.JSON.parse(n):null===n?n:"string"==typeof n&&(n=x.trim(n),n&&E.test(n.replace(A,"@").replace(j,"]").replace(S,"")))?Function("return "+n)():(x.error("Invalid JSON: "+n),t)},parseXML:function(n){var r,i;if(!n||"string"!=typeof n)return null;try{e.DOMParser?(i=new DOMParser,r=i.parseFromString(n,"text/xml")):(r=new ActiveXObject("Microsoft.XMLDOM"),r.async="false",r.loadXML(n))}catch(o){r=t}return r&&r.documentElement&&!r.getElementsByTagName("parsererror").length||x.error("Invalid XML: "+n),r},noop:function(){},globalEval:function(t){t&&x.trim(t)&&(e.execScript||function(t){e.eval.call(eLine truncated
}({});var B=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,P=/([A-Z])/g;function R(e,n,r,i){if(x.acceptData(e)){var o,a,s=x.expando,l=e.nodeType,u=l?x.cache:e,c=l?e[s]:e[s]&&s;if(c&&u[c]&&(i||u[c].data)||r!==t||"string"!=typeof n)return c||(c=l?e[s]=p.pop()||x.guid++:s),u[c]||(u[c]=l?{}:{toJSON:x.noop}),("object"==typeof n||"function"==typeof n)&&(i?u[c]=x.extend(u[c],n):u[c].data=x.extend(u[c].data,n)),a=u[c],i||(a.data||(a.data={}),a=a.data),r!==t&&(a[x.camelCase(n)]=r),"string"==typeof n?(o=a[n],null==o&&(o=a[x.camelCase(n)])):o=a,o}}function W(e,t,n){if(x.acceptData(e)){var r,i,o=e.nodeType,a=o?x.cache:e,s=o?e[x.expando]:x.expando;if(a[s]){if(t&&(r=n?a[s]:a[s].data)){x.isArray(t)?t=t.concat(x.map(t,x.camelCase)):t in r?t=[t]:(t=x.camelCase(t),t=t in r?[t]:t.split(" ")),i=t.length;while(i--)delete r[t[i]];if(n?!I(r):!x.isEmptyObject(r))return}(n||(delete a[s].data,I(a[s])))&&(o?x.cleanData([e],!0):x.support.deleteExpando||a!=a.window?delete a[s]:a[s]=null)}}}x.extend({cache:{},noData:{applet:!0,embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(e){return e=e.nodeType?x.cache[e[x.expando]]:e[x.expando],!!e&&!I(e)},data:function(e,t,n){return R(e,t,n)},removeData:function(e,t){return W(e,t)},_data:function(e,t,n){return R(e,t,n,!0)},_removeData:function(e,t){return W(e,t,!0)},acceptData:function(e){if(e.nodeType&&1!==e.nodeType&&9!==e.nodeType)return!1;var t=e.nodeName&&x.noData[e.nodeName.toLowerCase()];return!t||t!==!0&&e.getAttribute("classid")===t}}),x.fn.extend({data:function(e,n){var r,i,o=null,a=0,s=this[0];if(e===t){if(this.length&&(o=x.data(s),1===s.nodeType&&!x._data(s,"parsedAttrs"))){for(r=s.attributes;r.length>a;a++)i=r[a].name,0===i.indexOf("data-")&&(i=x.camelCase(i.slice(5)),$(s,i,o[i]));x._data(s,"parsedAttrs",!0)}return o}return"object"==typeof e?this.each(function(){x.data(this,e)}):arguments.length>1?this.each(function(){x.data(this,e,n)}):s?$(s,e,x.data(s,e)):null},removeData:function(e){return this.each(function(){x.removeData(this,e)})}});function $(e,n,r){if(r===t&&1===e.nodeType){var i="data-"+n.replace(P,"-$1").toLowerCase();if(r=e.getAttribute(i),"string"==typeof r){try{r="true"===r?!0:"false"===r?!1:"null"===r?null:+r+""===r?+r:B.test(r)?x.parseJSON(r):r}catch(o){}x.data(e,n,r)}else r=t}return r}function I(e){var t;for(t in e)if(("data"!==t||!x.isEmptyObject(e[t]))&&"toJSON"!==t)return!1;return!0}x.extend({queue:function(e,n,r){var i;return e?(n=(n||"fx")+"queue",i=x._data(e,n),r&&(!i||x.isArray(r)?i=x._data(e,n,x.makeArray(r)):i.push(r)),i||[]):t},dequeue:function(e,t){t=t||"fx";var n=x.queue(e,t),r=n.length,i=n.shift(),o=x._queueHooks(e,t),a=function(){x.dequeue(e,t)};"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,a,o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return x._data(e,n)||x._data(e,n,{empty:x.Callbacks("once memory").add(function(){x._removeData(e,t+"queue"),x._removeData(e,n)})})}}),x.fn.extend({queue:function(e,n){var r=2;return"string"!=typeof e&&(n=e,e="fx",r--),r>arguments.length?x.queue(this[0],e):n===t?this:this.each(function(){var t=x.queue(this,e,n);x._queueHooks(this,e),"fx"===e&&"inprogress"!==t[0]&&x.dequeue(this,e)})},dequeue:function(e){return this.each(function(){x.dequeue(this,e)})},delay:function(e,t){return e=x.fx?x.fx.speeds[e]||e:e,t=t||"fx",this.queue(t,function(t,n){var r=setTimeout(t,e);n.stop=function(){clearTimeout(r)}})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,n){var r,i=1,o=x.Deferred(),a=this,s=this.length,l=function(){--i||o.resolveWith(a,[a])};"string"!=typeof e&&(n=e,e=t),e=e||"fx";while(s--)r=x._data(a[s],e+"queueHooks"),r&&r.empty&&(i++,r.empty.add(l));return l(),o.promise(n)}});var z,X,U=/[\t\r\n\f]/g,V=/\r/g,Y=/^(?:input|select|textarea|button|object)$/i,J=/^(?:a|area)$/i,G=/^(?:checked|selected)$/i,Q=x.support.getSetAttribute,K=x.support.input;x.fn.extend({attr:function(e,t){return x.access(this,x.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){x.removeAttr(this,e)})},prop:function(e,t){return x.access(this,x.prop,e,t,arguments.length>1)},removeProp:function(e){return e=x.propFix[e]||e,this.each(function(){try{this[e]=t,delete this[e]}catch(n){}})},addClass:function(e){var t,n,r,i,o,a=0,s=this.length,l="string"==typeof e&&e;if(x.isFunction(e))return this.each(function(t){x(this).addClass(e.call(this,t,this.className))});if(l)for(t=(e||"").match(T)||[];s>a;a++)if(n=this[a],r=1===n.nodeType&&(n.className?(" "+n.className+" ").replace(U," "):" ")){o=0;while(i=t[o++])0>r.indexOf(" "+i+" ")&&(r+=i+" ");n.className=x.trim(r)}return this},removeClass:function(e){var t,n,r,i,o,a=0,s=this.length,l=0===arguments.length||"string"==typeof e&&e;if(x.isFunction(e))return this.each(function(t){x(this).removeClass(e.call(this,t,this.className))});if(l)for(t=(e||"").match(T)||[];s>a;a++)if(n=this[a],r=1===n.nodeType&&(n.className?(" "+n.className+" ").replace(U," "):"")){o=0;while(i=t[o++])whilLine truncated
u[o]&&(delete u[o],c?delete n[l]:typeof n.removeAttribute!==i?n.removeAttribute(l):n[l]=null,p.push(o))}},_evalUrl:function(e){return x.ajax({url:e,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0})}}),x.fn.extend({wrapAll:function(e){if(x.isFunction(e))return this.each(function(t){x(this).wrapAll(e.call(this,t))});if(this[0]){var t=x(e,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){var e=this;while(e.firstChild&&1===e.firstChild.nodeType)e=e.firstChild;return e}).append(this)}return this},wrapInner:function(e){return x.isFunction(e)?this.each(function(t){x(this).wrapInner(e.call(this,t))}):this.each(function(){var t=x(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=x.isFunction(e);return this.each(function(n){x(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(){return this.parent().each(function(){x.nodeName(this,"body")||x(this).replaceWith(this.childNodes)}).end()}});var Pt,Rt,Wt,$t=/alpha\([^)]*\)/i,It=/opacity\s*=\s*([^)]*)/,zt=/^(top|right|bottom|left)$/,Xt=/^(none|table(?!-c[ea]).+)/,Ut=/^margin/,Vt=RegExp("^("+w+")(.*)$","i"),Yt=RegExp("^("+w+")(?!px)[a-z%]+$","i"),Jt=RegExp("^([+-])=("+w+")","i"),Gt={BODY:"block"},Qt={position:"absolute",visibility:"hidden",display:"block"},Kt={letterSpacing:0,fontWeight:400},Zt=["Top","Right","Bottom","Left"],en=["Webkit","O","Moz","ms"];function tn(e,t){if(t in e)return t;var n=t.charAt(0).toUpperCase()+t.slice(1),r=t,i=en.length;while(i--)if(t=en[i]+n,t in e)return t;return r}function nn(e,t){return e=t||e,"none"===x.css(e,"display")||!x.contains(e.ownerDocument,e)}function rn(e,t){var n,r,i,o=[],a=0,s=e.length;for(;s>a;a++)r=e[a],r.style&&(o[a]=x._data(r,"olddisplay"),n=r.style.display,t?(o[a]||"none"!==n||(r.style.display=""),""===r.style.display&&nn(r)&&(o[a]=x._data(r,"olddisplay",ln(r.nodeName)))):o[a]||(i=nn(r),(n&&"none"!==n||!i)&&x._data(r,"olddisplay",i?n:x.css(r,"display"))));for(a=0;s>a;a++)r=e[a],r.style&&(t&&"none"!==r.style.display&&""!==r.style.display||(r.style.display=t?o[a]||"":"none"));return e}x.fn.extend({css:function(e,n){return x.access(this,function(e,n,r){var i,o,a={},s=0;if(x.isArray(n)){for(o=Rt(e),i=n.length;i>s;s++)a[n[s]]=x.css(e,n[s],!1,o);return a}return r!==t?x.style(e,n,r):x.css(e,n)},e,n,arguments.length>1)},show:function(){return rn(this,!0)},hide:function(){return rn(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){nn(this)?x(this).show():x(this).hide()})}}),x.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Wt(e,"opacity");return""===n?"1":n}}}},cssNumber:{columnCount:!0,fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":x.support.cssFloat?"cssFloat":"styleFloat"},style:function(e,n,r,i){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var o,a,s,l=x.camelCase(n),u=e.style;if(n=x.cssProps[l]||(x.cssProps[l]=tn(u,l)),s=x.cssHooks[n]||x.cssHooks[l],r===t)return s&&"get"in s&&(o=s.get(e,!1,i))!==t?o:u[n];if(a=typeof r,"string"===a&&(o=Jt.exec(r))&&(r=(o[1]+1)*o[2]+parseFloat(x.css(e,n)),a="number"),!(null==r||"number"===a&&isNaN(r)||("number"!==a||x.cssNumber[l]||(r+="px"),x.support.clearCloneStyle||""!==r||0!==n.indexOf("background")||(u[n]="inherit"),s&&"set"in s&&(r=s.set(e,r,i))===t)))try{u[n]=r}catch(c){}}},css:function(e,n,r,i){var o,a,s,l=x.camelCase(n);return n=x.cssProps[l]||(x.cssProps[l]=tn(e.style,l)),s=x.cssHooks[n]||x.cssHooks[l],s&&"get"in s&&(a=s.get(e,!0,r)),a===t&&(a=Wt(e,n,i)),"normal"===a&&n in Kt&&(a=Kt[n]),""===r||r?(o=parseFloat(a),r===!0||x.isNumeric(o)?o||0:a):a}}),e.getComputedStyle?(Rt=function(t){return e.getComputedStyle(t,null)},Wt=function(e,n,r){var i,o,a,s=r||Rt(e),l=s?s.getPropertyValue(n)||s[n]:t,u=e.style;return s&&(""!==l||x.contains(e.ownerDocument,e)||(l=x.style(e,n)),Yt.test(l)&&Ut.test(n)&&(i=u.width,o=u.minWidth,a=u.maxWidth,u.minWidth=u.maxWidth=u.width=l,l=s.width,u.width=i,u.minWidth=o,u.maxWidth=a)),l}):a.documentElement.currentStyle&&(Rt=function(e){return e.currentStyle},Wt=function(e,n,r){var i,o,a,s=r||Rt(e),l=s?s[n]:t,u=e.style;return null==l&&u&&u[n]&&(l=u[n]),Yt.test(l)&&!zt.test(n)&&(i=u.left,o=e.runtimeStyle,a=o&&o.left,a&&(o.left=e.currentStyle.left),u.left="fontSize"===n?"1em":l,l=u.pixelLeft+"px",u.left=i,a&&(o.left=a)),""===l?"auto":l});function on(e,t,n){var r=Vt.exec(t);return r?Math.max(0,r[1]-(n||0))+(r[2]||"px"):t}function an(e,t,n,r,i){var o=n===(r?"border":"content")?4:"width"===t?1:0,a=0;for(;4>o;o+=2)"margin"===n&&(a+=x.css(e,n+Zt[o],!0,i)),r?("content"===n&&(a-=x.css(e,"padding"+Zt[o],!0,i)),"margin"!==n&&(a-=x.css(e,"border"+Zt[o]+"Width",!0,i))):(a+=x.css(e,"padding"+Zt[o],!0,i),"padding"!==n&&(a+=x.css(e,"border"+Zt[o]+"Width",!0,i)));return a}function sn(e,t,n){var r=!0,i="width"===t?e.offsetWidth:e.offsetHeight,o=Rt(e),a=x.support.boxSizing&&"border-box"===x.css(e,"boxSizing",!1,o);if(0>=i||null==i){if(i=Wt(e,t,o),(0>i||null==i)&&(iLine truncated
// Generated by CoffeeScript 1.6.3
/*
Lightbox v2.6
by Lokesh Dhakar - http://www.lokeshdhakar.com
For more information, visit:
http://lokeshdhakar.com/projects/lightbox2/
Licensed under the Creative Commons Attribution 2.5 License - http://creativecommons.org/licenses/by/2.5/
- free for use in both personal and commercial projects
- attribution requires leaving author name, author link, and the license info intact
*/
(function() {
var $, Lightbox, LightboxOptions;
$ = jQuery;
LightboxOptions = (function() {
function LightboxOptions() {
this.fadeDuration = 500;
this.fitImagesInViewport = true;
this.resizeDuration = 700;
this.showImageNumberLabel = true;
this.wrapAround = false;
}
LightboxOptions.prototype.albumLabel = function(curImageNum, albumSize) {
return "Image " + curImageNum + " of " + albumSize;
};
return LightboxOptions;
})();
Lightbox = (function() {
function Lightbox(options) {
this.options = options;
this.album = [];
this.currentImageIndex = void 0;
this.init();
}
Lightbox.prototype.init = function() {
this.enable();
return this.build();
};
Lightbox.prototype.enable = function() {
var _this = this;
if ($('body').hasClass('edit'))
{
return $('body').on('click','a[rel^=lightbox], area[rel^=lightbox], a[data-lightbox], area[data-lightbox]', function(e) {
if ($(this).attr('href') === '#') {
_this.start($(e.currentTarget));
return false;
}
});
} else {
return $('body').on('click', 'a[rel^=lightbox], area[rel^=lightbox], a[data-lightbox], area[data-lightbox]', function(e) {
_this.start($(e.currentTarget));
return false;
});
}
};
Lightbox.prototype.build = function() {
var _this = this;
$("<div id='lightboxOverlay' class='lightboxOverlay'></div><div id='lightbox' class='lightbox'><div class='lb-outerContainer'><div class='lb-container'><img class='lb-image' src='' /><div class='lb-nav'><a class='lb-prev' href='' ></a><a class='lb-next' href='' ></a></div><div class='lb-loader'><a class='lb-cancel'></a></div></div></div><div class='lb-dataContainer'><div class='lb-data'><div class='lb-details'><span class='lb-caption'></span><span class='lb-number'></span></div><div class='lb-closeContainer'><a class='lb-close'></a></div></div></div></div>").appendTo($('body'));
this.$lightbox = $('#lightbox');
this.$overlay = $('#lightboxOverlay');
this.$outerContainer = this.$lightbox.find('.lb-outerContainer');
this.$container = this.$lightbox.find('.lb-container');
this.containerTopPadding = parseInt(this.$container.css('padding-top'), 10);
this.containerRightPadding = parseInt(this.$container.css('padding-right'), 10);
this.containerBottomPadding = parseInt(this.$container.css('padding-bottom'), 10);
this.containerLeftPadding = parseInt(this.$container.css('padding-left'), 10);
this.$overlay.hide().on('click', function() {
_this.end();
return false;
});
this.$lightbox.hide().on('click', function(e) {
if ($(e.target).attr('id') === 'lightbox') {
_this.end();
}
return false;
});
this.$outerContainer.on('click', function(e) {
if ($(e.target).attr('id') === 'lightbox') {
_this.end();
}
return false;
});
this.$lightbox.find('.lb-prev').on('click', function() {
if (_this.currentImageIndex === 0) {
_this.changeImage(_this.album.length - 1);
} else {
_this.changeImage(_this.currentImageIndex - 1);
}
return false;
});
this.$lightbox.find('.lb-next').on('click', function() {
if (_this.currentImageIndex === _this.album.length - 1) {
_this.changeImage(0);
} else {
_this.changeImage(_this.currentImageIndex + 1);
}
return false;
});
return this.$lightbox.find('.lb-loader, .lb-close').on('click', function() {
_this.end();
return false;
});
};
Lightbox.prototype.start = function($link) {
var $window, a, dataLightboxValue, i, imageNumber, left, top, _i, _j, _len, _len1, _ref, _ref1;
$(window).on("resize", this.sizeOverlay);
$('select, object, embed').css({
visibility: "hidden"
});
this.$overlay.width($(document).width()).height($(document).height()).fadeIn(this.options.fadeDuration);
this.album = [];
imageNumber = 0;
dataLightboxValue = $link.attr('data-lightbox');
if (dataLightboxValue) {
_ref = $($link.prop("tagName") + '[data-lightbox="' + dataLightboxValue + '"]');
for (i = _i = 0, _len = _ref.length; _i < _len; i = ++_i) {
a = _ref[i];
this.album.push({
link: $(a).attr('data-image-href'),
title: $(a).attr('title')
});
if ($(a).attr('data-image-href') === $link.attr('data-image-href')) {
imageNumber = i;
}
}
} else {
if ($link.attr('rel') === 'lightbox') {
this.album.push({
link: $link.attr('data-image-href'),
title: $link.attr('title')
});
} else {
_ref1 = $($link.prop("tagName") + '[rel="' + $link.attr('rel') + '"]');
for (i = _j = 0, _len1 = _ref1.length; _j < _len1; i = ++_j) {
a = _ref1[i];
this.album.push({
link: $(a).attr('data-image-href'),
title: $(a).attr('title')
});
if ($(a).attr('data-image-href') === $link.attr('data-image-href')) {
imageNumber = i;
}
}
}
}
$window = $(window);
top = $window.scrollTop() + window.innerHeight / 10;
left = $window.scrollLeft();
this.$lightbox.css({
top: top + 'px',
left: left + 'px'
}).fadeIn(this.options.fadeDuration);
this.changeImage(imageNumber);
};
Lightbox.prototype.changeImage = function(imageNumber) {
var $image, preloader,
_this = this;
this.disableKeyboardNav();
$image = this.$lightbox.find('.lb-image');
this.sizeOverlay();
this.$overlay.fadeIn(this.options.fadeDuration);
$('.lb-loader').fadeIn('slow');
this.$lightbox.find('.lb-image, .lb-nav, .lb-prev, .lb-next, .lb-dataContainer, .lb-numbers, .lb-caption').hide();
this.$outerContainer.addClass('animating');
preloader = new Image();
preloader.onload = function() {
var $preloader, imageHeight, imageWidth, maxImageHeight, maxImageWidth, windowHeight, windowWidth;
$image.attr('src', _this.album[imageNumber].link);
$preloader = $(preloader);
$image.width(preloader.width);
$image.height(preloader.height);
imageWidth = preloader.width;
imageHeight = preloader.height;
if (_this.options.fitImagesInViewport) {
windowWidth = $(window).width();
windowHeight = window.innerHeight;
maxImageWidth = windowWidth - _this.containerLeftPadding - _this.containerRightPadding - 20;
maxImageHeight = windowHeight - _this.containerTopPadding - _this.containerBottomPadding - 110;
if ((preloader.width > maxImageWidth) || (preloader.height > maxImageHeight)) {
if ((preloader.width / maxImageWidth) > (preloader.height / maxImageHeight)) {
imageWidth = maxImageWidth;
imageHeight = parseInt(preloader.height / (preloader.width / imageWidth), 10);
$image.width(imageWidth);
$image.height(imageHeight);
} else {
imageHeight = maxImageHeight;
imageWidth = parseInt(preloader.width / (preloader.height / imageHeight), 10);
$image.width(imageWidth);
$image.height(imageHeight);
}
}
}
return _this.sizeContainer(imageWidth, imageHeight);
};
preloader.src = this.album[imageNumber].link;
this.currentImageIndex = imageNumber;
};
Lightbox.prototype.sizeOverlay = function() {
return $('#lightboxOverlay').width($(document).width()).height($(document).height());
};
Lightbox.prototype.sizeContainer = function(imageWidth, imageHeight) {
var newHeight, newWidth, oldHeight, oldWidth,
_this = this;
oldWidth = this.$outerContainer.outerWidth();
oldHeight = this.$outerContainer.outerHeight();
newWidth = imageWidth + this.containerLeftPadding + this.containerRightPadding;
newHeight = imageHeight + this.containerTopPadding + this.containerBottomPadding;
this.$outerContainer.animate({
width: newWidth,
height: newHeight
}, this.options.resizeDuration, 'swing');
setTimeout(function() {
_this.$lightbox.find('.lb-dataContainer').width(newWidth);
_this.$lightbox.find('.lb-prevLink').height(newHeight);
_this.$lightbox.find('.lb-nextLink').height(newHeight);
_this.showImage();
}, this.options.resizeDuration);
};
Lightbox.prototype.showImage = function() {
this.$lightbox.find('.lb-loader').hide();
this.$lightbox.find('.lb-image').fadeIn('slow');
this.updateNav();
this.updateDetails();
this.preloadNeighboringImages();
this.enableKeyboardNav();
};
Lightbox.prototype.updateNav = function() {
this.$lightbox.find('.lb-nav').show();
if (this.album.length > 1) {
if (this.options.wrapAround) {
this.$lightbox.find('.lb-prev, .lb-next').show();
} else {
if (this.currentImageIndex > 0) {
this.$lightbox.find('.lb-prev').show();
}
if (this.currentImageIndex < this.album.length - 1) {
this.$lightbox.find('.lb-next').show();
}
}
}
};
Lightbox.prototype.updateDetails = function() {
var _this = this;
if (typeof this.album[this.currentImageIndex].title !== 'undefined' && this.album[this.currentImageIndex].title !== "") {
this.$lightbox.find('.lb-caption').html(this.album[this.currentImageIndex].title).fadeIn('fast');
}
if (this.album.length > 1 && this.options.showImageNumberLabel) {
this.$lightbox.find('.lb-number').text(this.options.albumLabel(this.currentImageIndex + 1, this.album.length)).fadeIn('fast');
} else {
this.$lightbox.find('.lb-number').hide();
}
this.$outerContainer.removeClass('animating');
this.$lightbox.find('.lb-dataContainer').fadeIn(this.resizeDuration, function() {
return _this.sizeOverlay();
});
};
Lightbox.prototype.preloadNeighboringImages = function() {
var preloadNext, preloadPrev;
if (this.album.length > this.currentImageIndex + 1) {
preloadNext = new Image();
preloadNext.src = this.album[this.currentImageIndex + 1].link;
}
if (this.currentImageIndex > 0) {
preloadPrev = new Image();
preloadPrev.src = this.album[this.currentImageIndex - 1].link;
}
};
Lightbox.prototype.enableKeyboardNav = function() {
$(document).on('keyup.keyboard', $.proxy(this.keyboardAction, this));
};
Lightbox.prototype.disableKeyboardNav = function() {
$(document).off('.keyboard');
};
Lightbox.prototype.keyboardAction = function(event) {
var KEYCODE_ESC, KEYCODE_LEFTARROW, KEYCODE_RIGHTARROW, key, keycode;
KEYCODE_ESC = 27;
KEYCODE_LEFTARROW = 37;
KEYCODE_RIGHTARROW = 39;
keycode = event.keyCode;
key = String.fromCharCode(keycode).toLowerCase();
if (keycode === KEYCODE_ESC || key.match(/x|o|c/)) {
this.end();
} else if (key === 'p' || keycode === KEYCODE_LEFTARROW) {
if (this.currentImageIndex !== 0) {
this.changeImage(this.currentImageIndex - 1);
}
} else if (key === 'n' || keycode === KEYCODE_RIGHTARROW) {
if (this.currentImageIndex !== this.album.length - 1) {
this.changeImage(this.currentImageIndex + 1);
}
}
};
Lightbox.prototype.end = function() {
this.disableKeyboardNav();
$(window).off("resize", this.sizeOverlay);
this.$lightbox.fadeOut(this.options.fadeDuration);
this.$overlay.fadeOut(this.options.fadeDuration);
return $('select, object, embed').css({
visibility: "visible"
});
};
return Lightbox;
})();
$(function() {
var lightbox, options;
options = new LightboxOptions();
return lightbox = new Lightbox(options);
});
}).call(this);
+6
View File
@@ -0,0 +1,6 @@
var App=App||{};App.i18n=App.i18n||{};(function(){App.getParam=function(name){var regex=new RegExp("[?|&]"+name+"="+"([^&;]+?)(&|#|;|$)"),parentWindow=window.parent===window.top?window.parent:window.parent.parent,results=null;try{results=regex.exec(parentWindow.location.search)}catch(e){}if(results&&results[1]){return decodeURIComponent(results[1])}return null};App.flow=function(state,data,topFrame){var flowEngineUrl=App.frontEndBucket.protocol+"://flow."+App.brand.domain+"/"+state;$.ajax(flowEngineUrl,{async:true,data:data,dataType:"jsonp",success:function(response){var redirectUrl=response.url;if(topFrame){window.top.location.href=redirectUrl;return}window.location.href=redirectUrl}})};App.t=function(key,fallback){var $lib=$||bk$,translateIt=App.getParam("translate"),base=fallback||"",parts,section,args,translated,values="DEFAULT",keypart,thisTrans;if(key){parts=key.split(".");section=parts.shift();keypart=parts.join(".")}if(typeof App.i18n[section]!=="undefined"&&typeof App.i18n[section][keypart]!=="undefined"){if(App.i18n[section][keypart].length>0){base=App.i18n[section][keypart]}}args=[].slice.call(arguments,1);args=$lib.map(args,function(n){return n});translated=base.replace(/%([0-9]+)/g,function(match,found,offset,original){return args[found]!==undefined?args[found]:""});if(translateIt==="debugvalues"){thisTrans=App.i18n[section]!==undefined&&App.i18n[section][keypart]!==undefined?App.i18n[section][keypart]:undefined;if(thisTrans===""){values="MASTER"}else if(thisTrans){values="TRANSLATED"}return values}else if(translateIt==="debugkeys"){return key}return translated};App.formatUrl=function(string){if(typeof string==="string"){string=string.replace(/[^a-zA-Z0-9 -]/g,"").replace(/\s+/g,"-").toLowerCase();return string.charAt(string.length-1)==="-"?string.substring(0,string.length-1):string}};App.formatBlogDate=function(iso_date,lang){var locale=lang||App.user.languageCode,formatted;if(typeof iso_date!=="string"){return false}formatted=moment(iso_date).lang(locale).format("DD MMMM YYYY");return formatted};App.getPHPDate=function(format,date){var d=new Date(date);if(typeof format!=="string"){format="c"}return d.format(format)};App.render=function(templateName,callback){var constructor=window[templateName];if(typeof constructor==="function"){callback(generateTemplateCallbackClosure(constructor))}else{loadTemplateFromServer(templateName,function(constructor){if(typeof constructor!=="function"){throw new Error("Failed to load template: "+templateName)}callback(generateTemplateCallbackClosure(constructor))})}};App.templateQueues={};function generateTemplateCallbackClosure(templateConstructor){return function(parameters){return Twig.render(templateConstructor,parameters)}}function loadTemplateFromServer(templateName,callback){if(typeof App.templateQueues[templateName]==="undefined"){App.templateQueues[templateName]=[callback];sendTemplateRequest(templateName)}else{App.templateQueues[templateName].push(callback)}}function sendTemplateRequest(templateName){var templateUrl=App.assetBaseUrl()+"/twig-templates/"+templateName;$.ajax({url:templateUrl,cache:false,dataType:"script",success:function(){processTemplateQueue(templateName)}})}function processTemplateQueue(templateName){var constructor=window[templateName];while(App.templateQueues[templateName].length>0){App.templateQueues[templateName].shift()(constructor)}}App.getErrorsFromResponse=function(response){var phraseAppNameSpace="global_v7.errors.",errorMessages=[],responseObj;if(response.responseText){responseObj=jQuery.parseJSON(response.responseText);if(responseObj.messageTemplates){$.each(responseObj.messageTemplates,function(field,errorTemplates){$.each(errorTemplates.templates,function(type,template){var replacements=[],args=[phraseAppNameSpace+type,template],message,messageObj={};if(errorTemplates.values){$.each(errorTemplates.values[type],function(i,stringValue){replacements.push(stringValue)})}args=args.concat(replacements);message=App.t.apply(App,args);messageObj.field=field;messageObj.message=message;errorMessages.push(messageObj)})})}}return errorMessages};App.mixpanelTrack=function(trackName,mpVars){var deferred=jQuery?jQuery.Deferred():bk$.Deferred(),mixpanelEnv,userRef,userEmail,subscriptionPackageRef,mixpanelUserId,baseObject,tracker;try{if(App&&App.frontEndBucket&&App.frontEndBucket.mixpanelToken){baseObject=App;tracker=mixpanel}else if(window.parent&&window.parent.App&&window.parent.App.frontEndBucket&&window.parent.App.frontEndBucket.mixpanelToken){baseObject=window.parent.App;tracker=window.parent.mixpanel}else{return deferred.resolve()}}catch(err){return deferred.resolve()}mixpanelEnv=baseObject.frontEndBucket.mixpanelEnv;userRef=baseObject.user.ref;userEmail=baseObject.user.email;subscriptionPackageRef=baseObject.user.subscriptionPackageRef;mixpanelUserId=mixpanelEnv+"-"+userRef;if(baseObject.hasOwnProperty("brand")&&baseObject.brand.capabilities.mixPanelTracking==="0"){return deferred.resolve()}if(mixpanelEnv!==undefined&&mixpanelEnv&&uLine truncated
var ae=U(j.body);if(ae!==Z){Z=ae;ab.push(ac={el:ae,out:[]})}ac.out.push(af)};E.onLoad(function(){var ah,ak,af,aj,ai;Q=G(Q);ai=Q.done;Q.done=function(){j.write=aa;j.writeln=ad;if(ai){ai()}};for(var ag=0,ae=ab.length;ag<ae;ag++){ah=ab[ag].el;ak=j.createElement("div");ah.parentNode.insertBefore(ak,ah.nextSibling);af=ab[ag].out.join("");aj=ae-ag===1?R(af,Q):R(af);E.replaceWith(ak,aj)}})}var t="writeCapture";var o=a[t]={_original:a[t],fixUrls:function(Q){return Q.replace(/&amp;/g,"&")},noConflict:function(){a[t]=this._original;return this},debug:y,proxyGetElementById:false,_forTest:{Q:i,GLOBAL_Q:z,$:E,matchAttr:k,slice:u,capture:x,uncapture:V,captureWrite:S},replaceWith:function(Q,aa,Z){E.replaceWith(Q,R(aa,Z))},html:function(Q,ab,Z){var aa=E.$(Q);aa.innerHTML="<span/>";E.replaceWith(aa.firstChild,R(ab,Z))},load:function(Q,aa,Z){E.ajax({url:aa,dataType:"text",type:"GET",success:function(ab){o.html(Q,ab,Z)}})},autoAsync:h,sanitize:R,sanitizeSerial:F}})(this.writeCaptureSupport,this);(function(g,d,n){var c={html:h};g.each(["append","prepend","after","before","wrap","wrapAll","replaceWith","wrapInner"],function(){c[this]=i(this)});function a(q){return Object.prototype.toString.call(q)=="[object String]"}function p(u,t,s,r){if(arguments.length==0){return o.call(this)}var q=c[u];if(u=="load"){return l.call(this,t,s,r)}if(!q){j(u)}return b.call(this,t,s,q)}g.fn.writeCapture=p;var k="__writeCaptureJsProxied-fghebd__";function o(){if(this[k]){return this}var r=this;function q(){var t=this,s=false;this[k]=true;g.each(c,function(v){var u=r[v];if(!u){return}t[v]=function(y,x,w){if(!s&&a(y)){try{s=true;return p.call(t,v,y,x,w)}finally{s=false}}return u.apply(t,arguments)}});this.pushStack=function(){return o.call(r.pushStack.apply(t,arguments))};this.endCapture=function(){return r}}q.prototype=r;return new q}function b(t,s,u){var q,r=this;if(s&&s.done){q=s.done;delete s.done}else{if(g.isFunction(s)){q=s;s=null}}d.sanitizeSerial(g.map(this,function(v){return{html:t,options:s,action:function(w){u.call(v,w)}}}),q&&function(){q.call(r)}||q);return this}function h(q){g(this).html(q)}function i(q){return function(r){g(this)[q](r)}}function l(t,s,v){var r=this,q,u=t.indexOf(" ");if(u>=0){q=t.slice(u,t.length);t=t.slice(0,u)}if(g.isFunction(v)){s=s||{};s.done=v}return g.ajax({url:t,type:s&&s.type||"GET",dataType:"html",data:s&&s.params,complete:f(r,s,q)})}function f(r,s,q){return function(u,t){if(t=="success"||t=="notmodified"){var v=m(u.responseText,q);b.call(r,v,s,h)}}}var e=/jquery-writeCapture-script-placeholder-(\d+)-wc/g;function m(s,r){if(!r||!s){return s}var t=0,q={};return g("<div/>").append(s.replace(/<script(.|\s)*?\/script>/g,function(u){q[t]=u;return"jquery-writeCapture-script-placeholder-"+t++ +"-wc"})).find(r).html().replace(e,function(u,v){return q[v]})}function j(q){throw"invalid method parameter "+q}g.writeCapture=d})(jQuery,writeCapture.noConflict());(function(){var n=this,t=n._,r={},e=Array.prototype,u=Object.prototype,i=Function.prototype,a=e.push,o=e.slice,c=e.concat,l=u.toString,f=u.hasOwnProperty,s=e.forEach,p=e.map,h=e.reduce,v=e.reduceRight,g=e.filter,d=e.every,m=e.some,y=e.indexOf,b=e.lastIndexOf,x=Array.isArray,w=Object.keys,_=i.bind,j=function(n){return n instanceof j?n:this instanceof j?void(this._wrapped=n):new j(n)};"undefined"!=typeof exports?("undefined"!=typeof module&&module.exports&&(exports=module.exports=j),exports._=j):n._=j,j.VERSION="1.6.0";var A=j.each=j.forEach=function(n,t,e){if(null==n)return n;if(s&&n.forEach===s)n.forEach(t,e);else if(n.length===+n.length){for(var u=0,i=n.length;i>u;u++)if(t.call(e,n[u],u,n)===r)return}else for(var a=j.keys(n),u=0,i=a.length;i>u;u++)if(t.call(e,n[a[u]],a[u],n)===r)return;return n};j.map=j.collect=function(n,t,r){var e=[];return null==n?e:p&&n.map===p?n.map(t,r):(A(n,function(n,u,i){e.push(t.call(r,n,u,i))}),e)};var O="Reduce of empty array with no initial value";j.reduce=j.foldl=j.inject=function(n,t,r,e){var u=arguments.length>2;if(null==n&&(n=[]),h&&n.reduce===h)return e&&(t=j.bind(t,e)),u?n.reduce(t,r):n.reduce(t);if(A(n,function(n,i,a){u?r=t.call(e,r,n,i,a):(r=n,u=!0)}),!u)throw new TypeError(O);return r},j.reduceRight=j.foldr=function(n,t,r,e){var u=arguments.length>2;if(null==n&&(n=[]),v&&n.reduceRight===v)return e&&(t=j.bind(t,e)),u?n.reduceRight(t,r):n.reduceRight(t);var i=n.length;if(i!==+i){var a=j.keys(n);i=a.length}if(A(n,function(o,c,l){c=a?a[--i]:--i,u?r=t.call(e,r,n[c],c,l):(r=n[c],u=!0)}),!u)throw new TypeError(O);return r},j.find=j.detect=function(n,t,r){var e;return k(n,function(n,u,i){return t.call(r,n,u,i)?(e=n,!0):void 0}),e},j.filter=j.select=function(n,t,r){var e=[];return null==n?e:g&&n.filter===g?n.filter(t,r):(A(n,function(n,u,i){t.call(r,n,u,i)&&e.push(n)}),e)},j.reject=function(n,t,r){return j.filter(n,function(n,e,u){return!t.call(r,n,e,u)},r)},j.every=j.all=function(n,t,e){t||(t=j.identity);var u=!0;return null==n?u:d&&n.every===d?n.every(t,e):(A(n,function(n,i,a){return(u=u&&t.call(e,n,i,a))?void 0:r}),!!u)};var k=j.somLine truncated
document.cookie="bk-cookie-warning=true; max-age=315360000";var cookieWarningContainer=document.createElement("div"),cookieWarningParagraph=document.createElement("p"),cookieWarningLink=document.createElement("a"),cookieWarningCloseButton=document.createElement("a"),removeWarning=function(e){e.preventDefault();cookieWarningContainer.parentNode.removeChild(cookieWarningContainer)},clickWarning=function(e){removeWarning(e);window.open(cookieWarningUrl)};cookieWarningLink.href=cookieWarningUrl;setText(cookieWarningLink,App.t("cookie.link_text","Find out more."));if(cookieWarningLink.addEventListener){cookieWarningLink.addEventListener("click",clickWarning,false)}else{cookieWarningLink.attachEvent("onclick",clickWarning)}cookieWarningCloseButton.className="bk-cookie-close-button";cookieWarningCloseButton.innerHTML="&#x2715;";cookieWarningCloseButton.href="#null";if(cookieWarningCloseButton.addEventListener){cookieWarningCloseButton.addEventListener("click",removeWarning,false)}else{cookieWarningCloseButton.attachEvent("onclick",removeWarning)}setText(cookieWarningParagraph,App.t("cookie.warning_text","This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies."));cookieWarningParagraph.innerHTML+=" ";cookieWarningParagraph.appendChild(cookieWarningLink);cookieWarningContainer.className="bk-cookie-container";cookieWarningContainer.appendChild(cookieWarningParagraph);cookieWarningContainer.appendChild(cookieWarningCloseButton);document.body.appendChild(cookieWarningContainer)}})(App,Server.cookieWarningUrl);(function(){bk$.fn.extend({getParentId:function(){var self=bk$(this),parentId=self.parent().attr("id");return parentId},getRect:function(){var el=bk$(this).first(),rect=null;if(!el.is(":visible")){return null}rect=el.offset();rect.right=rect.left+el.outerWidth();rect.bottom=rect.top+el.outerHeight();return rect},compare:function(selector){return bk$(this).get(0)===bk$(selector).get(0)}})})();(function(){BaseKit.Component=function(scope,args,options){$lib=typeof bk$==="function"?bk$:$;if(options===null){return scope}scope.self=scope.el=$lib(args[0]);scope.scope=scope;$lib.extend(true,scope,{renderTemplate:function(templateId,values,postRender,doRender,callback,doEvents){var content=null,templateName=null;if(typeof templateId!=="string"){throw new Error("renderTemplate first parameter error: expecting twig template name")}if(typeof values!=="object"){throw new Error("renderTemplate second parameter error: expecting object")}postRender=typeof postRender==="boolean"&&postRender===true?true:false;doRender=typeof doRender==="boolean"&&doRender===false?false:true;doEvents=typeof doEvents==="boolean"&&doEvents===false?false:true;if(typeof App==="object"&&typeof App.render==="function"){templateName=templateId.replace(/\./g,"_");App.render(templateName,function(tpl){if(typeof tpl==="function"){if(values!==null&&typeof values==="object"){content=tpl(values)}else if(typeof values==="boolean"){postRender=values;content=tpl()}else{content=tpl()}if(doRender===true){$lib(scope.el).html(content)}if(postRender===true&&typeof scope.postRender==="function"){scope.postRender(content)}if(doEvents===true&&typeof scope.attachEvents==="function"){scope.attachEvents()}if(callback&&typeof callback==="function"){callback.call(scope,content)}}return content})}}});$lib.extend(true,scope,{postRender:function(content){if(typeof this.renderFinish==="function"){var that=this,lastLength=0,strikes=0;BaseKit.Util.waitsFor(function(){var loadingHTML=$lib(scope.el).html(),expectedHTML=typeof content==="object"?$lib(content).html().toString():content,loadingLength=0,expectedLength=0;if(loadingHTML===null||loadingHTML.replace===undefined){return false}loadingLength=loadingHTML.replace(/\s/g,"").length;expectedLength=expectedHTML.replace(/\s/g,"").length;if(loadingLength!==expectedLength){if(loadingLength===lastLength){strikes+=1}lastLength=loadingLength;if(strikes===3){return true}return false}else{return true}},function(){lastLength=0;strikes=0;that.renderFinish(content)},function(){lastLength=0;strikes=0;throw new Error("Editor Window unaccessable")},250)}}});if(options.methods!==null){$lib.extend(true,scope,options.methods)}if(typeof scope.construct==="function"){scope.construct.apply(scope,args)}if(typeof scope.editorConstruct==="function"){scope.editorConstruct.apply(scope,args)}return scope}})();(function(){BaseKit.WidgetCore=function(scope,args,options){var o=new BaseKit.Component(scope,args,{methods:{construct:function(){scope.properties={type:"",uniqueHTMLId:"",styles:{},temporary:{},data:{},changed:{}};if(options.methods!==null){bk$.extend(true,scope,options.methods)}if(typeof options.properties==="object"){bk$.extend(true,scope.properties.data,options.properties)}if(args[1]&&typeof args[1]==="object"){bk$.extend(true,scope.properties,args[1])}if(typeof scope.construct==="function"){scope.construct.apply(scope,args)}},get:function(name){var property=null;try{if(scope.properties.temporary&&scope.propertLine truncated
if(link===undefined||link.length===0){alert(App.t("widgets.dropbox.no_file_added","No file added"))}else{window.open(link)}})}};BaseKit.Widget.Dropbox=function(){var o=new BaseKit.WidgetCore(this,arguments,{properties:BaseKit.Widget.DropboxProperties,methods:BaseKit.Widget.DropboxMethods})};bk$.fn.basekitWidgetDropbox=function(options){this.each(function(index,el){bk$(el).data("bkob",new BaseKit.Widget.Dropbox(el,options))})}})();(function(){BaseKit.Widget.Ecombasket=null;BaseKit.Widget.EcombasketProperties={};BaseKit.Widget.EcombasketMethods={construct:function(el,options){this.options=options;if(!Server.plugins.ecommerce){return}this.load()},load:function(){var that=this;Globals.addHook("ecom.basket.changed",this,function(cart){that.updateBasket(cart)});this.attachEvents()},attachEvents:function(){var that=this,thisEl=bk$(this.el);thisEl.find(".js-pull").on("click",function(){thisEl.toggleClass("show-content");bk$(document).on("click.ecombasket",function(evt){if(!bk$(evt.target).closest(".ecombasket").length){thisEl.toggleClass("show-content");bk$(document).off("click.ecombasket")}})});thisEl.find(".js-remove").on("click",function(e){that.removeItem(bk$(e.target).attr("data-ref"))})},updateBasket:function(cart){this.set("items",cart.items,true);this.set("itemCount",cart.itemCount,true);this.set("subTotal",cart.subTotal,true);this.set("subTotalInclTax",cart.subTotalInclTax,true);this.rerender()},removeItem:function(ref){bk$.ajax({method:"POST",url:"/store/cart/remove-item",data:{productVariantRef:ref}}).done(function(response){Globals.notifyHooks("ecom.basket.changed",response)})}};BaseKit.Widget.Ecombasket=function(){var o=new BaseKit.WidgetCore(this,arguments,{properties:BaseKit.Widget.EcombasketProperties,methods:BaseKit.Widget.EcombasketMethods})};bk$.fn.basekitWidgetEcombasket=function(options){this.each(function(index,el){bk$(el).data("bkob",new BaseKit.Widget.Ecombasket(el,options))})}})();(function(){BaseKit.Widget.Ecombasketsummary=null;BaseKit.Widget.EcombasketsummaryProperties={sitePrimaryDomain:Server.app.mode!=="edit"?Server.desktopSite.getPrimaryDomain():null};BaseKit.Widget.EcombasketsummaryMethods={construct:function(el,options){this.options=options;if(!Server.plugins.ecommerce){return}this.load()},load:function(){var that=this;Globals.addHook("ecom.basket.changed",this,function(cart){that.updateBasketSummary(cart)});this.attachEvents();this.set("emptyItems",this.getEmptyItems(Server.plugins.ecommerce.cart.items),true)},attachEvents:function(){var that=this;bk$(this.el).find(".js-add").off("click").on("click",function(e){that.addItem(bk$(this).data("ref"))});bk$(this.el).find(".js-remove").off("click").on("click",function(e){that.removeItem(bk$(this).data("ref"))})},updateBasketSummary:function(cart){cart.items=_.union(cart.items,this.get("emptyItems"));this.set("items",cart.items,true);this.set("itemCount",cart.itemCount,true);this.set("subTotal",cart.subTotal,true);this.set("subTotalInclTax",cart.subTotalInclTax,true);this.rerender()},removeItem:function(ref){var that=this;bk$.ajax({method:"POST",url:"/store/cart/remove-item",data:{productVariantRef:ref}}).done(function(response){that.removeEmptyItem(ref);Globals.notifyHooks("ecom.basket.changed",response)})},addItem:function(ref){bk$(this.el).find(".js-add").attr("disabled",true);bk$.ajax({method:"POST",url:"/store/cart/add-item",data:{productVariantRef:ref}}).done(function(response){Globals.notifyHooks("ecom.basket.changed",response)})},removeEmptyItem:function(ref){var emptyItems=_.filter(this.get("emptyItems"),function(item){return item.ref!==ref});this.set("emptyItems",emptyItems,true)},getEmptyItems:function(items){return _.filter(items,function(item){return item.quantity===0})}};BaseKit.Widget.Ecombasketsummary=function(){var o=new BaseKit.WidgetCore(this,arguments,{properties:BaseKit.Widget.EcombasketsummaryProperties,methods:BaseKit.Widget.EcombasketsummaryMethods})};bk$.fn.basekitWidgetEcombasketsummary=function(options){this.each(function(index,el){bk$(el).data("bkob",new BaseKit.Widget.Ecombasketsummary(el,options))})}})();(function(){BaseKit.Widget.Ecomcategorieslist=null;BaseKit.Widget.EcomcategorieslistProperties={title:App.t("widgets.ecomcategorieslist.default_title","Categories"),showCount:true};BaseKit.Widget.EcomcategorieslistMethods={construct:function(el,options){}};BaseKit.Widget.Ecomcategorieslist=function(){var o=new BaseKit.WidgetCore(this,arguments,{properties:BaseKit.Widget.EcomcategorieslistProperties,methods:BaseKit.Widget.EcomcategorieslistMethods})};bk$.fn.basekitWidgetEcomcategorieslist=function(options){this.each(function(index,el){bk$(el).data("bkob",new BaseKit.Widget.Ecomcategorieslist(el,options))})}})();(function(){BaseKit.Widget.Ecomconfirmation=null;BaseKit.Widget.EcomconfirmationProperties={};BaseKit.Widget.EcomconfirmationMethods={construct:function(el,options){this.options=options;this.load()},load:function(){this.clearCart()},clearCart:function(){window.localStorage.removeItem("cart")}};BaseKitLine truncated
methods:BaseKit.Widget.LinkedinprofileMethods})};bk$.fn.basekitWidgetLinkedinprofile=function(options){this.each(function(index,el){bk$(el).data("bkob",new BaseKit.Widget.Linkedinprofile(el,options))})}})();(function(){BaseKit.Widget.Logo=null;BaseKit.Widget.LogoProperties={};BaseKit.Widget.LogoMethods={construct:function(el,options){this.options=options;this.load()},load:function(){}};BaseKit.Widget.Logo=function(){var o=new BaseKit.WidgetCore(this,arguments,{properties:BaseKit.Widget.LogoProperties,methods:BaseKit.Widget.LogoMethods})};bk$.fn.basekitWidgetLogo=function(options){this.each(function(index,el){var obj=null;obj=new BaseKit.Widget.Logo(el,options);bk$(el).data("bkob",obj)})}})();(function(){BaseKit.Widget.Map={};BaseKit.Widget.MapProperties={zoom:12,zoomControl:true,height:150,address:"profile",markerPath:"/apps/images/mobile/map-marker.png"};BaseKit.Widget.MapMethods={construct:function(el,options){this.gmap=null;this.marker=null;if(window.mapReady===undefined){window.mapReady=function(){Site.Page.Globals.mapsAPILoaded=true}}if(Site.Page.Globals.mapsAPILoaded===undefined||Site.Page.Globals.mapsAPILoaded===null){Site.Page.Globals.mapsAPILoaded=false}this.load()},load:function(){var t=false,that=this,script;this.onResize=function(){if(t!==false){clearTimeout(t)}t=setTimeout(function(){that.resetMap()},300)};bk$(window).on("resize.map",this.onResize);if(Site.Page.Globals.mapsAPILoaded===false&&bk$("#gmaps-widget-script").length===0){script=document.createElement("script");script.type="text/javascript";script.id="gmaps-widget-script";script.src="https://maps.google.com/maps/api/js?sensor=false&callback=mapReady&language="+App.session.get("languageCode");document.body.appendChild(script)}this.isMapReady()},getProfileAddress:function(){return[Profile.get("address"),Profile.get("address1"),Profile.get("address2"),Profile.get("postalcode")].filter(function(element,index){if(typeof element==="string"){return!!element.trim()}return false}).join(", ")},isMapReady:function(){var that=this;if(Site.Page.Globals.mapsAPILoaded===false){setTimeout(function(){that.isMapReady()},100)}else{this.findAndSetAddress({source:"profile",value:this.getProfileAddress()},this.setupMap,this)}},setupMap:function(){var mapOptions={zoom:parseInt(this.get("zoom"),10),center:new google.maps.LatLng(parseFloat(this.get("mapLatitude"),10),parseFloat(this.get("mapLongitude"),10)),scaleControl:false,mapTypeControl:false,overviewMapControl:false,zoomControl:!!this.get("zoomControl"),zoomControlOptions:{style:google.maps.ZoomControlStyle.DEFAULT},panControl:false,mapTypeId:google.maps.MapTypeId.ROADMAP};bk$(this.el).find(".js-map").height(this.get("height"));this.gmap=new google.maps.Map(bk$(this.el).find(".js-map").get(0),mapOptions);this.resetMap()},resetMap:function(){if(this.gmap!==null&&Site.Page.Globals.mapsAPILoaded===true){if(this.get("mapLatitude")===null||this.get("mapLongitude")===null){this.findAndSetAddress({source:"profile",value:this.getProfileAddress()},this.loadMap,this)}else{this.loadMap()}}},loadMap:function(){var newCenter=null;bk$(this.el).find(".js-map").height(this.get("height"));newCenter=new google.maps.LatLng(parseFloat(this.get("mapLatitude"),10),parseFloat(this.get("mapLongitude"),10));this.gmap.setZoom(parseInt(this.get("zoom"),10));this.gmap.setCenter(newCenter);this.createMapMarker(parseFloat(this.get("mapLatitude"),10),parseFloat(this.get("mapLongitude"),10),false)},createMapMarker:function(latitude,longitude,draggable){var icon=new google.maps.MarkerImage(App.session.get("assetBaseUrl")+this.get("markerPath"),new google.maps.Size(32,32),null,new google.maps.Point(16,32),new google.maps.Size(32,32));if(this.marker===null){this.marker=new google.maps.Marker({icon:icon,bouncy:true,draggable:false,autoPan:true,position:new google.maps.LatLng(latitude,longitude)});this.marker.setMap(this.gmap)}else{this.marker.setMap(null);this.marker.draggable=draggable||false;this.marker.setPosition(new google.maps.LatLng(latitude,longitude));this.marker.setMap(this.gmap)}},findAndSetAddress:function(address,callback,scope){if(typeof address==="undefined"||typeof address!=="object"){throw new Error("findAddress param address error")}if(typeof scope==="undefined"||typeof scope!=="object"){throw new Error("findAddress scope callback error")}var that=this,geoOptions={address:null,region:"ISO 3166-1"},results={};if(!this.geocoder){this.geocoder=new google.maps.Geocoder}geoOptions.address=address.value||"";this.geocoder.geocode(geoOptions,function(result,status){if(status===google.maps.GeocoderStatus.OK&&result.length){results={latitude:result[0].geometry.location.lat(),longitude:result[0].geometry.location.lng()}}results.address="profile";results.postalcode=address.value;that.setAddress(results);if(typeof callback==="function"){callback.apply(scope,[results])}else if(typeof callback==="object"){bk$.each(callback,function(i,afunc){if(typeof afunc==="function"){afunc.apply(scope,[results])}})}})},setAddress:function(results){ifLine truncated
})};bk$.fn.basekitWidgetSoundcloud=function(options){this.each(function(index,el){bk$(el).data("bkob",new BaseKit.Widget.Soundcloud(el,options))})}})();(function(){BaseKit.Widget.Space={};BaseKit.Widget.SpaceProperties={height:"50"};BaseKit.Widget.SpaceMethods={construct:function(el,options){this.options=options;this.load()},load:function(){}};BaseKit.Widget.Space=function(){var o=new BaseKit.WidgetCore(this,arguments,{properties:BaseKit.Widget.SpaceProperties,methods:BaseKit.Widget.SpaceMethods})};bk$.fn.basekitWidgetSpace=function(options){this.each(function(index,el){bk$(el).data("bkob",new BaseKit.Widget.Space(el,options))})}})();(function(){BaseKit.Widget.Tweet=null;BaseKit.Widget.TweetProperties={linkText:App.t("widgets.tweet.default_link_text","Tweet"),align:""};BaseKit.Widget.TweetMethods={construct:function(el,options){this.options=options;this.load()},load:function(){}};BaseKit.Widget.Tweet=function(){var o=new BaseKit.WidgetCore(this,arguments,{properties:BaseKit.Widget.TweetProperties,methods:BaseKit.Widget.TweetMethods})};bk$.fn.basekitWidgetTweet=function(options){this.each(function(index,el){bk$(el).data("bkob",new BaseKit.Widget.Tweet(el,options))})}})();(function(){BaseKit.Widget.Twitter=null;BaseKit.Widget.TwitterProperties={count:"3",refreshTime:"1800000",includeRts:"1",searchKey:"profile",searchType:"username",defaultSearchKey:"basekit"};BaseKit.Widget.TwitterMethods={construct:function(){this.refreshInterval="";this.load()},load:function(){this.refreshTimeline();this.getUpdateTwitterFeed()},refreshTimeline:function(){var that=this,refreshTime=this.get("refreshTime")>0?parseInt(this.get("refreshTime"),10):18e5;if(this.refreshInterval!==""){window.clearInterval(this.refreshInterval);this.refreshInterval=""}this.refreshInterval=window.setInterval(function(){try{that.getUpdateTwitterFeed()}catch(err){clearInterval(that.refreshInterval);console.log(err)}},refreshTime)},getUpdateTwitterFeed:function(){var that=this,url="/_bk/fetch-feed",createdDate=null,tweetData=[],data={count:this.get("count")>0?this.get("count"):3,includeRts:this.get("includeRts")!==null?this.get("includeRts"):true,searchKey:this.get("searchType")==="username"?Profile.get("twitter"):this.get("searchKey"),searchType:this.get("searchType")};if(this.get("searchKey")==="profile"&&(Profile.get("twitter")===null||Profile.get("twitter").length===0)||(this.get("searchKey")===null||this.get("searchKey").length===0)){data.searchKey=this.get("defaultSearchKey")}bk$.ajax({url:url,type:"POST",data:data,beforeSend:function(){that.el.find(".js-twitter").html("<li>"+App.t("widgets.twitter.retrieving_tweets","Retrieving Tweets")+"</li>")}}).done(function(response,status){bk$.each(response,function(){createdDate=this.created_at;createdDate=createdDate.split(" ");tweetData.push({screenName:this.user.screen_name,createdAt:createdDate[2]+" "+createdDate[1]+" "+createdDate[5],fullName:this.user.name,imageUrl:this.user.profile_image_url,source:this.source,text:this.text,retweetUser:this.retweetUser})});that.set("tweets",tweetData,true);that.rerender()}).fail(function(){that.set("tweets",[],true);that.rerender()})}};BaseKit.Widget.Twitter=function(){var o=new BaseKit.WidgetCore(this,arguments,{properties:BaseKit.Widget.TwitterProperties,methods:BaseKit.Widget.TwitterMethods})};bk$.fn.basekitWidgetTwitter=function(options){this.each(function(){bk$(this).data("bkob",new BaseKit.Widget.Twitter(this,options))})}})();(function(){BaseKit.Widget.Userlogin=null;BaseKit.Widget.UserloginProperties={align:"",email:"profile",text:App.t("widgets.userlogin.default_button_text","Login"),allowPersistentLogin:true};BaseKit.Widget.UserloginMethods={construct:function(el,options){this.load()},load:function(){var persist=window.localStorage.getItem("bk.widgets.login.persist");if(bk$(this.el).find(".js-persist-login").length&&persist==="false"){bk$(this.el).find(".js-persist-login").prop("checked",false)}this.attachEvents()},showOverlay:function(message){message=message||"message";var thisEl=bk$(this.el),overlayEl=thisEl.find(".js-overlay");overlayEl.find(".message").html(message).end().show();bk$(this.el).find("form button.js-userloginbtn").attr("disabled",true)},hideOverlay:function(){var thisEl=bk$(this.el),overlayEl=thisEl.find(".js-overlay");overlayEl.hide().find(".js-message").empty();thisEl.find("form button.js-userloginbtn").attr("disabled",false)},attachEvents:function(){var that=this,thisEl=bk$(this.el),persistEl=thisEl.find(".js-persist-login"),errors=[],postData={};thisEl.find("form").on("submit",function(e){e.preventDefault();that.hideOverlay();errors=[];postData={password:thisEl.find("input[type='password']").val(),auth_token:null};if(thisEl.find("input.js-username-input").length){postData.username=thisEl.find("input.js-username-input").val()}else{postData.email=thisEl.find("input[type='email']").val()}if(persistEl.length){that.storePersistPreference(persistEl.is(":checked"));if(persistEl.is(":checked")){postData.persistLogin=true}}thisEl.find("p.errorLine truncated
+4
View File
@@ -0,0 +1,4 @@
Sitemap: http://dubuval.dubuget.fr/sitemap.xml
User-agent: *
Crawl-Delay: 300
+1021
View File
File diff suppressed because it is too large. Load diff
+2
View File
@@ -0,0 +1,2 @@
<?xml version="1.0" encoding="UTF-8"?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd"><sitemap><loc>http://dubuval.dubuget.fr/sitemap_pages.xml</loc></sitemap></sitemapindex>
+2
View File
@@ -0,0 +1,2 @@
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd"><url><loc>http://dubuval.dubuget.fr/</loc><lastmod>2016-01-23T11:38:31+00:00</lastmod><changefreq>monthly</changefreq><priority>1.0</priority></url></urlset>
+1
View File
@@ -0,0 +1 @@
App.i18n['widgets'] = {"advancedcontactform.add_field":"Ajouter un champ personnalis\u00e9 ","advancedcontactform.add_option":"Ajouter une autre option","advancedcontactform.back":"Retour","advancedcontactform.btntext":"Texte du bouton","advancedcontactform.checkbox":"Case \u00e0 cocher","advancedcontactform.dropdown":"Faire d\u00e9filer vers le bas","advancedcontactform.email_label":"Adresse email","advancedcontactform.email_title":"Titre de l'email","advancedcontactform.error_changeemail_no_value":"Widget de formulaire de contact - premi\u00e8re erreur de param\u00e8tre changementEmail : en attente du param\u00e8tre \u201cvaleur\u201c","advancedcontactform.error_changefontsize_no_size":"Widget de formulaire de contact - erreur de param\u00e8tre changementTaillePolice: en attente d\u2019une valeur","advancedcontactform.error_changeFormTitle_no_value":"Widget de formulaire de contact - premier param\u00e8tre d\u2019erreur changeFormTitle: en attente du param\u00e8tre \u2019valeur\u2019","advancedcontactform.error_changegoallink_no_source":"Widget de formulaire de contact avanc\u00e9 - second param\u00e8tre d\u2019erreur changeGoalLink: en attente du param\u00e8tre \u2019source\u2019","advancedcontactform.error_changegoallink_no_value":"Premi\u00e8re erreur de param\u00e8tre changementCibleLien: en attente du param\u00e8re \u201cvaleur\u201c ","advancedcontactform.error_changegoallink_source_wrong":"Widget de formulaire de contact avanc\u00e9 - Seconde erreur de param\u00e8tre changementCibleLien: en attente des param\u00e8tres \u201cprofil\u201c et \u201cpersonnalis\u00e9\u201c ","advancedcontactform.error_changetextstyle_no_style":"Widget de formulaire de contact - erreur de param\u00e8tre changementStyleTexte: en attente de \u201cStyle\u201c","advancedcontactform.error_changetextstyle_style_wrong":"Widget de formulaire de contact avanc\u00e9 - erreur de param\u00e8tre changementStyleTexte : en attente de \u201cgras\u201c ou \u201citalique\u201c","advancedcontactform.error_changetext_no_btntext":"Widget de formulaire de contact avanc\u00e9 - Erreur de param\u00e8tre de changement Texte: en attente du param\u00e8re \u201cbtnTexte\u201c ","advancedcontactform.error_changetext_no_fieldText":"Widget de formulaire de contact avanc\u00e9 - erreur de param\u00e8tre changementTexte : en attente du param\u00e8tre \u201cchampTexte\u201c","advancedcontactform.error_changetext_no_fieldType":"Widget de formulaire de contact avanc\u00e9 - erreur de param\u00e8tre changementTexte: en attente du param\u00e8tre \u201ctypeChamp\u201c","advancedcontactform.error_changetext_no_optionText":"Widget de formulaire de contact avanc\u00e9 - erreur de param\u00e8tre de l\u2019option texte: en attente du param\u00e8tre \u201cOption Texte\u201c","advancedcontactform.error_invalidemail":"Exemple: monnom@gmail.com","advancedcontactform.error_invalidgoal":"Exemple: http:\/\/mapage.com","advancedcontactform.error_invalidtext":"Entr\u00e9e vide","advancedcontactform.field_label":"Type de champ ","advancedcontactform.field_text":"Texte du champ","advancedcontactform.field_title":"Texte du champ","advancedcontactform.goal_label":"Page de confirmation","advancedcontactform.multi_line":"Champ \u00e0 lignes multiples","advancedcontactform.option_1":"Option 1","advancedcontactform.radio_button":"Bouton de radio","advancedcontactform.single_line":"Champ \u00e0 ligne simple","advancedcontactform.title":"Formulaire de contact avanc\u00e9","blogpost.edit":"Editer les articles du blog","blogpost.share_facebook":"Partager sur Facebook","blogpost.share_google_plus":"Partager sur Google+","blogpost.showicons":"Afficher les Ic\u00f4nes de partage","blogpost.title":"Article du blog","blogpost.tweet":"Partager sur Twitter","blogpostlist.appearance":"Apparence","blogpostlist.menu-button":"Editer les articles du blog","blogpostlist.post_display_type":"Type d'affichage de l'article post\u00e9","blogpostlist.post_display_type_full":"Afficher l'article post\u00e9 au complet ","blogpostlist.post_display_type_summary":"R\u00e9sum\u00e9 de l'article","blogpostlist.read_more":"En savoir plus","blogpostlist.title":"Liste des articles","blogposttags.title":"Mots-cl\u00e9s du Blog ","blogsearch.label":"Rechercher des articles","blogsearch.legend":"Rechercher le blog","blogsearch.placeholder":"Rechercher le terme","blogsearch.submit":"Rechercher","blogsearch.title":"Rechercher dans le Blog","blogtitle.default_text":"Titre du Blog","blogtitle.title":"Titre du Blog","blogtitle.titletext":"Titre du texte","button.default_text":"Bouton ","button.text_placeholder":"Exemple: \u00c0 propos","button.title":"Bouton ","buynow.account":"Compte","buynow.brand":"Marque","buynow.buy_now":"Acheter maintenant","buynow.currency":"Devise","buynow.failed":"Nous n'avons pas pu cr\u00e9er votre compte. Merci de contacter le service technique.","buynow.first_name":"Pr\u00e9nom","buynow.hide":"Cacher","buynow.last_name":"Nom","buynow.maintenance_copy1":"Nous avons besoin de temps en tempLine truncated
+3
View File
@@ -0,0 +1,3 @@
goog.provide("widget_buynow");goog.require("twig");goog.require("twig.filter");widget_buynow=function(env){twig.Template.call(this,env)};twig.inherits(widget_buynow,twig.Template);widget_buynow.prototype.getParent_=function(context){return false};widget_buynow.prototype.render_=function(sb,context,blocks){if(twig.attr("app"in context?context["app"]:null,"maintenance")){sb.append(' <div class="maintenance-mode js-maintenance">\n <h1 class="buynow-form__maintenance-title">');sb.append(twig.filter.escape(this.env_,App.t("widgets.buynow.maintenance_title","We’re temporarily offline for maintenance"),"html",null,true));sb.append('</h1>\n <p class="buynow-form__maintenance-copy">');sb.append(twig.filter.escape(this.env_,App.t("widgets.buynow.maintenance_copy1","Every now and then we have to disable access to the editor whilst we make improvements to speed things up for yourself and visitors to your site."),"html",null,true));sb.append('</p>\n <p class="buynow-form__maintenance-copy">');sb.append(twig.filter.escape(this.env_,App.t("widgets.buynow.maintenance_copy2","These upgrades are usually pretty quick, so we’ll be back up soon!"),"html",null,true));sb.append("</p>\n </div>\n")}else{sb.append(" ");context["freePackage"]=false;sb.append(" ");if(twig.attr("data"in context?context["data"]:null,"packageData")&&twig.attr(twig.attr("data"in context?context["data"]:null,"packageData"),"price")=="0.00"){sb.append(" ");context["freePackage"]=true;sb.append(" ")}sb.append(' <form class="widget-buynow-container">\n <ul class="widget-buynow-container-list">\n <li>\n <span class="widget-buynow-title">');sb.append(twig.filter.escape(this.env_,App.t("widgets.buynow.your_detials","Your details"),"html",null,true));sb.append("</span>\n\n ");if(twig.attr("data"in context?context["data"]:null,"showNames")==true){sb.append(' <div>\n <label title="');sb.append(twig.filter.escape(this.env_,App.t("widgets.buynow.first_name","First name"),"html",null,true));sb.append('">');sb.append(twig.filter.escape(this.env_,App.t("widgets.buynow.first_name","First name"),"html",null,true));sb.append('</label>\n <input type="text" name="firstname" class="widget-buynow-first-name js-input-buynow-first-name" title=');sb.append(twig.filter.escape(this.env_,App.t("widgets.buynow.first_name","First name"),"html",null,true));sb.append(' placeholder="');sb.append(twig.filter.escape(this.env_,App.t("widgets.buynow.first_name","First name"),"html",null,true));sb.append("\">\n <span class='filed-error-firstName errors'></span>\n </div>\n <div>\n <label title=\"");sb.append(twig.filter.escape(this.env_,App.t("widgets.buynow.last_name","Last name"),"html",null,true));sb.append('">');sb.append(twig.filter.escape(this.env_,App.t("widgets.buynow.last_name","Last name"),"html",null,true));sb.append('</label>\n <input type="text" name="lastname" class="widget-buynow-last-name js-input-buynow-last-name" title="');sb.append(twig.filter.escape(this.env_,App.t("widgets.buynow.last_name","Last name"),"html",null,true));sb.append('" placeholder="');sb.append(twig.filter.escape(this.env_,App.t("widgets.buynow.last_name","Last name"),"html",null,true));sb.append("\">\n <span class='filed-error-lastName errors'></span>\n </div>\n ")}sb.append('\n <div>\n <label title="');sb.append(twig.filter.escape(this.env_,App.t("widgets.buynow.account","Account"),"html",null,true));sb.append('">');sb.append(twig.filter.escape(this.env_,App.t("widgets.buynow.account","Account"),"html",null,true));sb.append('</label>\n <input type="email" name="Account" class="widget-buynow-email bk-standard-input js-input-buynow-email" title="');sb.append(twig.filter.escape(this.env_,App.t("widgets.buynow.account","Account"),"html",null,true));sb.append('" placeholder="me@example.com">\n <span class=\'filed-error-email errors\'></span>\n </div>\n <div>\n <label title="');sb.append(twig.filter.escape(this.env_,App.t("widgets.buynow.password","Password"),"html",null,true));sb.append('">');sb.append(twig.filter.escape(this.env_,App.t("widgets.buynow.password","Password"),"html",null,true));sb.append('</label>\n <input type="password" class="password js-input-password" title="');sb.append(twig.filter.escape(this.env_,App.t("widgets.buynow.password","Password"),"html",null,true));sb.append('" placeholder="');sb.append(twig.filter.escape(this.env_,App.t("widgets.buynow.password","Password"),"html",null,true));sb.append('">\n <span class=\'filed-error-password errors\'></span>\n <button class="password-mask-toggle Line truncated
}sb.append(' <tr>\n <td></td>\n <td></td>\n <td class="basket-summary-subtotal">');sb.append(twig.filter.escape(this.env_,App.t("widgets.ecombasketsummary.subtotal","Subtotal: %1","subTotal"in context?context["subTotal"]:null),"html",null,true));sb.append('</td>\n </tr>\n </tbody>\n </table>\n\n <form action="');sb.append(twig.filter.escape(this.env_,twig.attr(twig.attr(twig.attr("plugins"in context?context["plugins"]:null,"ecommerce"),"cart"),"checkoutUrl"),"html",null,true));sb.append('" method="POST">\n ');context["sitePrimaryDomain"]=twig.attr("data"in context?context["data"]:null,"sitePrimaryDomain")?twig.attr("data"in context?context["data"]:null,"sitePrimaryDomain"):"sitePrimaryDomain"in context?context["sitePrimaryDomain"]:null;sb.append('\n <input type="hidden" name="cartId" value="');sb.append(twig.filter.escape(this.env_,twig.attr(twig.attr(twig.attr("plugins"in context?context["plugins"]:null,"ecommerce"),"cart"),"id"),"html",null,true));sb.append('">\n <input type="hidden" name="storeRef" value="');sb.append(twig.filter.escape(this.env_,twig.attr(twig.attr(twig.attr("plugins"in context?context["plugins"]:null,"ecommerce"),"store"),"ref"),"html",null,true));sb.append('">\n <input type="hidden" name="storeUrl" value="');sb.append(twig.filter.escape(this.env_,twig.attr("app"in context?context["app"]:null,"protocol"),"html",null,true));sb.append("://");sb.append(twig.filter.escape(this.env_,"sitePrimaryDomain"in context?context["sitePrimaryDomain"]:null,"html",null,true));sb.append('/store">\n\n ');context["purchaseDisabled"]=twig.attr("app"in context?context["app"]:null,"mode")!="published";sb.append(" ");context["itemCount"]=twig.attr("data"in context?context["data"]:null,"itemCount",undefined,undefined,true)?twig.attr("data"in context?context["data"]:null,"itemCount"):twig.attr(twig.attr(twig.attr("plugins"in context?context["plugins"]:null,"ecommerce"),"cart"),"itemCount");sb.append(" ");if(("itemCount"in context?context["itemCount"]:null)<1){sb.append(" ");context["purchaseDisabled"]=true;sb.append(" ")}sb.append('\n <button class="btn basket-summary-submit" type="submit"');if("purchaseDisabled"in context?context["purchaseDisabled"]:null){sb.append(" disabled")}sb.append(">\n ");sb.append(twig.filter.escape(this.env_,App.t("widgets.ecombasketsummary.submit","Proceed to checkout"),"html",null,true));sb.append("\n </button>\n </form>\n ")}else{sb.append(' <p class="basket-summary-empty-copy">');sb.append(twig.filter.escape(this.env_,App.t("widgets.ecombasketsummary.empty","Your basket is empty!"),"html",null,true));sb.append('</p>\n <a class="basket-summary-empty-cta btn" href="');sb.append(twig.filter.escape(this.env_,"requestBase"in context?context["requestBase"]:null,"html",null,true));sb.append('/store">');sb.append(twig.filter.escape(this.env_,App.t("widgets.ecombasketsummary.empty_cta","Continue shopping"),"html",null,true));sb.append("</a>\n ")}sb.append("\n")}else{sb.append("\n ");if(twig.filter.length(this.env_,twig.attr(twig.attr(twig.attr("plugins"in context?context["plugins"]:null,"ecommerce"),"store"),"email"))>0){sb.append(" <p>");sb.append(twig.filter.escape(this.env_,App.t("widgets.ecombasketsummary.nopayment_available","This store doesn't currently support taking payments. Please contact the store owner at %1.",twig.attr(twig.attr(twig.attr("plugins"in context?context["plugins"]:null,"ecommerce"),"store"),"email")),"html",null,true));sb.append("</p>\n ")}else{sb.append(" <p>");sb.append(twig.filter.escape(this.env_,App.t("widgets.ecombasketsummary.nopayment_available_general","This store doesn't currently support taking payments."),"html",null,true));sb.append("</p>\n ")}sb.append("\n")}};widget_ecombasketsummary.prototype.getTemplateName=function(){return"widget_ecombasketsummary"};widget_ecombasketsummary.prototype.isTraitable=function(){return false};goog.provide("widget_ecomproduct");goog.require("twig");goog.require("twig.filter");widget_ecomproduct=function(env){twig.Template.call(this,env)};twig.inherits(widget_ecomproduct,twig.Template);widget_ecomproduct.prototype.getParent_=function(context){return false};widget_ecomproduct.prototype.render_=function(sb,context,blocks){if(!(null===twig.attr(twig.attr("plugins"in context?context["plugins"]:null,"ecommerce"),"product"))){sb.append(" ");context["store"]=twig.attr(twig.attr("plugins"in context?context["plugins"]:null,"ecommerce"),"store");sb.append(" ");context["product"]=!twig.attr("data"in context?context["data"]:null,"product",undefined,undefined,true)?twig.attr(twig.attr("plugins"in context?context["plugins"]:null,"ecommerce"),"product"):twig.attr("data"in context?context["data"]:null,"product");sb.append(" ");coLine truncated
sb.append(' <span class="bk-profile-business">');if(twig.filter.length(this.env_,twig.attr("data"in context?context["data"]:null,"business"))>0&&twig.attr("data"in context?context["data"]:null,"business")!="profile"){sb.append(twig.filter.escape(this.env_,twig.attr("data"in context?context["data"]:null,"business"),"html",null,true))}else{sb.append(twig.filter.escape(this.env_,twig.attr("profile"in context?context["profile"]:null,"business"),"html",null,true));sb.append(" ")}sb.append("</span>\n ")}else if(twig.attr("app"in context?context["app"]:null,"mode")!="published"&&twig.attr("app"in context?context["app"]:null,"mode")!="site-preview"){sb.append(' <span class="bk-profile-business">');sb.append(twig.filter.escape(this.env_,App.t("widgets.profile.nobusiness","No business"),"html",null,true));sb.append("</span>\n ")}}sb.append("\n");if(twig.attr("data"in context?context["data"]:null,"profileType")=="copyright"){sb.append(" ");if(twig.attr("data"in context?context["data"]:null,"copyright")!="profile"&&twig.filter.length(this.env_,twig.attr("data"in context?context["data"]:null,"copyright"))>0||twig.filter.length(this.env_,twig.attr("profile"in context?context["profile"]:null,"copyright"))>0){sb.append(' <span class="bk-profile-copyright">');if(twig.filter.length(this.env_,twig.attr("data"in context?context["data"]:null,"copyright"))>0&&twig.attr("data"in context?context["data"]:null,"copyright")!="profile"){sb.append(twig.filter.escape(this.env_,twig.attr("data"in context?context["data"]:null,"copyright"),"html",null,true))}else{sb.append(twig.filter.escape(this.env_,twig.attr("profile"in context?context["profile"]:null,"copyright"),"html",null,true));sb.append(" ")}sb.append("</span>\n ")}else if(twig.attr("app"in context?context["app"]:null,"mode")!="published"&&twig.attr("app"in context?context["app"]:null,"mode")!="site-preview"){sb.append(' <span class="bk-profile-copyright">');sb.append(twig.filter.escape(this.env_,App.t("widgets.profile.nocopyright","No copyright"),"html",null,true));sb.append("</span>\n ")}}sb.append("\n");if(twig.attr("data"in context?context["data"]:null,"profileType")=="twitter"){sb.append('<ul class="twitter js-twitter">\n\n');if(twig.filter.length(this.env_,twig.attr("data"in context?context["data"]:null,"tweets"))>0){sb.append(" ");context["tweet"]=twig.attr(twig.attr("data"in context?context["data"]:null,"tweets"),0,undefined,"array");sb.append(' <li>\n <div class="twitter-profile-pic">\n <a href="https://twitter.com/');sb.append(twig.filter.escape(this.env_,twig.attr("tweet"in context?context["tweet"]:null,"screenName"),"html",null,true));sb.append('" target="_blank">\n <img alt="');sb.append(twig.filter.escape(this.env_,twig.attr("tweet"in context?context["tweet"]:null,"fullName"),"html",null,true));sb.append('" title="');sb.append(twig.filter.escape(this.env_,twig.attr("tweet"in context?context["tweet"]:null,"fullName"),"html",null,true));sb.append('" data-screename="');sb.append(twig.filter.escape(this.env_,twig.attr("tweet"in context?context["tweet"]:null,"screenName"),"html",null,true));sb.append('" src="');sb.append(twig.filter.escape(this.env_,twig.attr("tweet"in context?context["tweet"]:null,"imageUrl"),"html",null,true));sb.append('">\n </a>\n </div>\n\n <div class="twitter-content">\n <a href="https://twitter.com/');sb.append(twig.filter.escape(this.env_,twig.attr("tweet"in context?context["tweet"]:null,"screenName"),"html",null,true));sb.append('" target="_blank">\n <span class="bk-full-name"> ');sb.append(twig.filter.escape(this.env_,twig.attr("tweet"in context?context["tweet"]:null,"fullName"),"html",null,true));sb.append(" </span>\n </a>\n <p> ");sb.append(twig.attr("tweet"in context?context["tweet"]:null,"text"));sb.append(' </p>\n <time class="created_at" data-value="');sb.append(twig.filter.escape(this.env_,twig.attr("tweet"in context?context["tweet"]:null,"createdAt"),"html",null,true));sb.append('"> ');sb.append(twig.filter.escape(this.env_,twig.attr("tweet"in context?context["tweet"]:null,"createdAt"),"html",null,true));sb.append(" </time>\n <span> ");sb.append(twig.filter.escape(this.env_,App.t("widgets.twitter.via","via"),"html",null,true));sb.append(" </span>\n <span> ");sb.append(twig.attr("tweet"in context?context["tweet"]:null,"source"));sb.append(" </span>\n </div>\n </li>\n</ul>\n")}else{sb.append("<p>");sb.append(twig.filter.escape(this.env_,App.t("widgets.twitter.message","Retrieving tweets"),"html",null,true));sb.append(".</p>\n")}}sb.append("\n\n");if(twig.attr("data"in context?context["data"]:null,"profileType")=="map"){sb.append('<div class="map js-map"></div>\n')}sb.append("\n\n");if(twig.attr("data"in context?context["data"]:null,"profileType")=="form"){sb.append('<form action="" method="post" class="js-form">\n <fieldset>\n <div class="form-group"> ');sb.append('\n <label for="profileform-email">');sb.append(twig.filter.escape(this.env_,App.Line truncated