1Drupal.locale = { 'pluralFormula': function ($n) { return Number(($n>1)); }, 'strings': {"":{"An AJAX HTTP error occurred.":"Une erreur HTTP AJAX s\u0027est produite.","HTTP Result Code: !status":"Code de statut HTTP : !status","An AJAX HTTP request terminated abnormally.":"Une requ\u00eate HTTP AJAX s\u0027est termin\u00e9e anormalement.","Debugging information follows.":"Informations de d\u00e9bogage ci-dessous.","Path: !uri":"Chemin : !uri","StatusText: !statusText":"StatusText: !statusText","ResponseText: !responseText":"ResponseText : !responseText","ReadyState: !readyState":"ReadyState : !readyState","Translate Text":"Traduire le texte","An HTTP error @status occured.":"Une erreur HTTP @status s\u0027est produite.","Hide":"Masquer","Show":"Afficher","Re-order rows by numerical weight instead of dragging.":"R\u00e9-ordonner les lignes avec des poids num\u00e9riques plut\u00f4t qu\u0027en les d\u00e9pla\u00e7ant.","Show row weights":"Afficher le poids des lignes","Hide row weights":"Cacher le poids des lignes","Drag to re-order":"Cliquer-d\u00e9poser pour r\u00e9-organiser","Changes made in this table will not be saved until the form is submitted.":"Les changements effectu\u00e9s dans ce tableau ne seront pris en compte que lorsque la configuration aura \u00e9t\u00e9 enregistr\u00e9e.","Delete":"Supprimer","Disabled":"D\u00e9sactiv\u00e9","Enabled":"Activ\u00e9","None":"Aucun(e)","Status":"Statut","Edit":"Modifier","Size":"Taille","Center":"Centre","Add":"Ajouter","View":"Voir","Configure":"Configurer","Advanced":"Avanc\u00e9","Operation":"Op\u00e9ration","Left":"Gauche","Right":"Droit","Loading":"En cours de chargement","Context":"Contexte","Next":"Suivant","Remove":"Retirer","Link":"Lien","Required":"Requis","Parent":"Parent","Sunday":"Dimanche","Monday":"Lundi","Tuesday":"Mardi","Wednesday":"Mercredi","Thursday":"Jeudi","Friday":"Vendredi","Saturday":"Samedi","Filename":"Nom du fichier","Refresh":"Actualiser","Done":"Termin\u00e9","N\/A":"NON-RENSEIGN\u00c9","Prev":"Pr\u00e9c.","Mon":"lun","Tue":"mar","Wed":"mer","Thu":"jeu","Fri":"ven","Sat":"sam","Sun":"dim","January":"janvier","February":"F\u00e9vrier","March":"mars","April":"avril","May":"mai","June":"juin","July":"juillet","August":"ao\u00fbt","September":"septembre","October":"octobre","November":"novembre","December":"d\u00e9cembre","Optional":"Facultatif","Allowed HTML tags":"Balises HTML autoris\u00e9es","Select all rows in this table":"S\u00e9lectionner toutes les lignes du tableau","Deselect all rows in this table":"D\u00e9s\u00e9lectionner toutes les lignes du tableau","Today":"Aujourd\u0027hui","Jan":"jan","Feb":"f\u00e9v","Mar":"mar","Apr":"avr","Jun":"juin","Jul":"juil","Aug":"ao\u00fb","Sep":"sep","Oct":"oct","Nov":"nov","Dec":"d\u00e9c","Su":"Di","Mo":"Lu","Tu":"Ma","We":"Me","Th":"Je","Fr":"Ve","Sa":"Sa","Not published":"Non publi\u00e9","Please wait...":"Veuillez patienter...","mm\/dd\/yy":" mm\/dd\/yy","By @name on @date":"Par @name le @date","By @name":"Par @name","Not in menu":"Pas dans le menu","Alias: @alias":"Alias : @alias","No alias":"Aucun alias","New revision":"Nouvelle r\u00e9vision","The changes to these blocks will not be saved until the \u003Cem\u003ESave blocks\u003C\/em\u003E button is clicked.":"N\u0027oubliez pas de cliquer sur \u003Cem\u003EEnregistrer les blocs\u003C\/em\u003E pour confirmer les modifications apport\u00e9es ici.","This permission is inherited from the authenticated user role.":"Ce droit est h\u00e9rit\u00e9e du r\u00f4le de l\u0027utilisateur authentifi\u00e9.","No revision":"Aucune r\u00e9vision","@number comments per page":"@number commentaires par page","Requires a title":"Titre obligatoire","Not restricted":"Non restreint","(active tab)":"(onglet actif)","Not customizable":"Non personnalisable","Restricted to certain pages":"R\u00e9serv\u00e9 \u00e0 certaines pages","The block cannot be placed in this region.":"Le bloc ne peut pas \u00eatre plac\u00e9 dans cette r\u00e9gion.","Hide summary":"Masquer le r\u00e9sum\u00e9","Edit summary":"Modifier le r\u00e9sum\u00e9","Don\u0027t display post information":"Ne pas afficher les informations de la contribution","@title dialog":"dialogue de @title","The selected file %filename cannot be uploaded. Only files with the following extensions are allowed: %extensions.":"Le fichier s\u00e9lectionn\u00e9 %filename ne peut pas \u00eatre transf\u00e9r\u00e9. Seulement les fichiers avec les extensions suivantes sont permis : %extensions.","Autocomplete popup":"Popup d\u0027auto-compl\u00e9tion","Searching for matches...":"Recherche de correspondances...","No redirects":"Aucune redirection","1 redirect":"1 redirection","@count redirects":"@count redirections","Alignment":"Alignement","Remove group":"Supprimer le groupe","Apply (all displays)":"Appliquer (tous les affichages)","Apply (this display)":"Appliquer (cet affichage)","Revert to default":"R\u00e9tablir par d\u00e9faut","+@count":"+@count","-@count":"-@count","Automatic alias":"Alias automatique","Insert this token into your form":"Ins\u00e9rer ce jeton (\u003Cem\u003Etoken\u003C\/em\u003E) dans votre formulaire","First click a text field to insert your tokens into.":"Cliquez d\u0027abord sur un champ de texte pour ins\u00e9rer vos jetons (\u003Cem\u003Etokens\u003C\/em\u003E) dans celui -ci.","Close":"Fermer","Select all children":"S\u00e9lectionner tous les enfants","Unselect all children":"D\u00e9s\u00e9lectionner tous les enfants","Save and New":"Enregistrer et cr\u00e9er un autre","Link Target":"Cible du Lien","Error: could not explain access":"Erreur : impossible d\u0027interpr\u00e9ter l\u0027acc\u00e8s","Select None":"Aucun","Select All":"Tout s\u00e9lectionner","Content can only be inserted into CKEditor in the WYSIWYG mode.":"Le contenu peut seulement \u00eatre ins\u00e9r\u00e9 dans CKEditor en mode WYSIWYG.","Also allow !name role to !permission?":"Autoriser \u00e9galement le r\u00f4le !name \u00e0 !permission ?","Click update to save the configuration":"Cliquer sur \u0022Mettre \u00e0 jour\u0022 pour enregistrer la configuration","Copy":"Copier","Cut":"Couper","Paste":"Coller","Add file":"Ajouter un fichier","Start upload":"D\u00e9marrer le transfert","If you switch views, you will lose your selection.":"Si vous changez les vues, vous allez perdre votre s\u00e9lection.","You need Flash to wat
1ch this video. \u003Ca href=\u0022@flash\u0022\u003EGet Flash\u003C\/a\u003E":"Flash est n\u00e9cessaire pour lire cette vid\u00e9o. \u003Ca href=\u0022@flash\u0022\u003EObtenir Flash\u003C\/a\u003E.","Add files":"Ajouter des fichiers","Select files":"S\u00e9lectionner des fichiers","Stop current upload":"Arr\u00eater le transfert en cours","Start uploading queue":"Commencer le transfert de la file","Uploaded %d\/%d files":"%d\/%d fichiers transf\u00e9r\u00e9s","Drag files here.":"Glisser des fichiers ici.","Init error.":"Erreur lors de l\u0027initialisation.","HTTP Error.":"Erreur HTTP.","Security error.":"Erreur de s\u00e9curit\u00e9.","Generic error.":"Erreur g\u00e9n\u00e9rique.","IO error.":"Erreur d\u0027entr\u00e9es\/sorties.","Stop upload":"Arr\u00eater le transfert","%d files queued":"%d fichiers ajout\u00e9s dans la file","Please wait while your files are being uploaded.":"Veuillez patienter pendant le transfert de vos fichiers.","Available tokens":"Jetons (tokens) disponibles","Loading token browser...":"Chargement de l\u0027explorateur de jetons...","@label: @value":"@label: @value","Using defaults":"Utiliser les param\u00e8tres par d\u00e9faut.","Drop a resource here":"D\u00e9poser une ressource ici","You can\u0027t drop a resource of type %type in this field":"Vous ne pouvez pas d\u00e9poser une ressource du type %type dans ce champ","Scheduled for publishing":"Planifi\u00e9 pour publication","Scheduled for unpublishing":"Planifi\u00e9 pour d\u00e9publication","Not scheduled":"Non planifi\u00e9","Publishing enabled":"Publication activ\u00e9e","Unpublishing enabled":"D\u00e9publication activ\u00e9e","Legend":"L\u00e9gende","Automatic (hide title field)":"Automatique (cache le champ de titre)","Automatic (if title empty)":"Automatique (si le titre est vide)","Date format: @format":"Format de la date : @format","Weight: !weight":"Poids : !weight","Show more":"En afficher plus","Show fewer":"En afficher moins","Edit atom properties":"Modifier l\u0027affichage","Delete atom from textarea":"Retirer de la zone de texte","Downloads":"T\u00e9l\u00e9chargements","Site search":"Recherche du site","On by default with opt out":"Activ\u00e9 par d\u00e9faut avec le refus du suivi","Off by default with opt in":"D\u00e9sactiv\u00e9 par d\u00e9faut avec l\u0027acceptation du suivi","N
1ot tracked":"Non suivi","One domain with multiple subdomains":"Un domaine avec plusieurs sous-domaines","All pages with exceptions":"Toutes les pages avec exceptions","Excepted: @roles":"Except\u00e9 : @roles","A single domain":"Un seul domaine","Universal web tracking opt-out":"Refus global du suivi sur le web","No privacy":"Pas de confidentialit\u00e9","@items enabled":"@items activ\u00e9(s)","Outbound links":"Liens sortants"}} };; 2/*! 3 jQuery ColorBox v1.4.6 - 2013-03-19 4 (c) 2013 Jack Moore - jacklmoore.com/colorbox 5 license: http://www.opensource.org/licenses/mit-license.php 6*/ 7(function(e,t,i){function o(i,o,n){var r=t.createElement(i);return o&&(r.id=et+o),n&&(r.style.cssText=n),e(r)}function n(){return i.innerHeight?i.innerHeight:e(i).height()}function r(e){var t=E.length,i=(j+e)%t;return 0>i?t+i:i}function h(e,t){return Math.round((/%/.test(e)?("x"===t?H.width():n())/100:1)*parseInt(e,10))}function s(e,t){return e.photo||e.photoRegex.test(t)}function l(e,t){return e.retinaUrl&&i.devicePixelRatio>1?t.replace(e.photoRegex,e.retinaSuffix):t}function a(e){"contains"in v[0]&&!v[0].contains(e.target)&&(e.stopPropagation(),v.focus())}function d(){var t,i=e.data(O,Z);null==i?(z=e.extend({},Y),console&&console.log&&console.log("Error: cboxElement missing settings object")):z=e.extend({},i);for(t in z)e.isFunction(z[t])&&"on"!==t.slice(0,2)&&(z[t]=z[t].call(O));z.rel=z.rel||O.rel||e(O).data("rel")||"nofollow",z.href=z.href||e(O).attr("href"),z.title=z.title||O.title,"string"==typeof z.href&&(z.href=e.trim(z.href))}function c(i,o){e(t).trigger(i),ct.trigger(i),e.isFunction(o)&&o.call(O)}function u(){var e,t,i,o,n,r=et+"Slideshow_",h="click."+et;z.slideshow&&E[1]?(t=function(){clearTimeout(e)},i=function(){(z.loop||E[j+1])&&(e=setTimeout(X.next,z.slideshowSpeed))},o=function(){F.html(z.slideshowStop).unbind(h).one(h,n),ct.bind(nt,i).bind(ot,t).bind(rt,n),v.removeClass(r+"off").addClass(r+"on")},n=function(){t(),ct.unbind(nt,i).unbind(ot,t).unbind(rt,n),F.html(z.slideshowStart).unbind(h).one(h,function(){X.next(),o()}),v.removeClass(r+"on").addClass(r+"off")},z.slideshowAuto?o():n()):v.removeClass(r+"off "+r+"on")}function f(i){G||(O=i,d(),E=e(O),j=0,"nofollow"!==z.rel&&(E=e("."+tt).filter(function(){var t,i=e.data(this,Z);return i&&(t=e(this).data("rel")||i.rel||this.rel),t===z.rel}),j=E.index(O),-1===j&&(E=E.add(O),j=E.length-1)),g.css({opacity:parseFloat(z.opacity),cursor:z.overlayClose?"pointer":"auto",visibility:"visible"}).show(),J&&v.add(g).removeClass(J),z.className&&v.add(g).addClass(z.className),J=z.className,K.html(z.close).show(),U||(U=$=!0,v.css({visibility:"hidden",display:"block"}),I=o(ut,"LoadedContent","width:0; height:0; overflow:hidden").appendTo(y),D=b.height()+k.height()+y.outerHeight(!0)-y.height(),B=C.width()+T.width()+y.outerWidth(!0)-y.width(),N=I.outerHeight(!0),A=I.outerWidth(!0),z.w=h(z.initialWidth,"x"),z.h=h(z.initialHeight,"y"),X.position(),at&&H.bind("resize."+dt+" scroll."+dt,function(){g.css({width:H.width(),height:n(),top:H.scrollTop(),left:H.scrollLeft()})}).trigger("resize."+dt),u(),c(it,z.onOpen),_.add(M).hide(),v.focus(),t.addEventListener&&(t.addEventListener("focus",a,!0),ct.one(ht,function(){t.removeEventListener("focus",a,!0)})),z.returnFocus&&ct.one(ht,function(){e(O).focus()})),w())}function p(){!v&&t.body&&(V=!1,H=e(i),v=o(ut).attr({id:Z,"class":lt?et+(at?"IE6":"IE"):"",role:"dialog",tabindex:"-1"}).hide(),g=o(ut,"Overlay",at?"position:absolute":"").hide(),W=o(ut,"LoadingOverlay").add(o(ut,"LoadingGraphic")),x=o(ut,"Wrapper"),y=o(ut,"Content").append(M=o(ut,"Title"),S=o(ut,"Current"),P=o("button","Previous"),R=o("button","Next"),F=o("button","Slideshow"),W,K=o("button","Close")),x.append(o(ut).append(o(ut,"TopLeft"),b=o(ut,"TopCenter"),o(ut,"TopRight")),o(ut,!1,"clear:left").append(C=o(ut,"MiddleLeft"),y,T=o(ut,"MiddleRight")),o(ut,!1,"clear:left").append(o(ut,"BottomLeft"),k=o(ut,"BottomCenter"),o(ut,"BottomRight"))).find("div div").css({"float":"left"}),L=o(ut,!1,"position:absolute; width:9999px; visibility:hidden; display:none"),_=R.add(P).add(S).add(F),e(t.body).append(g,v.append(x,L)))}function m(){function i(e){e.which>1||e.shiftKey||e.altKey||e.metaKey||(e.preventDefault(),f(this))}return v?(V||(V=!0,R.click(function(){X.next()}),P.click(function(){X.prev()}),K.click(function(){X.close()}),g.click(function(){z.overlayClose&&X.close()}),e(t).bind("keydown."+et,function(e){var t=e.keyCode;U&&z.escKey&&27===t&&(e.preventDefault(),X.close()),U&&z.arrowKey&&E[1]&&
7!e.altKey&&(37===t?(e.preventDefault(),P.click()):39===t&&(e.preventDefault(),R.click()))}),e.isFunction(e.fn.on)?e(t).on("click."+et,"."+tt,i):e("."+tt).live("click."+et,i)),!0):!1}function w(){var t,n,r,a=X.prep,u=++ft;$=!0,q=!1,O=E[j],d(),c(st),c(ot,z.onLoad),z.h=z.height?h(z.height,"y")-N-D:z.innerHeight&&h(z.innerHeight,"y"),z.w=z.width?h(z.width,"x")-A-B:z.innerWidth&&h(z.innerWidth,"x"),z.mw=z.w,z.mh=z.h,z.maxWidth&&(z.mw=h(z.maxWidth,"x")-A-B,z.mw=z.w&&z.w<z.mw?z.w:z.mw),z.maxHeight&&(z.mh=h(z.maxHeight,"y")-N-D,z.mh=z.h&&z.h<z.mh?z.h:z.mh),t=z.href,Q=setTimeout(function(){W.show()},100),z.inline?(r=o(ut).hide().insertBefore(e(t)[0]),ct.one(st,function(){r.replaceWith(I.children())}),a(e(t))):z.iframe?a(" "):z.html?a(z.html):s(z,t)?(t=l(z,t),e(q=new Image).addClass(et+"Photo").bind("error",function(){z.title=!1,a(o(ut,"Error").html(z.imgError))}).one("load",function(){var e;u===ft&&(z.retinaImage&&i.devicePixelRatio>1&&(q.height=q.height/i.devicePixelRatio,q.width=q.width/i.devicePixelRatio),z.scalePhotos&&(n=function(){q.height-=q.height*e,q.width-=q.width*e},z.mw&&q.width>z.mw&&(e=(q.width-z.mw)/q.width,n()),z.mh&&q.height>z.mh&&(e=(q.height-z.mh)/q.height,n())),z.h&&(q.style.marginTop=Math.max(z.mh-q.height,0)/2+"px"),E[1]&&(z.loop||E[j+1])&&(q.style.cursor="pointer",q.onclick=function(){X.next()}),lt&&(q.style.msInterpolationMode="bicubic"),setTimeout(function(){a(q)},1))}),setTimeout(function(){q.src=t},1)):t&&L.load(t,z.data,function(t,i){u===ft&&a("error"===i?o(ut,"Error").html(z.xhrError):e(this).contents())})}var g,v,x,y,b,C,T,k,E,H,I,L,W,M,S,F,R,P,K,_,z,D,B,N,A,O,j,q,U,$,G,Q,X,J,V,Y={transition:"elastic",speed:300,width:!1,initialWidth:"600",innerWidth:!1,maxWidth:!1,height:!1,initialHeight:"450",innerHeight:!1,maxHeight:!1,scalePhotos:!0,scrolling:!0,inline:!1,html:!1,iframe:!1,fastIframe:!0,photo:!1,href:!1,title:!1,rel:!1,opacity:.9,preloading:!0,className:!1,retinaImage:!1,retinaUrl:!1,retinaSuffix:"@2x.$1",current:"image {current} of {total}",previous:"previous",next:"next",close:"close",xhrError:"This content failed to load.",imgError:"This image failed to load.",open:!1,returnFocus:!0,reposition:!0,loop:!0,slideshow:!1,slideshowAuto:!0,slideshowSpeed:2500,slideshowStart:"start slideshow",slideshowStop:"stop slideshow",photoRegex:/\.(gif|png|jp(e|g|eg)|bmp|ico)((#|\?).*)?$/i,onOpen:!1,onLoad:!1,onComplete:!1,onCleanup:!1,onClosed:!1,overlayClose:!0,escKey:!0,arrowKey:!0,top:!1,bottom:!1,left:!1,right:!1,fixed:!1,data:void 0},Z="colorbox",et="cbox",tt=et+"Element",it=et+"_open",ot=et+"_load",nt=et+"_complete",rt=et+"_cleanup",ht=et+"_closed",st=et+"_purge",lt=!e.support.leadingWhitespace,at=lt&&!i.XMLHttpRequest,dt=et+"_IE6",ct=e("<a/>"),ut="div",ft=0;e.colorbox||(e(p),X=e.fn[Z]=e[Z]=function(t,i){var o=this;if(t=t||{},p(),m()){if(e.isFunction(o))o=e("<a/>"),t.open=!0;else if(!o[0])return o;i&&(t.onComplete=i),o.each(function(){e.data(this,Z,e.extend({},e.data(this,Z)||Y,t))}).addClass(tt),(e.isFunction(t.open)&&t.open.call(o)||t.open)&&f(o[0])}return o},X.position=function(e,t){function i(e){b[0].style.width=k[0].style.width=y[0].style.width=parseInt(e.style.width,10)-B+"px",y[0].style.height=C[0].style.height=T[0].style.height=parseInt(e.style.height,10)-D+"px"}var o,r,s,l=0,a=0,d=v.offset();H.unbind("resize."+et),v.css({top:-9e4,left:-9e4}),r=H.scrollTop(),s=H.scrollLeft(),z.fixed&&!at?(d.top-=r,d.left-=s,v.css({position:"fixed"})):(l=r,a=s,v.css({position:"absolute"})),a+=z.right!==!1?Math.max(H.width()-z.w-A-B-h(z.right,"x"),0):z.left!==!1?h(z.left,"x"):Math.round(Math.max(H.width()-z.w-A-B,0)/2),l+=z.bottom!==!1?Math.max(n()-z.h-N-D-h(z.bottom,"y"),0):z.top!==!1?h(z.top,"y"):Math.round(Math.max(n()-z.h-N-D,0)/2),v.css({top:d.top,left:d.left,visibility:"visible"}),e=v.width()===z.w+A&&v.height()===z.h+N?0:e||0,x[0].style.width=x[0].style.height="9999px",o={width:z.w+A+B,height:z.h+N+D,top:l,left:a},0===e&&v.css(o),v.dequeue().animate(o,{duration:e,complete:function(){i(this),$=!1,x[0].style.width=z.w+A+B+"px",x[0].style.height=z.h+N+D+"px",z.reposition&&setTimeout(function(){H.bind("resize."+et,X.position)},1),t&&t()},step:function(){i(this)}})},X.resize=function(e){U&&(e=e||{},e.width&&(z.w=h(e.width,"x")-A-B),e.innerWidth&&(z.w=h(e.innerWidth,"x")),I.css({width:z.w}
7),e.height&&(z.h=h(e.height,"y")-N-D),e.innerHeight&&(z.h=h(e.innerHeight,"y")),e.innerHeight||e.height||(I.css({height:"auto"}),z.h=I.height()),I.css({height:z.h}),X.position("none"===z.transition?0:z.speed))},X.prep=function(t){function i(){return z.w=z.w||I.width(),z.w=z.mw&&z.mw<z.w?z.mw:z.w,z.w}function n(){return z.h=z.h||I.height(),z.h=z.mh&&z.mh<z.h?z.mh:z.h,z.h}if(U){var h,a="none"===z.transition?0:z.speed;I.empty().remove(),I=o(ut,"LoadedContent").append(t),I.hide().appendTo(L.show()).css({width:i(),overflow:z.scrolling?"auto":"hidden"}).css({height:n()}).prependTo(y),L.hide(),e(q).css({"float":"none"}),h=function(){function t(){lt&&v[0].style.removeAttribute("filter")}var i,n,h=E.length,d="frameBorder",u="allowTransparency";U&&(n=function(){clearTimeout(Q),W.hide(),c(nt,z.onComplete)},lt&&q&&I.fadeIn(100),M.html(z.title).add(I).show(),h>1?("string"==typeof z.current&&S.html(z.current.replace("{current}",j+1).replace("{total}",h)).show(),R[z.loop||h-1>j?"show":"hide"]().html(z.next),P[z.loop||j?"show":"hide"]().html(z.previous),z.slideshow&&F.show(),z.preloading&&e.each([r(-1),r(1)],function(){var t,i,o=E[this],n=e.data(o,Z);n&&n.href?(t=n.href,e.isFunction(t)&&(t=t.call(o))):t=e(o).attr("href"),t&&s(n,t)&&(t=l(n,t),i=new Image,i.src=t)})):_.hide(),z.iframe?(i=o("iframe")[0],d in i&&(i[d]=0),u in i&&(i[u]="true"),z.scrolling||(i.scrolling="no"),e(i).attr({src:z.href,name:(new Date).getTime(),"class":et+"Iframe",allowFullScreen:!0,webkitAllowFullScreen:!0,mozallowfullscreen:!0}).one("load",n).appendTo(I),ct.one(st,function(){i.src="//about:blank"}),z.fastIframe&&e(i).trigger("load")):n(),"fade"===z.transition?v.fadeTo(a,1,t):t())},"fade"===z.transition?v.fadeTo(a,0,function(){X.position(0,h)}):X.position(a,h)}},X.next=function(){!$&&E[1]&&(z.loop||E[j+1])&&(j=r(1),f(E[j]))},X.prev=function(){!$&&E[1]&&(z.loop||j)&&(j=r(-1),f(E[j]))},X.close=function(){U&&!G&&(G=!0,U=!1,c(rt,z.onCleanup),H.unbind("."+et+" ."+dt),g.fadeTo(200,0),v.stop().fadeTo(300,0,function(){v.add(g).css({opacity:1,cursor:"auto"}).hide(),c(st),I.empty().remove(),setTimeout(function(){G=!1,c(ht,z.onClosed)},1)}))},X.remove=function(){e([]).add(v).add(g).remove(),v=null,e("."+tt).removeData(Z).removeClass(tt),e(t).unbind("click."+et)},X.element=function(){return e(O)},X.settings=Y)})(jQuery,document,window);; 8(function ($) { 9 10Drupal.behaviors.initColorbox = { 11 attach: function (context, settings) { 12 if (!$.isFunction($.colorbox)) { 13 return; 14 } 15 $('.colorbox', context) 16 .once('init-colorbox') 17 .colorbox(settings.colorbox); 18 } 19}; 20 21{ 22 $(document).bind('cbox_complete', function () { 23 Drupal.attachBehaviors('#cboxLoadedContent'); 24 }); 25} 26 27})(jQuery); 28; 29(function ($) { 30 31Drupal.behaviors.initColorboxDefaultStyle = { 32 attach: function (context, settings) { 33 $(document).bind('cbox_complete', function () { 34 // Only run if there is a title. 35 if ($('#cboxTitle:empty', context).length == false) { 36 $('#cboxLoadedContent img', context).bind('mouseover', function () { 37 $('#cboxTitle', context).slideDown(); 38 }); 39 $('#cboxOverlay', context).bind('mouseover', function () { 40 $('#cboxTitle', context).slideUp(); 41 }); 42 } 43 else { 44 $('#cboxTitle', context).hide(); 45 } 46 }); 47 } 48}; 49 50})(jQuery); 51; 52(function($, Drupal, undefined){ 53 /** 54 * When set to enable mediaelement for all audio/video files add it to the page. 55 */ 56 Drupal.behaviors.mediaelement = { 57 attach: function(context, settings) { 58 if (settings.mediaelement !== undefined) { 59 // @todo Remove anonymous function. 60 $.each(settings.mediaelement, function(selector, options) { 61 var opts; 62 $(selector, context).once('mediaelement', function() { 63 if (options.controls) { 64 $(this).mediaelementplayer(options.opts); 65 } 66 else { 67 $(this).mediaelement(); 68 } 69 }); 70 }); 71 } 72 // The global option is seperate from the other selectors as it should be 73 // run after any other selectors. 74 if (settings.mediaelementAll !== undefined) { 75 $('video,audio', context).once('mediaelement', function() { 76 $(this).mediaelementplayer(); 77 }); 78 } 79 } 80 }; 81})(jQuery, Drupal);; 82/** 83 * @file 84 * Adds some show/hide to the admin form to make the UXP easier. 85 */ 86(function($){ 87 Drupal.behaviors.video = { 88 attach: function (context, settings) { 89 //lets see if we have any jmedia movies 90 if($.fn.media) { 91 $('.jmedia').media(); 92 } 93 94 if(settings.video) { 95 $.fn.media.defaults.flvPlayer = settings.video.flvplayer; 96 } 97 98 //lets setup our colorbox videos 99 $('.video-box').each(function() { 100 var url = $(this).attr('href'); 101 var data = $(this).metadata(); 102 var width = data.width; 103 var height= data.height; 104 var player = settings.video.player; //player can be either jwplayer or flowplayer. 105 $(this).colorbox({ 106 html: '<a id="video-overlay" href="'+url+'" style="height:'+height+'; width:'+width+'; display: block;"></a>', 107 onComplete:function() { 108 if(player == 'flowplayer') { 109 flowplayer("video-overlay", settings.video.flvplayer, { 110 clip: { 111 autoPlay: settings.video.autoplay, 112 autoBuffering: settings.video.autobuffer 113 } 114 }); 115 } else { 116 $('#video-overlay').media({ 117 flashvars: { 118 autostart: settings.video.autoplay 119 }, 120 width:width, 121 height:height 122 }); 123 } 124 } 125 }); 126 }); 127 } 128 }; 129 130 // On change of the thumbnails when edit. 131 Drupal.behaviors.videoEdit = { 132 attach : function(context, settings) { 133 function setThumbnail(widget, type) { 134 var thumbnails = widget.find('.video-thumbnails input'); 135 var defaultthumbnail = widget.find('.video-use-default-video-thumb'); 136 var largeimage = widget.find('.video-preview img'); 137
138 var activeThumbnail = thumbnails.filter(':checked'); 139 if (activeThumbnail.length > 0 && type != 'default') { 140 var smallimage = activeThumbnail.next('label.option').find('img'); 141 largeimage.attr('src', smallimage.attr('src')); 142 defaultthumbnail.attr('checked', false); 143 } 144 else if(defaultthumbnail.is(':checked')) { 145 thumbnails.attr('checked', false); 146 largeimage.attr('src', defaultthumbnail.data('defaultimage')); 147 } 148 else { 149 // try to select the first thumbnail. 150 if (thumbnails.length > 0) { 151 thumbnails.first().attr('checked', 'checked'); 152 setThumbnail(widget, 'thumb'); 153 } 154 } 155 } 156 157 $('.video-thumbnails input', context).change(function() { 158 setThumbnail($(this).parents('.video-widget'), 'thumb'); 159 }); 160 161 $('.video-use-default-video-thumb', context).change(function() { 162 setThumbnail($(this).parents('.video-widget'), 'default'); 163 }); 164 165 $('.video-widget', context).each(function() { 166 setThumbnail($(this), 'both'); 167 }); 168 } 169 } 170})(jQuery); 171; 172(function ($) { 173 174 Drupal.behaviors.captcha = { 175 attach: function (context) { 176 177 // Turn off autocompletion for the CAPTCHA response field. 178 // We do it here with Javascript (instead of directly in the markup) 179 // because this autocomplete attribute is not standard and 180 // it would break (X)HTML compliance. 181 $("#edit-captcha-response").attr("autocomplete", "off"); 182 183 } 184 }; 185 186 Drupal.behaviors.captchaAdmin = { 187 attach: function (context) { 188 // Add onclick handler to checkbox for adding a CAPTCHA description 189 // so that the textfields for the CAPTCHA description are hidden 190 // when no description should be added. 191 // @todo: div.form-item-captcha-description depends on theming, maybe 192 // it's better to add our own wrapper with id (instead of a class). 193 $("#edit-captcha-add-captcha-description").click(function() { 194 if ($("#edit-captcha-add-captcha-description").is(":checked")) { 195 // Show the CAPTCHA description textfield(s). 196 $("div.form-item-captcha-description").show('slow'); 197 } 198 else { 199 // Hide the CAPTCHA description textfield(s). 200 $("div.form-item-captcha-description").hide('slow'); 201 } 202 }); 203 // Hide the CAPTCHA description textfields if option is disabled on page load. 204 if (!$("#edit-captcha-add-captcha-description").is(":checked")) { 205 $("div.form-item-captcha-description").hide(); 206 } 207 } 208 209 }; 210 211})(jQuery); 212; 213(function ($) { 214 215$(document).ready(function() { 216 217 // Expression to check for absolute internal links. 218 var isInternal = new RegExp("^(https?):\/\/" + window.location.host, "i"); 219 220 // Attach onclick event to document only and catch clicks on all elements. 221 $(document.body).click(function(event) { 222 // Catch the closest surrounding link of a clicked element. 223 $(event.target).closest("a,area").each(function() { 224 225 var ga = Drupal.settings.googleanalytics; 226 // Expression to check for special links like gotwo.module /go/* links. 227 var isInternalSpecial = new RegExp("(\/go\/.*)$", "i"); 228 // Expression to check for download links. 229 var isDownload = new RegExp("\\.(" + ga.trackDownloadExtensions + ")$", "i"); 230 231 // Is the clicked URL internal? 232 if (isInternal.test(this.href)) { 233 // Skip 'click' tracking, if custom tracking events are bound. 234 if ($(this).is('.colorbox')) { 235 // Do nothing here. The custom event will handle all tracking. 236 } 237 // Is download tracking activated and the file extension configured for download tracking? 238 else if (ga.trackDownload && isDownload.test(this.href)) { 239 // Download link clicked. 240 var extension = isDownload.exec(this.href); 241 _gaq.push(["_trackEvent", "Downloads", extension[1].toUpperCase(), this.href.replace(isInternal, '')]); 242 } 243 else if (isInternalSpecial.test(this.href)) { 244 // Keep the internal URL for Google Analytics website overlay intact.
245 _gaq.push(["_trackPageview", this.href.replace(isInternal, '')]); 246 } 247 } 248 else { 249 if (ga.trackMailto && $(this).is("a[href^='mailto:'],area[href^='mailto:']")) { 250 // Mailto link clicked. 251 _gaq.push(["_trackEvent", "Mails", "Click", this.href.substring(7)]); 252 } 253 else if (ga.trackOutbound && this.href.match(/^\w+:\/\//i)) { 254 if (ga.trackDomainMode == 2 && isCrossDomain(this.hostname, ga.trackCrossDomains)) { 255 // Top-level cross domain clicked. document.location is handled by _link internally. 256 event.preventDefault(); 257 _gaq.push(["_link", this.href]); 258 } 259 else { 260 // External link clicked. 261 _gaq.push(["_trackEvent", "Outbound links", "Click", this.href]); 262 } 263 } 264 } 265 }); 266 }); 267 268 // Colorbox: This event triggers when the transition has completed and the 269 // newly loaded content has been revealed. 270 $(document).bind("cbox_complete", function() { 271 var href = $.colorbox.element().attr("href"); 272 if (href) { 273 _gaq.push(["_trackPageview", href.replace(isInternal, '')]); 274 } 275 }); 276 277}); 278 279/** 280 * Check whether the hostname is part of the cross domains or not. 281 * 282 * @param string hostname 283 * The hostname of the clicked URL. 284 * @param array crossDomains 285 * All cross domain hostnames as JS array. 286 * 287 * @return boolean 288 */
289function isCrossDomain(hostname, crossDomains) { 290 /** 291 * jQuery < 1.6.3 bug: $.inArray crushes IE6 and Chrome if second argument is 292 * `null` or `undefined`, http://bugs.jquery.com/ticket/10076, 293 * https://github.com/jquery/jquery/commit/a839af034db2bd934e4d4fa6758a3fed8de74174 294 * 295 * @todo: Remove/Refactor in D8 296 */ 297 if (!crossDomains) { 298 return false; 299 } 300 else { 301 return $.inArray(hostname, crossDomains) > -1 ? true : false; 302 } 303} 304 305})(jQuery); 306;
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.