Audit, Consulting, Financial Advisory, Risk Management & Tax services and reports

Audit, Consulting, Financial Advisory, Risk Management & Tax services and reports | Deloitte Canada 0 && (siteSectionOverrideVal.toUpperCase().trim() == ‘NA’)){ siteOverrideValueProp5=”; }else if((siteSectionOverrideVal.length > 0 && siteSectionOverrideVal.toUpperCase().trim() != ‘NA’)){ siteOverrideValueProp5 = siteSectionOverrideVal.toLowerCase().trim(); }else if(siteSectionOverrideVal.length == 0){ if(temp_Name == ‘genericerrorpage’){ siteOverrideValueProp5 = ‘404_error’; } else if(temp_Name == ‘nonsupportedpage’){ siteOverrideValueProp5 = ‘not_supported’; }else if((temp_Name == ‘rfpformpage’) || (temp_Name == ‘contactuspage’)|| (temp_Name == ‘deloitteformstemplate’)){ siteOverrideValueProp5 = ‘forms’; }else if((temp_Name == ‘searchResultsTemplate’) || (temp_Name == ‘internalSearchResultsTemplate’)){ siteOverrideValueProp5 = ‘search_results’; }else if((temp_Name == ‘officedetailspage’) || (temp_Name == ‘officelocatorpage’)|| (temp_Name == ‘globalofficedirectorypage’)){ siteOverrideValueProp5 = ‘office_information’; }else if(temp_Name == ‘companyinformationpage’){ siteOverrideValueProp5 = ‘legal’; }else if(temp_Name == ‘moreondeloittepage’){ siteOverrideValueProp5 = ‘company_information’; }else if(temp_Name == ‘pressreleasespagetemplate’){ siteOverrideValueProp5 = ‘press_releases’; }else if((temp_Name == ‘fulltopicpage’) || (temp_Name == ‘articlepage’)|| (temp_Name == ‘solutionpage’)|| (temp_Name == ‘eventpage’)|| (temp_Name == ‘careerpage’)){ siteOverrideValueProp5 =’about-deloitte’; }else if(temp_Name == “memberfirmhomepage” || temp_Name == “globalhomepage”) { siteOverrideValueProp5 = ‘home’; }else if(temp_Name == “thankyoupage”) { siteOverrideValueProp5 = ‘thank_you’; }else if(temp_Name == “dynamiclisttemplate”) { siteOverrideValueProp5 = ‘dynamiclist’; }else if(temp_Name == “htmlfragmentpage”) { siteOverrideValueProp5 = ‘landingpage’; }else if(temp_Name == “blog-collection-template”) { siteOverrideValueProp5 = ‘blog_collection’; }else if(temp_Name == “blog-post-template”) { siteOverrideValueProp5 = ‘blog-post’; } } if(temp_Name == “memberfirmhomepage” || temp_Name == “globalhomepage”) { sc_channel = ‘Homepage’; } else if(temp_Name == “thankyoupage”) { sc_channel = ‘Thankyou’; } sc_secondLevelForProp5 = siteOverrideValueProp5; searchLocation = ‘//www2.deloitte.com/ca/en/misc/search.html’; try{ if(sessionStorage.getItem(“gigyaIdInSession”)!=null){ sc_gigyaId=sessionStorage.getItem(“gigyaIdInSession”); } } catch(err){console.log(err);} ]]>

0&&window.JSON&&”function”==typeof window.JSON.parse){var i=JSON.parse(n);void 0!==window.BOOMR_config?o(window.BOOMR_config,i):window.BOOMR_config=i}}catch(r){window.console&&”function”==typeof window.console.error&&console.error(“mPulse: Could not parse configuration”,r)}}();]]> 0)if(a&&”performance”in a&&a.performance&&”function”==typeof a.performance.setResourceTimingBufferSize)a.performance.setResourceTimingBufferSize();!function(){if(BOOMR=a.BOOMR||{},BOOMR.plugins=BOOMR.plugins||{},!BOOMR.plugins.AK){var e=””==”true”?1:0,t=””,n=”nsvcheqxa25lkyz75wwq-f-86b44a9d4-clientnsv4-s.akamaihd.net”,i=”false”==”true”?2:1,_={“ak.v”:”32″,”ak.cp”:”246442″,”ak.ai”:parseInt(“147953″,10),”ak.ol”:”0″,”ak.cr”:17,”ak.ipv”:4,”ak.proto”:”h2″,”ak.rid”:”10dcf687″,”ak.r”:35636,”ak.a2″:e,”ak.m”:”dsca”,”ak.n”:”essl”,”ak.bpcip”:”108.170.35.0″,”ak.cport”:57708,”ak.gh”:”172.232.11.39″,”ak.quicv”:””,”ak.tlsv”:”tls1.3″,”ak.0rtt”:””,”ak.csrc”:”-“,”ak.acc”:””,”ak.t”:”1665133997″,”ak.ak”:”hOBiQwZUYzCg5VSAfCLimQ==Z+WcC53hLgdt2KgC0H+h0m+RfLX839kT3+Qzhd5msm0WAwB02uZ4RQVFN/Cck3CareMGdReRM9ZOUda78ALEcaIA2qs7n9hFbQiEcav9BMS3l+phy7ePUN/T5+Ax4FEEmoPNBUyXaPYBrT79832VAG6hIajUtL7tJ3xmB+ja0kd72gNFLKM55RsG8TzA4ZK0EkO+qeDVF8J4lPyTt5Hjypyz8k7FA4NfRIiEkh2RDHs0t6eYZSaaEAvaxCsJfhHTta83Vh0Khv4R4Agg7NNbpMhmMG3ryPWhOnhSeJqq0TQXqy8I1KiibBKnxUoSXCJHvNnkfq6dngHv6q8LhMBvSei+f0NZuMnnSf6K/KVi+69Sy8if3Zc/Pkfb9iFWBmc3OhDdoJnHN2gdJJ+giDf8eo/uQW2+fR4VGTbJjQ+9tf4=”,”ak.pv”:”786″,”ak.dpoabenc”:””,”ak.tf”:i};if(“”!==t)_[“ak.ruds”]=t;var o={i:!1,av:function(e){var t=”http.initiator”;if(e&&(!e[t]||”spa_hard”===e[t]))_[“ak.feo”]=void 0!==a.aFeoApplied?1:0,BOOMR.addVar(_)},rv:function(){var a=[“ak.bpcip”,”ak.cport”,”ak.cr”,”ak.csrc”,”ak.gh”,”ak.ipv”,”ak.m”,”ak.n”,”ak.ol”,”ak.proto”,”ak.quicv”,”ak.tlsv”,”ak.0rtt”,”ak.r”,”ak.acc”,”ak.t”,”ak.tf”];BOOMR.removeVar(a)}};BOOMR.plugins.AK={akVars:_,akDNSPreFetchDomain:n,init:function(){if(!o.i){var a=BOOMR.subscribe;a(“before_beacon”,o.av,null,null),a(“onbeacon”,o.rv,null,null),o.i=!0}return this},is_complete:function(){return!0}}}}()}(window);]]>

Javascript is disabled

Viewing offline content

Limited functionality available

Dismiss

Let’s make this work.

To view this video, change your analytics/performance cookie settings.

‘;

function auHeader() {

var fragID = “cafeature”; //Required. Applied to outermost div. Used for analytics and other frag isolation

//Build item object from AEM Vars
var featureContent = {
numItems: “3”,
item: [
{
title: “Oil and gas price forecast”,
text: “Hydrogen pathways to net-zero: Charting a new course for industry”,
linkText: “Read the report”,
linkURL: “/ca/en/pages/resource-evaluation-and-advisory/topics/deloitte-canadian-price-forecast.html?icid=s1-fy23q3oilgas-en”,
image: “${item1-image}”, //hero image (400×400 to 600×600)
bkgImageMobile: “/content/dam/Deloitte/ca/Images/header_images/homepage-new/top-banner/ca-showcase-oilgas-1920×825-v1.jpg”, //low 1024x? //high 1920x1080px
bkgImageDesktop: “/content/dam/Deloitte/ca/Images/header_images/homepage-new/top-banner/ca-showcase-oilgas-1920×825-v1.jpg”, //low 1024x? //high 1920x1080px
vidID: “${item1-video-id}”, //brightcove video id – if not supplied background image will show
type: “background”, //Optional. String value accepted ‘background’, ‘hero’, or ‘video’. Default is hero.
textColor: “${item1-text-color}”, //Optional. String value accepted ‘white’ or ‘black’. Applied to text color. Default is white.
bkgColor: “${item1-background-color}”, //Optional. String value accepted ‘white’ or ‘black’. Applied to background. Default is black.
fade: “true” //Optional. String value accepted ‘true’ or ‘false’. Applied to background image or video. Default is true when type is background or video.
},
{
title: “We see Canada together”,
text: “Diverse perspectives, a singular vision”,
linkText: ” Meet our 9 champions”,
linkURL: “/ca/en/pages/public-sector/articles/we-see-canada-together.html?icid=s1-gpsdiversity-en”,
image: “${item2-image}”,
bkgImageMobile: “/content/dam/Deloitte/ca/Images/header_images/homepage-new/top-banner/ca-showcase-gpsdiversity-1920×825-v7.jpg”,
bkgImageDesktop: “/content/dam/Deloitte/ca/Images/header_images/homepage-new/top-banner/ca-showcase-gpsdiversity-1920×825-v7.jpg”,
vidID: “${item2-video-id}”,
type: “background”,
textColor: “${item2-text-color}”,
bkgColor: “${item2-background-color}”,
fade: “true”
},
{
title: “Careers in bloom”,
text: “We’re passionate about nurturing talent”,
linkText: “Learn more”,
linkURL: ” https://careers.deloitte.ca/?locale=en_US&icid=sc3-careers-en”,
image: “${item3-image}”,
bkgImageMobile: “/content/dam/Deloitte/ca/Images/Showcase/ca-showcase-talent-1920×825-v1.jpg”,
bkgImageDesktop: “/content/dam/Deloitte/ca/Images/Showcase/ca-showcase-talent-1920×825-v1.jpg”,
vidID: “${item3-video-id}”,
type: “background”,
textColor: “${item3-text-color}”,
bkgColor: “${item3-background-color}”,
fade: “true”
}
]
};

var validOptions = {
type: [‘background’, ‘hero’, ‘video’],
textColor: [‘black’, ‘white’],
bkgColor: [‘black’, ‘white’],
fade: [‘true’, ‘false’]
};

//check options, set defaults, apply classes as needed
var headerEl = document.querySelector(‘#feature-‘ + fragID);
var wrapperEl = document.querySelector(‘#feature-‘ + fragID + ‘ .au-feature-carousel-wrapper’);

//animate frags?
homeAnim = ((homeAnim.substring(0, 2) == “${“) || (homeAnim == ‘true’)) ? true : false;
if (homeAnim) {
headerEl.classList.add(‘fluid-branded-anim’);
}

//timer
timerDelay = (timerDelay.substring(0, 2) == “${“) ? 6000 : parseInt(timerDelay) * 1000;

//number of links
featureContent.numItems = (featureContent.numItems.substring(0, 2) == “${“) ? false : parseInt(featureContent.numItems);

//create frag
var itemFragment = document.createDocumentFragment();
var anyVideos = false;

//begin loop
for (i = 0; i ‘ + tempItem.title + ”;
textEl.appendChild(titleHTML);
}

//create text element
if (tempItem.text.substring(0, 2) == “${“) {
tempItem.text = false;
}
if (tempItem.text) {
textHTML.textContent = tempItem.text;
textEl.appendChild(textHTML);
}

//create link
if (tempItem.linkURL) {
linkHTML.href = tempItem.linkURL;
linkHTML.innerHTML = (tempItem.linkText.substring(0, 2) == “${“) ? “Read more” : tempItem.linkText;
textEl.appendChild(linkHTML);
}

//configure image

var imageEl = document.createElement(“div”);
imageEl.classList.add(“au-feature-carousel-image”);

if (tempItem.image.substring(0, 2) == “${“) {
tempItem.image = false;
}
if ((tempItem.type == “type-hero”) && (tempItem.image)) {
var heroImage = document.createElement(“img”);
heroImage.width = 700;
heroImage.height = 700;
heroImage.alt = “”;
heroImage.src = tempItem.image;
heroImage.classList.add(“au-img-responsive-fluid”);
imageEl.appendChild(heroImage);
}

//create content and inner wrapper
contentEl.appendChild(imageEl);
contentEl.appendChild(textEl);
innerEl.appendChild(contentEl);

//video id
if (tempItem.vidID.substring(0, 2) == “${“) {
tempItem.vidID = false;
}

//if video
if ((tempItem.type == “type-video”) && (tempItem.vidID)) {

anyVideos = true;

var BCPlayerTag = ”;

// Add the script tag to the document
backgroundEl.innerHTML = BCPlayerTag;

//add one trust msg to content area
var onetrustMsgEl = document.createElement(‘div’);
onetrustMsgEl.classList.add(‘au-feature-carousel-item-inner-onetrust’);
onetrustMsgEl.innerHTML = BCOneTrustTag;
contentEl.appendChild(onetrustMsgEl);

}

//background image
if (tempItem.bkgImageMobile.substring(0, 2) == “${“) {
tempItem.bkgImageMobile = false;
}
if (tempItem.bkgImageDesktop.substring(0, 2) == “${“) {
tempItem.bkgImageDesktop = false;
}
if ((tempItem.type == “type-background”) && (tempItem.bkgImageMobile) && (tempItem.bkgImageDesktop)) {
var bkgImageStyle = document.createElement(‘style’);
bkgImageStyle.textContent = “#feature-” + fragID + ” .au-feature-carousel-item-” + (i + 1) + ” .au-feature-carousel-bkg { background-image: url(‘” + tempItem.bkgImageMobile + “‘);}n”;
bkgImageStyle.textContent += “@media screen and (min-width:768px) { #feature-” + fragID + ” .au-feature-carousel-item-” + (i + 1) + ” .au-feature-carousel-bkg { background-image: url(‘” + tempItem.bkgImageDesktop + “‘); }}n”;
document.getElementsByTagName(“head”)[0].appendChild(bkgImageStyle);
}

//add to containers
itemEl.appendChild(backgroundEl);
itemEl.appendChild(innerEl);

//add to wrapper
itemFragment.appendChild(itemEl);

}

wrapperEl.appendChild(itemFragment);

//configure video

//any videos?
if (anyVideos) {

if ((typeof OnetrustActiveGroups === ‘undefined’) || (OnetrustActiveGroups.indexOf(“,2,”) >= 0)) {

//hide one trust dialog
var allOneTrustHeaderClasses = document.querySelectorAll(‘#feature-‘ + fragID + ‘ .au-feature-carousel-item-inner-onetrust’);
for (var i = 0, len = allOneTrustHeaderClasses.length | 0; i = 0)) { if (curVideoSlide) { //stop current var bcPlayerID = “#au-feature-carousel–video-” + curVideoSlide; videojs.getPlayer(bcPlayerID).ready(function () { this.pause(); curVideoSlide = false; //console.log(‘pause:’+curVideoSlide); }); } if (isVideoSlide[index]) { // Get a reference to the player var bcPlayerID = “#au-feature-carousel–video-” + isVideoSlide[index]; videojs.getPlayer(bcPlayerID).ready(function () { this.play(); //console.log(‘play:’+isVideoSlide[index]); curVideoSlide = isVideoSlide[index]; loopPlayer.currentTime(0); }); } } $(‘.au-feature-carousel-pager a’).eq(index).addClass(‘active’); $(‘.au-feature-carousel-item’).eq(index).addClass(‘active’); featureIndex = index; } function featureIncTimer() { if (featureIndex < (featureCount - 1)) { featureNavTo(featureIndex + 1); } else { featureNavTo(0); } } //feature swipe function featureSwipeStatus(event, phase, direction, distance) { if (phase == "move" && (direction == "left" || direction == "right")) { if (direction == "left") { } else if (direction == "right") { } } else if (phase == "start") { } else if (phase == "cancel") { } else if (phase == "end" && (direction == "left" || direction == "right")) { clearTimeout(featureTimer); if (direction == "left") { if (featureIndex 0) { featureNavTo(featureIndex - 1); try { var ActionType = "pager click"; var titleText = "slide-" + (featureIndex + 1); s.linkTrackVars = "prop1,prop2,prop3,prop4,prop5,eVar72"; s.eVar72 = PubID + ActionType + ':' + titleText + ':' + fragID; s.eVar72 = s.eVar72.toLowerCase(); s.prop1 = sc_country; s.prop2 = sc_language; s.prop3 = sc_country + ";" + sc_language; s.linkTrackEvents = "event23,event71,event72"; s.events = "event23,event71,event72"; s.tl(this, "o", s.eVar72); //console.log(s.eVar72); } catch (error) { console.error(error); console.log('analytics suite unavailable?'); } } } } } //feature var featureIndex = 0, featureCount = $(".au-feature-carousel-item").length, featureSwipeOptions = { triggerOnTouchEnd: true, swipeStatus: featureSwipeStatus, allowPageScroll: "vertical", threshold: 75 }; //swipes $(".au-feature-carousel-wrapper").swipe(featureSwipeOptions); //feature $('.au-feature-carousel-pager').on('click', 'a', function (e) { e.preventDefault(); clearTimeout(featureTimer); var index = $('.au-feature-carousel-pager a').index(this); featureNavTo(index); try { var ActionType = "pager click"; var titleText = "slide-" + (index + 1); s.linkTrackVars = "prop1,prop2,prop3,prop4,prop5,eVar72"; s.eVar72 = PubID + ActionType + ':' + titleText + ':' + fragID; s.eVar72 = s.eVar72.toLowerCase(); s.prop1 = sc_country; s.prop2 = sc_language; s.prop3 = sc_country + ";" + sc_language; s.linkTrackEvents = "event23,event71,event72"; s.events = "event23,event71,event72"; s.tl(this, "o", s.eVar72); //console.log(s.eVar72); } catch (error) { console.error(error); console.log('analytics suite unavailable?'); } }); //tracking $('.au-feature-carousel-item').on('click', 'a', function (e) { try { var titleString = $(this).parent().find('h1 span').text(); var titleText = titleString.replace(/(]+)>)/ig, ‘ ‘); var ActionType = “cta click”; s.linkTrackVars = “prop1,prop2,prop3,prop4,prop5,eVar72”; s.eVar72 = PubID + ActionType + ‘:’ + titleText + ‘:’ + fragID; s.eVar72 = s.eVar72.toLowerCase(); s.prop1 = sc_country; s.prop2 = sc_language; s.prop3 = sc_country + “;” + sc_language; s.linkTrackEvents = “event23,event71,event72”; s.events = “event23,event71,event72”; s.tl(this, “o”, s.eVar72); //console.log(s.eVar72); } catch (error) { console.error(error); console.log(‘analytics suite unavailable?’); } }); //feature timer var featureTimer = setInterval(featureIncTimer, timerDelay); console.log(isVideoSlide); if ((typeof OnetrustActiveGroups === ‘undefined’) || (OnetrustActiveGroups.indexOf(“,2,”) >= 0)) { //if video…start if (isVideoSlide[0]) { // Get a reference to the player var bcPlayerID = “#au-feature-carousel–video-” + isVideoSlide[0]; videojs.getPlayer(bcPlayerID).ready(function () { this.play(); curVideoSlide = isVideoSlide[0]; }); } } $(‘.au-feature-carousel-item’).eq(0).addClass(‘active’); $(‘.au-feature-carousel-pager a’).eq(0).addClass(‘active’); $(window).load(function () { //animation triggers if ((!homeAnim) || (isEditMode == “true”)) { AOS.init({ disable: true, mirror: false, once: true }); } else { AOS.init({ mirror: false, once: true }); } }); }); ]]>

Javascript is disabled

0){ custom_data_1 =sc_country + ‘;’ + sc_language +’_’+ (custom_data_1.toLowerCase()).replace(/ /g,”_”); } if(custom_data_2.length > 0){ custom_data_2 =sc_country + ‘;’ + sc_language +’_’+ (custom_data_2.toLowerCase()).replace(/ /g,”_”); } function getCookie(name) { var dc = document.cookie; var prefix = name + “=”; var begin = dc.indexOf(“; ” + prefix); if (begin == -1) { begin = dc.indexOf(prefix); if (begin != 0) return null; } else { begin += 2; var end = document.cookie.indexOf(“;”, begin); if (end == -1) { end = dc.length; } } return unescape(dc.substring(begin + prefix.length, end)); } var promoIds_attributes=”; var tagNames_attributes=”; var promoIds_disc_more=”; var tagNames_disc_more=”; var promoIds_next_steps=”; var promoIds_trending=”; ]]>

]]>

0) { $(‘.submit-rfp’).remove(); } }); ]]>

Opens_in_a_new_window

Source

Posted in

Leave a Comment

You must be logged in to post a comment.

How to S.T.A.R.T.

an Online Business

Learn how to choose a profitable business model, get the funding you need, pick a market, refine your plan and launch your business!

Free 5 Day Mini Course

Let me build your blog and it will be...

NEED A BLOG?

DONE RIGHT.

 

DONE FAST.

Save Time. Save Money.