// copyright 2012 google inc. all rights reserved. (function(){ var data = { "resource": { "version":"15", "macros":[{ "function":"__u", "vtp_component":"url", "vtp_enablemultiquerykeys":false, "vtp_enableignoreemptyqueryparam":false },{ "function":"__e" },{ "function":"__aev", "vtp_vartype":"url", "vtp_component":"url" },{ "function":"__e" },{ "function":"__v", "vtp_datalayerversion":2, "vtp_setdefaultvalue":false, "vtp_name":"eventvalue" },{ "function":"__v", "vtp_datalayerversion":2, "vtp_setdefaultvalue":false, "vtp_name":"eventcategory" },{ "function":"__v", "vtp_datalayerversion":2, "vtp_setdefaultvalue":false, "vtp_name":"eventaction" },{ "function":"__v", "vtp_datalayerversion":2, "vtp_setdefaultvalue":false, "vtp_name":"eventlabel" },{ "function":"__v", "vtp_name":"gtm.elementurl", "vtp_datalayerversion":1 },{ "function":"__u", "vtp_component":"path", "vtp_enablemultiquerykeys":false, "vtp_enableignoreemptyqueryparam":false },{ "function":"__u", "vtp_component":"host", "vtp_enablemultiquerykeys":false, "vtp_enableignoreemptyqueryparam":false },{ "function":"__f" },{ "function":"__aev", "vtp_vartype":"element" },{ "function":"__aev", "vtp_vartype":"classes" },{ "function":"__aev", "vtp_vartype":"id" },{ "function":"__aev", "vtp_vartype":"target" },{ "function":"__aev", "vtp_vartype":"text" },{ "function":"__aev", "vtp_vartype":"url" },{ "function":"__aev", "vtp_vartype":"history_new_url_fragment" },{ "function":"__aev", "vtp_vartype":"history_old_url_fragment" },{ "function":"__aev", "vtp_vartype":"history_new_state" },{ "function":"__aev", "vtp_vartype":"history_old_state" },{ "function":"__aev", "vtp_vartype":"history_change_source" }], "tags":[{ "function":"__ua", "once_per_event":true, "vtp_overridegasettings":true, "vtp_doubleclick":true, "vtp_settrackername":false, "vtp_usedebugversion":false, "vtp_fieldstoset":["list",["map","fieldname","allowlinker","value","false"],["map","fieldname","cookiedomain","value","auto"]], "vtp_usehashautolink":false, "vtp_tracktype":"track_pageview", "vtp_decorateformsautolink":false, "vtp_enablelinkid":false, "vtp_enableecommerce":false, "vtp_trackingid":"ua-59055488-4", "vtp_enablerecaptchaoption":false, "vtp_enableuarlsa":false, "vtp_enableuseinternalversion":false, "vtp_enablefirebasecampaigndata":true, "tag_id":1 },{ "function":"__lcl", "once_per_event":true, "vtp_waitfortags":false, "vtp_checkvalidation":false, "tag_id":2 },{ "function":"__ua", "once_per_event":true, "vtp_noninteraction":false, "vtp_usedebugversion":false, "vtp_eventcategory":"external", "vtp_tracktype":"track_event", "vtp_eventaction":["macro",0], "vtp_eventlabel":["macro",2], "vtp_overridegasettings":true, "vtp_doubleclick":false, "vtp_settrackername":false, "vtp_fieldstoset":["list",["map","fieldname","cookiedomain","value","auto"]], "vtp_enablelinkid":false, "vtp_enableecommerce":false, "vtp_trackingid":"ua-59055488-4", "vtp_enablerecaptchaoption":false, "vtp_enableuarlsa":false, "vtp_enableuseinternalversion":false, "vtp_enablefirebasecampaigndata":true, "vtp_tracktypeisevent":true, "tag_id":3 },{ "function":"__ua", "once_per_event":true, "vtp_noninteraction":false, "vtp_usedebugversion":false, "vtp_eventcategory":"pdf", "vtp_tracktype":"track_event", "vtp_eventaction":["macro",0], "vtp_eventlabel":["macro",2], "vtp_overridegasettings":true, "vtp_doubleclick":false, "vtp_settrackername":false, "vtp_fieldstoset":["list",["map","fieldname","cookiedomain","value","auto"]], "vtp_enablelinkid":false, "vtp_enableecommerce":false, "vtp_trackingid":"ua-59055488-4", "vtp_enablerecaptchaoption":false, "vtp_enableuarlsa":false, "vtp_enableuseinternalversion":false, "vtp_enablefirebasecampaigndata":true, "vtp_tracktypeisevent":true, "tag_id":4 },{ "function":"__ua", "once_per_event":true, "vtp_overridegasettings":true, "vtp_doubleclick":true, "vtp_settrackername":false, "vtp_usedebugversion":false, "vtp_fieldstoset":["list",["map","fieldname","allowlinker","value","false"],["map","fieldname","cookiedomain","value","auto"]], "vtp_usehashautolink":false, "vtp_tracktype":"track_pageview", "vtp_decorateformsautolink":false, "vtp_enablelinkid":false, "vtp_enableecommerce":false, "vtp_trackingid":"ua-59055488-20", "vtp_enablerecaptchaoption":false, "vtp_enableuarlsa":false, "vtp_enableuseinternalversion":false, "vtp_enablefirebasecampaigndata":true, "tag_id":6 },{ "function":"__ua", "once_per_event":true, "vtp_noninteraction":false, "vtp_usedebugversion":false, "vtp_eventcategory":"pdf", "vtp_tracktype":"track_event", "vtp_eventaction":["macro",0], "vtp_eventlabel":["macro",2], "vtp_overridegasettings":true, "vtp_doubleclick":false, "vtp_settrackername":false, "vtp_fieldstoset":["list",["map","fieldname","cookiedomain","value","auto"]], "vtp_enablelinkid":false, "vtp_enableecommerce":false, "vtp_trackingid":"ua-59055488-20", "vtp_enablerecaptchaoption":false, "vtp_enableuarlsa":false, "vtp_enableuseinternalversion":false, "vtp_enablefirebasecampaigndata":true, "vtp_tracktypeisevent":true, "tag_id":7 },{ "function":"__ua", "once_per_event":true, "vtp_noninteraction":false, "vtp_usedebugversion":false, "vtp_eventcategory":"external", "vtp_tracktype":"track_event", "vtp_eventaction":["macro",0], "vtp_eventlabel":["macro",2], "vtp_overridegasettings":true, "vtp_doubleclick":false, "vtp_settrackername":false, "vtp_fieldstoset":["list",["map","fieldname","cookiedomain","value","auto"]], "vtp_enablelinkid":false, "vtp_enableecommerce":false, "vtp_trackingid":"ua-59055488-20", "vtp_enablerecaptchaoption":false, "vtp_enableuarlsa":false, "vtp_enableuseinternalversion":false, "vtp_enablefirebasecampaigndata":true, "vtp_tracktypeisevent":true, "tag_id":8 },{ "function":"__ua", "once_per_event":true, "vtp_noninteraction":false, "vtp_overridegasettings":true, "vtp_eventvalue":["macro",4], "vtp_fieldstoset":["list",["map","fieldname","cookiedomain","value","auto"]], "vtp_eventcategory":["macro",5], "vtp_tracktype":"track_event", "vtp_eventaction":["macro",6], "vtp_eventlabel":["macro",7], "vtp_trackingid":"ua-59055488-4", "vtp_enablerecaptchaoption":false, "vtp_enableuarlsa":false, "vtp_enableuseinternalversion":false, "vtp_enablefirebasecampaigndata":true, "vtp_tracktypeisevent":true, "tag_id":9 },{ "function":"__ua", "metadata":["map"], "once_per_event":true, "vtp_noninteraction":true, "vtp_usedebugversion":false, "vtp_eventcategory":"movie", "vtp_tracktype":"track_event", "vtp_eventaction":["macro",0], "vtp_eventlabel":["macro",8], "vtp_overridegasettings":true, "vtp_doubleclick":false, "vtp_settrackername":false, "vtp_fieldstoset":["list",["map","fieldname","cookiedomain","value","auto"]], "vtp_enablelinkid":false, "vtp_enableecommerce":false, "vtp_trackingid":"ua-59055488-4", "vtp_enablerecaptchaoption":false, "vtp_enableuarlsa":false, "vtp_enableuseinternalversion":false, "vtp_enablefirebasecampaigndata":true, "vtp_tracktypeisevent":true, "tag_id":10 },{ "function":"__cl", "tag_id":11 },{ "function":"__html", "once_per_event":true, "vtp_html":"\n\u003cscript type=\"text\/gtmscript\"\u003evar _uic=_uic||{},_uih=_uih||{};_uih.id=50503;_uih.lg_id=\"\";_uih.fb_id=\"\";_uih.tw_id=\"\";_uih.uigr_1=\"gwi\";_uih.uigr_2=\"gwi_\"+window.location.hostname.split(\".\")[0]+\"_\"+(2\u003cwindow.location.pathname.split(\"\/\").length?window.location.pathname.split(\"\/\")[1]:\"notset\");_uih.uigr_3=\"\";_uih.uigr_4=\"\";_uih.uigr_5=\"\";_uih.uigr_6=\"\";_uih.uigr_7=\"\";_uih.uigr_8=\"\";_uih.uigr_9=\"\";_uih.uigr_10=\"\";\n(function(){var a=document.createelement(\"script\");a.type=\"text\/javascript\";a.async=!0;a.src=(\"https:\"==document.location.protocol?\"https:\/\/bs\":\"http:\/\/c\")+\".nakanohito.jp\/b3\/bi.js\";var b=document.getelementsbytagname(\"script\")[0];b.parentnode.insertbefore(a,b)})();\u003c\/script\u003e\n", "vtp_supportdocumentwrite":false, "vtp_enableiframemode":false, "vtp_enableeditjsmacrobehavior":false, "tag_id":5 }], "predicates":[{ "function":"_re", "arg0":["macro",0], "arg1":"mapmitsubishielectric\\.force\\.com|cn\\.mitsubishielectric\\.com\/zh\/|map\\.mitsubishielectric\\.com\/locations\/localcompanies\\?lang\\=cn_zh|map\\.mitsubishielectric\\.com\/locations\/localcompany\\?company\\=cn|map\\.mitsubishielectric\\.com\/locations\/cn\/zh|www\\.mitsubishielectric\\.com\/contact\/ssl\/php\/(1051|1056|1059)\/", "ignore_case":true },{ "function":"_eq", "arg0":["macro",1], "arg1":"gtm.js" },{ "function":"_re", "arg0":["macro",0], "arg1":".*" },{ "function":"_re", "arg0":["macro",2], "arg1":"mapmitsubishielectric\\.force\\.com|cn\\.mitsubishielectric\\.com\/zh\/|map\\.mitsubishielectric\\.com\/locations\/localcompanies\\?lang\\=cn_zh|map\\.mitsubishielectric\\.com\/locations\/localcompany\\?company\\=cn|map\\.mitsubishielectric\\.com\/locations\/cn\/zh|www\\.mitsubishielectric\\.com\/contact\/ssl\/php\/(1051|1056|1059)\/", "ignore_case":true },{ "function":"_ew", "arg0":["macro",2], "arg1":".pdf" },{ "function":"_eq", "arg0":["macro",1], "arg1":"gtm.linkclick" },{ "function":"_re", "arg0":["macro",0], "arg1":"hk\\.mitsubishielectric\\.com\\\/(zh|en)\\\/|map\\.mitsubishielectric\\.com\\\/(locations|locationspreview)\\\/hk\\\/(zh|en)\\\/|www.mitsubishielectric.com\/contact\\\/ssl\\\/php\\\/10(52|57|53|58)\\\/" },{ "function":"_re", "arg0":["macro",0], "arg1":"test-hk\\.mitsubishielectric\\.com\\\/(zh|en)\\\/|megfsb01-meg\\.cs5\\.force\\.com\\\/(locations|locationspreview)\\\/hk\\\/(zh|en)\\\/|t-www.mitsubishielectric.com\/contact\\\/ssl\\\/php\\\/10(52|57|53|58)\\\/" },{ "function":"_re", "arg0":["macro",0], "arg1":"hk\\.mitsubishielectric\\.com\\\/(zh|en)\\\/|map\\.mitsubishielectric\\.com\\\/(locations|locationspreview)\\\/hk\\\/(zh|en)\\\/|www.mitsubishielectric.com\/contact\\\/ssl\\\/php\\\/10(52|57|53|58)\\\/", "ignore_case":true },{ "function":"_re", "arg0":["macro",0], "arg1":"test-hk\\.mitsubishielectric\\.com\\\/(zh|en)\\\/|megfsb01-meg\\.cs5\\.force\\.com\\\/(locations|locationspreview)\\\/hk\\\/(zh|en)\\\/|t-www.mitsubishielectric.com\/contact\\\/ssl\\\/php\\\/10(52|57|53|58)\\\/", "ignore_case":true },{ "function":"_re", "arg0":["macro",2], "arg1":"hk\\.mitsubishielectric\\.com\\\/(zh|en)\\\/|map\\.mitsubishielectric\\.com\\\/(locations|locationspreview)\\\/hk\\\/(zh|en)\\\/|www.mitsubishielectric.com\/contact\\\/ssl\\\/php\\\/10(52|57|53|58)\\\/", "ignore_case":true },{ "function":"_re", "arg0":["macro",2], "arg1":"test-hk\\.mitsubishielectric\\.com\\\/(zh|en)\\\/|megfsb01-meg\\.cs5\\.force\\.com\\\/(locations|locationspreview)\\\/hk\\\/(zh|en)\\\/|t-www.mitsubishielectric.com\/contact\\\/ssl\\\/php\\\/10(52|57|53|58)\\\/", "ignore_case":true },{ "function":"_eq", "arg0":["macro",3], "arg1":"herospaceevent" },{ "function":"_eq", "arg0":["macro",1], "arg1":"herospaceevent" },{ "function":"_re", "arg0":["macro",8], "arg1":"^https:\/\/cn\\.mitsubishielectric\\.com\/zh\/feature\/solutions\/static\/img\/(.*\/movie_pic.*\\.jpg|top\/btn_guankan.png)", "ignore_case":true },{ "function":"_sw", "arg0":["macro",9], "arg1":"\/zh\/feature\/solutions\/" },{ "function":"_eq", "arg0":["macro",1], "arg1":"gtm.click" }], "rules":[ [["if",0,1],["add",0,10]], [["if",1,2],["add",1]], [["if",0,5],["unless",3,4],["add",2]], [["if",0,4,5],["add",3]], [["if",1,6],["add",4,10]], [["if",1,7],["add",4]], [["if",4,5,8],["add",5]], [["if",4,5,9],["add",5]], [["if",5,8],["unless",4,10],["add",6]], [["if",5,9],["unless",4,11],["add",6]], [["if",0,12,13],["add",7]], [["if",14,15,16],["add",8]], [["if",1],["add",9]]] }, "runtime":[] }; /* copyright the closure library authors. spdx-license-identifier: apache-2.0 */ var aa,ba="function"==typeof object.create?object.create:function(a){var b=function(){};b.prototype=a;return new b},da;if("function"==typeof object.setprototypeof)da=object.setprototypeof;else{var ea;a:{var fa={fg:!0},ha={};try{ha.__proto__=fa;ea=ha.fg;break a}catch(a){}ea=!1}da=ea?function(a,b){a.__proto__=b;if(a.__proto__!==b)throw new typeerror(a+" is not extensible");return a}:null} var ja=da,la=function(a,b){a.prototype=ba(b.prototype);a.prototype.constructor=a;if(ja)ja(a,b);else for(var c in b)if("prototype"!=c)if(object.defineproperties){var d=object.getownpropertydescriptor(b,c);d&&object.defineproperty(a,c,d)}else a[c]=b[c];a.mh=b.prototype},na=this||self,ra=function(a){if(a&&a!=na)return pa(a.document);null===qa&&(qa=pa(na.document));return qa},sa=/^[\w+/_-]+[=]{0,2}$/,qa=null,pa=function(a){var b=a.queryselector&&a.queryselector("script[nonce]");if(b){var c=b.nonce||b.getattribute("nonce"); if(c&&sa.test(c))return c}return""},ta=function(a){var b=typeof a;return"object"!=b?b:a?array.isarray(a)?"array":b:"null"},ua=function(a,b){function c(){}c.prototype=b.prototype;a.mh=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.ci=function(d,e,f){for(var h=array(arguments.length-2),k=2;kb)a=0,b=2147483647;return math.floor(math.random()*(b-a+1)+a)},ea=function(a,b){for(var c=new da,d=0;dc.length&&d&&b.push(c)});return b.join(",")};/* jquery v1.9.1 (c) 2005, 2012 jquery foundation, inc. jquery.org/license. */ var ua=/\[object (boolean|number|string|function|array|date|regexp)\]/,va=function(a){if(null==a)return string(a);var b=ua.exec(object.prototype.tostring.call(object(a)));return b?b[1].tolowercase():"object"},wa=function(a,b){return object.prototype.hasownproperty.call(object(a),b)},xa=function(a){if(!a||"object"!=va(a)||a.nodetype||a==a.window)return!1;try{if(a.constructor&&!wa(a,"constructor")&&!wa(a.constructor.prototype,"isprototypeof"))return!1}catch(c){return!1}for(var b in a);return void 0=== b||wa(a,b)},m=function(a,b){var c=b||("array"==va(a)?[]:{}),d;for(d in a)if(wa(a,d)){var e=a[d];"array"==va(e)?("array"!=va(c[d])&&(c[d]=[]),c[d]=m(e,c[d])):xa(e)?(xa(c[d])||(c[d]={}),c[d]=m(e,c[d])):c[d]=e}return c};var za=function(a){if(void 0==a||za(a)||xa(a))return!0;switch(typeof a){case "boolean":case "number":case "string":case "function":return!0}return!1};var zb; var ab=[],bb=[],cb=[],db=[],eb=[],fb={},gb,ib,jb,kb=function(a,b){var c=a["function"];if(!c)throw error("error: no function name given for function call.");var d=fb[c],e={},f;for(f in a)a.hasownproperty(f)&&0===f.indexof("vtp_")&&(d&&b&&b.de&&b.de(a[f]),e[void 0!==d?f:f.substr(4)]=a[f]);return void 0!==d?d(e):zb(c,e,b)},mb=function(a,b,c){c=c||[];var d={},e;for(e in a)a.hasownproperty(e)&&(d[e]=lb(a[e],b,c));return d},nb=function(a){var b=a["function"];if(!b)throw"error: no function name given for function call."; var c=fb[b];return c?c.priorityoverride||0:0},lb=function(a,b,c){if(za(a)){var d;switch(a[0]){case "function_id":return a[1];case "list":d=[];for(var e=1;e"}else p=void 0===d?"undefined":null===d?"null":typeof d;vc("argument is not a %s (or a non-element, non-location mock); got: %s", "htmlscriptelement",p)}var t;e instanceof bc&&e.constructor===bc?t=e.h:(vc("expected object of type trustedresourceurl, got '"+e+"' of type "+ta(e)),t="type_error:trustedresourceurl");d.src=t;var q=ra(d.ownerdocument&&d.ownerdocument.defaultview);q&&d.setattribute("nonce",q);uc(d,b);c&&(d.onerror=c);var v=ra();v&&d.setattribute("nonce",v);var u=h.getelementsbytagname("script")[0]||h.body||h.head;u.parentnode.insertbefore(d,u);return d},wc=function(){if(sc){var a=sc.tolowercase();if(0===a.indexof("https://"))return 2; if(0===a.indexof("http://"))return 3}return 1},xc=function(a,b){var c=h.createelement("iframe");c.height="0";c.width="0";c.style.display="none";c.style.visibility="hidden";var d=h.body&&h.body.lastchild||h.body||h.head;d.parentnode.insertbefore(c,d);uc(c,b);void 0!==a&&(c.src=a);return c},yc=function(a,b,c){var d=new image(1,1);d.onload=function(){d.onload=null;b&&b()};d.onerror=function(){d.onerror=null;c&&c()};d.src=a;return d},zc=function(a,b,c,d){a.addeventlistener?a.addeventlistener(b,c,!!d): a.attachevent&&a.attachevent("on"+b,c)},$c=function(a,b,c){a.removeeventlistener?a.removeeventlistener(b,c,!1):a.detachevent&&a.detachevent("on"+b,c)},j=function(a){f.settimeout(a,0)},ad=function(a,b){return a&&b&&a.attributes&&a.attributes[b]?a.attributes[b].value:null},bd=function(a){var b=a.innertext||a.textcontent||"";b&&" "!=b&&(b=b.replace(/^[\s\xa0]+|[\s\xa0]+$/g,""));b&&(b=b.replace(/(\xa0+|\s{2,}|\n|\r\t)/g," "));return b},cd=function(a){var b=h.createelement("div");pc(b,qc("a
"+a+"
")); b=b.lastchild;for(var c=[];b.firstchild;)c.push(b.removechild(b.firstchild));return c},dd=function(a,b,c){c=c||100;for(var d={},e=0;e=te--?(d(1),re[ne]=!0):(se.eh(),yc(ie()),oe[ne]=!0,ue=ve=we=qe=pe=""))},ie=function(){var a=ne;if(void 0===a)return"";var b=sc("gtm"),c=sc("tagging");return[xe,oe[a]?"":"&es=1",ye[a],b?"&u="+b:"",c?"&ut="+c:"",he(),pe,qe,we?we:"",ve,ue,"&z=0"].join("")}, ze=function(){return[de,"&v=3&t=t","&pid="+ca(),"&rv="+ud.yb].join("")},ae="0.005000">math.random(),xe=ze(),be=function(){xe=ze()},oe={},pe="",qe="",ue="",ve="",we="",ne=void 0,ye={},re={},le=void 0,se=function(a,b){var c=0,d=0;return{hh:function(){if(c=b&&(c=0);return c>=a},eh:function(){ka()-d>=b&&(c=0);c++;d=ka()}}}(2,1e3),te=1e3,ce=function(a,b,c){if(ae&&!re[a]&&b){a!==ne&&(je(),ne=a);var d,e=string(b[pb.ea]||"").replace(/_/g,"");0===e.indexof("cvt")&&(e="cvt"); d=e;var f=c+d;pe=pe?pe+"."+f:"&tr="+f;var h=b["function"];if(!h)throw error("error: no function name given for function call.");var k=(fb[h]?"1":"2")+d;ue=ue?ue+"."+k:"&ti="+k;me();ke()}},de=function(a,b,c){if(ae&&!re[a]){a!==ne&&(je(),ne=a);var d=c+b;qe=qe?qe+"."+d:"&epr="+d;me();ke()}},ee=function(a,b,c){}; var fe={},ge=new da,he={},ie={},le={name:"datalayer",set:function(a,b){m(sa(a,b),he);je()},get:function(a){return ke(a,2)},reset:function(){ge=new da;he={};je()}},ke=function(a,b){if(2!=b){var c=ge.get(a);ae&&c!==me(a.split("."))&&d(5);return c}return me(a.split("."))},me=function(a){for(var b=he,c=0;cc?a.href:a.href.substr(0,c)}return b},af=function(a){var b=h.createelement("a");a&&(b.href=a);var c=b.pathname;"/"!==c[0]&&(a||rc("tagging",1),c="/"+c);var d=b.hostname.replace(ve,"");return{href:b.href,protocol:b.protocol,host:b.host,hostname:d,pathname:c,search:b.search,hash:b.hash,port:b.port}},bf=function(a){function b(n){var p=n.split("=")[0];return 0>d.indexof(p)?n:p+"=0"}function c(n){return n.split("&").map(b).filter(function(p){return void 0!=p}).join("&")}var d="gclid dclid gclaw gcldc gclgp gclha gclgf _gl".split(" "), e=af(a),f=a.split(/[?#]/)[0],h=e.search,k=e.hash;"?"===h[0]&&(h=h.substring(1));"#"===k[0]&&(k=k.substring(1));h=c(h);k=c(k);""!==h&&(h="?"+h);""!==k&&(k="#"+k);var l=""+f+h+k;"/"===l[l.length-1]&&(l=l.substring(0,l.length-1));return l};function cf(a,b,c){for(var d=[],e=b.split(";"),f=0;f>21:d;return[math.round(2147483647*math.random())^d&2147483647,math.round(ka()/1e3)].join(".")},uf=function(a,b,c,d,e){var f=sf(b);return hf(a,f,tf(c),d,e)},vf=function(a,b,c,d){var e=""+sf(c),f=tf(d);1>2,n=(f&3)<<4|h>>4,p=(h&15)<<2|k>>6,r=k&63;e||(r=64,d||(p=64));b.push(ef[l],ef[n],ef[p],ef[r])}return b.join("")} function if(a){function b(l){for(;d>4);64!=h&&(c+=string.fromcharcode(f<<4&240|h>>2),64!=k&&(c+=string.fromcharcode(h<<6&192|k)))}};var jf;var nf=function(){var a=kf,b=lf,c=mf(),d=function(h){a(h.target||h.srcelement||{})},e=function(h){b(h.target||h.srcelement||{})};if(!c.init){zc(h,"mousedown",d);zc(h,"keyup",d);zc(h,"submit",e);var f=htmlformelement.prototype.submit;htmlformelement.prototype.submit=function(){b(this);f.call(this)};c.init=!0}},of=function(a,b,c,d,e){var f={callback:a,domains:b,fragment:2===c,placement:c,forms:d,samehost:e};mf().decorators.push(f)},pf=function(a,b,c){for(var d=mf().decorators,e={},f=0;ff;f++){for(var h=f,k=0;8>k;k++)h= h&1?h>>>1^3988292384:h>>>1;e[f]=h}d=e}jf=d;for(var l=4294967295,n=0;n>>8^jf[(l^c.charcodeat(n))&255];return((l^-1)>>>0).tostring(36)},yf=function(){return function(a){var b=af(f.location.href),c=b.search.replace("?",""),d=we(c,"_gl",!0)||"";a.query=xf(d)||{};var e=ze(b,"fragment").match(uf("_gl"));a.fragment=xf(e&&e[3]||"")||{}}},zf=function(a){var b=yf(),c=mf();c.data||(c.data={query:{},fragment:{}},b(c.data));var d={},e=c.data;e&&(na(d,e.query),a&&na(d,e.fragment));return d},xf= function(a){var b;b=void 0===b?3:b;try{if(a){var c;a:{for(var d=a,e=0;3>e;++e){var f=qf.exec(d);if(f){c=f;break a}d=decodeuricomponent(d)}c=void 0}var h=c;if(h&&"1"===h[1]){var k=h[3],l;a:{for(var n=h[2],p=0;pp){n=!0;break b}n=!1}if(!n){var q=wf(b,l,!0);q.ga="ad_storage";of(h,k,q)}}}}tg(rg(c.gclid,c.gclsrc),b)})},vg=function(a,b){var c=kg[a];if(void 0!==c)return b+c},wg=function(a){var b=a.split(".");return 3!==b.length||"gcl"!==b[0]?0:1e3*(number(b[1])|| 0)};function ng(a){var b=a.split(".");if(3==b.length&&"gcl"==b[0]&&b[1])return b[2]} var yg=function(a,b,c,d,e){if(za(b)){var f=qg(e),h=function(){for(var k={},l=0;lb)){var c=a.substring(0,b);if(jg.test(c)){for(var d=a.substring(b+1).split("/"),e=0;ek;k++){var l=h[k].src;if(l){l=l.tolowercase();if(0===l.indexof(e)){b=3;break a}1===f&&0===l.indexof(d)&&(f=2)}}b=f}else b=a;return b}; var eh=function(a){return yd(c.o)?a:a.replace(/&url=([^&#]+)/,function(b,c){var d=bf(decodeuricomponent(c));return"&url="+encodeuricomponent(d)})},fh=function(){var a;if(!(a=ae)){var b;if(!0===f._gtmdgs)b=!0;else{var c=rc&&rc.useragent||"";b=0>c.indexof("safari")||/chrome|coast|opera|edg|silk|android/.test(c)||11>((/version\/([\d]+)/.exec(c)||[])[1]||"")?!1:!0}a=!b}if(a)return-1;var d=ga("0");return ue(1,100)aa(c,k))if(l&&0aa(c,l[r])){d(11);p=!1;break a}}else{p=!1;break a}p=!0}n=p}var t=!1;if(d){var q=0<=aa(e,k);if(q)t=q;else{var v=ea(e,l||[]);v&&d(10);t=v}}var u=!n||t;u||!(0<=aa(l,"sandboxedscripts"))||c&&-1!==aa(c,"sandboxedscripts")||(u=ea(e,jh));return f[k]=u}}, kh=function(){return gh.test(f.location&&f.location.hostname)};var mh={active:!0,isallowed:function(){return!0}},nh=function(a){var b=l.zones;return b?b.checkstate(ud.b,a):mh},oh=function(a){var b=l.zones;!b&&a&&(b=l.zones=a());return b};var ph=function(){},qh=function(){};var rh=!1,sh=0,th=[];function uh(a){if(!rh){var b=h.createeventobject,c="complete"==h.readystate,d="interactive"==h.readystate;if(!a||"readystatechange"!=a.type||c||!b&&d){rh=!0;for(var e=0;esh){sh++;try{h.documentelement.doscroll("left"),uh()}catch(a){f.settimeout(vh,50)}}}var wh=function(a){rh?a():th.push(a)};var xh={},yh={},zh=function(a,b,c,d){if(!yh[a]||xd[b]||"__zone"===b)return-1;var e={};xa(d)&&(e=m(d,e));e.id=c;e.status="timeout";return yh[a].tags.push(e)-1},ah=function(a,b,c,d){if(yh[a]){var e=yh[a].tags[b];e&&(e.status=c,e.executiontime=d)}};function bh(a){for(var b=xh[a]||[],c=0;c=c&&bh(a)})},qg:function(){d=!0;b>=c&&bh(a)}}};var fh=function(){function a(d){return!ya(d)||0>d?0:d}if(!l._li&&f.performance&&f.performance.timing){var b=f.performance.timing.navigationstart,c=ya(le.get("gtm.start"))?le.get("gtm.start"):0;l._li={cst:a(c-b),cbt:a(ce-b)}}};var jh={},kh=function(){return f.googleanalyticsobject&&f[f.googleanalyticsobject]},lh=!1; var mh=function(a){f.googleanalyticsobject||(f.googleanalyticsobject=a||"ga");var b=f.googleanalyticsobject;if(f[b])f.hasownproperty(b)||d(12);else{var c=function(){c.q=c.q||[];c.q.push(arguments)};c.l=number(new date);f[b]=c}fh();return f[b]},nh=function(a,b,c,d){b=string(b).replace(/\s+/g,"").split(",");var e=kh();e(a+"require","linker");e(a+"linker:autolink",b,c,d)}; var ph=function(a){},oh=function(){return f.googleanalyticsobject||"ga"},qh=function(a,b){return function(){var c=kh(),d=c&&c.getbyname&&c.getbyname(a);if(d){var e=d.get("sendhittask");d.set("sendhittask",function(f){var h=f.get("hitpayload"),k=f.get("hitcallback"),l=0>h.indexof("&tid="+b);l&&(f.set("hitpayload",h.replace(/&tid=ua-[0-9]+-[0-9]+/,"&tid="+ b),!0),f.set("hitcallback",void 0,!0));e(f);l&&(f.set("hitpayload",h,!0),f.set("hitcallback",k,!0),f.set("_x_19",void 0,!0),e(f))})}}};function vh(a,b,c,d){var e=db[a],f=wh(a,b,c,d);if(!f)return null;var h=lb(e[pb.xe],c,[]);if(h&&h.length){var k=h[0];f=vh(k.index,{h:f,f:1===k.ie?b.terminate:f,terminate:b.terminate},c,d)}return f} function wh(a,b,c,d){function e(){if(f[pb.$f])k();else{var w=mb(f,c,[]);var b=zh(c.id,string(f[pb.ea]),number(f[pb.ye]),w[pb.ag]),z=!1;w.vtp_gtmonsuccess=function(){if(!z){z=!0;var g=ka()-e;ce(c.id,db[a],"5");ah(c.id,b,"success", g);h()}};w.vtp_gtmonfailure=function(){if(!z){z=!0;var g=ka()-e;ce(c.id,db[a],"6");ah(c.id,b,"failure",g);k()}};w.vtp_gtmtagid=f.tag_id;w.vtp_gtmeventid=c.id;ce(c.id,f,"1");var a=function(){var g=ka()-e;ce(c.id,f,"7");ah(c.id,b,"exception",g);z||(z=!0,k())};var e=ka();try{kb(w,c)}catch(g){a(g)}}}var f=db[a],h=b.h,k=b.f,l=b.terminate;if(c.hd(f))return null;var n=lb(f[pb.ze],c,[]);if(n&&n.length){var p=n[0],r=vh(p.index,{h:h,f:k,terminate:l},c,d);if(!r)return null;h=r;k=2===p.ie?l:r}if(f[pb.te]||f[pb.cg]){var t=f[pb.te]?eb:c.nh,q=h,v=k;if(!t[a]){e=ma(e); var u=xh(a,t,e);h=u.h;k=u.f}return function(){t[a](q,v)}}return e}function xh(a,b,c){var d=[],e=[];b[a]=yh(d,e,c);return{h:function(){b[a]=zh;for(var f=0;fe?1:dk?1:hd;++d){var e;try{e=!(!c.frames||!c.frames[b])}catch(k){e=!1}if(e)return c;var f;a:{try{var h=c.parent;if(h&&h!=c){f=h;break a}}catch(k){}f=null}if(!(c=f))break}return null};var di=function(){};var ei=function(a,b){this.i=a;this.h=null;this.l={};this.na=0;this.fa=void 0===b?500:b;this.m=null};la(ei,di);var gi=function(a){return"function"===typeof a.i.__tcfapi||null!=fi(a)}; ei.prototype.addeventlistener=function(a){var b={},c=xc(function(){return a(b)}),d=0;-1!==this.fa&&(d=settimeout(function(){b.tcstring="tcunavailable";b.internalerrorstate=1;c()},this.fa));var e=function(f,h){cleartimeout(d);f?(b=f,b.internalerrorstate=void 0!==b.tcstring&&"string"!==typeof b.tcstring||void 0!==b.gdprapplies&&"boolean"!==typeof b.gdprapplies||void 0!==b.listenerid&&"number"!==typeof b.listenerid||void 0!==b.addtlconsent&&"string"!==typeof b.addtlconsent?2:b.cmpstatus&&"error"!==b.cmpstatus? 0:3,h&&0===b.internalerrorstate||(b.tcstring="tcunavailable",h||(b.internalerrorstate=3))):(b.tcstring="tcunavailable",b.internalerrorstate=3);a(b)};try{hi(this,"addeventlistener",e)}catch(f){b.tcstring="tcunavailable",b.internalerrorstate=3,d&&(cleartimeout(d),d=0),c()}};ei.prototype.removeeventlistener=function(a){a&&a.listenerid&&hi(this,"removeeventlistener",null,a.listenerid)}; var ji=function(a,b,c){if(!a.purpose||!a.vendor)return!1;var d=ii(a.vendor.consents,void 0===c?"755":c);return d&&"1"===b&&a.purposeonetreatment&&"de"===a.publishercc?!0:d&&ii(a.purpose.consents,b)},ki=function(a,b,c){var d;d=void 0===d?"755":d;var e;a:{if(a.publisher&&a.publisher.restrictions){var f=a.publisher.restrictions[b];if(void 0!==f){e=f[void 0===d?"755":d];break a}}e=void 0}var h=e;if(0===h)return!1;var k=c;2===c?(k=0,2===h&&(k=1)):3===c&&(k=1,1===h&&(k=0));return 0===k?ji(a,b,d):1===k? a.purpose&&a.vendor?ii(a.purpose.legitimateinterests,b)&&ii(a.vendor.legitimateinterests,void 0===d?"755":d):!1:!0},ii=function(a,b){return!(!a||!a[b])},hi=function(a,b,c,d){c||(c=function(){});if("function"===typeof a.i.__tcfapi){var e=a.i.__tcfapi;e(b,2,c,d)}else if(fi(a)){li(a);var f=++a.na;a.l[f]=c;if(a.h){var h={};a.h.postmessage((h.__tcfapicall={command:b,version:2,callid:f,parameter:d},h),"*")}}else c({},!1)},fi=function(a){if(a.h)return a.h;a.h=ci(a.i,"__tcfapilocator");return a.h},li=function(a){a.m|| (a.m=function(b){try{var c,d;"string"===typeof b.data?d=json.parse(b.data):d=b.data;c=d.__tcfapireturn;a.l[c.callid](c.returnvalue,c.success)}catch(e){}},zi(a.i,a.m))};var mi={1:0,3:0,4:0,7:3,9:3,10:3};function ni(a,b){if(""===a)return b;var c=number(a);return isnan(c)?b:c}var oi=ni("",550),pi=ni("",500);function qi(){var a=l.tcf||{};return l.tcf=a} var ri=function(a,b){this.m=a;this.h=b;this.i=ka();},si=function(a){},ti=function(a){},zi=function(){var a=qi(),b=new ei(f,3e3),c=new ri(b,a);if((ui()?!0===f.gtag_enable_tcf_support:!1!==f.gtag_enable_tcf_support)&&!a.active&&("function"===typeof f.__tcfapi||gi(b))){a.active=!0;a.ab={};vi();var d=settimeout(function(){wi(a);xi(a);d=null},pi);try{b.addeventlistener(function(e){d&&(cleartimeout(d),d=null);if(0!==e.internalerrorstate)wi(a),xi(a),si(c);else{var f;if(!1===e.gdprapplies)f=yi(),b.removeeventlistener(e); else if("tcloaded"===e.eventstatus||"useractioncomplete"===e.eventstatus||"cmpuishown"===e.eventstatus){var h={},k;for(k in mi)mi.hasownproperty(k)&&("1"===k?h["1"]=!1===e.gdprapplies||"error"===e.cmpstatus||0!==e.internalerrorstate||"loaded"===e.cmpstatus&&("tcloaded"===e.eventstatus||"useractioncomplete"===e.eventstatus)?!1===e.gdprapplies||"tcunavailable"===e.tcstring?!0:hd("tcf_restrictions")?ki(e,"1",0):ji(e,"1"):!1:h[k]=ki(e,k,mi[k]));f=h}f&&(a.tcstring=e.tcstring||"tcempty",a.ab=f,xi(a),si(c))}}), ti(c)}catch(e){d&&(cleartimeout(d),d=null),wi(a),xi(a)}}};function wi(a){a.type="e";a.tcstring="tcunavailable";a.ab=yi()}function vi(){var a={};wd((a.ad_storage="denied",a.wait_for_update=oi,a))}var ui=function(){var a=!1;a=!0;return a};function yi(){var a={},b;for(b in mi)mi.hasownproperty(b)&&(a[b]=!0);return a}function xi(a){var b={};xd((b.ad_storage=a.ab["1"]?"granted":"denied",b))} var $i=function(){var a=qi();if(a.active&&void 0!==a.loadtime)return number(a.loadtime)},aj=function(){var a=qi();return a.active?a.tcstring||"":""},bj=function(a){if(!mi.hasownproperty(string(a)))return!0;var b=qi();return b.active&&b.ab?!!b.ab[string(a)]:!0};function cj(a,b,c){function d(r){var t;l.reported_gclid||(l.reported_gclid={});t=l.reported_gclid;var q=f+(r?"gcu":"gcs");if(!t[q]){t[q]=!0;var v=[],u=function(z,a){a&&v.push(z+"="+encodeuricomponent(a))},w="https://www.google.com";if(rd()){var y=yd(c.o);u("gcs",zd());r&&u("gcu","1");u("rnd",p);if((!f||h&&"aw.ds"!==h)&&yd(c.o)){var x=pg("_gcl_aw");u("gclaw",x.join("."))}u("url",string(f.location).split(/[?#]/)[0]);u("dclid",dj(b,k));!y&&b&&(w="https://pagead2.googlesyndication.com")} u("gdpr_consent",aj());"1"===zf(!1)._up&&u("gtm_up","1");u("gclid",dj(b,f));u("gclsrc",h);u("gtm",yi(!c));var b=w+"/pagead/landing?"+v.join("&");ed(b)}}var e=sg(),f=e.gclid||"",h=e.gclsrc,k=e.dclid||"",l=!a&&(!f||h&&"aw.ds"!==h?!1:!0),n=rd();if(l||n){var p=""+rf();n?bd(function(){d();yd(c.o)||ud(function(r){return d(!0,r.ee)},c.o)},[c.o]):d()}}function dj(a,b){var c=a&&!yd(c.o);return b&&c?"0":b}var ej=function(a){if(h.hidden)return!0;var b=a.getboundingclientrect();if(b.top==b.bottom||b.left==b.right||!f.getcomputedstyle)return!0;var c=f.getcomputedstyle(a,null);if("hidden"===c.visibility)return!0;for(var d=a,e=c;d;){if("none"===e.display)return!0;var f=e.opacity,h=e.filter;if(h){var k=h.indexof("opacity(");0<=k&&(h=h.substring(k+8,h.indexof(")",k)),"%"==h.charat(h.length-1)&&(h=h.substring(0,h.length-1)),f=math.min(h,f))}if(void 0!==f&&0>=f)return!0;(d=d.parentelement)&&(e=f.getcomputedstyle(d, null))}return!1};var nj=new regexp(/[a-z0-9._%+-]+@[a-z0-9.-]+\.[a-z]{2,}/i),oj=["script","img","svg","path"];function pj(a){var b;if(a===h.body)b="body";else{var c;if(a.id)c="#"+a.id;else{var d;if(a.parentelement){var e;a:{var f=a.parentelement;if(f){for(var h=0;h:nth-child("+e+")"}else d="";c=d}b=c}return b} function qj(){var a;var b=[],c=h.body;if(c){for(var d=c.queryselectorall("*"),e=0;ee;e++){var f=d[e];0<=oj.indexof(f.tagname.touppercase())||0===f.childelementcount&&b.push(f)}a={elements:b,status:1e4u;u++){var w=l[u].element;q.push({queryselector:pj(w),tagname:w.tagname,isvisible:!ej(w),type:1})}return{elements:q,status:v}}var zj=function(){var a=!0;bj(7)&&bj(9)&&bj(10)||(a=!1);var b=!0;b=!1;b&&!yj()&&(a=!1);return a},yj=function(){var a=!0;bj(3)&&bj(4)||(a=!1);return a};function uk(){var a=l;return a.gcq=a.gcq||new vk} var wk=function(a,b,c){uk().register(a,b,c)},xk=function(a,b,c,d){uk().push("event",[b,a],c,d)},yk=function(a,b){uk().push("config",[a],b)},zk=function(a,b,c){uk().push("get",[a,b],c)},ak={},bk=function(){this.status=1;this.containerconfig={};this.targetconfig={};this.i={};this.m=null;this.h=!1},ck=function(a,b,c,d,e){this.type=a;this.m=b;this.aa=c||"";this.h=d;this.i=e},vk=function(){this.m={};this.i={};this.h=[]},dk=function(a,b){var c=lg(b);return a.m[c.containerid]=a.m[c.containerid]||new bk}, ek=function(a,b,c){if(b){var d=lg(b);if(d&&1===dk(a,b).status){dk(a,b).status=2;var e={};ae&&(e.timeoutid=f.settimeout(function(){d(38);me()},3e3));a.push("require",[e],d.containerid);ak[d.containerid]=ka();if(og()){}else{var h="/gtag/js?id="+ encodeuricomponent(d.containerid)+"&l=datalayer&cx=c",k=("http:"!=f.location.protocol?"https:":"http:")+("//www.googletagmanager.com"+h),l=ki(c,h)||k;vc(l)}}}},fk=function(a,b,c,d){if(d.aa){var e=dk(a,d.aa),f=e.m;if(f){var h=m(c),k=m(e.targetconfig[d.aa]),l=m(e.containerconfig),n=m(e.i),p=m(a.i),r=ke("gtm.uniqueeventid"),t=lg(d.aa).prefix,q=ti(si(ri(qi(pi(oi(ni(h),k),l),n),p),function(){de(r,t,"2");}),function(){ de(r,t,"3");});try{de(r,t,"1");f(d.aa,b,d.m,q)}catch(v){de(r,t,"4");}}}}; vk.prototype.register=function(a,b,c){if(3!==dk(this,a).status){dk(this,a).m=b;dk(this,a).status=3;c&&(dk(this,a).i=c);var d=lg(a),e=ak[d.containerid];if(void 0!==e){var f=l[d.containerid].bootstrap,h=d.prefix.touppercase();l[d.containerid]._spx&&(h=h.tolowercase());var k=ke("gtm.uniqueeventid"),l=h,n=ka()-f;if(ae&&!re[k]){k!==ne&&(je(),ne=k);var p=l+"."+math.floor(f-e)+"."+math.floor(n);ve=ve?ve+","+p:"&cl="+p}delete ak[d.containerid]}this.flush()}}; vk.prototype.push=function(a,b,c,d){var e=math.floor(ka()/1e3);ek(this,c,b[0][c.da]||this.i[c.da]);this.h.push(new ck(a,e,c,b,d));d||this.flush()}; vk.prototype.flush=function(a){for(var b=this;this.h.length;){var c=this.h[0];if(c.i)c.i=!1,this.h.push(c);else switch(c.type){case "require":if(3!==dk(this,c.aa).status&&!a)return;ae&&f.cleartimeout(c.h[0].timeoutid);break;case "set":fa(c.h[0],function(p,r){m(sa(p,r),b.i)});break;case "config":var d=c.h[0],e=!!d[c.tb];delete d[c.tb];var f=dk(this,c.aa),h=lg(c.aa),k=h.containerid===h.id;e||(k?f.containerconfig={}:f.targetconfig[c.aa]={});f.h&&e||fk(this,c.ia,d,c);f.h=!0;delete d[c.qb];k?m(d,f.containerconfig): m(d,f.targetconfig[c.aa]);break;case "event":fk(this,c.h[1],c.h[0],c);break;case "get":var l={},n=(l[c.sa]=c.h[0],l[c.ra]=c.h[1],l);fk(this,c.ba,n,c);}this.h.shift()}};var gk=!1,hk=[];function ik(){if(!gk){gk=!0;for(var a=0;a=number(c);case "_gt":return number(b)>number(c);case "_lc":var l;l=string(b).split(",");return 0<=aa(l,string(c));case "_le":return number(b)<=number(c);case "_lt":return number(b)=f)f=2e3; var h=c.vtp_uniquetriggerid||"0";if(d){var k=function(n){return math.max(f,n)};dl("lcl","mwt",k,0);e||dl("lcl","nv.mwt",k,0)}var l=function(n){n.push(h);return n};dl("lcl","ids",l,[]);e||dl("lcl","nv.ids",l,[]);jm("lcl")||(a(),km("lcl"));j(c.vtp_gtmonsuccess)})}(); var vo={};vo.macro=function(a){if(xl.rc.hasownproperty(a))return xl.rc[a]},vo.onhtmlsuccess=xl.ge(!0),vo.onhtmlfailure=xl.ge(!1);vo.datalayer=le;vo.callback=function(a){ee.hasownproperty(a)&&xa(ee[a])&&ee[a]();delete ee[a]};function wo(){l[ud.b]=vo;na(fe,z.a);ib=ib||xl;jb=vb} function xo(){gd.gtm_3pds=!0;gd.gtag_cs_api=!0;gd.tcf_restrictions=!0;l=f.google_tag_manager=f.google_tag_manager||{};zi();if(l[ud.b]){var a=l.zones;a&&a.unregisterchild(ud.b); }else{for(var b=data.resource||{},c=b.macros||[],d=0;d