{"version":3,"sources":["common.js"],"names":["supportsHistoryApi","window","history","pushState","showLoadedArticle","url","$","modal","replaceState","type","close","setTimeout","headroom","f","a","b","apply","arguments","c","d","e","g","indexOf","this","length","scrollCallback","scrollHandler","resetAnimation","start","scrolled","config","util","extend","defaults","animationNameCache","wowEvent","createEvent","boxClass","console","warn","keys","values","prototype","isMobile","test","document","initCustomEvent","createEventObject","eventType","eventName","emitEvent","dispatchEvent","addEvent","addEventListener","attachEvent","removeEvent","removeEventListener","detachEvent","innerHeight","documentElement","clientHeight","WeakMap","MozWeakMap","get","set","push","MutationObserver","WebkitMutationObserver","MozMutationObserver","notSupported","observe","getComputedStyle","getPropertyValue","replace","toUpperCase","currentStyle","WOW","animateClass","offset","mobile","live","callback","init","element","readyState","finished","stopped","boxes","querySelectorAll","call","all","disabled","resetStyle","applyStyle","interval","setInterval","addedNodes","doSync","body","childList","subtree","stop","clearInterval","sync","nodeType","parentNode","show","className","getAttribute","animate","customStyle","requestAnimationFrame","style","visibility","toLowerCase","target","srcElement","trim","cacheAnimationName","vendorSet","animationDuration","animationDelay","animationIterationCount","animationName","cachedAnimationName","vendors","h","charAt","substr","vendorCSS","i","getPropertyCSSValue","cssText","isVisible","offsetTop","offsetParent","pageYOffset","Math","min","_util","navigator","userAgent","ticking","Error","options","lastKnownScrollY","elem","debouncer","update","bind","tolerance","Object","down","up","classes","scroller","initialised","onPin","onUnpin","onTop","onNotTop","classList","rAF","webkitRequestAnimationFrame","mozRequestAnimationFrame","constructor","requestTick","rafCallback","handleEvent","cutsTheMustard","add","initial","destroy","remove","unpinned","pinned","top","getScrollY","unpin","contains","pin","notTop","scrollTop","getViewportHeight","getDocumentHeight","max","scrollHeight","offsetHeight","getElementHeight","getScrollerHeight","isOutOfBounds","toleranceExceeded","abs","shouldUnpin","shouldPin","Headroom","fn","option","each","$this","data","Zepto","jQuery","displayArticle","pushHistory","load","response","status","xhr","currentUrl","URL","appInsights","trackPageView","ArticleUrl","FromPage","trackEvent","Status","Response","responseText","html","on","addClass","removeClass","hover","prev","children","event","o","attr","preventDefault","ajaxSetup","cache","$anchor","currentTarget","stopPropagation","modalId","state","back","originalEvent","tour","_options","name","Name","Step","stepKey","pushHistoryUrl","goTo","stepIndex","location"],"mappings":"AAyNA,SAASA,qBACL,SAAUC,OAAOC,UAAWA,QAAQC,WAKxC,SAASC,kBAAkBC,GAEvBC,EAAE,UAAUC,MAAM,QAGlBL,QAAQM,aAAa,CAAEC,KAAM,UAAWC,OAAO,GAAQ,GAAI,aAC3DR,QAAQC,UAAU,CAAEM,KAAM,UAAWJ,IAAKA,GAAO,GAAIA,GAGrDJ,OAAOU,WAAW,WAAcL,EAAE,qBAAqBM,SAAS,UAAa,MAvOzB,WAA4B,SAAFC,EAAWC,EAAEC,GAAG,OAAO,WAAW,OAAOD,EAAEE,MAAMD,EAAEE,YAAjE,IAAIH,EAAEC,EAAEG,EAAEC,EAAEC,EAAkEC,EAAE,GAAGC,SAAS,SAASR,GAAG,IAAI,IAAIC,EAAE,EAAEG,EAAEK,KAAKC,OAAST,EAAFG,EAAIH,IAAI,GAAGA,KAAKQ,MAAMA,KAAKR,KAAKD,EAAE,OAAOC,EAAE,OAAO,GAA8qE,SAASK,EAAEN,GAAG,MAAMA,IAAIA,EAAE,IAAIS,KAAKE,eAAeZ,EAAEU,KAAKE,eAAeF,MAAMA,KAAKG,cAAcb,EAAEU,KAAKG,cAAcH,MAAMA,KAAKI,eAAed,EAAEU,KAAKI,eAAeJ,MAAMA,KAAKK,MAAMf,EAAEU,KAAKK,MAAML,MAAMA,KAAKM,UAAS,EAAGN,KAAKO,OAAOP,KAAKQ,OAAOC,OAAOlB,EAAES,KAAKU,UAAUV,KAAKW,mBAAmB,IAAIhB,EAAEK,KAAKY,SAASZ,KAAKQ,OAAOK,YAAYb,KAAKO,OAAOO,UAA17B,SAASvB,IAAI,oBAAoBwB,SAAS,OAAOA,SAASA,QAAQC,KAAK,sDAAsD,oBAAoBD,SAAS,OAAOA,SAASA,QAAQC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E,iBAAiBqN,KAAK,yGAGxBrN,EAAE,qBAAqBM,SAAS,QAEzB","file":"common.min.js","sourcesContent":["/*! WOW - v1.1.2 - 2015-04-07\r\n* Copyright (c) 2015 Matthieu Aussaguel; Licensed MIT */(function(){var a,b,c,d,e,f=function(a,b){return function(){return a.apply(b,arguments)}},g=[].indexOf||function(a){for(var b=0,c=this.length;c>b;b++)if(b in this&&this[b]===a)return b;return-1};b=function(){function a(){}return a.prototype.extend=function(a,b){var c,d;for(c in b)d=b[c],null==a[c]&&(a[c]=d);return a},a.prototype.isMobile=function(a){return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(a)},a.prototype.createEvent=function(a,b,c,d){var e;return null==b&&(b=!1),null==c&&(c=!1),null==d&&(d=null),null!=document.createEvent?(e=document.createEvent(\"CustomEvent\"),e.initCustomEvent(a,b,c,d)):null!=document.createEventObject?(e=document.createEventObject(),e.eventType=a):e.eventName=a,e},a.prototype.emitEvent=function(a,b){return null!=a.dispatchEvent?a.dispatchEvent(b):b in(null!=a)?a[b]():\"on\"+b in(null!=a)?a[\"on\"+b]():void 0},a.prototype.addEvent=function(a,b,c){return null!=a.addEventListener?a.addEventListener(b,c,!1):null!=a.attachEvent?a.attachEvent(\"on\"+b,c):a[b]=c},a.prototype.removeEvent=function(a,b,c){return null!=a.removeEventListener?a.removeEventListener(b,c,!1):null!=a.detachEvent?a.detachEvent(\"on\"+b,c):delete a[b]},a.prototype.innerHeight=function(){return\"innerHeight\"in window?window.innerHeight:document.documentElement.clientHeight},a}(),c=this.WeakMap||this.MozWeakMap||(c=function(){function a(){this.keys=[],this.values=[]}return a.prototype.get=function(a){var b,c,d,e,f;for(f=this.keys,b=d=0,e=f.length;e>d;b=++d)if(c=f[b],c===a)return this.values[b]},a.prototype.set=function(a,b){var c,d,e,f,g;for(g=this.keys,c=e=0,f=g.length;f>e;c=++e)if(d=g[c],d===a)return void(this.values[c]=b);return this.keys.push(a),this.values.push(b)},a}()),a=this.MutationObserver||this.WebkitMutationObserver||this.MozMutationObserver||(a=function(){function a(){\"undefined\"!=typeof console&&null!==console&&console.warn(\"MutationObserver is not supported by your browser.\"),\"undefined\"!=typeof console&&null!==console&&console.warn(\"WOW.js cannot detect dom mutations, please call .sync() after loading new content.\")}return a.notSupported=!0,a.prototype.observe=function(){},a}()),d=this.getComputedStyle||function(a){return this.getPropertyValue=function(b){var c;return\"float\"===b&&(b=\"styleFloat\"),e.test(b)&&b.replace(e,function(a,b){return b.toUpperCase()}),(null!=(c=a.currentStyle)?c[b]:void 0)||null},this},e=/(\\-([a-z]){1})/g,this.WOW=function(){function e(a){null==a&&(a={}),this.scrollCallback=f(this.scrollCallback,this),this.scrollHandler=f(this.scrollHandler,this),this.resetAnimation=f(this.resetAnimation,this),this.start=f(this.start,this),this.scrolled=!0,this.config=this.util().extend(a,this.defaults),this.animationNameCache=new c,this.wowEvent=this.util().createEvent(this.config.boxClass)}return e.prototype.defaults={boxClass:\"wow\",animateClass:\"animated\",offset:0,mobile:!0,live:!0,callback:null},e.prototype.init=function(){var a;return this.element=window.document.documentElement,\"interactive\"===(a=document.readyState)||\"complete\"===a?this.start():this.util().addEvent(document,\"DOMContentLoaded\",this.start),this.finished=[]},e.prototype.start=function(){var b,c,d,e;if(this.stopped=!1,this.boxes=function(){var a,c,d,e;for(d=this.element.querySelectorAll(\".\"+this.config.boxClass),e=[],a=0,c=d.length;c>a;a++)b=d[a],e.push(b);return e}.call(this),this.all=function(){var a,c,d,e;for(d=this.boxes,e=[],a=0,c=d.length;c>a;a++)b=d[a],e.push(b);return e}.call(this),this.boxes.length)if(this.disabled())this.resetStyle();else for(e=this.boxes,c=0,d=e.length;d>c;c++)b=e[c],this.applyStyle(b,!0);return this.disabled()||(this.util().addEvent(window,\"scroll\",this.scrollHandler),this.util().addEvent(window,\"resize\",this.scrollHandler),this.interval=setInterval(this.scrollCallback,50)),this.config.live?new a(function(a){return function(b){var c,d,e,f,g;for(g=[],c=0,d=b.length;d>c;c++)f=b[c],g.push(function(){var a,b,c,d;for(c=f.addedNodes||[],d=[],a=0,b=c.length;b>a;a++)e=c[a],d.push(this.doSync(e));return d}.call(a));return g}}(this)).observe(document.body,{childList:!0,subtree:!0}):void 0},e.prototype.stop=function(){return this.stopped=!0,this.util().removeEvent(window,\"scroll\",this.scrollHandler),this.util().removeEvent(window,\"resize\",this.scrollHandler),null!=this.interval?clearInterval(this.interval):void 0},e.prototype.sync=function(){return a.notSupported?this.doSync(this.element):void 0},e.prototype.doSync=function(a){var b,c,d,e,f;if(null==a&&(a=this.element),1===a.nodeType){for(a=a.parentNode||a,e=a.querySelectorAll(\".\"+this.config.boxClass),f=[],c=0,d=e.length;d>c;c++)b=e[c],g.call(this.all,b)<0?(this.boxes.push(b),this.all.push(b),this.stopped||this.disabled()?this.resetStyle():this.applyStyle(b,!0),f.push(this.scrolled=!0)):f.push(void 0);return f}},e.prototype.show=function(a){return this.applyStyle(a),a.className=a.className+\" \"+this.config.animateClass,null!=this.config.callback&&this.config.callback(a),this.util().emitEvent(a,this.wowEvent),this.util().addEvent(a,\"animationend\",this.resetAnimation),this.util().addEvent(a,\"oanimationend\",this.resetAnimation),this.util().addEvent(a,\"webkitAnimationEnd\",this.resetAnimation),this.util().addEvent(a,\"MSAnimationEnd\",this.resetAnimation),a},e.prototype.applyStyle=function(a,b){var c,d,e;return d=a.getAttribute(\"data-wow-duration\"),c=a.getAttribute(\"data-wow-delay\"),e=a.getAttribute(\"data-wow-iteration\"),this.animate(function(f){return function(){return f.customStyle(a,b,d,c,e)}}(this))},e.prototype.animate=function(){return\"requestAnimationFrame\"in window?function(a){return window.requestAnimationFrame(a)}:function(a){return a()}}(),e.prototype.resetStyle=function(){var a,b,c,d,e;for(d=this.boxes,e=[],b=0,c=d.length;c>b;b++)a=d[b],e.push(a.style.visibility=\"visible\");return e},e.prototype.resetAnimation=function(a){var b;return a.type.toLowerCase().indexOf(\"animationend\")>=0?(b=a.target||a.srcElement,b.className=b.className.replace(this.config.animateClass,\"\").trim()):void 0},e.prototype.customStyle=function(a,b,c,d,e){return b&&this.cacheAnimationName(a),a.style.visibility=b?\"hidden\":\"visible\",c&&this.vendorSet(a.style,{animationDuration:c}),d&&this.vendorSet(a.style,{animationDelay:d}),e&&this.vendorSet(a.style,{animationIterationCount:e}),this.vendorSet(a.style,{animationName:b?\"none\":this.cachedAnimationName(a)}),a},e.prototype.vendors=[\"moz\",\"webkit\"],e.prototype.vendorSet=function(a,b){var c,d,e,f;d=[];for(c in b)e=b[c],a[\"\"+c]=e,d.push(function(){var b,d,g,h;for(g=this.vendors,h=[],b=0,d=g.length;d>b;b++)f=g[b],h.push(a[\"\"+f+c.charAt(0).toUpperCase()+c.substr(1)]=e);return h}.call(this));return d},e.prototype.vendorCSS=function(a,b){var c,e,f,g,h,i;for(h=d(a),g=h.getPropertyCSSValue(b),f=this.vendors,c=0,e=f.length;e>c;c++)i=f[c],g=g||h.getPropertyCSSValue(\"-\"+i+\"-\"+b);return g},e.prototype.animationName=function(a){var b;try{b=this.vendorCSS(a,\"animation-name\").cssText}catch(c){b=d(a).getPropertyValue(\"animation-name\")}return\"none\"===b?\"\":b},e.prototype.cacheAnimationName=function(a){return this.animationNameCache.set(a,this.animationName(a))},e.prototype.cachedAnimationName=function(a){return this.animationNameCache.get(a)},e.prototype.scrollHandler=function(){return this.scrolled=!0},e.prototype.scrollCallback=function(){var a;return!this.scrolled||(this.scrolled=!1,this.boxes=function(){var b,c,d,e;for(d=this.boxes,e=[],b=0,c=d.length;c>b;b++)a=d[b],a&&(this.isVisible(a)?this.show(a):e.push(a));return e}.call(this),this.boxes.length||this.config.live)?void 0:this.stop()},e.prototype.offsetTop=function(a){for(var b;void 0===a.offsetTop;)a=a.parentNode;for(b=a.offsetTop;a=a.offsetParent;)b+=a.offsetTop;return b},e.prototype.isVisible=function(a){var b,c,d,e,f;return c=a.getAttribute(\"data-wow-offset\")||this.config.offset,f=window.pageYOffset,e=f+Math.min(this.element.clientHeight,this.util().innerHeight())-c,d=this.offsetTop(a),b=d+a.clientHeight,e>=d&&b>=f},e.prototype.util=function(){return null!=this._util?this._util:this._util=new b},e.prototype.disabled=function(){return!this.config.mobile&&this.util().isMobile(navigator.userAgent)},e}()}).call(this);\n/*!\r\n * headroom.js v0.7.0 - Give your page some headroom. Hide your header until you need it\r\n * Copyright (c) 2014 Nick Williams - http://wicky.nillia.ms/headroom.js\r\n * License: MIT\r\n */\r\n\r\n!function(a,b){\"use strict\";function c(a){this.callback=a,this.ticking=!1}function d(b){return b&&\"undefined\"!=typeof a&&(b===a||b.nodeType)}function e(a){if(arguments.length<=0)throw new Error(\"Missing arguments in extend function\");var b,c,f=a||{};for(c=1;ca,c=a+this.getViewportHeight()>this.getScrollerHeight();return b||c},toleranceExceeded:function(a,b){return Math.abs(a-this.lastKnownScrollY)>=this.tolerance[b]},shouldUnpin:function(a,b){var c=a>this.lastKnownScrollY,d=a>=this.offset;return c&&d&&b},shouldPin:function(a,b){var c=athis.lastKnownScrollY?\"down\":\"up\",c=this.toleranceExceeded(a,b);this.isOutOfBounds(a)||(a<=this.offset?this.top():this.notTop(),this.shouldUnpin(a,c)?this.unpin():this.shouldPin(a,c)&&this.pin(),this.lastKnownScrollY=a)}},g.options={tolerance:{up:0,down:0},offset:0,scroller:a,classes:{pinned:\"headroom--pinned\",unpinned:\"headroom--unpinned\",top:\"headroom--top\",notTop:\"headroom--not-top\",initial:\"headroom\"}},g.cutsTheMustard=\"undefined\"!=typeof h&&h.rAF&&h.bind&&h.classList,a.Headroom=g}(window,document);\n(function($) {\r\n\r\n if(!$) {\r\n return;\r\n }\r\n\r\n ////////////\r\n // Plugin //\r\n ////////////\r\n\r\n $.fn.headroom = function(option) {\r\n return this.each(function() {\r\n var $this = $(this),\r\n data = $this.data('headroom'),\r\n options = typeof option === 'object' && option;\r\n\r\n options = $.extend(true, {}, Headroom.options, options);\r\n\r\n if (!data) {\r\n data = new Headroom(this, options);\r\n data.init();\r\n $this.data('headroom', data);\r\n }\r\n if (typeof option === 'string') {\r\n data[option]();\r\n }\r\n });\r\n };\r\n\r\n //////////////\r\n // Data API //\r\n //////////////\r\n\r\n $('[data-headroom]').each(function() {\r\n var $this = $(this);\r\n $this.headroom($this.data());\r\n });\r\n\r\n}(window.Zepto || window.jQuery));\r\n\n$(function () {\r\n \"use strict\";\r\n\r\n // Setup the nav bar to move out the way on scrolling\r\n $('.navbar-fixed-top').headroom({ offset: 50, tolerance: 0 });\r\n\r\n // Initialize WOW.js Scrolling Animations\r\n new WOW().init();\r\n\r\n // Open the 'contact tab' displayed on evey page\r\n $('#contact-tab').on('click', function() {\r\n // Log an event to Application Insights \r\n appInsights.trackEvent(\"FlyoutOpened\");\r\n\r\n $('#contact-content').addClass('active');\r\n });\r\n\r\n // Close the open 'contact tab' displayed on evey page\r\n $('#contact-content-close').on('click', function () {\r\n // Log an event to Application Insights \r\n appInsights.trackEvent(\"FlyoutClosed\");\r\n\r\n $('#contact-content').removeClass('active');\r\n });\r\n\r\n // When hovering over portfolio captions set the active class to display the hover section\r\n $('div.portfolio-caption').hover(function() {\r\n $(this).prev().children(':first').addClass('active');\r\n }, function () {\r\n $(this).prev().children(':first').removeClass('active');\r\n });\r\n\r\n // Perform smooth page scrolling\r\n $(\"a.page-scroll\").bind(\"click\", function (event) {\r\n var o = $(this);\r\n $(\"html, body\").stop().animate({ scrollTop: $(o.attr(\"href\")).offset().top }, 1500, \"easeInOutExpo\");\r\n event.preventDefault();\r\n });\r\n\r\n // For development/debugging dont cache the Ajax results otherwise cant easily update the pages and reload.\r\n $.ajaxSetup({ cache: false });\r\n\r\n // Look for anchor tags that have our link attribute set '\r\n if (supportsHistoryApi()) {\r\n $('a[data-xs-link=\"article\"').on('click', function (e) {\r\n var $anchor = $(this);\r\n\r\n // Check that the link type is 'article'\r\n if ($anchor.data('xs-link') === 'article') {\r\n if (e.target !== e.currentTarget) {\r\n e.preventDefault();\r\n\r\n // Get the links href attribute and display the article content in the modal and add a new entry to the history\r\n var href = $anchor.attr('href');\r\n displayArticle(href, true);\r\n }\r\n\r\n // Prevent the event from bubbling up\r\n e.stopPropagation();\r\n }\r\n });\r\n }\r\n\r\n // Look for the div and button elements used to close the modal and handle its click event\r\n $('div[data-xs-dismiss],button[data-xs-dismiss]').on('click', function (e) {\r\n var $element = $(this);\r\n var modalId = '#' + $element.data('xs-dismiss');\r\n\r\n // If the article is displayed due to us loading it dynamically then just get the browser to go back\r\n // otherwise close the modal\r\n if (history.state !== null) {\r\n history.back();\r\n }\r\n else {\r\n $(modalId).modal('hide');\r\n }\r\n });\r\n\r\n // Handle the browsers back/forward events\r\n $(window).on(\"popstate\", function (e) {\r\n // Access the state that was associated with the history entry\r\n var state = e.originalEvent.state;\r\n\r\n // When there is no state then we're just going back to the articles index page or if the history entry requests a close\r\n // then close the modal\r\n if (state === null || (state.type === 'article' && state.close === true)) {\r\n $('#modal').modal('hide');\r\n }\r\n else\r\n {\r\n // For articles we need to display the article, and for tours display the correct step\r\n if (state.type === 'article') {\r\n // Log an event to Application Insights \r\n appInsights.trackEvent(\"HistoryArticle\", { ArticleUrl: state.url });\r\n\r\n // Otherwise display the article specified by the state URL (usually when forward is clicked)\r\n displayArticle(state.url);\r\n }\r\n else if (state.type === 'tour') {\r\n\r\n // Get access to the tour which is stored on the body element of tour pages\r\n var tour = $('body').data('xs-tour');\r\n\r\n // See if the current page is a tour page and the requested page is part of the same tour \r\n if (tour && tour._options.name === state.name) {\r\n // Log an event to Application Insights \r\n appInsights.trackEvent(\"HistoryTourPageForSameTour\", { Name: tour._options.name, Step: state.stepKey });\r\n\r\n // Get the current tour to go to the step specified but don't push the URL onto the browser history\r\n tour.pushHistoryUrl = false;\r\n tour.goTo(state.stepIndex);\r\n } else {\r\n // Log an event to Application Insights \r\n appInsights.trackEvent(\"HistoryTourPage\", { Name: tour._options.name, Step: state.stepKey });\r\n\r\n // Just go to the page\r\n window.location = state.url;\r\n }\r\n\r\n }\r\n }\r\n });\r\n\r\n // Tidy up when hiding the modal \r\n $('#modal').on('hidden.bs.modal', function () {\r\n // Reset it's contents to 'loading'.\r\n $('#modalcontent').html('


Loading...

');\r\n\r\n // Pin the main menu\r\n $('.navbar-fixed-top').headroom(\"pin\");\r\n\r\n return true;\r\n });\r\n\r\n // Load the content of an article and display the modal\r\n function displayArticle(url, pushHistory) {\r\n if (url) {\r\n // Load the modal content with the Ajax partial page result\r\n $('#modalcontent').load(url + '/partial', function (response, status, xhr) {\r\n if (status === 'success' || status === 'notmodified') {\r\n // Store away the current page URL\r\n var currentUrl = document.URL;\r\n\r\n // Load succeeded so requested push an entry for the loaded article onto the history stack\r\n if (pushHistory === true) {\r\n history.pushState({ type: 'article', url: url }, '', url);\r\n }\r\n\r\n // Log a page view to Application Insights \r\n appInsights.trackPageView(url, document.URL, { ArticleUrl: url, FromPage: currentUrl });\r\n\r\n // Unpin the main menu if its visible and show the modal\r\n $('.navbar-fixed-top').headroom(\"unpin\");\r\n $('#modal').modal('show');\r\n } else {\r\n // Log an event to Application Insights \r\n appInsights.trackEvent(\"ArticleLoadFailed\", { ArticleUrl: url, Status: xhr.status, Response: xhr.responseText });\r\n\r\n // Show an error that the load failed\r\n $('#modalcontent').html('


Failed to load the document ' + url + ', status was (' + status + ').
Please contact XSOL to report the issue.

');\r\n $('#modal').modal('show');\r\n }\r\n });\r\n }\r\n }\r\n});\r\n\r\n// Check to see if the browser supports the history API\r\nfunction supportsHistoryApi() {\r\n return !!(window.history && history.pushState);\r\n}\r\n\r\n// When loading a document directly from a URL we need to display the modal and handle the close button a \r\n// little differently.\r\nfunction showLoadedArticle(url) {\r\n // Show the document content already loaded in the modal \r\n $(\"#modal\").modal('show');\r\n\r\n // Manipulate the browser history so 'back' will take the user to the articles index \r\n history.replaceState({ type: 'article', close: true }, '', '/articles');\r\n history.pushState({ type: 'article', url: url }, '', url);\r\n\r\n // Hide the toolbar once the page loads\r\n window.setTimeout(function () { $('.navbar-fixed-top').headroom(\"unpin\"); }, 1000);\r\n}\r\n\r\n"]}