1function calcHeight(n,t,i){var f=document.getElementById(n),e,r,u,o;f.tagName==="IFRAME"&&(e=f.contentWindow||f.contentDocument,r={},e!==null&&(r=e.document),r!==null)&&(r.body.style.margin=0,i&&(u=r.getElementsByTagName("img")[0],u&&(u.setAttribute("width","100%"),u.setAttribute("height","auto"))),t===null&&(o=document.getElementById(n).contentWindow.document.body.scrollHeight,document.getElementById(n).height=o,document.getElementById(n).style.height=o.toString()+"px"))}function closeStaticAd(){document.getElementById("staticad").style.display="none";setSessionCookie("staticadhidden",1)}function setSessionCookie(n,t){document.cookie=n+"="+t}function getSessionCookie(n){var t=document.cookie.match(new RegExp("(^| )"+n+"=([^;]+)"));if(t)return t[2]}function removeSessionCookie(n){document.cookie=n+"=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;"}function hideFirstCVBlock(n){$("."+n+" .infoblock-cv:first").find(".use-on-top").removeClass("show").addClass("hide")}function swapCVBlocks(n,t){$("#"+n).after($("#"+t));$("#"+t).find(".use-on-top").removeClass("hide").addClass("show");$("#"+n).find(".use-on-top").removeClass("show").addClass("hide")}function getBlocksIds(n){var t=[];return $("."+n+" .infoblock-cv").each(function(){var n=$(this).find(".use-on-top").data("blockId");t.push(n)}),t}function reorderCVBlocks(n,t,i){var r=t.data("id"),u=$("."+n+" .infoblock-cv:first").prop("id"),f;r&&u&&(swapCVBlocks(r,u),f=getBlocksIds(n),$.ajax({type:"POST",url:i,data:{blockIds:f},success:function(){},error:function(){}}))}function decodeHTML(n){return $("<div/>").html(n).text()}function refreshImage(n,t,i){$(n).length>0&&$(n).each(function(){var r=$(this),e,o=0,u,s,h,l,n,f,c;if(t==="img"){if(u=r.attr("src"),!u)return;if(e=u.indexOf("?"),d=new Date,i){r.attr("src",i);return}e==-1?r.attr("src",u+"?x="+d.getTime()):(o=u.indexOf("x="),u=o!==-1?u.substring(0,o):u,r.attr("src",u+"&x="+d.getTime()))}else if(t==="background-image"){if(s=r.css("background-image"),h=/^url\(['"]{1}(.*)['"]{1}\)$/,h.test(s)===!1)return;l=s.match(h);n=l[1];e=n.indexOf("?");d=new Date;e==-1?(n=n+"?x="+d.getTime(),r.css("background-image",'url("'+n+'")')):(o=n.indexOf("x="),n=o!==-1?n.substring(0,o):n,n=n+"&x="+d.getTime(),r.css("background-image",'url("'+n+'")'))}else f=r.prop("href"),e=f.indexOf("?"),d=new Date,e==-1?r.prop("href",f+"?x="+d.getTime()):(c=f.indexOf("x="),f=c!==-1?f.substring(0,c):f,r.prop("href",f+"&x="+d.getTime()))})}function getRefereshImageUrl(n){var i,t;return n?(i=n.indexOf("?"),d=new Date,i!==-1?n+"&x="+d.getTime():(t=n.indexOf("?x="),n=t!==-1?n.substring(0,t):n,n+"?x="+d.getTime())):n}function SearchSetPage(n){if(!n){var t=sessionStorage.searchSetPageParams;if(typeof t!="undefined")n=JSON.parse(t);else return}sessionStorage.searchSetPageParams=JSON.stringify(n);this.searchText=n.searchText;this.title=n.title;this.startPage=n.startPage;this.totalPages=n.totalPages;$("img[data-src]").unveil()}function autosize(n){setTimeout(function(){n.style.cssText="height:auto; padding:0";n.style.cssText="height:"+n.scrollHeight+"px"},0)}function switchCompany(n,t,i){$.ajax({url:n,data:{companyId:t},type:"get",success:function(n){n.success?window.location.reload(!0):i!=null&&i(n.errorMesage)}})}function deleteCompanyMembership(n,t,i){$.ajax({url:n,data:{companyId:t},type:"get",success:function(n){n.success?window.location.reload(!0):i!=null&&i(n.errorMesage)}})}function errorCallback(n){$("#errorDialog").dialog({title:"Error",modal:!0,draggable:!1,resizable:!1,closeOnEscape:!0,width:300,buttons:{Lukk:function(){$(this).dialog("close")}}}).text(n)}function switchOrCreateAccount(n,t,i){$.ajax({url:n,data:{accountType:t},type:"get",success:function(n,t,r){var u=r.getResponseHeader("content-type")||"";u.indexOf("html")>-1&&$("#accounts-user").html(n);u.indexOf("json")>-1&&(n.success===!1?i!=null&&i(n.errorMessage):window.location="/")}})}function toDataUrl(n,t,i){var r=new Image;r.crossOrigin="Anonymous";r.onload=function(){var n=document.createElement("CANVAS"),u=n.getContext("2d"),r;n.height=this.naturalHeight;n.width=this.naturalWidth;u.drawImage(this,0,0);r=n.toDataURL(i);t(r);n=null};r.src=n;(r.complete||r.complete===undefined)&&(r.src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///ywAAAAAAQABAAACAUwAOw==",r.src=n)}function getForceIframeTransport(){var n=typeof InstallTrigger!="undefined";return/^((?!chrome|android).)*safari/i.test(navigator.userAgent)&&(n=!0),n}function mceoptSimple(n,t){return{width:n!=="undefined"?n:400,height:t!=="undefined"?n:180,valid_elements:"a[href|target=_blank|style],strong/b,p[style|id],div[style|id],br,span[style|id],em/i,ul[style],ol[style],li[style]",menubar:!1,statusbar:!1,toolbar:["bold italic underline | undo redo | bullist numlist"],plugins:"paste",body_class:"application-content__small",content_css:"/Content2/application-content.min.css",theme_advanced_resizing:!1,verify_css_classes:!0,verify_html:!0,visual:!0,paste_auto_cleanup_on_paste:!0,paste_remove_styles:!0,paste_as_plain_text:!0,paste_strip_class_attributes:"all",paste_remove_spans:!0,paste_as_text:!0,paste_text_sticky:!0}}function mceoptSimpleMobile(n,t){return{width:n!=="undefined"?n:"100%",height:t!=="undefined"?n:180,valid_elements:"a[href|target=_blank|style],strong/b,p[style|id],div[style|id],br,span[style|id],em/i,ul[style],ol[style],li[style]",menubar:!1,statusbar:!1,toolbar:["bold italic underline | undo redo | bullist numlist"],plugins:"paste",body_class:"application-content__small",content_css:"/Content2/application-content.min.css",theme_advanced_resizing:!1,verify_css_classes:!0,verify_html:!0,visual:!0,paste_auto_cleanup_on_paste:!0,paste_remove_styles:!0,paste_as_plain_text:!0,paste_strip_class_attributes:"all",paste_remove_spans:!0,paste_as_text:!0,paste_text_sticky:!0}}function formToJson(n){var i=n.serializeArray(),t={};return $(i).each(function(){t[this.name]!==undefined?(Array.isArray(t[this.name])||(t[this.name]=[t[this.name]]),t[this.name].push(this.value)):t[this.name]=this.value}),t}function isVideoLink(n){var t=!1;return n&&n.length>0&&(n.match(/(http:|https:|)\/\/(player\.|www\.|m\.|vm\.|vt\.)?(vimeo\.com|facebook\.com|youtu(?:be\.com|\.be|be\.googleapis\.com)|tiktok\.com)\/(video\/|embed\/|watch\?v=|v\/)?([A-Za-z0-9._%-]*)(\&\S+)?/),RegExp.$3.indexOf("youtu")>-1?t=!0:RegExp.$3.indexOf("vimeo")>-1?t=!0:RegExp.$3.indexOf("facebook")>-1?t=!0:RegExp.$3.indexOf("tiktok")>-1&&(t=!0)),t}function murmurhash3_32_gc(n,t){var o,h,r,s,f,e,i,u;for(o=n.length&3,h=n.length-o,r=t,f=3432918353,e=461845907,u=0;u<h;)i=n.charCodeAt(u)&255|(n.charCodeAt(++u)&255)<<8|(n.charCodeAt(++u)&255)<<16|(n.charCodeAt(++u)&255)<<24,++u,i=(i&65535)*f+(((i>>>16)*f&65535)<<16)&4294967295,i=i<<15|i>>>17,i=(i&65535)*e+(((i>>>16)*e&65535)<<16)&4294967295,r^=i,r=r<<13|r>>>19,s=(r&65535)*5+(((r>>>16)*5&65535)<<16)&4294967295,r=(s&65535)+27492+(((s>>>16)+58964&65535)<<16);i=0;switch(o){case 3:i^=(n.charCodeAt(u+2)&255)<<16;case 2:i^=(n.charCodeAt(u+1)&255)<<8;case 1:i^=n.charCodeAt(u)&255;i=(i&65535)*f+(((i>>>16)*f&65535)<<16)&4294967295;i=i<<15|i>>>17;i=(i&65535)*e+(((i>>>16)*e&65535)<<16)&4294967295;r^=i}return r^=n.length,r^=r>>>16,r=(r&65535)*2246822507+(((r>>>16)*2246822507&65535)<<16)&4294967295,r^=r>>>13,r=(r&65535)*3266489909+(((r>>>16)*3266489909&65535)<<16)&4294967295,r^=r>>>16,r>>>0}var setupPopups=function(){$(".candidate-list, .imglist-s.abx").on({mouseenter:function(){var n=$(this).children(".f-c-info"),r=n.data(),t;r.loaded===0&&$.ajax({async:!1,data:{cid:r.candidateid},dataType:"html",success:function(t,i){i==="success"&&(n.html(t),n.data("loaded",1))},type:"GET",url:ccAction});t=$("<div/>").addClass("f-candidate-data").append(n.contents().clone());$("body").append(t);
1var e=$(this).parent().parent(),u=e.offset().left,o=$(this).offset().top+$(this).height()+5,i=$(this).offset().left,f=$(".f-candidate-data").width();i-u+f>1230&&(i=u-f+1230);$(".f-candidate-data").css({top:o,left:i});$(t).fadeIn("fast")},mouseleave:function(){var n=$("div.f-candidate-data");$(n).fadeOut("fast");$(n).remove()}},".f-candidate")},setTimezoneCookie=function(){var n="timezoneoffset",t,i,r;$.cookie(n)?(i=parseInt($.cookie(n)),r=(new Date).getTimezoneOffset(),i!==r&&($.cookie(n,(new Date).getTimezoneOffset(),{path:"/"}),location.reload())):(t="test cookie",$.cookie(t,!0),$.cookie(t)&&($.cookie(t,null),$.cookie(n,(new Date).getTimezoneOffset(),{path:"/"}),location.reload()))},fileSizeLabel,Fingerprint;$(function(){setupPopups();window.location.hash==="#ShowLogin"&&ShowLogin();document.cookie.indexOf("staticadhidden")>-1&&$("#staticad").remove();var n=!1;$(document).scroll(function(){var i=$(document).scrollTop(),r=$("#shdr-out"),t;r.length!=0&&(t=r.position().top,i-t>1?(n||($("#shdr").before('<div id="placeholder"><\/div>'),$("#placeholder").css({width:$("#shdr").width(),height:$("#shdr").height()}),n=!0),$("#shdr").addClass("shdr-fixed"),$("#shdr").removeClass("shdr-static")):(n&&($("#shdr").siblings("#placeholder").remove(),n=!1),$("#shdr").removeClass("shdr-fixed"),$("#shdr").addClass("shdr-static")),i-t>700?$("#shdr").addClass("shdr-fixed-delay"):$("#shdr").removeClass("shdr-fixed-delay"))});$(document).scroll();_resize=function(){window.innerWidth>1024;var t=$(".sub-menu-items").width()*1.8-$(".sub-menu-items .menu-expander").outerWidth(!0),n=[];$(".drawer .menu-link").appendTo(".sub-menu-items");$(".sub-menu-items .menu-link").each(function(i,r){(t-$(r).outerWidth(!0)<0||t<0)&&n.push(r);t-=$(r).outerWidth(!0)});n.length>0?$(".sub-menu-items .menu-expander").show():($(".sub-menu-items .menu-expander").hide(),$(".drawer").hide());$(".drawer .menu-link").each(function(t,i){n.push(i)});$.map(n,function(n){$(".drawer").append($(n))})};window.addEventListener("resize",_resize);_resize();$(".sub-menu-items").on("click",".menu-expander",function(){if(window.innerWidth>1024,$(".drawer:visible").length>0)$(this).find("i.fa").removeClass("fa-caret-up").addClass("fa-caret-down"),$(".drawer").slideUp("fast");else{$(".drawer").slideDown("fast");var n=_gaq||{push:function(){}};_gaq.push(["_trackEvent","test","header-expand"]);$(this).find("i.fa").removeClass("fa-caret-down").addClass("fa-caret-up")}});$("body").on("click",".ref-preview",function(n){n.preventDefault();var t=$(this).attr("href");return $.ajax({url:t,type:"get",success:function(n){$("body").append($(n))}}),!1});$("body").on("click",".ks-expander .ks-expander__show-link",function(){var n=$(this).closest(".ks-expander"),t={};$(n).attr("ks-options")&&(t=JSON.parse($(n).attr("ks-options")));t.removelink?($(this).hide(),$(n).find(".ks-expander__hide-link").remove()):($(this).hide(),$(n).find(".ks-expander__hide-link").show());$(n).find(".ks-expander__hidden-block").show()}).on("click",".ks-expander .ks-expander__hide-link",function(){var n=$(this).closest(".ks-expander"),t={};$(n).attr("ks-options")&&(t=JSON.parse($(n).attr("ks-options")));t.cleartext&&($(n).find(".ks-expander__hidden-block").find("textarea, input").val(""),$(n).find(".ks-expander__hidden-block select").toArray().forEach(function(n){$(n).val(-1);$(n).hasClass("chosen")?$(n).trigger("chosen:updated"):$(n).hasClass("ks-select")&&initKSSelect()}));$(n).find(".ks-expander__hidden-block").hide();$(this).hide();$(n).find(".ks-expander__show-link").show()})});SearchSetPage.prototype.init=function(){var t=$("#searchtext-value"),n;t&&t.val(this.searchText);n=$("#hiden-saved-search-block");$("#saved-searches-block").html(n.html());n.empty();document.title=this.title;typeof _gaq!="undefined"&&_gaq.push(["_trackPageview"]);$(window).on("beforeunload",function(){sessionStorage.removeItem("searchSetPageParams")})};SearchSetPage.prototype.refreshPager=function(n){var r=window.innerWidth,t,i;n=parseInt(n)||1251;t=parseInt(this.startPage)||0;i=parseInt(this.totalPages)||1;r<n?t===1?($('.pager-btn[data-item="4"]').hide(),$('.pager-btn[data-item="5"]').hide()):i===t?($('.pager-btn[data-item="1"]').hide(),$('.pager-btn[data-item="2"]').hide()):($('.pager-btn[data-item="1"]').hide(),$('.pager-btn[data-item="5"]').hide()):$(".pager-btn").show()};SearchSetPage.prototype.applyDotForCandidates=function(){$(".profile-intro.profile-intro-featured").dotdotdot();setTimeout(function(){$(".pro.candidate-pro").dotdotdot()},100)};SearchSetPage.prototype.applyDotForCompanyProgram=function(){$(".j-description-tablet").dotdotdot({ellipsis:" ",after:".readmore"})};$.ajaxSetup({cache:!1}),function(n){n.embedReload=function(t,i){var r=this,u=n(t),t=t;r.loaded=!1;r.settings=n.extend({},{debug:!1},i);t.addEventListener("load",function(){r.settings.debug&&console.log("embedReload.ok");r.loaded=!0});setTimeout(function(){if(!r.loaded){r.settings.debug&&console.log("embedReload.timeout");var f=1,i=setInterval(function(){var h,o,s,e;r.settings.debug&&console.log("embedReload.retry: "+f.toString()+" t: "+i.toString());h=u.attr("src");o=u.parent();o.find(".viewerng-load-message").html("Dette tok litt tid - om visning ikke er mulig, kan du alternativt laste ned filen.");s=u.prev();u.remove();e=n("<embed>").attr({src:h}).data("embedReload",r);s.length>0?e.insertAfter(s):o.append(e);e[0].addEventListener("load",function(){r.settings.debug&&console.log("embedReload.loaded t: "+i.toString());r.loaded=!0;clearInterval(i)});u=e;t=e[0];f+=1;f>10&&(r.settings.debug&&console.log("embedReload.maxRetries t: "+i.toString()),r.loaded=!0,clearInterval(i))},4e3)}},2e3)};n.fn.embedReload=function(t){return this.each(function(){if(undefined==n(this).data("embedReload")){var i=new n.embedReload(this,t);n(this).data("embedReload",i)}})}}(jQuery);fileSizeLabel=function(n){let i=1024,r=0,t=n;while(t>i)t/=i,r++;return t.toFixed(1).toString()+" "+["b","Kb","Mb","Gb","Tb"][r]},function(n,t){function v(n,t,r){var e=n.children(),o=!1,u,s,f;for(n.empty(),u=0,s=e.length;u<s;u++)if(f=e.eq(u),n.append(f),r&&n.append(r),i(n,t)){f.remove();o=!0;break}else r&&r.detach();return o}function f(t,r,u,e,o){var s=!1,h="table, thead, tbody, tfoot, tr, col, colgroup, object, embed, param, ol, ul, dl, blockquote, select, optgroup, option, textarea, script, style",c="script, .dotdotdot-keep";return t.contents().detach().each(function(){var a=this,l=n(a);if(typeof a=="undefined"||a.nodeType==3&&n.trim(a.data).length==0)return!0;
1if(l.is(c))t.append(l);else{if(s)return!0;t.append(l);o&&t[t.is(h)?"after":"append"](o);i(u,e)&&(s=a.nodeType==3?y(l,r,u,e,o):f(l,r,u,e,o),s||(l.detach(),s=!0));s||o&&o.detach()}}),s}function y(t,f,o,h,c){var l=t[0],nt,k,d;if(!l)return!1;var y=s(l),tt=y.indexOf(" ")!==-1?" ":"ã",p=h.wrap=="letter"?"":tt,a=y.split(p),g=-1,w=-1,b=0,v=a.length-1;for(h.fallbackToLetter&&b==0&&v==0&&(p="",a=y.split(p),v=a.length-1);b<=v&&!(b==0&&v==0);){if(nt=Math.floor((b+v)/2),nt==w)break;w=nt;u(l,a.slice(0,w+1).join(p)+h.ellipsis);i(o,h)?(v=w,h.fallbackToLetter&&b==0&&v==0&&(p="",a=a[0].split(p),g=-1,w=-1,b=0,v=a.length-1)):(g=w,b=w)}return g==-1||a.length==1&&a[0].length==0?(k=t.parent(),t.detach(),d=c&&c.closest(k).length?c.length:0,k.contents().length>d?l=r(k.contents().eq(-1-d),f):(l=r(k,f,!0),d||k.detach()),l&&(y=e(s(l),h),u(l,y),d&&c&&n(l).parent().append(c))):(y=e(a.slice(0,g+1).join(p),h),u(l,y)),!0}function i(n,t){return n.innerHeight()>t.maxHeight}function e(t,i){while(n.inArray(t.slice(-1),i.lastCharacter.remove)>-1)t=t.slice(0,-1);return n.inArray(t.slice(-1),i.lastCharacter.noEllipsis)<0&&(t+=i.ellipsis),t}function o(n){return{width:n.innerWidth(),height:n.innerHeight()}}function u(n,t){n.innerText?n.innerText=t:n.nodeValue?n.nodeValue=t:n.textContent&&(n.textContent=t)}function s(n){return n.innerText?n.innerText:n.nodeValue?n.nodeValue:n.textContent?n.textContent:""}function h(n){do n=n.previousSibling;while(n&&n.nodeType!==1&&n.nodeType!==3);return n}function r(t,i,u){var e=t&&t[0],f;if(e){if(!u){if(e.nodeType===3)return e;if(n.trim(t.text()))return r(t.contents().last(),i)}for(f=h(e);!f;){if(t=t.parent(),t.is(i)||!t.length)return!1;f=h(t[0])}if(f)return r(n(f),i)}return!1}function p(t,i){return t?typeof t=="string"?(t=n(t,i),t.length?t:!1):t.jquery?t:!1:!1}function w(n){for(var t,r=n.innerHeight(),u=["paddingTop","paddingBottom"],i=0,f=u.length;i<f;i++)t=parseInt(n.css(u[i]),10),isNaN(t)&&(t=0),r-=t;return r}var c,l,a;n.fn.dotdotdot||(n.fn.dotdotdot=function(t){var r;if(this.length==0)return n.fn.dotdotdot.debug('No element found for "'+this.selector+'".'),this;if(this.length>1)return this.each(function(){n(this).dotdotdot(t)});r=this;r.data("dotdotdot")&&r.trigger("destroy.dot");r.data("dotdotdot-style",r.attr("style")||"");r.css("word-wrap","break-word");r.css("white-space")==="nowrap"&&r.css("white-space","normal");r.bind_events=function(){return r.bind("update.dot",function(t,o){t.preventDefault();t.stopPropagation();u.maxHeight=typeof u.height=="number"?u.height:w(r);u.maxHeight+=u.tolerance;typeof o!="undefined"&&((typeof o=="string"||o instanceof HTMLElement)&&(o=n("<div />").append(o).contents()),o instanceof n&&(h=o));s=r.wrapInner('<div class="dotdotdot" />').children();s.contents().detach().end().append(h.clone(!0)).find("br").replaceWith(" <br /> ").end().css({height:"auto",width:"auto",border:"none",padding:0,margin:0});var c=!1,l=!1;return e.afterElement&&(c=e.afterElement.clone(!0),c.show(),e.afterElement.detach()),i(s,u)&&(l=u.wrap=="children"?v(s,u,c):f(s,r,s,u,c)),s.replaceWith(s.contents()),s=null,n.isFunction(u.callback)&&u.callback.call(r[0],l,h),e.isTruncated=l,l}).bind("isTruncated.dot",function(n,t){return n.preventDefault(),n.stopPropagation(),typeof t=="function"&&t.call(r[0],e.isTruncated),e.isTruncated}).bind("originalContent.dot",function(n,t){return n.preventDefault(),n.stopPropagation(),typeof t=="function"&&t.call(r[0],h),h}).bind("destroy.dot",function(n){n.preventDefault();n.stopPropagation();r.unwatch().unbind_events().contents().detach().end().append(h).attr("style",r.data("dotdotdot-style")||"").data("dotdotdot",!1)}),r};r.unbind_events=function(){return r.unbind(".dot"),r};r.watch=function(){if(r.unwatch(),u.watch=="window"){var t=n(window),i=t.width(),f=t.height();t.bind("resize.dot"+e.dotId,function(){i==t.width()&&f==t.height()&&u.windowResizeFix||(i=t.width(),f=t.height(),l&&clearInterval(l),l=setTimeout(function(){r.trigger("update.dot")},100))})}else a=o(r),l=setInterval(function(){if(r.is(":visible")){var n=o(r);(a.width!=n.width||a.height!=n.height)&&(r.trigger("update.dot"),a=n)}},500);return r};r.unwatch=function(){return n(window).unbind("resize.dot"+e.dotId),l&&clearInterval(l),r};var h=r.contents(),u=n.extend(!0,{},n.fn.dotdotdot.defaults,t),e={},a={},l=null,s=null;return u.lastCharacter.remove instanceof Array||(u.lastCharacter.remove=n.fn.dotdotdot.defaultArrays.lastCharacter.remove),u.lastCharacter.n
1oEllipsis instanceof Array||(u.lastCharacter.noEllipsis=n.fn.dotdotdot.defaultArrays.lastCharacter.noEllipsis),e.afterElement=p(u.after,r),e.isTruncated=!1,e.dotId=c++,r.data("dotdotdot",!0).bind_events().trigger("update.dot"),u.watch&&r.watch(),r},n.fn.dotdotdot.defaults={ellipsis:"... ",wrap:"word",fallbackToLetter:!0,lastCharacter:{},tolerance:0,callback:null,after:null,height:null,watch:!1,windowResizeFix:!0},n.fn.dotdotdot.defaultArrays={lastCharacter:{remove:[" ","ã",",",";",".","!","?"],noEllipsis:[]}},n.fn.dotdotdot.debug=function(){},c=1,l=n.fn.html,n.fn.html=function(i){return i!=t&&!n.isFunction(i)&&this.data("dotdotdot")?this.trigger("update",[i]):l.apply(this,arguments)},a=n.fn.text,n.fn.text=function(i){return i!=t&&!n.isFunction(i)&&this.data("dotdotdot")?(i=n("<div />").text(i).html(),this.trigger("update",[i])):a.apply(this,arguments)})}(jQuery),function(n){"use strict";function o(){e=n(window);t={};f={};r={};n.each([t,f,r],function(n,t){t.add=function(n){n=n.split(" ");for(var i=0,r=n.length;i<r;i++)t[n[i]]=t.ddd(n[i])}});t.ddd=function(n){return"ddd-"+n};t.add("truncated keep text");f.ddd=function(n){return"ddd-"+n};f.add("text");r.ddd=function(n){return n+".ddd"};r.add("resize");o=function(){}}var i="dot3",s="3.0.3",u,t,f,r,e;n[i]&&n[i].version>s||(n[i]=function(n,t){this.$dot=n;this.api=["getInstance","truncated","truncate","restore","destroy","watch","unwatch"];this.opts=t;var r=this.$dot.data(i);return r&&r.destroy(),this.init(),this.truncate(),this.opts.watch&&this.watch(),this},n[i].version=s,n[i].uniqueId=0,n[i].defaults={ellipsis:"⦠",truncate:"word",tolerance:0,keep:null,watch:"window"},u=!1,n[i].prototype={init:function(){this.watchTimeout=null;this.watchInterval=null;this.uniqueId=n[i].uniqueId++;this.originalContent=this.$dot.contents();this.originalStyle=this.$dot.attr("style")||"";this.maxHeight=this._getMaxHeight()+this.opts.tolerance;this.$dot.css("word-wrap")!=="break-word"&&this.$dot.css("word-wrap","break-word");this.$dot.css("white-space")==="nowrap"&&this.$dot.css("white-space","normal")},getInstance:function(){return this},truncated:function(){return u},truncate:function(){var r=this,i;return this.$inner=this.$dot.wrapInner("<div />").children().css({display:"block",height:"auto",width:"auto",border:"none",padding:0,margin:0}),this.$inner.contents().detach().end().append(this.originalContent.clone(!0)),this.$inner.find("script, style").addClass(t.keep),this.opts.keep&&this.$inner.find(this.opts.keep).addClass(t.keep),this.$inner.find("*").add(this.$inner).not("."+t.keep).contents().each(function(){var u=this,i=n(this),f;if(u.nodeType==3){if(i.prev().is("table, thead, tfoot, tr, th, td, dl, dt, dd, ul, ol, li, video")){i.remove();return}i.parent().contents().length>1&&(f=n('<span class="'+t.text+'">'+r.__getTextContent(u)+"<\/span>").css({display:"inline",height:"auto",width:"auto",border:"none",padding:0,margin:0}),i.replaceWith(f))}else u.nodeType==8&&i.remove()}),i=this._truncateNode(this.$inner),this.$dot[i?"addClass":"removeClass"](t.truncated),this.$inner.find("*").add(this.$inner).filter("."+t.text).each(function(){n(this).replaceWith(n(this).contents())}),this.$inner.find("*").add(this.$inner).filter("."+t.keep).removeClass(t.keep),this.$inner.replaceWith(this.$inner.contents()),this.$inner=null,u=i,i},restore:function(){this.unwatch();u=!1;this.$dot.contents().detach().end().append(this.originalContent).attr("style",this.originalStyle).removeClass(t.truncated)},destroy:function(){this.restore();this.$dot.data(i,null)},watch:function(){var n=this,t;if(this.unwatch(),t={},this.opts.watch=="window")e.on(r.resize+n.uniqueId,function(){n.watchTimeout&&clearTimeout(n.watchTimeout);n.watchTimeout=setTimeout(function(){t=n._watchSizes(t,e,"width","height")},100)});else this.watchInterval=setInterval(function(){t=n._watchSizes(t,n.$dot,"innerWidth","innerHeight")},500)},unwatch:function(){e.off(r.resize+this.uniqueId);this.watchInterval&&clearInterval(this.watchInterval);this.watchTimeout&&clearTimeout(this.watchTimeout)},_api:function(){var i=this,t={};return n.each(this.api,function(){var n=this;t[n]=function(){var r=i[n].apply(i,arguments);return typeof r=="undefined"?t:r}}),t},_truncateNode:function(i){var r=this,u=!1,f=!1;return n(i.children().get().reverse()).not("."+t.keep).each(function(){var o=n(this).contents()[0],i=n(this),e;if(!u&&!i.hasClass(t.keep)){if(i.children().length)u=r._truncateNode(i);else if(!r._fits()||f)if(e=n("<span>").css("display","none"),i.replaceWith(e),i.detach(),r._fits()){if(r.opts.truncate=="node")return!0;e.replaceWith(i);u=r._truncateWord(i);u||(f=!0,i.detach())}else e.remove();i.contents().length||i.remove()}}),u},_truncateWord:function(n){var i=n.contents()[0],r;if(!i)return!1;var t=this,o=this.__getTextContent(i),u=o.indexOf(" ")!==-1?" ":"ã",f=o.split(u),e="";for(r=f.length;r>=0;r--){if(e=f.slice(0,r).join(u),r==0)return t.opts.truncate=="letter"?(t.__setTextContent(i,f.slice(0,r+1).join(u)),t._truncateLetter(i)):!1;if(e.length&&(t.__setTextContent(i,t._addEllipsis(e)),t._fits()))return t.opts.truncate=="letter"?(t.__setTextContent(i,f.slice(0,r+1).join(u)),t._truncateLetter(i)):!0}return!1},_truncateLetter:function(n){for(var t=this,f=this.__getTextContent(n),u=f.split(""),i="",r=u.length;r>=0;r--)if((i=u.slice(0,r).join(""),i.length)&&(t.__setTextContent(n,t._addEllipsis(i)),t._fits()))return!0;return!1}
1,_fits:function(){return this.$inner.innerHeight()<=this.maxHeight},_addEllipsis:function(t){for(var i=[" ","ã",",",";",".","!","?"];n.inArray(t.slice(-1),i)>-1;)t=t.slice(0,-1);return t+this.opts.ellipsis},_getMaxHeight:function(){for(var t,u,i=["height","maxHeight"],r=0,n=0;n<i.length;n++)t=window.getComputedStyle(this.$dot[0])[i[n]],t.slice(-2)=="px"&&(t=parseInt(t,10),r=r?Math.min(r,t):t);switch(this.$dot.css("boxSizing")){case"padding-box":case"border-box":for(i=["paddingTop","paddingBottom"],n=0;n<i.length;n++)u=window.getComputedStyle(this.$dot[0])[i[n]],u.slice(-2)=="px"&&(r-=parseInt(u,10))}return Math.max(r,0)},_watchSizes:function(n,t,i,r){if(this.$dot.is(":visible")){var u={width:t[i](),height:t[r]()};return(n.width!=u.width||n.height!=u.height)&&this.truncate(),u}},__getTextContent:function(n){for(var i=["nodeValue","textContent","innerText"],t=0;t<i.length;t++)if(typeof n[i[t]]=="string")return n[i[t]];return""},__setTextContent:function(n,t){for(var r=["nodeValue","textContent","innerText"],i=0;i<r.length;i++)n[r[i]]=t}},n.fn[i]=function(t){return o(),t=n.extend(!0,{},n[i].defaults,t),this.each(function(){n(this).data(i,new n[i](n(this),t)._api())})})}(jQuery),function(n){n.fn.unveil=function(t,i,r){function e(){var t=f.filter(function(){var t=n(this);if(!t.is(":hidden")){var i=u.scrollTop(),f=i+u.height(),r=t.offset().top,e=r+t.height();return e>=i-o&&r<=f+o}});s=t.trigger("unveil");f=f.not(s)}var u=typeof r!="undefined"&&n(r).length>0?n(r):n(window),o=t||0,h=window.devicePixelRatio>1,c=h?"data-src-retina":"data-src",f=this,s;this.one("unveil",function(){var n=this.getAttribute(c);n=n||this.getAttribute("data-src");n&&(this.setAttribute("src",n),this.classList.remove("no-img"),typeof i=="function"&&i.call(this));n=this.getAttribute("data-bg");n&&(this.style.backgroundImage="url('"+n+"')",this.classList.remove("no-img"),typeof i=="function"&&i.call(this))});u.on("scroll.unveil resize.unveil lookup.unveil",e);return e(),this}}(window.jQuery||window.Zepto);Fingerprint=function(n){var t,i;t=Array.prototype.forEach;i=Array.prototype.map;this.each=function(n,i,r){var u,e,f;if(n!==null)if(t&&n.forEach===t)n.forEach(i,r);else if(n.length===+n.length){for(u=0,e=n.length;u<e;u++)if(i.call(r,n[u],u,n)==={})return}else for(f in n)if(n.hasOwnProperty(f)&&i.call(r,n[f],f,n)==={})return};this.map=function(n,t,r){var u=[];return n==null?u:i&&n.map===i?n.map(t,r):(this.each(n,function(n,i,f){u[u.length]=t.call(r,n,i,f)}),u)};typeof n=="object"?(typeof n.hasher!="undefined"&&(this.hasher=n.hasher),typeof n.canvas!="undefined"&&(this.canvas=n.canvas),typeof n.text!=undefined&&(this.fp_text=text)):typeof n=="function"&&(this.hasher=n)};Fingerprint.prototype={get:function(){var n=[];return n.push(navigator.userAgent),n.push(navigator.language),n.push(screen.colorDepth),n.push(this.getScreenResolution().join("x")),n.push((new Date).getTimezoneOffset()),n.push(this.hasSessionStorage()),n.push(this.hasLocalStorage()),n.push(this.hasIndexDb()),document.body?n.push(typeof document.body.addBehavior):n.push(typeof undefined),n.push(typeof openDatabase),n.push(navigator.cpuClass),n.push(navigator.platform),n.push(navigator.doNotTrack),n.push(this.getPluginsString()),this.canvas&&this.isCanvasSupported()&&n.push(this.getCanvasFingerprint(this.fp_text)),this.hasher?this.hasher(n.join("###"),31):murmurhash3_32_gc(n.join("###"),31)},hasLocalStorage:function(){try{return!!window.localStorage}catch(n){return!0}}
1,hasSessionStorage:function(){try{return!!window.sessionStorage}catch(n){return!0}},hasIndexDb:function(){try{return!!window.indexedDB}catch(n){return!0}},isCanvasSupported:function(){var n=document.createElement("canvas");return!!(n.getContext&&n.getContext("2d"))},isIE:function(){return navigator.appName==="Microsoft Internet Explorer"?!0:navigator.appName==="Netscape"&&/Trident/.test(navigator.userAgent)?!0:!1},getPluginsString:function(){return this.isIE()?this.getIEPluginsString():this.getRegularPluginsString()},getRegularPluginsString:function(){return this.map(navigator.plugins,function(n){var t=this.map(n,function(n){return[n.type,n.suffixes].join("~")}).join(",");return[n.name,n.description,t].join("::")},this).join(";")},getIEPluginsString:function(){return window.ActiveXObject?this.map(["ShockwaveFlash.ShockwaveFlash","AcroPDF.PDF","PDF.PdfCtrl","QuickTime.QuickTime","rmocx.RealPlayer G2 Control","rmocx.RealPlayer G2 Control.1","RealPlayer.RealPlayer(tm) ActiveX Control (32-bit)","RealVideo.RealVideo(tm) ActiveX Control (32-bit)","RealPlayer","SWCtl.SWCtl","WMPlayer.OCX","AgControl.AgControl","Skype.Detection"],function(n){try{return new ActiveXObject(n),n}catch(t){return null}}).join(";"):""},getScreenResolution:function(){return screen.height>screen.width?[screen.height,screen.width]:[screen.width,screen.height]},getCanvasFingerprint:function(n){var i=document.createElement("canvas"),t=i.getContext("2d"),r=n||"CANVAS_FINGERPRINT";return t.textBaseline="top",t.font="14px 'Arial'",t.textBaseline="alphabetic",t.fillStyle="#f60",t.fillRect(125,1,62,20),t.fillStyle="#069",t.fillText(r,2,15),t.fillStyle="rgba(102, 204, 0, 0.7)",t.fillText(r,4,17),i.toDataURL()}},function(n){var t=function(t,i,r){var u,e,f=i;n(r).css("width","0%");this.pause=function(){window.clearTimeout(u);f-=Date.now()-e;n(r).stop()};this.resume=function(){e=Date.now();window.clearTimeout(u);u=window.setTimeout(t,f);n(r).animate({width:"100%"},f)};this.delete=function(){window.clearTimeout(u)};this.resume()};n.fn.storySlider=function(i,r){function s(i,r){let o=`#${e} #slide-${i}-${r}`,s=n(o).data("autoplay")=="True",h=n(o).data("slider-autoplay");s&&(u=new t(function(){f.goToNextSlide()},h,`${o} .slide-block-handle .slide-block-handle-item.active`))}let u,f=this,e=this.attr("id"),o=this.data("story-id");var h={mode:"fade",captions:!1,infiniteLoop:!1,adaptiveHeight:!0,adaptiveHeightSpeed:1e3,responsive:!0,preloadImages:"all",pager:!1,controls:!1,auto:!1,speed:300,startSlide:0,touchEnabled:!1,onSliderLoad:function(){i!=null&&n(i).length>0;typeof r=="function"&&r();s(o,0)},onSlideBefore:function(){u!=null&&u!="undefined"&&(u.delete(),u=null);n(`#${e} #slide-${o}-${f.getCurrentSlide()} .slide-block-handle .slide-block-handle-item.active`).css("width","0%")},onSlideAfter:function(){n(window).scrollTop(n(window).scrollTop()+20);n(window).scrollTop(n(window).scrollTop()-20);s(o,f.getCurrentSlide())}};f.bxSlider(h);n(`#${e}`).on("click",".js-story-slide-prev",function(){f.goToPrevSlide()}).on("click",".js-story-slide-next",function(){f.goToNextSlide()}).on("click",".js-story-slide-to",function(){let t=n(this).data("index");f.goToSlide(t)}).on("mouseenter",".slide-block-public",function(){n(`#${e} #slide-${o}-${f.getCurrentSlide()} .slide-block-handle .slide-block-handle-item.active`).stop();u!=null&&u!="undefined"&&u.pause()}).off("mouseleave").on("mouseleave",".slide-block-public",function(){u!=null&&u!="undefined"&&u.resume()})}}(jQuery)
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.