/g,QUOT=/\"/g,SQUOT=/\'/g;dust.escapeHtml=function(a){return"string"==typeof a||a&&"function"==typeof a.toString?("string"!=typeof a&&(a=a.toString()),HCHARS.test(a)?a.replace(AMP,"&").replace(LT,"<").replace(GT,">").replace(QUOT,""").replace(SQUOT,"'"):a):a};var BS=/\\/g,FS=/\//g,CR=/\r/g,LS=/\u2028/g,PS=/\u2029/g,NL=/\n/g,LF=/\f/g,SQ=/'/g,DQ=/"/g,TB=/\t/g;return dust.escapeJs=function(a){return"string"==typeof a?a.replace(BS,"\\\\").replace(FS,"\\/").replace(DQ,'\\"').replace(SQ,"\\'").replace(CR,"\\r").replace(LS,"\\u2028").replace(PS,"\\u2029").replace(NL,"\\n").replace(LF,"\\f").replace(TB,"\\t"):a},dust.escapeJSON=function(a){return JSON?JSON.stringify(a).replace(LS,"\\u2028").replace(PS,"\\u2029").replace(LT,"\\u003c"):(dust.log("JSON is undefined; could not escape `"+a+"`",WARN),a)},dust}),"function"==typeof define&&define.amd&&define.amd.dust===!0&&define(["require","dust.core"],function(a,b){return b.onLoad=function(b,c){a([b],function(){c()})},b}),!function(a,b){"function"==typeof define&&define.amd&&define.amd.dust===!0?define(["dust.core"],b):"object"==typeof exports?module.exports=b(require("dustjs-linkedin")):b(a.dust)}(this,function(a){function b(b,c,d){d=d||"INFO",b=b?"{@"+b+"}: ":"",a.log(b+c,d)}function c(a){l[a]||(b(a,"Deprecation warning: "+a+" is deprecated and will be removed in a future version of dustjs-helpers","WARN"),b(null,"For help and a deprecation timeline, see https://github.com/linkedin/dustjs-helpers/wiki/Deprecated-Features#"+a.replace(/\W+/g,""),"WARN"),l[a]=!0)}function d(a){return a.stack.tail&&a.stack.tail.head&&"undefined"!=typeof a.stack.tail.head.__select__}function e(a){return d(a)&&a.get("__select__")}function f(a,b){var c,d=a.stack.head,e=a.rebase();a.stack&&a.stack.tail&&(e.stack=a.stack.tail);var f={isPending:!1,isResolved:!1,isDeferredComplete:!1,deferreds:[]};for(c in b)f[c]=b[c];return e.push({__select__:f}).push(d,a.stack.index,a.stack.of)}function g(a){var b,c;if(a.isDeferredPending=!0,a.deferreds.length)for(a.isDeferredComplete=!0,b=0,c=a.deferreds.length;c>b;b++)a.deferreds[b]();a.isDeferredPending=!1}function h(a,b){return"function"==typeof b?b.toString().replace(/(^\s+|\s+$)/gm,"").replace(/\n/gm,"").replace(/,\s*/gm,", ").replace(/\)\{/gm,") {"):b}function i(a,b){return function(c,d,e,f){return j(c,d,e,f,a,b)}}function j(a,c,d,f,g,h){var i,j,l,m,n=d.block,o=d["else"],p=e(c)||{};if(p.isResolved&&!p.isDeferredPending)return a;if(f.hasOwnProperty("key"))j=f.key;else{if(!p.hasOwnProperty("key"))return b(g,"No key specified","WARN"),a;j=p.key}return m=f.type||p.type,j=k(c.resolve(j),m),l=k(c.resolve(f.value),m),h(j,l)?(p.isPending||(i=!0,p.isPending=!0),n&&(a=a.render(n,c)),i&&(p.isResolved=!0)):o&&(a=a.render(o,c)),a}function k(a,b){switch(b&&(b=b.toLowerCase()),b){case"number":return+a;case"string":return String(a);case"boolean":return a="false"!==a&&a,Boolean(a);case"date":return new Date(a)}return a}var l={},m={tap:function(a,b,d){return c("tap"),d.resolve(a)},sep:function(a,b,c){var d=c.block;return b.stack.index===b.stack.of-1?a:d?d(a,b):a},first:function(a,b,c){return 0===b.stack.index?c.block(a,b):a},last:function(a,b,c){return b.stack.index===b.stack.of-1?c.block(a,b):a},contextDump:function(a,c,d,e){var f,g,i=c.resolve(e.to),j=c.resolve(e.key);switch(j){case"full":f=c.stack;break;default:f=c.stack.head}switch(g=JSON.stringify(f,h,2),i){case"console":b("contextDump",g);break;default:g=g.replace(/a}),lte:i("lte",function(a,b){return b>=a}),gt:i("gt",function(a,b){return a>b}),gte:i("gte",function(a,b){return a>=b}),any:function(a,c,d,f){var g=e(c);return g?g.isDeferredComplete?b("any","Must not be nested inside {@any} or {@none} block","ERROR"):a=a.map(function(a){g.deferreds.push(function(){g.isResolved&&(a=a.render(d.block,c)),a.end()})}):b("any","Must be used inside a {@select} block","ERROR"),a},none:function(a,c,d,f){var g=e(c);return g?g.isDeferredComplete?b("none","Must not be nested inside {@any} or {@none} block","ERROR"):a=a.map(function(a){g.deferreds.push(function(){g.isResolved||(a=a.render(d.block,c)),a.end()})}):b("none","Must be used inside a {@select} block","ERROR"),a},size:function(b,c,d,e){var f,g,h=e.key;if(h=c.resolve(e.key),h&&h!==!0)if(a.isArray(h))f=h.length;else if(!isNaN(parseFloat(h))&&isFinite(h))f=h;else if("object"==typeof h){f=0;for(g in h)h.hasOwnProperty(g)&&f++}else f=(h+"").length;else f=0;return b.write(f)}};for(var n in m)a.helpers[n]=m[n];return a}),function(a){function b(a,b){return a.w('
')}return a.register("ads_1tier",b),b.__dustBody=!0,b}(dust),function(a){function b(a,b){return a.w('').f(b.get(["SPONSORED_LINKS"],!1),b,"h",["s"]).w("
").s(b.get(["ads"],!1),b,{block:c},{}).w("
")}function c(a,b){return a.w('")}return a.register("ads_2tier",b),b.__dustBody=!0,c.__dustBody=!0,b}(dust),function(a){function b(a,b){return a.w('').h("eq",b,{block:c},{key:b.get(["buyboxTopic"],!1),value:"true",type:"boolean"},"h").w('
").h("ne",b,{"else":f,block:k},{key:b.get(["toSellText"],!1),value:""},"h").w("
")}function c(a,b){return a.w('")}function d(a,b){return a.w('rel="nofollow"')}function e(a,b){return a.w('rel="nofollow"')}function f(a,b){return a.h("eq",b,{"else":g,block:h},{key:b.get(["dnsh"],!1),value:"true",type:"boolean"},"h")}function g(a,b){return a.f(b.get(["TOSELL_TEASER"],!1),b,"h",["s"])}function h(a,b){return a.h("eq",b,{"else":i,block:j},{key:b.get(["dpsh"],!1),value:"true",type:"boolean"},"h")}function i(a,b){return a.f(b.get(["BUYBOX_TEASER_NOPRICE"],!1),b,"h",["s"])}function j(a,b){return a.f(b.get(["BUYBOX_TEASER_PRICE"],!1),b,"h",["s"])}function k(a,b){return a.f(b.get(["toSellText"],!1),b,"h",["s"])}return a.register("buybox",b),b.__dustBody=!0,c.__dustBody=!0,d.__dustBody=!0,e.__dustBody=!0,f.__dustBody=!0,g.__dustBody=!0,h.__dustBody=!0,i.__dustBody=!0,j.__dustBody=!0,k.__dustBody=!0,b}(dust),function(a){function b(a,b){return a.h("eq",b,{block:c},{key:b.get(["contentType"],!1),value:1},"h").h("eq",b,{block:f},{key:b.get(["contentType"],!1),value:5},"h")}function c(a,b){return a.w('').p("relatedlinks_1tier",b,b,{contentId:d}).w('
').p("ads_1tier",b,b,{contentId:e}).w("
")}function d(a,b){return a.f(b.getPath(!1,["mapping","relatedlinks"]),b,"h")}function e(a,b){return a.f(b.getPath(!1,["mapping","ads"]),b,"h")}function f(a,b){return a.w('').p("relatedlinks_1tier",b,b,{contentId:g}).w("
")}function g(a,b){return a.f(b.getPath(!1,["mapping","twoclick","relatedlinks"]),b,"h")}return a.register("content_1tier",b),b.__dustBody=!0,c.__dustBody=!0,d.__dustBody=!0,e.__dustBody=!0,f.__dustBody=!0,g.__dustBody=!0,b}(dust),function(a){function b(a,b){return a.h("eq",b,{block:c},{key:b.get(["contentType"],!1),value:1},"h").h("eq",b,{block:f},{key:b.get(["contentType"],!1),value:5},"h")}function c(a,b){return a.w('').p("relatedlinks_2tier",b,b,{contentId:d}).w('
').p("ads_2tier",b,b,{contentId:e}).w("
")}function d(a,b){return a.f(b.getPath(!1,["mapping","relatedlinks"]),b,"h")}function e(a,b){return a.f(b.getPath(!1,["mapping","ads"]),b,"h")}function f(a,b){return a.w('').p("relatedlinks_2tier",b,b,{contentId:g}).w("
")}function g(a,b){return a.f(b.getPath(!1,["mapping","relatedlinks"]),b,"h")}return a.register("content_2tier",b),b.__dustBody=!0,c.__dustBody=!0,d.__dustBody=!0,e.__dustBody=!0,f.__dustBody=!0,g.__dustBody=!0,b}(dust),function(a){function b(a,b){return a.w("").f(b.get(["MESSAGE"],!1),b,"h",["s"]).w("
")}return a.register("cookie-message",b),b.__dustBody=!0,b}(dust),function(a){function b(a,b){return a.w('').f(b.get(["FOOTER_TEASER"],!1),b,"h",["s"]).w(" ").f(b.get(["FOOTER_DISCLAIMER"],!1),b,"h",["s"]).w("
")}return a.register("disclaimer-no-logo",b),b.__dustBody=!0,b}(dust),function(a){function b(a,b){return a.w('').f(b.get(["FOOTER_TEASER"],!1),b,"h",["s"]).w(" ").f(b.get(["FOOTER_DISCLAIMER"],!1),b,"h",["s"]).w(" ")}return a.register("disclaimer",b),b.__dustBody=!0,b}(dust),function(a){function b(a,b){return a.w("").f(b.get(["domainName"],!1),b,"h").w("
")}return a.register("domainname-simple",b),b.__dustBody=!0,b}(dust),function(a){function b(a,b){return a.w('').f(b.get(["domainName"],!1),b,"h").w("
")}return a.register("domainname",b),b.__dustBody=!0,b}(dust),function(a){function b(a,b){return a.w('')}return a.register("imprint",b),b.__dustBody=!0,b}(dust),function(a){function b(a,b){return a.w('').f(b.get(["PRIVACY_POLICY_TXT"],!1),b,"h",["s"]).w('
")}return a.register("privacy_policy",b),b.__dustBody=!0,b}(dust),function(a){function b(a,b){return a.w('')}return a.register("relatedlinks_1tier",b),b.__dustBody=!0,b}(dust),function(a){function b(a,b){return a.h("showRelatedLinks",b,{block:c},{},"h")}function c(a,b){return a.w('').f(b.get(["RELATEDLINKS_TOPIC"],!1),b,"h",["s"]).w("
").s(b.get(["rls"],!1),b,{block:d},{}).w("
")}function d(a,b){return a.w('').f(b.get(["term"],!1),b,"h",["h"]).w("")}return a.register("relatedlinks_2tier",b),b.__dustBody=!0,c.__dustBody=!0,d.__dustBody=!0,b}(dust),function(a){function b(a,b){return a.h("showRelatedLinks",b,{block:c},{},"h")}function c(a,b){return a.w('').f(b.get(["RELATEDLINKS_TOPIC"],!1),b,"h",["s"]).w('
').s(b.get(["rls"],!1),b,{block:d},{}).w("
")}function d(a,b){return a.w('').f(b.get(["term"],!1),b,"h",["h"]).w("").h("columnSplit",b,{block:e},{columns:2,length:b.get(["$len"],!1),index:b.get(["$idx"],!1)},"h")}function e(a,b){return a.w('')}return a.register("relatedlinks_2tier_2cols",b),b.__dustBody=!0,c.__dustBody=!0,d.__dustBody=!0,e.__dustBody=!0,b}(dust),function(a){function b(a,b){return a.h("showRelatedLinks",b,{block:c},{},"h")}function c(a,b){return a.w('').f(b.get(["RELATEDLINKS_TOPIC"],!1),b,"h",["s"]).w('
').s(b.get(["rls"],!1),b,{block:d},{}).w("
")}function d(a,b){return a.w('- ').f(b.get(["term"],!1),b,"h",["h"]).w("
").h("columnSplit",b,{
block:e},{columns:2,length:b.get(["$len"],!1),index:b.get(["$idx"],!1)},"h")}function e(a,b){return a.w('
')}return a.register("relatedlinks_2tier_2cols_static",b),b.__dustBody=!0,c.__dustBody=!0,d.__dustBody=!0,e.__dustBody=!0,b}(dust),function(a){function b(a,b){return a.w('')}return a.register("searchbox_1tier",b),b.__dustBody=!0,b}(dust),function(a){function b(a,b){return a.w('")}return a.register("searchbox_2tier",b),b.__dustBody=!0,b}(dust),function(a){function b(a,b){return a.w('').f(b.get(["POPULAR_CATEGORIES"],!1),b,"h",["s"]).w("
").s(b.get(["webArchive"],!1),b,{block:c},{}).w("
")}function c(a,b){return a.w('").s(b.get(["d"],!1),b,{block:d},{}).w("
")}function d(a,b){return a.w('- ').f(b.get(["e"],!1),b,"h",["h"]).w("
")}return a.register("webarchive_static",b),b.__dustBody=!0,c.__dustBody=!0,d.__dustBody=!0,b}(dust);var domIsReady=function(a){var b=function(){return document.attachEvent&&"undefined"!=typeof document.attachEvent?"ie":"not-ie"};return a=function(a){a&&"function"==typeof a&&("ie"!==b()?document.addEventListener("DOMContentLoaded",function(){return a()}):document.attachEvent("onreadystatechange",function(){if("complete"===document.readyState)return a()}))}}(domIsReady||{});!function(a,b,c,d){c(function(){var a,b;switch(a=$("body"),b=[],dto.advt){case 1:b.push("onet");break;case 2:b.push("twot")}"undefined"!=typeof dto.contentType&&b.push(dto.ct_mapping[dto.contentType]),"undefined"!=typeof dto.t&&b.push(dto.t),b.length>1?a.addClass(b.join(" ")):a.addClass(b[0])})}(document,window,domIsReady),dust.helpers.columnSplit=function(a,b,c,d){var e=Math.ceil(d.length/d.columns),f=d.index+1;return f%e===0&&f!==d.length},dust.helpers.showRelatedLinks=function(a,b,c,d){return 0!==Object.keys(b.stack.head.rls).length};