// Copyright 2012 Google Inc. All rights reserved. (function(){ var data = { "resource": { "version":"15", "macros":[{ "function":"__v", "vtp_name":"gtm.elementClasses", "vtp_dataLayerVersion":1 },{ "function":"__e" },{ "function":"__v", "vtp_name":"gtm.elementUrl", "vtp_dataLayerVersion":1 },{ "function":"__v", "vtp_name":"gtm.triggers", "vtp_dataLayerVersion":2, "vtp_setDefaultValue":true, "vtp_defaultValue":"" },{ "function":"__gas", "vtp_cookieDomain":"auto", "vtp_doubleClick":false, "vtp_setTrackerName":false, "vtp_useDebugVersion":false, "vtp_useHashAutoLink":false, "vtp_decorateFormsAutoLink":false, "vtp_enableLinkId":false, "vtp_enableEcommerce":false, "vtp_trackingId":"UA-101273572-1", "vtp_enableUaRlsa":false, "vtp_enableUseInternalVersion":false },{ "function":"__v", "vtp_name":"gtm.elementId", "vtp_dataLayerVersion":1 },{ "function":"__u", "vtp_component":"PATH" },{ "function":"__aev", "vtp_setDefaultValue":false, "vtp_varType":"ATTRIBUTE", "vtp_attribute":"rel" },{ "function":"__vis", "vtp_elementSelector":"popup popup-subscribe visible", "vtp_outputMethod":"BOOLEAN", "vtp_selectorType":"CSS", "vtp_onScreenRatio":"50" },{ "function":"__u", "vtp_component":"URL" },{ "function":"__u", "vtp_component":"HOST" },{ "function":"__f", "vtp_component":"URL" },{ "function":"__e" },{ "function":"__v", "vtp_name":"gtm.element", "vtp_dataLayerVersion":1 },{ "function":"__v", "vtp_name":"gtm.elementTarget", "vtp_dataLayerVersion":1 },{ "function":"__aev", "vtp_varType":"TEXT" },{ "function":"__v", "vtp_name":"gtm.element", "vtp_dataLayerVersion":1 },{ "function":"__v", "vtp_name":"gtm.elementClasses", "vtp_dataLayerVersion":1 },{ "function":"__v", "vtp_name":"gtm.elementId", "vtp_dataLayerVersion":1 },{ "function":"__v", "vtp_name":"gtm.elementTarget", "vtp_dataLayerVersion":1 },{ "function":"__v", "vtp_name":"gtm.elementUrl", "vtp_dataLayerVersion":1 },{ "function":"__aev", "vtp_varType":"TEXT" },{ "function":"__v", "vtp_name":"gtm.errorMessage", "vtp_dataLayerVersion":1 },{ "function":"__v", "vtp_name":"gtm.newUrlFragment", "vtp_dataLayerVersion":1 },{ "function":"__v", "vtp_name":"gtm.oldUrlFragment", "vtp_dataLayerVersion":1 },{ "function":"__v", "vtp_name":"gtm.newHistoryState", "vtp_dataLayerVersion":1 },{ "function":"__v", "vtp_name":"gtm.oldHistoryState", "vtp_dataLayerVersion":1 },{ "function":"__v", "vtp_name":"gtm.historyChangeSource", "vtp_dataLayerVersion":1 },{ "function":"__r" },{ "function":"__hid" },{ "function":"__v", "vtp_name":"gtm.videoProvider", "vtp_dataLayerVersion":1 },{ "function":"__v", "vtp_name":"gtm.videoUrl", "vtp_dataLayerVersion":1 },{ "function":"__v", "vtp_name":"gtm.videoTitle", "vtp_dataLayerVersion":1 },{ "function":"__v", "vtp_name":"gtm.videoDuration", "vtp_dataLayerVersion":1 },{ "function":"__v", "vtp_name":"gtm.videoPercent", "vtp_dataLayerVersion":1 },{ "function":"__v", "vtp_name":"gtm.videoVisible", "vtp_dataLayerVersion":1 },{ "function":"__v", "vtp_name":"gtm.videoStatus", "vtp_dataLayerVersion":1 },{ "function":"__v", "vtp_name":"gtm.videoCurrentTime", "vtp_dataLayerVersion":1 },{ "function":"__v", "vtp_name":"gtm.scrollThreshold", "vtp_dataLayerVersion":1 },{ "function":"__v", "vtp_name":"gtm.scrollUnits", "vtp_dataLayerVersion":1 },{ "function":"__v", "vtp_name":"gtm.scrollDirection", "vtp_dataLayerVersion":1 },{ "function":"__v", "vtp_name":"gtm.visibleRatio", "vtp_dataLayerVersion":1 }], "tags":[{ "function":"__ua", "once_per_event":true, "vtp_nonInteraction":false, "vtp_overrideGaSettings":true, "vtp_eventCategory":"Video", "vtp_trackType":"TRACK_EVENT", "vtp_eventAction":"Play", "vtp_trackingId":"UA-101273572-1", "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_overrideGaSettings":true, "vtp_eventCategory":"Lead", "vtp_trackType":"TRACK_EVENT", "vtp_eventAction":"Form Submission", "vtp_trackingId":"UA-101273572-1", "vtp_enableUaRlsa":false, "vtp_enableUseInternalVersion":false, "vtp_enableFirebaseCampaignData":true, "vtp_trackTypeIsEvent":true, "tag_id":4 },{ "function":"__ua", "once_per_event":true, "vtp_nonInteraction":false, "vtp_overrideGaSettings":true, "vtp_eventCategory":"Lead", "vtp_trackType":"TRACK_EVENT", "vtp_eventAction":"Form Submission", "vtp_eventLabel":"Footer", "vtp_trackingId":"UA-101273572-1", "vtp_enableUaRlsa":false, "vtp_enableUseInternalVersion":false, "vtp_enableFirebaseCampaignData":true, "vtp_trackTypeIsEvent":true, "tag_id":5 },{ "function":"__ua", "once_per_event":true, "vtp_overrideGaSettings":false, "vtp_trackType":"TRACK_PAGEVIEW", "vtp_gaSettings":["macro",4], "vtp_enableUaRlsa":false, "vtp_enableUseInternalVersion":false, "vtp_enableFirebaseCampaignData":true, "tag_id":7 },{ "function":"__ua", "once_per_event":true, "vtp_overrideGaSettings":true, "vtp_fieldsToSet":["list",["map","fieldName","page","value","\/virtual\/checkout"],["map","fieldName","title","value","Checkout"]], "vtp_trackType":"TRACK_PAGEVIEW", "vtp_trackingId":"UA-101273572-1", "vtp_enableUaRlsa":false, "vtp_enableUseInternalVersion":false, "vtp_enableFirebaseCampaignData":true, "tag_id":8 },{ "function":"__ua", "once_per_event":true, "vtp_nonInteraction":false, "vtp_overrideGaSettings":true, "vtp_eventCategory":"Lead", "vtp_trackType":"TRACK_EVENT", "vtp_eventAction":"Book Appointment", "vtp_eventLabel":"\/contact-us", "vtp_trackingId":"UA-101273572-1", "vtp_enableUaRlsa":false, "vtp_enableUseInternalVersion":false, "vtp_enableFirebaseCampaignData":true, "vtp_trackTypeIsEvent":true, "tag_id":9 },{ "function":"__ua", "once_per_event":true, "vtp_nonInteraction":false, "vtp_overrideGaSettings":true, "vtp_eventCategory":"Interest", "vtp_trackType":"TRACK_EVENT", "vtp_eventAction":"Play Video", "vtp_eventLabel":"\/melbourne", "vtp_trackingId":"UA-101273572-1", "vtp_enableUaRlsa":false, "vtp_enableUseInternalVersion":false, "vtp_enableFirebaseCampaignData":true, "vtp_trackTypeIsEvent":true, "tag_id":12 },{ "function":"__ua", "once_per_event":true, "vtp_nonInteraction":false, "vtp_overrideGaSettings":true, "vtp_eventCategory":"Lead", "vtp_trackType":"TRACK_EVENT", "vtp_eventAction":"Sign Up", "vtp_eventLabel":"\/contact-us", "vtp_trackingId":"UA-101273572-1", "vtp_enableUaRlsa":false, "vtp_enableUseInternalVersion":false, "vtp_enableFirebaseCampaignData":true, "vtp_trackTypeIsEvent":true, "tag_id":13 },{ "function":"__ua", "once_per_event":true, "vtp_nonInteraction":false, "vtp_overrideGaSettings":true, "vtp_eventCategory":"Lead", "vtp_trackType":"TRACK_EVENT", "vtp_eventAction":"Submit", "vtp_eventLabel":"\/contact-us", "vtp_trackingId":"UA-101273572-1", "vtp_enableUaRlsa":false, "vtp_enableUseInternalVersion":false, "vtp_enableFirebaseCampaignData":true, "vtp_trackTypeIsEvent":true, "tag_id":14 },{ "function":"__ua", "once_per_event":true, "vtp_nonInteraction":false, "vtp_overrideGaSettings":true, "vtp_eventCategory":"Lead", "vtp_trackType":"TRACK_EVENT", "vtp_eventAction":"Enquire Button", "vtp_eventLabel":"\/community", "vtp_trackingId":"UA-101273572-1", "vtp_enableUaRlsa":false, "vtp_enableUseInternalVersion":false, "vtp_enableFirebaseCampaignData":true, "vtp_trackTypeIsEvent":true, "tag_id":15 },{ "function":"__ua", "once_per_event":true, "vtp_nonInteraction":false, "vtp_overrideGaSettings":true, "vtp_eventCategory":"Lead", "vtp_trackType":"TRACK_EVENT", "vtp_eventAction":"Sign Up", "vtp_eventLabel":"\/central", "vtp_trackingId":"UA-101273572-1", "vtp_enableUaRlsa":false, "vtp_enableUseInternalVersion":false, "vtp_enableFirebaseCampaignData":true, "vtp_trackTypeIsEvent":true, "tag_id":16 },{ "function":"__ua", "once_per_event":true, "vtp_nonInteraction":false, "vtp_overrideGaSettings":true, "vtp_eventCategory":"Lead", "vtp_trackType":"TRACK_EVENT", "vtp_eventAction":"Book Appointment", "vtp_eventLabel":"\/Uni-place", "vtp_trackingId":"UA-101273572-1", "vtp_enableUaRlsa":false, "vtp_enableUseInternalVersion":false, "vtp_enableFirebaseCampaignData":true, "vtp_trackTypeIsEvent":true, "tag_id":17 },{ "function":"__ua", "once_per_event":true, "vtp_nonInteraction":false, "vtp_overrideGaSettings":true, "vtp_eventCategory":"Interest", "vtp_trackType":"TRACK_EVENT", "vtp_eventAction":"Play Video", "vtp_eventLabel":"\/uni-place", "vtp_trackingId":"UA-101273572-1", "vtp_enableUaRlsa":false, "vtp_enableUseInternalVersion":false, "vtp_enableFirebaseCampaignData":true, "vtp_trackTypeIsEvent":true, "tag_id":18 },{ "function":"__ua", "once_per_event":true, "vtp_nonInteraction":false, "vtp_overrideGaSettings":true, "vtp_eventCategory":"Lead", "vtp_trackType":"TRACK_EVENT", "vtp_eventAction":"Sign Up", "vtp_eventLabel":"\/community", "vtp_trackingId":"UA-101273572-1", "vtp_enableUaRlsa":false, "vtp_enableUseInternalVersion":false, "vtp_enableFirebaseCampaignData":true, "vtp_trackTypeIsEvent":true, "tag_id":19 },{ "function":"__ua", "once_per_event":true, "vtp_overrideGaSettings":true, "vtp_fieldsToSet":["list",["map","fieldName","page","value","\/virtual\/selection\/individual-standard-studio"],["map","fieldName","title","value","Selection - Individual Standard Studio"]], "vtp_trackType":"TRACK_PAGEVIEW", "vtp_trackingId":"UA-101273572-1", "vtp_enableUaRlsa":false, "vtp_enableUseInternalVersion":false, "vtp_enableFirebaseCampaignData":true, "tag_id":20 },{ "function":"__ua", "once_per_event":true, "vtp_overrideGaSettings":true, "vtp_fieldsToSet":["list",["map","fieldName","page","value","\/virtual\/selection\/individual-medium-studio"],["map","fieldName","title","value","Selection - Individual - Medium Studio"]], "vtp_trackType":"TRACK_PAGEVIEW", "vtp_trackingId":"UA-101273572-1", "vtp_enableUaRlsa":false, "vtp_enableUseInternalVersion":false, "vtp_enableFirebaseCampaignData":true, "tag_id":21 },{ "function":"__ua", "once_per_event":true, "vtp_overrideGaSettings":true, "vtp_fieldsToSet":["list",["map","fieldName","page","value","\/virtual\/selection\/shared-twin-share"],["map","fieldName","title","value","Selection - Shared - Twin Share"]], "vtp_trackType":"TRACK_PAGEVIEW", "vtp_trackingId":"UA-101273572-1", "vtp_enableUaRlsa":false, "vtp_enableUseInternalVersion":false, "vtp_enableFirebaseCampaignData":true, "tag_id":22 },{ "function":"__ua", "once_per_event":true, "vtp_overrideGaSettings":true, "vtp_fieldsToSet":["list",["map","fieldName","page","value","\/virtual\/selection\/individual-large-studio"],["map","fieldName","title","value","Selection - Individual - Large Studio"]], "vtp_trackType":"TRACK_PAGEVIEW", "vtp_trackingId":"UA-101273572-1", "vtp_enableUaRlsa":false, "vtp_enableUseInternalVersion":false, "vtp_enableFirebaseCampaignData":true, "tag_id":23 },{ "function":"__ua", "once_per_event":true, "vtp_overrideGaSettings":true, "vtp_fieldsToSet":["list",["map","fieldName","page","value","\/virtual\/selection\/shared-six-bed ensuite"],["map","fieldName","title","value","Selection - Shared - six-bed ensuite"]], "vtp_trackType":"TRACK_PAGEVIEW", "vtp_trackingId":"UA-101273572-1", "vtp_enableUaRlsa":false, "vtp_enableUseInternalVersion":false, "vtp_enableFirebaseCampaignData":true, "tag_id":24 },{ "function":"__ua", "once_per_event":true, "vtp_overrideGaSettings":true, "vtp_fieldsToSet":["list",["map","fieldName","page","value","\/virtual\/selection\/shared-four-bed-ensuite"],["map","fieldName","title","value","Selection - Shared - Four-bed Ensuite"]], "vtp_trackType":"TRACK_PAGEVIEW", "vtp_trackingId":"UA-101273572-1", "vtp_enableUaRlsa":false, "vtp_enableUseInternalVersion":false, "vtp_enableFirebaseCampaignData":true, "tag_id":25 },{ "function":"__fsl", "vtp_waitForTagsTimeout":"2000", "vtp_uniqueTriggerId":"7756780_7", "tag_id":26 },{ "function":"__fsl", "vtp_waitForTagsTimeout":"2000", "vtp_uniqueTriggerId":"7756780_8", "tag_id":27 },{ "function":"__cl", "tag_id":28 },{ "function":"__lcl", "vtp_waitForTags":false, "vtp_checkValidation":false, "vtp_waitForTagsTimeout":"2000", "vtp_uniqueTriggerId":"7756780_11", "tag_id":29 },{ "function":"__cl", "tag_id":30 },{ "function":"__cl", "tag_id":31 },{ "function":"__evl", "vtp_useOnScreenDuration":false, "vtp_useDomChangeListener":false, "vtp_elementSelector":"form__reg", "vtp_firingFrequency":"MANY_PER_ELEMENT", "vtp_selectorType":"CSS", "vtp_onScreenRatio":"50", "vtp_uniqueTriggerId":"7756780_15", "tag_id":32 },{ "function":"__evl", "vtp_useOnScreenDuration":false, "vtp_useDomChangeListener":false, "vtp_elementSelector":"div.popup__inner", "vtp_firingFrequency":"ONCE", "vtp_selectorType":"CSS", "vtp_onScreenRatio":"50", "vtp_uniqueTriggerId":"7756780_16", "tag_id":33 },{ "function":"__cl", "tag_id":34 },{ "function":"__cl", "tag_id":35 },{ "function":"__cl", "tag_id":36 },{ "function":"__cl", "tag_id":37 },{ "function":"__cl", "tag_id":38 },{ "function":"__cl", "tag_id":39 },{ "function":"__cl", "tag_id":40 },{ "function":"__cl", "tag_id":41 },{ "function":"__cl", "tag_id":42 },{ "function":"__cl", "tag_id":43 },{ "function":"__cl", "tag_id":44 },{ "function":"__cl", "tag_id":45 },{ "function":"__cl", "tag_id":46 },{ "function":"__cl", "tag_id":47 },{ "function":"__cl", "tag_id":48 },{ "function":"__cl", "tag_id":49 },{ "function":"__html", "once_per_event":true, "vtp_html":"\u003Cscript type=\"text\/gtmscript\"\u003EpiAId=\"565832\";piCId=\"64798\";piHostname=\"pi.pardot.com\";(function(){function a(){var b=document.createElement(\"script\");b.type=\"text\/javascript\";b.src=(\"https:\"==document.location.protocol?\"https:\/\/pi\":\"http:\/\/cdn\")+\".pardot.com\/pd.js\";var a=document.getElementsByTagName(\"script\")[0];a.parentNode.insertBefore(b,a)}window.attachEvent?window.attachEvent(\"onload\",a):window.addEventListener(\"load\",a,!1)})();\u003C\/script\u003E", "vtp_supportDocumentWrite":false, "vtp_enableIframeMode":false, "vtp_enableEditJsMacroBehavior":false, "tag_id":6 }], "predicates":[{ "function":"_re", "arg0":["macro",0], "arg1":".*playBtn.*|\\_\\_placeholder|.*\\_\\_content.*" },{ "function":"_eq", "arg0":["macro",1], "arg1":"gtm.click" },{ "function":"_eq", "arg0":["macro",2], "arg1":"http:\/\/journalstudentliving.com.au\/resources\/images\/play-btn.svg" },{ "function":"_eq", "arg0":["macro",0], "arg1":"form__btn popup-message-btn" },{ "function":"_cn", "arg0":["macro",0], "arg1":"popup__inner" },{ "function":"_eq", "arg0":["macro",1], "arg1":"gtm.elementVisibility" },{ "function":"_re", "arg0":["macro",3], "arg1":"(^$|((^|,)7756780_16($|,)))" },{ "function":"_eq", "arg0":["macro",1], "arg1":"gtm.js" },{ "function":"_cn", "arg0":["macro",0], "arg1":"btn btn--teritary" },{ "function":"_cn", "arg0":["macro",5], "arg1":"submit-request-appointment" },{ "function":"_cn", "arg0":["macro",6], "arg1":"\/contact-us" },{ "function":"_eq", "arg0":["macro",0], "arg1":"btn btn-watch watch_video" },{ "function":"_cn", "arg0":["macro",6], "arg1":"\/melbourne" },{ "function":"_cn", "arg0":["macro",5], "arg1":"gform_submit_button_1" },{ "function":"_cn", "arg0":["macro",5], "arg1":"gform_submit_button_4" },{ "function":"_cn", "arg0":["macro",5], "arg1":"gform_submit_button_6" },{ "function":"_cn", "arg0":["macro",6], "arg1":"\/central" },{ "function":"_cn", "arg0":["macro",6], "arg1":"\/uni-place" },{ "function":"_cn", "arg0":["macro",0], "arg1":"btn btn-watch watch_video" },{ "function":"_cn", "arg0":["macro",5], "arg1":"gform_submit_button_2" },{ "function":"_cn", "arg0":["macro",6], "arg1":"\/community" },{ "function":"_cn", "arg0":["macro",7], "arg1":"form_UPLSS1DB" },{ "function":"_cn", "arg0":["macro",7], "arg1":"form_UPLSM1KS" },{ "function":"_cn", "arg0":["macro",7], "arg1":"form_UPLTW2KS" },{ "function":"_cn", "arg0":["macro",7], "arg1":"form_UPLSL1KZ" },{ "function":"_cn", "arg0":["macro",7], "arg1":"form_UPLC61KS" },{ "function":"_cn", "arg0":["macro",7], "arg1":"form_UPLC41KS" }], "rules":[ [["if",0,1],["add",0]], [["if",1,2],["add",0]], [["if",1,3],["add",1]], [["if",4,5,6],["add",2]], [["if",7],["add",3,44,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43]], [["if",1,8],["add",4]], [["if",1,9,10],["add",5]], [["if",1,11,12],["add",6]], [["if",1,10,13],["add",7]], [["if",1,14],["add",8]], [["if",1,15],["add",9]], [["if",1,13,16],["add",10]], [["if",1,9,17],["add",11]], [["if",1,17,18],["add",12]], [["if",1,19,20],["add",13]], [["if",1,21],["add",14]], [["if",1,22],["add",15]], [["if",1,23],["add",16]], [["if",1,24],["add",17]], [["if",1,25],["add",18]], [["if",1,26],["add",19]]] }, "runtime":[ [],[] ] }; var aa,da=this||self,ea=function(a){return"boolean"==typeof a},fa=/^[\w+/_-]+[=]{0,2}$/,ha=null;var ia=function(){},ja=function(a){return"function"==typeof a},ka=function(a){return"string"==typeof a},la=function(a){return"number"==typeof a&&!isNaN(a)},ma=function(a){return"[object Array]"==Object.prototype.toString.call(Object(a))},oa=function(a,b){if(Array.prototype.indexOf){var c=a.indexOf(b);return"number"==typeof c?c:-1}for(var d=0;db)a=0,b=2147483647;return Math.floor(Math.random()*(b-a+1)+a)},sa=function(a,b){for(var c=new ra,d=0;d"+a+"";b=b.lastChild;for(var c=[];b.firstChild;)c.push(b.removeChild(b.firstChild));return c},Tb=function(a,b,c){c=c||100;for(var d={},e=0;eb)){var c=a.substring(0,b);if(ic.test(c)){for(var d=a.substring(b+1).split("/"),e=0;e=Lc--?(Bc("GTM",1),Jc[Gc]=!0):(Kc.Kg(),Ob(Mc()),Hc[Gc]=!0,Nc=Ic=""))},Mc=function(){var a=Gc;if(void 0===a)return"";var b=Dc("GTM"),c=Dc("TAGGING");return[Pc,Hc[a]?"":"&es=1",Qc[a],b?"&u="+b:"",c?"&ut="+c:"",Ec(),Ic,Nc,"&z=0"].join("")},Rc=function(){return[wc,"&v=3&t=t","&pid="+qa(),"&rv="+nc.Cb].join("")},Sc="0.005000"> Math.random(),Pc=Rc(),Tc=function(){Pc=Rc()},Hc={},Ic="",Nc="",Gc=void 0,Qc={},Jc={},Fc=void 0,Kc=function(a,b){var c=0,d=0;return{pg:function(){if(c=b&&(c=0);return c>=a},Kg:function(){ya()-d>=b&&(c=0);c++;d=ya()}}}(2,1E3),Lc=1E3,Uc=function(a,b){if(Sc&&!Jc[a]&&Gc!==a){Oc();Gc=a;Ic="";var c;c=0===b.indexOf("gtm.")?encodeURIComponent(b):"*";Qc[a]="&e="+c+"&eid="+a;Fc||(Fc=u.setTimeout(Oc,500))}},Vc=function(a,b,c){if(Sc&&!Jc[a]&&b){a!==Gc&&(Oc(),Gc=a);var d=String(b[yb.ka]||"").replace(/_/g, "");0===d.indexOf("cvt")&&(d="cvt");var e=c+d;Ic=Ic?Ic+"."+e:"&tr="+e;Fc||(Fc=u.setTimeout(Oc,500));2022<=Mc().length&&Oc()}};var Wc={},Xc=new ra,Yc={},Zc={},cd={name:"dataLayer",set:function(a,b){f($c(a,b),Yc);ad()},get:function(a){return bd(a,2)},reset:function(){Xc=new ra;Yc={};ad()}},bd=function(a,b){if(2!=b){var c=Xc.get(a);if(Sc){var d=dd(a);c!==d&&Bc("GTM",5)}return c}return dd(a)},dd=function(a,b,c){var d=a.split("."),e=!1,g=void 0;return e?g:fd(d)},fd=function(a){for(var b=Yc,c=0;ck;k++){var l=h[k].src;if(l){l=l.toLowerCase();if(0===l.indexOf(e)){b=3;break a}1===g&&0===l.indexOf(d)&&(g=2)}}b=g}else b=a;return b};var Bd=new RegExp(/^(.*\.)?(google|youtube|blogger|withgoogle)(\.com?)?(\.[a-z]{2})?\.?$/),Cd={cl:["ecl"],customPixels:["nonGooglePixels"],ecl:["cl"],ehl:["hl"],hl:["ehl"],html:["customScripts","customPixels","nonGooglePixels","nonGoogleScripts","nonGoogleIframes"],customScripts:["html","customPixels","nonGooglePixels","nonGoogleScripts","nonGoogleIframes"],nonGooglePixels:[],nonGoogleScripts:["nonGooglePixels"],nonGoogleIframes:["nonGooglePixels"]},Dd={cl:["ecl"],customPixels:["customScripts","html"], ecl:["cl"],ehl:["hl"],hl:["ehl"],html:["customScripts"],customScripts:["html"],nonGooglePixels:["customPixels","customScripts","html","nonGoogleScripts","nonGoogleIframes"],nonGoogleScripts:["customScripts","html"],nonGoogleIframes:["customScripts","html","nonGoogleScripts"]},Ed="google customPixels customScripts html nonGooglePixels nonGoogleScripts nonGoogleIframes".split(" "); var Gd=function(a){var b=bd("gtm.whitelist");b&&Bc("GTM",9);var c=b&&Fa(wa(b),Cd),d=bd("gtm.blacklist");d||(d=bd("tagTypeBlacklist"))&&Bc("GTM",3); d?Bc("GTM",8):d=[];Fd()&&(d=wa(d),d.push("nonGooglePixels","nonGoogleScripts"));0<=oa(wa(d),"google")&&Bc("GTM",2);var e=d&&Fa(wa(d),Dd),g={};return function(h){var k=h&&h[yb.ka];if(!k||"string"!=typeof k)return!0;k=k.replace(/^_*/,"");if(void 0!==g[k])return g[k];var l=yc[k]||[],m=a(k,l);if(b){var n;if(n=m)a:{if(0>oa(c,k))if(l&&0 oa(c,l[p])){Bc("GTM",11);n=!1;break a}}else{n=!1;break a}n=!0}m=n}var t=!1;if(d){var q=0<=oa(e,k);if(q)t=q;else{var r=sa(e,l||[]);r&&Bc("GTM",10);t=r}}var v=!m||t;v||!(0<=oa(l,"sandboxedScripts"))||c&&-1!==oa(c,"sandboxedScripts")||(v=sa(e,Ed));return g[k]=v}},Fd=function(){return Bd.test(u.location&&u.location.hostname)};var Hd={Jf:function(a,b){b[yb.gd]&&"string"===typeof a&&(a=1==b[yb.gd]?a.toLowerCase():a.toUpperCase());b.hasOwnProperty(yb.jd)&&null===a&&(a=b[yb.jd]);b.hasOwnProperty(yb.ld)&&void 0===a&&(a=b[yb.ld]);b.hasOwnProperty(yb.kd)&&!0===a&&(a=b[yb.kd]);b.hasOwnProperty(yb.hd)&&!1===a&&(a=b[yb.hd]);return a}};var Id={active:!0,isWhitelisted:function(){return!0}},Jd=function(a){var b=oc.zones;!b&&a&&(b=oc.zones=a());return b};var Kd=!1,Ld=0,Md=[];function Nd(a){if(!Kd){var b=C.createEventObject,c="complete"==C.readyState,d="interactive"==C.readyState;if(!a||"readystatechange"!=a.type||c||!b&&d){Kd=!0;for(var e=0;eLd){Ld++;try{C.documentElement.doScroll("left"),Nd()}catch(a){u.setTimeout(Od,50)}}}var Pd=function(a){Kd?a():Md.push(a)};var Qd={},Rd={},Sd=function(a,b,c,d){if(!Rd[a]||qc[b]||"__zone"===b)return-1;var e={};Ja(d)&&(e=f(d,e));e.id=c;e.status="timeout";return Rd[a].tags.push(e)-1},Td=function(a,b,c,d){if(Rd[a]){var e=Rd[a].tags[b];e&&(e.status=c,e.executionTime=d)}};function Ud(a){for(var b=Qd[a]||[],c=0;c=c&&Ud(a)})},sf:function(){d=!0;b>=c&&Ud(a)}}};var Yd=function(){function a(d){return!la(d)||0>d?0:d}if(!oc._li&&u.performance&&u.performance.timing){var b=u.performance.timing.navigationStart,c=la(cd.get("gtm.start"))?cd.get("gtm.start"):0;oc._li={cst:a(c-b),cbt:a(uc-b)}}};var be=!1,ce=function(){return u.GoogleAnalyticsObject&&u[u.GoogleAnalyticsObject]},de=!1; var ee=function(a){u.GoogleAnalyticsObject||(u.GoogleAnalyticsObject=a||"ga");var b=u.GoogleAnalyticsObject;if(u[b])u.hasOwnProperty(b)||Bc("GTM",12);else{var c=function(){c.q=c.q||[];c.q.push(arguments)};c.l=Number(new Date);u[b]=c}Yd();return u[b]},fe=function(a,b,c,d){b=String(b).replace(/\s+/g,"").split(",");var e=ce();e(a+"require","linker");e(a+"linker:autoLink",b,c,d)}; var he=function(){},ge=function(){return u.GoogleAnalyticsObject||"ga"};var je=/^(?:(?:https?|mailto|ftp):|[^:/?#]*(?:[/?#]|$))/i;var ke=/:[0-9]+$/,le=function(a,b,c){for(var d=a.split("&"),e=0;ec?a.href:a.href.substr(0,c)}return b}, pe=function(a){var b=C.createElement("a");a&&(b.href=a);var c=b.pathname;"/"!==c[0]&&(a||Bc("TAGGING",1),c="/"+c);var d=b.hostname.replace(ke,"");return{href:b.href,protocol:b.protocol,host:b.host,hostname:d,pathname:c,search:b.search,hash:b.hash,port:b.port}};var ve=function(a){};function ue(a,b){a.containerId=nc.i;var c={type:"GENERIC",value:a};b.length&&(c.trace=b);return c};function we(a,b,c,d){var e=lb[a],g=xe(a,b,c,d);if(!g)return null;var h=ub(e[yb.Dd],c,[]);if(h&&h.length){var k=h[0];g=we(k.index,{J:g,U:1===k.Od?b.terminate:g,terminate:b.terminate},c,d)}return g} function xe(a,b,c,d){function e(){if(g[yb.Ye])k();else{var w=vb(g,c,[]),y=Sd(c.id,String(g[yb.ka]),Number(g[yb.Ed]),w[yb.Ze]),x=!1;w.vtp_gtmOnSuccess=function(){if(!x){x=!0;var B=ya()-z;Vc(c.id,lb[a],"5");Td(c.id,y,"success",B);h()}};w.vtp_gtmOnFailure=function(){if(!x){x=!0;var B=ya()-z;Vc(c.id,lb[a],"6");Td(c.id,y,"failure",B);k()}};w.vtp_gtmTagId=g.tag_id; w.vtp_gtmEventId=c.id;Vc(c.id,g,"1");var A=function(B){var E=ya()-z;ve(B);Vc(c.id,g,"7");Td(c.id,y,"exception",E);x||(x=!0,k())};var z=ya();try{tb(w,c)}catch(B){A(B)}}}var g=lb[a],h=b.J,k=b.U,l=b.terminate;if(c.Dc(g))return null;var m=ub(g[yb.Fd],c,[]);if(m&&m.length){var n=m[0],p=we(n.index,{J:h,U:k,terminate:l},c,d);if(!p)return null;h=p;k=2===n.Od?l:p}if(g[yb.Cd]||g[yb.$e]){var t=g[yb.Cd]?mb:c.Ug,q=h,r=k;if(!t[a]){e=Ca(e);var v=ye(a,t,e);h=v.J;k=v.U}return function(){t[a](q,r)}}return e} function ye(a,b,c){var d=[],e=[];b[a]=ze(d,e,c);return{J:function(){b[a]=Ae;for(var g=0;ge?1:dk?1:h>21:d;return[Math.round(2147483647*Math.random())^d&2147483647,Math.round(ya()/1E3)].join(".")},Ag=function(a,b,c,d){var e=yg(b);return Ze(a,e,zg(c),d)},Bg=function(a,b,c,d){var e=""+yg(c),g=zg(d);1>2,m=(g&3)<<4|h>>4,n=(h&15)<<2|k>>6,p=k&63;e||(p=64,d||(n=64));b.push(Kg[l],Kg[m],Kg[n],Kg[p])}return b.join("")},Og=function(a){function b(l){for(;d>4);64!=h&&(c+=String.fromCharCode(g<<4&240|h>>2),64!=k&&(c+=String.fromCharCode(h<<6&192|k)))}};var Pg;function Qg(a,b){if(!a||b===C.location.hostname)return!1;for(var c=0;cg;g++){for(var h=g,k=0;8>k;k++)h=h&1?h>>>1^3988292384:h>>>1;e[g]=h}d=e}Pg=d;for(var l=4294967295,m=0;m>>8^Pg[(l^c.charCodeAt(m))&255];return((l^-1)>>>0).toString(36)},ch=function(){return function(a){var b=pe(u.location.href),c=b.search.replace("?",""),d=le(c,"_gl",!0)||"";a.query=bh(d)||{};var e=oe(b,"fragment").match(Zg);a.fragment=bh(e&&e[3]|| "")||{}}},dh=function(){var a=ch(),b=Tg();b.data||(b.data={query:{},fragment:{}},a(b.data));var c={},d=b.data;d&&(Da(c,d.query),Da(c,d.fragment));return c},bh=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 g=Vg.exec(d);if(g){c=g;break a}d=decodeURIComponent(d)}c=void 0}var h=c;if(h&&"1"===h[1]){var k=h[3],l;a:{for(var m=h[2],n=0;nq){t=!0;break b}t=!1}t||df(m,n,c,d,0==e?void 0:new Date(p+1E3*(null==e?7776E3:e)),!0)}}}var w={prefix:b,path:c,domain:d};sh(qh(g.gclid,g.gclsrc),w)},uh=function(a,b){var c=oh[a];if(void 0!==c)return b+c},vh=function(a){var b=a.split(".");return 3!==b.length||"GCL"!==b[0]?0:1E3*(Number(b[1])|| 0)};function xh(a){var b=a.split(".");if(3==b.length&&"GCL"==b[0]&&b[1])return b[2]} var yh=function(a,b,c,d,e){if(ma(b)){var g=ph(e);hh(function(){for(var h={},k=0;k=g)return!0;(d=d.parentElement)&&(e=u.getComputedStyle(d,null))}return!1};var si=[],ti=!(!u.IntersectionObserver||!u.IntersectionObserverEntry),ui=function(a,b,c){for(var d=new u.IntersectionObserver(a,{threshold:c}),e=0;ee[k])for(;g[k]=c[g[k]+1];)d(b[k],l),g[k]++;else if(lc[d]&&(c[d]=0);if(ti){var e=!1;G(function(){e||vi(a,b,c)()});return ui(function(g){e=!0;for(var h={Ia:0};h.Ia=Number(c);case "_gt":return Number(b)>Number(c);case "_lc":var n;n=String(b).split(","); return 0<=oa(n,String(c));case "_le":return Number(b)<=Number(c);case "_lt":return Number(b)g-e.time)return e.value;e={time:g,value:null};var h=b.vtp_outputMethod,k=null;if("CSS"==b.vtp_selectorType){var l=wf(b.vtp_elementSelector);l&& 0=m&&!ri(k);break;case "PERCENT":e.value=0,ri(k)||(e.value=Math.round(1E3*qi(k))/10)}a[c]=e;return e.value})}(); Z.a.e=["google"],function(){(function(a){Z.__e=a;Z.__e.b="e";Z.__e.g=!0;Z.__e.priorityOverride=0})(function(a){return String(kd(a.vtp_gtmEventId,"event"))})}(); Z.a.f=["google"],function(){(function(a){Z.__f=a;Z.__f.b="f";Z.__f.g=!0;Z.__f.priorityOverride=0})(function(a){var b=Fi("gtm.referrer",1)||C.referrer;return b?a.vtp_component&&"URL"!=a.vtp_component?oe(pe(String(b)),a.vtp_component,a.vtp_stripWww,a.vtp_defaultPages,a.vtp_queryKey):Di(String(b)):String(b)})}(); Z.a.cl=["google"],function(){function a(b){var c=b.target;if(c){var d=sg(c,"gtm.click");Gi(d)}}(function(b){Z.__cl=b;Z.__cl.b="cl";Z.__cl.g=!0;Z.__cl.priorityOverride=0})(function(b){if(!Ni("cl")){var c=W("document");D(c,"click",a,!0);Oi("cl")}G(b.vtp_gtmOnSuccess)})}(); Z.a.r=["google"],function(){(function(a){Z.__r=a;Z.__r.b="r";Z.__r.g=!0;Z.__r.priorityOverride=0})(function(a){return qa(a.vtp_min,a.vtp_max)})}(); Z.a.u=["google"],function(){var a=function(b){return{toString:function(){return b}}};(function(b){Z.__u=b;Z.__u.b="u";Z.__u.g=!0;Z.__u.priorityOverride=0})(function(b){var c;c=(c=b.vtp_customUrlSource?b.vtp_customUrlSource:Fi("gtm.url",1))||Bi();var d=b[a("vtp_component")];if(!d||"URL"==d)return Di(String(c));var e=pe(String(c)),g;if("QUERY"===d)a:{var h=b[a("vtp_multiQueryKeys").toString()],k=b[a("vtp_queryKey").toString()]||"",l=b[a("vtp_ignoreEmptyQueryParam").toString()],m;m=h?ma(k)?k:String(k).replace(/\s+/g, "").split(","):[String(k)];for(var n=0;n=k)k=2E3;var l=e.vtp_uniqueTriggerId||"0";if(g){var m=function(p){return Math.max(k,p)};vg("fsl","mwt",m,0);h||vg("fsl","nv.mwt",m,0)}var n=function(p){p.push(l);return p};vg("fsl","ids",n,[]);h||vg("fsl","nv.ids",n,[]);Ni("fsl")||(a(),Oi("fsl"));G(e.vtp_gtmOnSuccess)})}(); Z.a.hid=["google"],function(){(function(a){Z.__hid=a;Z.__hid.b="hid";Z.__hid.g=!0;Z.__hid.priorityOverride=0})(function(){return pg.yb})}(); Z.a.html=["customScripts"],function(){function a(d,e,g,h){return function(){try{if(0=g)g=2E3;var h=c.vtp_uniqueTriggerId||"0";if(d){var k=function(m){return Math.max(g,m)};vg("lcl","mwt",k,0);e||vg("lcl","nv.mwt",k,0)}var l=function(m){m.push(h);return m};vg("lcl","ids",l,[]);e||vg("lcl","nv.ids",l,[]);Ni("lcl")||(a(),Oi("lcl"));G(c.vtp_gtmOnSuccess)})}(); Z.a.evl=["google"],function(){function a(g,h){this.element=g;this.uid=h}function b(){var g=Number(Fi("gtm.start"))||0;return(new Date).getTime()-g}function c(g,h,k,l){function m(){if(!ri(g.target)){h.has(e.Bb)||h.set(e.Bb,""+b());h.has(e.mc)||h.set(e.mc,""+b());var p=0;h.has(e.Db)&&(p=Number(h.get(e.Db)));p+=100;h.set(e.Db,""+p);if(p>=k){var t=sg(g.target,"gtm.elementVisibility",[h.uid]),q=qi(g.target);t["gtm.visibleRatio"]=Math.round(1E3*q)/10;t["gtm.visibleTime"]=k;t["gtm.visibleFirstTime"]=Number(h.get(e.mc)); t["gtm.visibleLastTime"]=Number(h.get(e.Bb));Gi(t);l()}}}if(!h.has(e.Wa)&&(0==k&&m(),!h.has(e.ya))){var n=W("self").setInterval(m,100);h.set(e.Wa,n)}}function d(g){g.has(e.Wa)&&(W("self").clearInterval(Number(g.get(e.Wa))),g.remove(e.Wa))}var e={Wa:"polling-id-",mc:"first-on-screen-",Bb:"recent-on-screen-",Db:"total-visible-time-",ya:"has-fired-"};a.prototype.has=function(g){return!!this.element.getAttribute("data-gtm-vis-"+g+this.uid)};a.prototype.get=function(g){return this.element.getAttribute("data-gtm-vis-"+ g+this.uid)};a.prototype.set=function(g,h){this.element.setAttribute("data-gtm-vis-"+g+this.uid,h)};a.prototype.remove=function(g){this.element.removeAttribute("data-gtm-vis-"+g+this.uid)};(function(g){Z.__evl=g;Z.__evl.b="evl";Z.__evl.g=!0;Z.__evl.priorityOverride=0})(function(g){function h(){var y=!1,x=null;if("CSS"===l){try{x=wf(m)}catch(F){}y=!!x&&v.length!=x.length}else if("ID"===l){var A=C.getElementById(m);A&&(x=[A],y=1!=v.length||v[0]!==A)}x||(x=[],y=0=t?x.has(e.ya)||c(y,x,p,"ONCE"===r?function(){for(var A=0;A