1/** File : /skins/ensiacet-2/resources/js/jquery.cookie.js */ 2document_currentScript = (function() { a = document.createElement('script'); a.src='/skins/ensiacet-2/resources/js/jquery.cookie.js'; return a; })(); try { 3jQuery.cookie=function(key,value,options){if(arguments.length>1&&String(value)!=="[object Object]"){options=jQuery.extend({},options);if(value===null||value===undefined)options.expires=-1;if(typeof options.expires==="number"){var days=options.expires,t=options.expires=new Date;t.setDate(t.getDate()+days)}value=String(value);return document.cookie=[encodeURIComponent(key),"\x3d",options.raw?value:encodeURIComponent(value),options.expires?"; expires\x3d"+options.expires.toUTCString():"",options.path? 4"; path\x3d"+options.path:"",options.domain?"; domain\x3d"+options.domain:"",options.secure?"; secure":""].join("")}options=value||{};var result,decode=options.raw?function(s){return s}:decodeURIComponent;return(result=(new RegExp("(?:^|; )"+encodeURIComponent(key)+"\x3d([^;]*)")).exec(document.cookie))?decode(result[1]):null};} catch (e) { console.error("/skins/ensiacet-2/resources/js/jquery.cookie.js\n", e) } 5/** File : /skins/ensiacet-2/resources/js/history.js */ 6document_currentScript = (function() { a = document.createElement('script'); a.src='/skins/ensiacet-2/resources/js/history.js'; return a; })(); try { 7if(typeof window.ART_HISTORY=="undefined")window.ART_HISTORY={};ART_HISTORY={limit:6,cookieName:"ametys-zone-history"};if(!Array.indexOf)Array.prototype.indexOf=function(obj,start){for(var i=start||0;i<this.length;i++)if(this[i]==obj)return i;return-1}; 8function navigationHistory(template,zonetitle){var title=document.title.split("-");var url=location.href;var anchor=url.indexOf("#");var queryString=url.indexOf("?");if(anchor!=-1)url=url.substring(0,anchor);if(queryString!=-1)url=url.substring(0,queryString);var fieldArray=$j.trim(title[0])+";"+url;var cookieHistory=new Array;
8if($j.cookie(ART_HISTORY.cookieName))cookieHistory=$j.cookie(ART_HISTORY.cookieName).split("|");else $j.cookie(ART_HISTORY.cookieName,cookieHistory.join("|"),{"path":contextPath}); 9var fieldIndex=cookieHistory.indexOf(fieldArray);if(fieldIndex==-1){if(cookieHistory.length>ART_HISTORY.limit)cookieHistory.pop()}else cookieHistory.splice(fieldIndex,1);if(cookieHistory.length>0){var historyListWrapper=$j(document.createElement("div"));var historyList=$j(document.createElement("ul"));historyListWrapper.append(historyList);$j.each(cookieHistory,function(i,value){if(i<cookieHistory.length){var el=value.split(";");var anchor=$j(document.createElement("a")).append(el[0]);anchor.attr("href", 10el[1]);$j(document.createElement("li")).append(anchor).appendTo(historyList)}});var content=historyList.dom;var value=template.replace(/!!!([^@]|@[^@]|@@[^@])+@@@/g,"").replace("@AMETYSHISTORYTITLEMARKER@",zonetitle).replace("@AMETYSHISTORYCONTENTMARKER@",historyListWrapper.html());document.write(value)}cookieHistory.unshift(fieldArray);$j.cookie(ART_HISTORY.cookieName,cookieHistory.join("|"),{"path":contextPath})};} catch (e) { console.error("/skins/ensiacet-2/resources/js/history.js\n", e) } 11/** File : /skins/ensiacet-2/resources/js/trunk8.js */ 12document_currentScript = (function() { a = document.createElement('script'); a.src='/skins/ensiacet-2/resources/js/trunk8.js'; return a; })(); try { 13(function($){var methods,utils,SIDES={center:"center",left:"left",right:"right"},WIDTH={auto:"auto"};function trunk8(element){this.$element=$(element);this.original_text=this.$element.html();this.settings=$.extend({},$.fn.trunk8.defaults)}trunk8.prototype.updateSettings=function(options){this.settings=$.extend(this.settings,options)};function truncate(){var data=this.data("trunk8"),settings=data.settings,width=settings.width,side=settings.side,fill=settings.fill,line_height=utils.getLineHeight(this)* 14settings.lines,str=data.original_text,length=str.length,max_bite="",lower,upper,bite_size,bite;this.html(str);if(width===WIDTH.auto){if(this.height()<=line_height)return;lower=0;upper=length-1;while(lower<=upper){bite_size=lower+(upper-lower>>1);bite=utils.eatStr(str,side,length-bite_size,fill);this.html(bite);if(this.height()>line_height)upper=bite_size-1;else{lower=bite_size+1;max_bite=max_bite.length>bite.length?max_bite:bite}}this.html("");this.html(max_bite);if(settings.tooltip)this.attr("title", 15str)}else if(!isNaN(width)){bite_size=length-width;bite=utils.eatStr(str,side,bite_size,fill);this.html(bite);if(settings.tooltip)this.attr("title",str)}else $.error('Invalid width "'+width+'".')}methods={init:function(options){return this.each(function(){var $this=$(this),data=$this.data("trunk8");if(!data)$this.data("trunk8",data=new trunk8(this));data.updateSettings(options);truncate.call($this)})},update:function(new_string){return this.each(function(){var $this=$(this);if(new_string)$this.data("trunk8").original_text= 16new_string;truncate.call($this)})},revert:function(){return this.each(function(){var text=$(this).data("trunk8").original_text;$(this).html(text)})},getSettings:function(){return this.get(0).data("trunk8").settings}};utils={eatStr:function(str,side,bite_size,fill){var length=str.length,key=utils.eatStr.generateKey.apply(null,arguments),half_length,half_bite_size;if(utils.eatStr.cache[key])return utils.eatStr.cache[key];if(typeof str!=="string"||length===0)$.error('Invalid source string "'+str+'".'); 17if(bite_size<0||bite_size>length)$.error('Invalid bite size "'+bite_size+'".');else if(bite_size===0)return str;if(typeof(fill+"")!=="string")$.error("Fill unable to be converted to a string.");switch(side){case SIDES.right:return utils.eatStr.cache[key]=$.trim(str.substr(0,length-bite_size))+fill;case SIDES.left:return utils.eatStr.cache[key]=fill+$.trim(str.substr(bite_size));case SIDES.center:half_length=length>>1;half_bite_size=bite_size>>1;return utils.eatStr.cache[key]=$.trim(utils.eatStr(str.substr(0, 18length-half_length),SIDES.right,bite_size-half_bite_size,""))+fill+$.trim(utils.eatStr(str.substr(length-half_length),SIDES.left,half_bite_size,""));default:$.error('Invalid side "'+side+'".')}},getLineHeight:function(elem){var $elem=$(elem),floats=$elem.css("float"),position=$elem.css("position"),html=$elem.html(),wrapper_id="line-height-test",line_height;if(floats!=="none")$elem.css("float","none");if(position==="absolute")$elem.css("position","static");$elem.html("i").wrap('\x3cdiv id\x3d"'+wrapper_id+ 19'" /\x3e');line_height=$("#"+wrapper_id).innerHeight();$elem.html(html).css({"float":floats,"position":position}).unwrap();return line_height}};utils.eatStr.cache={};utils.eatStr.generateKey=function(){return Array.prototype.join.call(arguments,"")};$.fn.trunk8=function(method){if(methods[method])return methods[method].apply(this,Array.prototype.slice.call(arguments,1
19));else if(typeof method==="object"||!method)return methods.init.apply(this,arguments);else $.error("Method "+method+" does not exist on jQuery.trunk8")}; 20$.fn.trunk8.defaults={fill:"\x26hellip;",lines:1,side:SIDES.right,tooltip:true,width:WIDTH.auto}})(jQuery);} catch (e) { console.error("/skins/ensiacet-2/resources/js/trunk8.js\n", e) } 21/** File : /skins/ensiacet-2/resources/js/jquery.placeholder.min.js */ 22document_currentScript = (function() { a = document.createElement('script'); a.src='/skins/ensiacet-2/resources/js/jquery.placeholder.min.js'; return a; })(); try { 23/* HTML5 Placeholder jQuery Plugin - v2.1.0 24 * Copyright (c)2015 Mathias Bynens 25 * 2015-01-27 26 */ 27!function(a){"function"==typeof define&&define.amd?define(["jquery"],a):a(jQuery)}(function(a){function b(b){var c={},d=/^jQuery\d+$/;return a.each(b.attributes,function(a,b){b.specified&&!d.test(b.name)&&(c[b.name]=b.value)}),c}function c(b,c){var d=this,f=a(d);if(d.value==f.attr("placeholder")&&f.hasClass(m.customClass))if(f.data("placeholder-password")){if(f=f.hide().nextAll('input[type="password"]:first').show().attr("id",f.removeAttr("id").data("placeholder-id")),b===!0)return f[0].value=c;f.focus()}else d.value="",f.removeClass(m.customClass),d==e()&&d.select()}function d(){var d,e=this,f=a(e),g=this.id;if(""===e.value){if("password"===e.type){if(!f.data("placeholder-textinput")){try{d=f.clone().attr({type:"text"})}catch(h){d=a("<input>").attr(a.extend(b(this),{type:"text"}))}d.removeAttr("name").data({"placeholder-password":f,"placeholder-id":g}).bind("focus.placeholder",c),f.data({"placeholder-textinput":d,"placeholder-id":g}).before(d)}f=f.removeAttr("id").hide().prevAll('input[type="text"]:first').attr("id",g).show()}f.addClass(m.customClass),f[0].value=f.attr("placeholder")}else f.removeClass(m.customClass)}function e(){try{return document.activeElement}catch(a){}}var f,g,h="[object OperaMini]"==Object.prototype.toString.call(window.operamini),i="placeholder"in document.createElement("input")&&!h,j="placeholder"in document.createElement("textarea")&&!h,k=a.valHooks,l=a.propHooks;if(i&&j)g=a.fn.placeholder=function(){return this},g.input=g.textarea=!0;else{var m={};g=a.fn.placeholder=function(b){var e={customClass:"placeholder"};m=a.extend({},e,b);var f=this;return f.filter((i?"textarea":":input")+"[placeholder]").not("."+m.customClass).bind({"focus.placeholder":c,"blur.placeholder":d}).data("placeholder-enabled",!0).trigger("blur.placeholder"),f},g.input=i,g.textarea=j,f={get:function(b){var c=a(b),d=c.data("placeholder-password");return d?d[0].value:c.data("placeholder-enabled")&&c.hasClass(m.customClass)?"":b.value},set:function(b,f){var g=a(b),h=g.data("placeholder-password");return h?h[0].value=f:g.data("placeholder-enabled")?(""===f?(b.value=f,b!=e()&&d.call(b)):g.hasClass(m.customClass)?c.call(b,!0,f)||(b.value=f):b.value=f,g):b.value=f}},i||(k.input=f,l.value=f),j||(k.textarea=f,l.value=f),a(function(){a(document).delegate("form","submit.placeholder",function(){var b=a("."+m.customClass,this).each(c);setTimeout(function(){b.each(d)},10)})}),a(window).bind("beforeunload.placeholder",function(){a("."+m.customClass).each(function(){this.value=""})})}});} catch (e) { console.error("/skins/ensiacet-2/resources/js/jquery.placeholder.min.js\n", e) } 28 29//# sourceMappingURL=LTE0NDMxNDAwMjk.js.map
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.