/*! 
This file is based on or incorporates material from the projects listed below (Third Party IP). 
The original copyright notice and the license under which Microsoft received such Third Party IP, are set forth below. 
Such licenses and notices are provided for informational purposes only. Microsoft licenses the Third Party IP to you under 
the licensing terms for the Microsoft product. Microsoft reserves all other rights not expressly granted under this 
agreement, whether by implication, estoppel or otherwise. 
*/
function bingMapLoaded(){MeePortal.BingMapWaiter.mapsLoaded()}var Helpers,inputWidth,mq,WebHip,MeePortal;(function(){function ut(t){function r(n,i,r,u,f,e){for(;f>=0&&f<e;f+=t){var o=u?u[f]:f;r=i(r,n[o],o,n)}return r}return function(u,f,o,s){f=e(f,s,4);var h=!i(u)&&n.keys(u),l=(h||u).length,c=t>0?0:l-1;return arguments.length<3&&(o=u[h?h[c]:c],c+=t),r(u,f,o,h,c,l)}}function ft(n){return function(i,r,f){r=t(r,f);for(var o=u(i),e=n>0?0:o-1;e>=0&&e<o;e+=n)if(r(i[e],e,i))return e;return-1}}function et(t,i,f){return function(e,o,s){var c=0,h=u(e);if(typeof s=="number")t>0?c=s>=0?s:Math.max(s+h,c):h=s>=0?Math.min(s+1,h):s+h+1;else if(f&&s&&h)return s=f(e,o),e[s]===o?s:-1;if(o!==o)return s=i(r.call(e,c,h),n.isNaN),s>=0?s+c:-1;for(s=t>0?c:h-1;s>=0&&s<h;s+=t)if(e[s]===o)return s;return-1}}function ot(t,i){var u=d.length,f=t.constructor,e=n.isFunction(f)&&f.prototype||v,r="constructor";for(n.has(t,r)&&!n.contains(i,r)&&i.push(r);u--;)r=d[u],r in t&&t[r]!==e[r]&&!n.contains(i,r)&&i.push(r)}var a=this,lt=a._,s=Array.prototype,v=Object.prototype,at=Function.prototype,vt=s.push,r=s.slice,o=v.toString,yt=v.hasOwnProperty,pt=Array.isArray,nt=Object.keys,y=at.bind,tt=Object.create,p=function(){},n=function(t){if(t instanceof n)return t;if(!(this instanceof n))return new n(t);this._wrapped=t},e,t,h,f,b,k,d,c,ct,l;typeof exports!="undefined"?(typeof module!="undefined"&&module.exports&&(exports=module.exports=n),exports._=n):a._=n;n.VERSION="1.8.3";e=function(n,t,i){if(t===void 0)return n;switch(i==null?3:i){case 1:return function(i){return n.call(t,i)};case 2:return function(i,r){return n.call(t,i,r)};case 3:return function(i,r,u){return n.call(t,i,r,u)};case 4:return function(i,r,u,f){return n.call(t,i,r,u,f)}}return function(){return n.apply(t,arguments)}};t=function(t,i,r){return t==null?n.identity:n.isFunction(t)?e(t,i,r):n.isObject(t)?n.matcher(t):n.property(t)};n.iteratee=function(n,i){return t(n,i,Infinity)};var w=function(n,t){return function(i){var e=arguments.length,r,u,f;if(e<2||i==null)return i;for(r=1;r<e;r++){var o=arguments[r],s=n(o),h=s.length;for(u=0;u<h;u++)f=s[u],t&&i[f]!==void 0||(i[f]=o[f])}return i}},it=function(t){if(!n.isObject(t))return{};if(tt)return tt(t);p.prototype=t;var i=new p;return p.prototype=null,i},rt=function(n){return function(t){if(t!=null)return t[n]}},wt=Math.pow(2,53)-1,u=rt("length"),i=function(n){var t=u(n);return typeof t=="number"&&t>=0&&t<=wt};n.each=n.forEach=function(t,r,u){var f,o,s;if(r=e(r,u),i(t))for(f=0,o=t.length;f<o;f++)r(t[f],f,t);else for(s=n.keys(t),f=0,o=s.length;f<o;f++)r(t[s[f]],s[f],t);return t};n.map=n.collect=function(r,u,f){var e,s;u=t(u,f);var o=!i(r)&&n.keys(r),h=(o||r).length,c=Array(h);for(e=0;e<h;e++)s=o?o[e]:e,c[e]=u(r[s],s,r);return c};n.reduce=n.foldl=n.inject=ut(1);n.reduceRight=n.foldr=ut(-1);n.find=n.detect=function(t,r,u){var f;return f=i(t)?n.findIndex(t,r,u):n.findKey(t,r,u),f!==void 0&&f!==-1?t[f]:void 0};n.filter=n.select=function(i,r,u){var f=[];return r=t(r,u),n.each(i,function(n,t,i){r(n,t,i)&&f.push(n)}),f};n.reject=function(i,r,u){return n.filter(i,n.negate(t(r)),u)};n.every=n.all=function(r,u,f){var o,h,e,s;for(u=t(u,f),o=!i(r)&&n.keys(r),h=(o||r).length,e=0;e<h;e++)if(s=o?o[e]:e,!u(r[s],s,r))return!1;return!0};n.some=n.any=function(r,u,f){var o,h,e,s;for(u=t(u,f),o=!i(r)&&n.keys(r),h=(o||r).length,e=0;e<h;e++)if(s=o?o[e]:e,u(r[s],s,r))return!0;return!1};n.contains=n.includes=n.include=function(t,r,u,f){return i(t)||(t=n.values(t)),(typeof u!="number"||f)&&(u=0),n.indexOf(t,r,u)>=0};n.invoke=function(t,i){var u=r.call(arguments,2),f=n.isFunction(i);return n.map(t,function(n){var t=f?i:n[i];return t==null?t:t.apply(n,u)})};n.pluck=function(t,i){return n.map(t,n.property(i))};n.where=function(t,i){return n.filter(t,n.matcher(i))};n.findWhere=function(t,i){return n.find(t,n.matcher(i))};n.max=function(r,u,f){var e=-Infinity,c=-Infinity,h,o,s,l;if(u==null&&r!=null)for(r=i(r)?r:n.values(r),s=0,l=r.length;s<l;s++)h=r[s],h>e&&(e=h);else u=t(u,f),n.each(r,function(n,t,i){o=u(n,t,i);(o>c||o===-Infinity&&e===-Infinity)&&(e=n,c=o)});return e};n.min=function(r,u,f){var e=Infinity,c=Infinity,h,o,s,l;if(u==null&&r!=null)for(r=i(r)?r:n.values(r),s=0,l=r.length;s<l;s++)h=r[s],h<e&&(e=h);else u=t(u,f),n.each(r,function(n,t,i){o=u(n,t,i);(o<c||o===Infinity&&e===Infinity)&&(e=n,c=o)});return e};n.shuffle=function(t){for(var e=i(t)?t:n.values(t),o=e.length,u=Array(o),r=0,f;r<o;r++)f=n.random(0,r),f!==r&&(u[r]=u[f]),u[f]=e[r];return u};n.sample=function(t,r,u){return r==null||u?(i(t)||(t=n.values(t)),t[n.random(t.length-1)]):n.shuffle(t).slice(0,Math.max(0,r))};n.sortBy=function(i,r,u){return r=t(r,u),n.pluck(n.map(i,function(n,t,i){return{value:n,index:t,criteria:r(n,t,i)}}).sort(function(n,t){var i=n.criteria,r=t.criteria;if(i!==r){if(i>r||i===void 0)return 1;if(i<r||r===void 0)return-1}return n.index-t.index}),"value")};h=function(i){return function(r,u,f){var e={};return u=t(u,f),n.each(r,function(n,t){var f=u(n,t,r);i(e,n,f)}),e}};n.groupBy=h(function(t,i,r){n.has(t,r)?t[r].push(i):t[r]=[i]});n.indexBy=h(function(n,t,i){n[i]=t});n.countBy=h(function(t,i,r){n.has(t,r)?t[r]++:t[r]=1});n.toArray=function(t){return t?n.isArray(t)?r.call(t):i(t)?n.map(t,n.identity):n.values(t):[]};n.size=function(t){return t==null?0:i(t)?t.length:n.keys(t).length};n.partition=function(i,r,u){r=t(r,u);var f=[],e=[];return n.each(i,function(n,t,i){(r(n,t,i)?f:e).push(n)}),[f,e]};n.first=n.head=n.take=function(t,i,r){if(t!=null)return i==null||r?t[0]:n.initial(t,t.length-i)};n.initial=function(n,t,i){return r.call(n,0,Math.max(0,n.length-(t==null||i?1:t)))};n.last=function(t,i,r){if(t!=null)return i==null||r?t[t.length-1]:n.rest(t,Math.max(0,t.length-i))};n.rest=n.tail=n.drop=function(n,t,i){return r.call(n,t==null||i?1:t)};n.compact=function(t){return n.filter(t,n.identity)};f=function(t,r,e,o){for(var s,l,a,h=[],v=0,c=o||0,y=u(t);c<y;c++)if(s=t[c],i(s)&&(n.isArray(s)||n.isArguments(s)))for(r||(s=f(s,r,e)),l=0,a=s.length,h.length+=a;l<a;)h[v++]=s[l++];else e||(h[v++]=s);return h};n.flatten=function(n,t){return f(n,t,!1)};n.without=function(t){return n.difference(t,r.call(arguments,1))};n.uniq=n.unique=function(i,r,f,e){var s,c,h,a,o,l;for(n.isBoolean(r)||(e=f,f=r,r=!1),f!=null&&(f=t(f,e)),s=[],c=[],h=0,a=u(i);h<a;h++)o=i[h],l=f?f(o,h,i):o,r?(h&&c===l||s.push(o),c=l):f?n.contains(c,l)||(c.push(l),s.push(o)):n.contains(s,o)||s.push(o);return s};n.union=function(){return n.uniq(f(arguments,!0,!0))};n.intersection=function(t){for(var r,i,f=[],o=arguments.length,e=0,s=u(t);e<s;e++)if(r=t[e],!n.contains(f,r)){for(i=1;i<o;i++)if(!n.contains(arguments[i],r))break;i===o&&f.push(r)}return f};n.difference=function(t){var i=f(arguments,!0,!0,1);return n.filter(t,function(t){return!n.contains(i,t)})};n.zip=function(){return n.unzip(arguments)};n.unzip=function(t){for(var r=t&&n.max(t,u).length||0,f=Array(r),i=0;i<r;i++)f[i]=n.pluck(t,i);return f};n.object=function(n,t){for(var r={},i=0,f=u(n);i<f;i++)t?r[n[i]]=t[i]:r[n[i][0]]=n[i][1];return r};n.findIndex=ft(1);n.findLastIndex=ft(-1);n.sortedIndex=function(n,i,r,f){var o;r=t(r,f,1);for(var h=r(i),e=0,s=u(n);e<s;)o=Math.floor((e+s)/2),r(n[o])<h?e=o+1:s=o;return e};n.indexOf=et(1,n.findIndex,n.sortedIndex);n.lastIndexOf=et(-1,n.findLastIndex);n.range=function(n,t,i){var u,f,r;for(t==null&&(t=n||0,n=0),i=i||1,u=Math.max(Math.ceil((t-n)/i),0),f=Array(u),r=0;r<u;r++,n+=i)f[r]=n;return f};b=function(t,i,r,u,f){if(!(u instanceof i))return t.apply(r,f);var e=it(t.prototype),o=t.apply(e,f);return n.isObject(o)?o:e};n.bind=function(t,i){if(y&&t.bind===y)return y.apply(t,r.call(arguments,1));if(!n.isFunction(t))throw new TypeError("Bind must be called on a function");var f=r.call(arguments,2),u=function(){return b(t,u,i,this,f.concat(r.call(arguments)))};return u};n.partial=function(t){var i=r.call(arguments,1),u=function(){for(var f=0,o=i.length,e=Array(o),r=0;r<o;r++)e[r]=i[r]===n?arguments[f++]:i[r];while(f<arguments.length)e.push(arguments[f++]);return b(t,u,this,this,e)};return u};n.bindAll=function(t){var i,u=arguments.length,r;if(u<=1)throw new Error("bindAll must be passed function names");for(i=1;i<u;i++)r=arguments[i],t[r]=n.bind(t[r],t);return t};n.memoize=function(t,i){var r=function(u){var f=r.cache,e=""+(i?i.apply(this,arguments):u);return n.has(f,e)||(f[e]=t.apply(this,arguments)),f[e]};return r.cache={},r};n.delay=function(n,t){var i=r.call(arguments,2);return setTimeout(function(){return n.apply(null,i)},t)};n.defer=n.partial(n.delay,n,1);n.throttle=function(t,i,r){var f,e,s,u=null,o=0,h;return r||(r={}),h=function(){o=r.leading===!1?0:n.now();u=null;s=t.apply(f,e);u||(f=e=null)},function(){var l=n.now(),c;return o||r.leading!==!1||(o=l),c=i-(l-o),f=this,e=arguments,c<=0||c>i?(u&&(clearTimeout(u),u=null),o=l,s=t.apply(f,e),u||(f=e=null)):u||r.trailing===!1||(u=setTimeout(h,c)),s}};n.debounce=function(t,i,r){var u,f,e,s,o,h=function(){var c=n.now()-s;c<i&&c>=0?u=setTimeout(h,i-c):(u=null,r||(o=t.apply(e,f),u||(e=f=null)))};return function(){e=this;f=arguments;s=n.now();var c=r&&!u;return u||(u=setTimeout(h,i)),c&&(o=t.apply(e,f),e=f=null),o}};n.wrap=function(t,i){return n.partial(i,t)};n.negate=function(n){return function(){return!n.apply(this,arguments)}};n.compose=function(){var n=arguments,t=n.length-1;return function(){for(var r=t,i=n[t].apply(this,arguments);r--;)i=n[r].call(this,i);return i}};n.after=function(n,t){return function(){if(--n<1)return t.apply(this,arguments)}};n.before=function(n,t){var i;return function(){return--n>0&&(i=t.apply(this,arguments)),n<=1&&(t=null),i}};n.once=n.partial(n.before,2);k=!{toString:null}.propertyIsEnumerable("toString");d=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"];n.keys=function(t){var i,r;if(!n.isObject(t))return[];if(nt)return nt(t);i=[];for(r in t)n.has(t,r)&&i.push(r);return k&&ot(t,i),i};n.allKeys=function(t){var i,r;if(!n.isObject(t))return[];i=[];for(r in t)i.push(r);return k&&ot(t,i),i};n.values=function(t){for(var r=n.keys(t),u=r.length,f=Array(u),i=0;i<u;i++)f[i]=t[r[i]];return f};n.mapObject=function(i,r,u){var e;r=t(r,u);var o=n.keys(i),h=o.length,s={},f;for(e=0;e<h;e++)f=o[e],s[f]=r(i[f],f,i);return s};n.pairs=function(t){for(var r=n.keys(t),u=r.length,f=Array(u),i=0;i<u;i++)f[i]=[r[i],t[r[i]]];return f};n.invert=function(t){for(var u={},r=n.keys(t),i=0,f=r.length;i<f;i++)u[t[r[i]]]=r[i];return u};n.functions=n.methods=function(t){var i=[];for(var r in t)n.isFunction(t[r])&&i.push(r);return i.sort()};n.extend=w(n.allKeys);n.extendOwn=n.assign=w(n.keys);n.findKey=function(i,r,u){var o,f,e,s;for(r=t(r,u),o=n.keys(i),e=0,s=o.length;e<s;e++)if(f=o[e],r(i[f],f,i))return f};n.pick=function(t,i,r){var c={},u=t,l,o,s,v,h,a;if(u==null)return c;for(n.isFunction(i)?(o=n.allKeys(u),l=e(i,r)):(o=f(arguments,!1,!1,1),l=function(n,t,i){return t in i},u=Object(u)),s=0,v=o.length;s<v;s++)h=o[s],a=u[h],l(a,h,u)&&(c[h]=a);return c};n.omit=function(t,i,r){if(n.isFunction(i))i=n.negate(i);else{var u=n.map(f(arguments,!1,!1,1),String);i=function(t,i){return!n.contains(u,i)}}return n.pick(t,i,r)};n.defaults=w(n.allKeys,!0);n.create=function(t,i){var r=it(t);return i&&n.extendOwn(r,i),r};n.clone=function(t){return n.isObject(t)?n.isArray(t)?t.slice():n.extend({},t):t};n.tap=function(n,t){return t(n),n};n.isMatch=function(t,i){var e=n.keys(i),o=e.length,f,r,u;if(t==null)return!o;for(f=Object(t),r=0;r<o;r++)if(u=e[r],i[u]!==f[u]||!(u in f))return!1;return!0};c=function(t,i,r,u){var h,a,e,s,f,v,l;if(t===i)return t!==0||1/t==1/i;if(t==null||i==null)return t===i;if(t instanceof n&&(t=t._wrapped),i instanceof n&&(i=i._wrapped),h=o.call(t),h!==o.call(i))return!1;switch(h){case"[object RegExp]":case"[object String]":return""+t==""+i;case"[object Number]":return+t!=+t?+i!=+i:+t==0?1/+t==1/i:+t==+i;case"[object Date]":case"[object Boolean]":return+t==+i}if(a=h==="[object Array]",!a&&(typeof t!="object"||typeof i!="object"||(e=t.constructor,s=i.constructor,e!==s&&!(n.isFunction(e)&&e instanceof e&&n.isFunction(s)&&s instanceof s)&&"constructor"in t&&"constructor"in i)))return!1;for(r=r||[],u=u||[],f=r.length;f--;)if(r[f]===t)return u[f]===i;if(r.push(t),u.push(i),a){if(f=t.length,f!==i.length)return!1;while(f--)if(!c(t[f],i[f],r,u))return!1}else{if(v=n.keys(t),f=v.length,n.keys(i).length!==f)return!1;while(f--)if(l=v[f],!(n.has(i,l)&&c(t[l],i[l],r,u)))return!1}return r.pop(),u.pop(),!0};n.isEqual=function(n,t){return c(n,t)};n.isEmpty=function(t){return t==null?!0:i(t)&&(n.isArray(t)||n.isString(t)||n.isArguments(t))?t.length===0:n.keys(t).length===0};n.isElement=function(n){return!!(n&&n.nodeType===1)};n.isArray=pt||function(n){return o.call(n)==="[object Array]"};n.isObject=function(n){var t=typeof n;return t==="function"||t==="object"&&!!n};n.each(["Arguments","Function","String","Number","Date","RegExp","Error"],function(t){n["is"+t]=function(n){return o.call(n)==="[object "+t+"]"}});n.isArguments(arguments)||(n.isArguments=function(t){return n.has(t,"callee")});typeof/./!="function"&&typeof Int8Array!="object"&&(n.isFunction=function(n){return typeof n=="function"||!1});n.isFinite=function(n){return isFinite(n)&&!isNaN(parseFloat(n))};n.isNaN=function(t){return n.isNumber(t)&&t!==+t};n.isBoolean=function(n){return n===!0||n===!1||o.call(n)==="[object Boolean]"};n.isNull=function(n){return n===null};n.isUndefined=function(n){return n===void 0};n.has=function(n,t){return n!=null&&yt.call(n,t)};n.noConflict=function(){return a._=lt,this};n.identity=function(n){return n};n.constant=function(n){return function(){return n}};n.noop=function(){};n.property=rt;n.propertyOf=function(n){return n==null?function(){}:function(t){return n[t]}};n.matcher=n.matches=function(t){return t=n.extendOwn({},t),function(i){return n.isMatch(i,t)}};n.times=function(n,t,i){var u=Array(Math.max(0,n)),r;for(t=e(t,i,1),r=0;r<n;r++)u[r]=t(r);return u};n.random=function(n,t){return t==null&&(t=n,n=0),n+Math.floor(Math.random()*(t-n+1))};n.now=Date.now||function(){return(new Date).getTime()};var st={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"},bt=n.invert(st),ht=function(t){var r=function(n){return t[n]},i="(?:"+n.keys(t).join("|")+")",u=RegExp(i),f=RegExp(i,"g");return function(n){return n=n==null?"":""+n,u.test(n)?n.replace(f,r):n}};n.escape=ht(st);n.unescape=ht(bt);n.result=function(t,i,r){var u=t==null?void 0:t[i];return u===void 0&&(u=r),n.isFunction(u)?u.call(t):u};ct=0;n.uniqueId=function(n){var t=++ct+"";return n?n+t:t};n.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var g=/(.)^/,kt={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},dt=/\\|'|\r|\n|\u2028|\u2029/g,gt=function(n){return"\\"+kt[n]};n.template=function(t,i,r){var o,f,h;!i&&r&&(i=r);i=n.defaults({},i,n.templateSettings);var c=RegExp([(i.escape||g).source,(i.interpolate||g).source,(i.evaluate||g).source].join("|")+"|$","g"),e=0,u="__p+='";t.replace(c,function(n,i,r,f,o){return u+=t.slice(e,o).replace(dt,gt),e=o+n.length,i?u+="'+\n((__t=("+i+"))==null?'':_.escape(__t))+\n'":r?u+="'+\n((__t=("+r+"))==null?'':__t)+\n'":f&&(u+="';\n"+f+"\n__p+='"),n});u+="';\n";i.variable||(u="with(obj||{}){\n"+u+"}\n");u="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+u+"return __p;\n";try{o=new Function(i.variable||"obj","_",u)}catch(s){s.source=u;throw s;}return f=function(t){return o.call(this,t,n)},h=i.variable||"obj",f.source="function("+h+"){\n"+u+"}",f};n.chain=function(t){var i=n(t);return i._chain=!0,i};l=function(t,i){return t._chain?n(i).chain():i};n.mixin=function(t){n.each(n.functions(t),function(i){var r=n[i]=t[i];n.prototype[i]=function(){var t=[this._wrapped];return vt.apply(t,arguments),l(this,r.apply(n,t))}})};n.mixin(n);n.each(["pop","push","reverse","shift","sort","splice","unshift"],function(t){var i=s[t];n.prototype[t]=function(){var n=this._wrapped;return i.apply(n,arguments),(t==="shift"||t==="splice")&&n.length===0&&delete n[0],l(this,n)}});n.each(["concat","join","slice"],function(t){var i=s[t];n.prototype[t]=function(){return l(this,i.apply(this._wrapped,arguments))}});n.prototype.value=function(){return this._wrapped};n.prototype.valueOf=n.prototype.toJSON=n.prototype.value;n.prototype.toString=function(){return""+this._wrapped};typeof define=="function"&&define.amd&&define("underscore",[],function(){return n})}).call(this);$.fn.placeHolder=function(){$(this).each(function(){var n=$(this),t=n.val();t&&n.val()!==""||(n.val(n.data("placeholder-text")),n.addClass("placeholder"));n.bind("focus",function(){var n=$(this),t=n.is(".disabled, :disabled");!t&&$.trim(n.val())===n.data("placeholder-text")&&n.hasClass("placeholder")&&(n.removeClass("placeholder"),n.val(""))});n.bind("blur",function(){var n=$(this),t=n.is(".disabled, :disabled");t||$.trim(n.val())!==""||n.addClass("placeholder").val(n.data("placeholder-text"))});n.bind("keydown",function(n){var t=$(this),i=t.is(".disabled, :disabled");if(!i&&/(27)/.test(n.keyCode.toString())){n.preventDefault();n.stopPropagation();switch(n.which){case 27:t.blur();break;default:return}}})})};$.fn.getPlaceHolderInputValue=function(){return this.hasClass("placeholder")?"":this.val()};$.fn.initTextArea=function(){$(this).each(function(){var n=$(this),u=n.data("placeholder-text"),t,i,r;u&&n.placeHolder();t=n.attr("maxlength");t&&(i=n.data("show-counter"),i!==undefined&&i&&(r=0,n.hasClass("placeholder")||(r=n.val().length),n.after('<span class="text-counter">'+r+"/"+t+"<\/span"),n.bind("keyup",function(){$(this).updateCounter()})))})};$.fn.updateCounter=function(){var n=$(this),i=n.attr("maxlength"),t=0;n.hasClass("placeholder")||(t=n.val().length);n.next(".text-counter").text(t+"/"+i)};$.fn.numberInputOnly=function(){var n=$(this);n.bind("keypress",function(n){return Helpers.InputValidationHelpers.isNumberInputKey(n)})};$.fn.disable=function(){$(this).attr("disabled","disabled")};$.fn.enable=function(){$(this).removeAttr("disabled")};$.fn.isChecked=function(){return $(this).prop("checked")};$.fn.sortNodes=function(n){var t=n||function(n){return n},i=function(n,i){var r=t($(n).data("sortExpr")),u=t($(i).data("sortExpr"));return r<u?-1:r>u?1:0};Array.prototype.sort.call(this,i).each(function(){this.parentNode.appendChild(this)})};$.fn.isInViewport=function(){var n=$(window),t=$(this),i=n.scrollTop(),u=i+n.height(),r=t.offset().top,f=r+t.height();return f<=u&&r>=i},function(n){function e(){var n=new Date;return new Date(n.getUTCFullYear(),n.getUTCMonth(),n.getUTCDate(),n.getUTCHours(),n.getUTCMinutes(),n.getUTCSeconds())}function o(n,t,r){var u,f,o;for((n===undefined||n==="")&&(n="error setting the caller in the store function - caller is invalid"),(t===undefined||t==="")&&(t="error setting the message in the store function - message param is invalid"),u=0;u<r.length;u++)t+=" "+r[u];return f=e(),o=f.toISOString?f.toISOString():f.toString(),o+"::"+i+" - "+n+" - "+t}function r(n,t,i,r){t=o(n,t,r);s(n,t);h(t,i)}function s(n,i,r){var f,e;if(typeof sessionStorage!="undefined"){if(f=JSON.parse(window.sessionStorage.getItem(u)),f===undefined||f===null){f={};for(e in t)t.hasOwnProperty(e)&&(f[t[e]]=[])}f[r]!==undefined?f[r].push(i):f.other.push(i);window.sessionStorage.setItem(u,JSON.stringify(f,undefined,4))}}function h(n,i){if(((i===undefined||i==="")&&(i="error"),f||i==t.error)&&window.console){(typeof console.log=="undefined"||console.log===null)&&(console.log=function(){});switch(i){case t.warn:console.warn?console.warn(n):console.log(n);break;case t.error:console.error?console.error(n):console.log(n);console.trace?console.trace():null;break;default:console.log(n)}}}var i=$("html").data("role-name");i||(i="unknown");var f=$("html").hasClass("js-debug"),u=i+"-logs",t={debug:"debug",trace:"trace",warn:"warn",error:"error",other:"other"};n.Logger={debug:function(n,i){try{r(n,i,t.debug,Array.prototype.slice.call(arguments,2))}catch(u){}},trace:function(n,i){try{r(n,i,t.trace,Array.prototype.slice.call(arguments,2))}catch(u){}},warn:function(n,i){try{r(n,i,t.warn,Array.prototype.slice.call(arguments,2))}catch(u){}},error:function(n,i){try{r(n,i,t.error,Array.prototype.slice.call(arguments,2))}catch(u){}},getSessionLogs:function(){if(typeof sessionStorage!="undefined")return JSON.parse(window.sessionStorage.getItem(u));return{message:"session storage is not supported by this browser"}}};window.addEventListener("error",function(t){if(f&&$("html").hasClass("js-debug")){var i="An unhandled exception happened. Please report to the engineering team. File:"+t.filename+"; Line:"+t.lineno+"; Message: "+t.message;alert(i);n.Logger.error("CustomErrorHandler",i)}})}(MeePortal||(MeePortal={})),function(n){function i(n){return n.which&&n.which>=48&&n.which<=57||t(n)}function t(n){return n.which&&(n.which==8||n.which==46)}n.InputValidationHelpers={isNumberInputKey:i,isBackspaceOrDeleteInputKey:t}}(Helpers||(Helpers={})),function(n){var t;(function(){$("#locale-picker-link").click(function(){var t=$(this).attr("href"),i=n.Utilities.removeQueryParameter(window.location.toString(),"ru");$(this).attr("href",t+(t.indexOf("?")>-1?"&ru=":"?ru=")+encodeURIComponent(i))})})(t=n.LanguagePicker||(n.LanguagePicker={}))}(MeePortal||(MeePortal={})),function(n){var t;(function(t){function k(n){return t.EmailRegex.test(n)&&!c(n)}function d(n){return n&&n.replace(/^http:\/\//i,"https://")}function c(n){for(var i=n.length,t=0;t<i;++t)if(n.charCodeAt(t)>b)return!0;return!1}function g(n){var t=NaN;return n&&(t=parseInt(n.replace(/px/g,""))),t}function nt(n){return n+"px"}function tt(n){for(var i=[],t=1;t<arguments.length;t++)i[t-1]=arguments[t];return n.replace(/{(\d+)}/g,function(n,t){return typeof i[t]!="undefined"?i[t]:n})}function l(n){return n===void 0||n===""}function it(n){return n.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function rt(n,t){return!n||!t?n===t:n.toUpperCase()===t.toUpperCase()}function a(n){n===void 0&&(n=location.href);var t=document.createElement("a");return t.href=n,{source:n,protocol:t.protocol.replace(":",""),host:t.hostname,port:parseInt(t.port),query:t.search,params:function(){for(var u={},i=t.search.replace(/^\?/,"").split("&"),f=i.length,n=0,r;n<f;n++)i[n]&&(r=i[n].split("="),u[r[0]]=r[1]);return u}(),file:(t.pathname.match(/\/?([^\/?#]+)$/i)||[,""])[1],hash:t.hash.replace("#",""),path:t.pathname.replace(/^([^\/])/,"/$1"),relative:(t.href.match(/tps?:\/\/[^\/]+(.+)/)||[,""])[1],segments:t.pathname.replace(/^\//,"").split("/")}}function ut(n){var t=n.match(/^(https?\:)?\/\//i);return t==null?!1:(t[0]=="http://"&&window.portalQos.reportClientError({message:"We should not have non https absolute URL",category:"MeePortal.Utilities.isAbsoluteUrl",data:"We are having non https absolute URL, url:"+n}),!0)}function ft(n){var t=a(),i=t.protocol+"://"+t.host+"/"+t.segments[0];return n?n[0]=="/"?i+n:i+"/"+n:i}function et(n,t,i){var u=new RegExp("([?&])"+t+"=.*?(&|#|$)","i"),r,f;return n.match(u)?n.replace(u,"$1"+t+"="+i+"$2"):(r="",f=n.indexOf("?")!==-1?"&":"?",n.indexOf("#")!==-1&&(r=n.replace(/.*#/,"#"),n=n.replace(/#.*/,"")),n+f+t+"="+i+r)}function ot(n,t){var i=document.createElement("a"),r,f,u,e;return(i.href=n,i.search!==""&&(r=i.search.indexOf(t+"="),r>-1))?(f=null,u=i.search.indexOf("&",r),u===-1&&(u=i.search.indexOf(";",r)),f=u>-1?i.search.substring(r,u+1|0):i.search.substring(r-1|0,i.search.length),e=i.pathname.length>0&&i.pathname.charAt(0)!="/"?"/"+i.pathname:i.pathname,i.protocol+"//"+i.hostname+e+i.search.replace(f,"")+i.hash):n}function v(n,t,i){var o=0,r="?",f=n.split("?"),s=n,n="",e,u,h;if(f!=null&&f.length>1&&(s=f[0],n=f[1]),n.length>0)for(e=n.split("&"),u=0;u<e.length;u++)h=e[u].split("="),h[0]!=t&&(o>0&&(r=r+"&"),r=r+e[u],o++);return r=o===0?r+t+"="+i:r+"&"+t+"="+i,s+r}function st(n,t){var u=[],i,f,r;for(i in t)u.push("".concat(encodeURIComponent(i),"=").concat(encodeURIComponent(t[i])));return f=n.indexOf("?")>=0,r="&",n+(f?r:"?")+u.join(r)}function ht(n,t){var i,r;if(t){for(i=0;i<t.length;i++)r=t[i],n=v(n,r.key,r.value);return n}return n}function y(){var t=window.location.host.split("."),n=0;for(n;n<t.length;n++)if(t[n]=="com")break;return t[n-1]+".com"}function ct(n){var t,i;try{return t=document.createElement("a"),t.href=n,i=t.href,!0}catch(r){return!1}}function u(n){var i,t;for(n=n.toLowerCase(),i=document.cookie.split(";"),t=0;t<i.length;t++){var r=i[t].split("="),u=decodeURIComponent($.trim(r[0]).toLowerCase()),f=r.length>1?r[1]:"";if(u==n)return decodeURIComponent(f)}return""}function p(n,t,i,r,u){var f,e;u===void 0&&(u="/");i||(i=new Date,i.setDate(i.getDate()+1));f="";r&&(f=";domain=."+y());e=encodeURIComponent(n)+"="+encodeURIComponent(t)+";expires="+i.toUTCString()+f+";path="+u;document.cookie=e}function lt(n){var t=new Date;t.setDate(t.getDate()-1);p(n,"",t)}function at(){return u("display-culture")}function vt(t){var r=n.g_userFeatures||"",i=t.toLowerCase();if(window.portalExperiments){var f=i.lastIndexOf("cf")==i.length-2?i.substr(0,i.length-2):i.concat("cf"),e=[i,f],u=_.filter(r,function(n){return e.indexOf(n.split(":")[0])>=0});u.length>0&&window.portalExperiments.reportExperimentTrigger(u.join("|"))}return!!_.find(r,function(n){return n.split(":")[0]===i})}function yt(n){var t=u("cvariants").split(","),i=n.toLowerCase();return!!_.find(t,function(n){return n.toLowerCase()===i})}function pt(n){var i;switch(n.type){case"touchstart":i="mousedown";break;case"touchmove":i="mousemove";break;case"touchend":i="mouseup";break;default:return}var u=n.changedTouches,t=u[0],r=document.createEvent("MouseEvent");r.initMouseEvent(i,!0,!0,window,1,t.screenX,t.screenY,t.clientX,t.clientY,!1,!1,!1,!1,0,null);t.target.dispatchEvent(r);n.preventDefault()}function wt(){return window.navigator.msPointerEnabled||window.navigator.pointerEnabled||"ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch}function bt(n){for(var t=e.length;t--;)if(n.keyCode===e[t]){f(n);return}}function o(n){f(n)}function kt(){window.addEventListener&&window.addEventListener("DOMMouseScroll",o,!1);window.onmousewheel=o;document.onkeydown=bt}function dt(){window.removeEventListener&&window.removeEventListener("DOMMouseScroll",o,!1);window.onmousewheel=document.onkeydown=null}function gt(n){l(n)||(window.onbeforeunload=function(){return n})}function ni(){window.onbeforeunload=null}function ti(){var n=new Date;return new Date(n.getUTCFullYear(),n.getUTCMonth(),n.getUTCDate(),n.getUTCHours(),n.getUTCMinutes(),n.getUTCSeconds())}function ii(n){if(h(n))return null;var t=/^\/Date\((-?\d+)\)\/$/.exec(n),i=new Date(h(t)?n:parseInt(t[1],10));return isNaN(+i)?null:i}function w(){if(!("innerWidth"in window)){var n=document.documentElement||document.body;return{width:n.clientWidth,height:n.clientHeight}}return{width:window.innerWidth,height:window.innerHeight}}function ri(n){var o="matchesMedia",u,t,f;if(n=n===null||n===undefined?"":n.toLowerCase().replace(/^[\s]+|[\s]+$/g,""),n.length>0)for(r.debug(o,"Processing media query:"+n),u=n.split(" and "),t=0;t<u.length;t++){var s=u[t].indexOf(":"),h=u[t].substring(0,s).replace(/^[\s]+|[\s]+$/g,""),e=u[t].substring(s+1).replace(/^[\s]+|[\s]+$/g,""),i=Number(e.indexOf("px")>0?e.substring(0,e.length-2):e);if(isNaN(i))return r.error(o,"The value from the media query is not valid: "+n),!1;f=w();switch(h){case"min-width":if(f.width<i)return!1;break;case"max-width":if(f.width>i)return!1;break;case"min-pixel-ratio":if(window.devicePixelRatio<i)return!1;break;case"min-height":if(f.height<i)return!1;break;case"max-height":if(f.height>i)return!1;break;default:return r.error(o,"The media query property is not valid:"+n),!1}}return!0}function ui(n,t){t===void 0&&(t=document.body),function i(t){if(t)for(t=t.firstChild;t;)t.nodeType===3?n(t):t.nodeType===1&&i(t),t=t.nextSibling}(t)}function s(n,t){return n.currentStyle?n.currentStyle[t]:window.getComputedStyle?document.defaultView.getComputedStyle(n,null).getPropertyValue(t):""}function fi(n){var u=["fontSize","lineHeight","fontFamily"],f,r,t=s(n,"font"),i;if(!t)for(t="",i=0;i<u.length;i++)r=u[i],f=s(n,r),t+=(r==="lineHeight"?"/":" ")+f;return t}function h(n){return n===void 0||n===null}function ei(n,t){return n===void 0&&(n=0),t===void 0&&(t=100),Math.floor(Math.random()*(t-n+1)+n)}function oi(n){window.location.href=n}function si(){window.location.reload()}function i(){return((1+Math.random())*65536|0).toString(16).substring(1)}function hi(){return"".concat(i()).concat(i(),"-").concat(i(),"-").concat(i(),"-").concat(i(),"-").concat(i()).concat(i()).concat(i())}var r=n.Logger,b=127,f,e;t.EmailRegex=/^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;t.isEmailValid=k;t.enforceSecureUrl=d;t.ContainsUnicode=c;t.parsePx=g;t.px=nt;t.formatString=tt;t.isEmptyOrUndefined=l;t.regExpEscape=it;t.equalsInvariantIgnoreCase=rt;t.parseUrl=a;t.isAbsoluteUrl=ut;t.createAbsoluteUrlFromRelative=ft;t.updateQueryParam=et;t.removeQueryParameter=ot;t.addQueryParameter=v;t.addQueryParametersFromObject=st;t.addQueryParameters=ht;t.getDomainFromUrl=y;t.isUrlValid=ct;t.getCookie=u;t.setCookie=p;t.expireCookie=lt;t.getDisplayCulture=at;t.isInFlight=vt;t.hasFlightVariant=yt;t.IEPointerDown="MSPointerDown pointerdown";t.IEPointerMove="MSPointerMove pointermove";t.IEPointerUp="MSPointerUp pointerup";t.touch2mouse=pt;t.isTouchEnabled=wt;f=function(n){n=n||window.event;n.preventDefault&&n.preventDefault();n.returnValue=!1};e=[37,38,39,40];t.scrollOff=kt;t.scrollOn=dt;t.setupExitConfirmation=gt;t.removeConfirmOnPageExit=ni;t.getDateUtc=ti;t.parseServerDatetime=ii;t.getViewportSize=w;t.matchesMedia=ri;t.VisitChildTextNodes=ui;t.getComputedStyle=s;t.getComputedFont=fi;t.isNullOrUndefined=h;t.randomInteger=ei;t.navigateToUrl=oi;t.reloadWindow=si;t.generateGuid=hi})(t=n.Utilities||(n.Utilities={}))}(MeePortal||(MeePortal={})),function(n){var t;(function(t){function e(n){var u=i.getCookie(r).split(h),f,t,e;if(!n)return u;for(f=[],t=0;t<u.length;t++)e=u[t],0==e.indexOf(n)&&f.push(e);return f}function o(){return i.getCookie(u).split(c)}function l(n){var t=e();return t.indexOf(n)!==-1}function a(n,t){var i=o();return!t&&i.indexOf("MockAll")!=-1||i.indexOf(n)!=-1}function s(n,t,i){i===void 0&&(i=1e4);var r=n+t;return setTimeout(function(){if(i>=0&&!k(t,r))s(n,t,i-100);else if(i<0)throw new Error("Timeout error: element with selector: "+t+" is not found in DOM.");},100),r}function v(n){$("body").append('<div id="mock-instructions"><strong id="mock-instructions-title">Mock instructions: <\/strong>'+n+"<\/div>")}function y(){return i.getCookie(r)||i.getCookie(u)}function p(){return i.getCookie(f)}function w(){var n=$("#remove-mock-button");n&&(n.removeClass("hidden"),n.click(function(){i.expireCookie(r);i.expireCookie(u)}))}function b(){var n=$("#remove-emulator-button");n&&(n.removeClass("hidden"),n.click(function(){i.expireCookie(f)}))}function k(n,t){return $(n).length>0?($(document).trigger(t),!0):!1}function d(){y()&&w();p()&&b()}var i=n.Utilities,r="mock-scenarios",h=",",u="cvariants",c=",",f="IsEmulator";t.getScenarios=e;t.getVariants=o;t.isScenarioActive=l;t.isVariantActive=a;t.waitForElementToBeInDom=s;t.renderInstructions=v;$(document).on("ready",d)})(t=n.MockHelper||(n.MockHelper={}))}(MeePortal||(MeePortal={})),function(n){var t;(function(t){function e(){v();s();h();c();a();y()}function o(n,t){var i="MeControl_",r;if(n.slice(0,i.length)===i)return r=n.slice(i.length),u(r,t)}function u(n,t){var u,i;if(t=t||{},u=window.MSA&&window.MSA.MeControl.Config||{},"qos"==t.type){i="1"==t.success;t.IDPError&&(t.IDPError="IDPError: "+t.IDPError);i||r.trace("MeControl-"+n,JSON.stringify(t));var o=u.ver,s=u.mkt,f=i?200:500,e="MeControl_"+n;window.portalQos.reportOutgoingApi({isSuccess:i,latencyMs:Math.ceil(parseFloat(t.duration||0)||0),requestUri:t.url||window.document.location.href,serviceName:"MeControl",serviceType:"MeControl",operationName:e,currentOperationName:e,operationVersion:o,customData:s,httpMethod:"GET",contentType:"text/javascript",serviceErrorCode:f,errorMessage:i?"":t.IDPError||t.errorCode,httpStatusCode:f.toString()})}else if("bici"==t.type)switch(n){case"SignIn":case"SignOutAll":case"SwitchUser":case"ViewAccount":case"RemoveUser":case"DropdownOpen":window.portalBi.reportClick({pageArea:"header",container:"MeControl",clickId:n});break;default:r.trace("MeControl-"+n,JSON.stringify(t))}}function s(){var n=$("#site-mode");n!=null&&n.length>0&&$("#select-site-mode").change(function(){window.location.href=i.updateQueryParam(window.location.href,"mode",$(this).val())})}function h(){var n=$("#view-as-reset");n!=null&&n.length>0&&$("#view-as-reset").bind("click",function(n){n.preventDefault();window.location.href=i.updateQueryParam(window.location.href,"viewas","customer")})}function c(){$("#response-logging-reset").click(function(n){n.preventDefault();window.location.href=i.updateQueryParam(window.location.href,"logresponse","false")})}function l(){var n="cookie-check",t="value",r;return i.setCookie(n,t),r=i.getCookie(n)===t,i.expireCookie("cookie-check"),r}function a(){$("[data-placeholder-text]").placeHolder();$('[data-toggle="tooltip"]').tooltip&&$('[data-toggle="tooltip"]').tooltip();l()||($("#no-cookies").show(),window.portalBi.reportPartialView({viewId:"global.no-cookies"}))}function f(n,t){if(window.location&&window.location.reload){i.setCookie("display-culture",n,null,!0);var r=i.removeQueryParameter(t,"lang");window.location.href=i.removeQueryParameter(r,"display-culture")}else $("#language-picker-form").submit()}function v(){$("#language-picker").change(function(){f($("#language-picker").val(),window.location.href)});$("#language-list").on("click","a",function(n){n.preventDefault();var t=$(this),i=t.parent("li").attr("lang");f(i,t.attr("href"))})}function y(){$(document).ready(function(){navigator.userAgent.match(/MSIE (8|9|10)\./)&&$("html").addClass("ie-compat")})}var r=n.Logger,i=n.Utilities;t.UhfEventLogCallback=o;t.MeControlEventLogCallback=u;$(document).ready(e)})(t=n.SiteLayout||(n.SiteLayout={}))}(MeePortal||(MeePortal={})),function(){var n=window,t='<div><div class="msame_Header"><a style="white-space: nowrap; text-overflow: ellipsis; overflow: hidden; max-width: 160px; display: inline-block; line-height: 64px; font-family: \'Segoe UI\'; font-size: 86%; color: rgb(80,80,80); padding: 0 5px;"><\/a><\/div><\/div>';n.loadMeControl=function(){var i=n.meControlOptions,r,u,f,e,o;if(i){if(n.meControlLoadState==="fail")r=!1;else if(n.meControlLoadState==="success")r=!0;else return;r?(n.MSA.MeControl.Loader.load(i),n.meControlLoadState="complete"):(u=i.rpData.preferredIdp==="msa"?i.rpData.msaInfo:i.rpData.aadInfo,i.userData.authenticatedState==1?(f=i.signOutStr||"Sign out",e=u.signOutUrl):(f=i.signInStr||"Sign in",e=u.signInUrl),o=jQuery(t),jQuery(".msame_Header a",o).attr("href",e).text(f),jQuery("#"+i.containerId).html(o),n.meControlLoadState="fallback");i.events.onEventLog("loadMeControl",{type:"qos",success:r?"1":"0",errorCode:r?"":"LoadFailed: "+jQuery("#meControl-version-script").attr("src"),duration:0})}}}(),function(n){var t;(function(n){function k(n){if(!a){var r=(new Date).getTime(),i;t=n;f=t.jquery||b.jQuery||b.$;t&&f?(a=!0,i={duration:(new Date).getTime()-r,successStatus:a},e("qos",i,"FeedbackInitializationSuccess",o(),"feedback control is initialized successfully")):(i={duration:(new Date).getTime()-r,successStatus:a},e("qos",i,"FeedbackInitializationFail",o(),"feedback control is not initialized successfully"))}}function d(){var u=(new Date).getTime(),i,r='<div id="site-feedback" style="z-index:1;max-height:50%;max-width:90%;overflow:auto;"><h2 class="text-header" id="feedback-header" style="padding-top:20px">{0}<\/h2><form role="form"><div id="feedback-form" style="display:none;"><p class="feedback-title form-group">{1}<\/p><div class="form-group" id="feedback-description"><label class="x-screen-reader" for="feedback-textarea">{1}<\/label><textarea id="feedback-textarea" data-show-counter="true" placeholder="{8}" maxlength="500"><\/textarea><\/div><p class="form-group" id="privacy">{2} <a href={3}>{4}<\/a><\/p><div class="feedback-nav btn-group"><button class="send-btn btn btn-primary">{5}<\/button><button class="cancel-btn btn">{6}<\/button><\/div><\/div><\/form><div id="feedback-ack" style="display:none;"><p class="success">{7}<\/p><button class="close-btn btn btn-primary">{6}<\/button><\/div><\/div>',n=null;return t.feedbackFormStrings?n=y(r,t.feedbackFormStrings.feedbackTitle,t.feedbackFormStrings.feedbackHeader,t.feedbackFormStrings.feedbackPrivacyStatement,t.feedbackFormStrings.feedbackPrivacyLink,t.feedbackFormStrings.feedbackPrivacy,t.feedbackFormStrings.feedbackSendButton,t.feedbackFormStrings.feedbackCancelButton,t.feedbackFormStrings.feedbackAckMessage,t.feedbackFormStrings.feedbackCmtPlaceHolder):(n=y(r,"We appreciate your feedback","Tell us what worked or didn't work for you","To protect your privacy, don't include your contact info.","http://go.microsoft.com/fwlink/?LinkId=248688","Privacy policy","Send","Close","Thank you!","Please avoid including any personal information, such as email address, full name, phone number, etc."),i={duration:(new Date).getTime()-u,successStatus:!1},e("qos",i,"FeedbackRenderingFail",o(),"feedback form rendering fails since feedback strings are not defined")),n}function g(){v=!0;s=f("#site-feedback");i=f("#feedback-form");r=f("#feedback-description textarea");u=f("#feedback-ack");h=$(".cancel-btn",i);c=$(".send-btn",i);l=$(".close-btn",u);h.on("click",tt);l.on("click",it);c.on("click",rt);var n=r.attr("maxlength");$("textarea",i).after(y('<span class="text-counter">{0}/{1}<\/span>',r.val().length,n));$("textarea",i).on("keyup",function(){$("textarea",i).next(".text-counter").text(r.val().length+"/"+n)})}function e(n,i,r,u,f){var e;n=="bici"?e={eventType:"bici",message:f,timeStamp:u,qosEvent:null,actionId:r}:n=="qos"&&(e={eventType:"qos",message:f,timeStamp:u,qosEvent:i,actionId:r});t.onSendTelemetry(e)}function nt(){e("bici",null,"FeedbackStart",o(),"onFeedbackClick is triggered");v?p():(f("body").append(d()),g());s.show();i.show()}function tt(n){e("bici",null,"FeedbackCancel",o(),"onFeedbackCancelButtonClick is triggered");n.preventDefault();p()}function it(n){e("bici",null,"FeedbackFinish",o(),"onFeedbackCloseButtonClick is triggered");n.preventDefault();u.hide();$(".success",u).hide();p()}function rt(n){e("bici",null,"FeedbackSend","onFeedbackSendButtonClick is triggered");n.preventDefault();var t=r.val();ft(t)}function o(){return(new Date).toUTCString()}function ut(){var n,t,i;return"innerWidth"in window?(n=window.innerWidth,t=window.innerHeight):(i=document.documentElement||document.body,n=i.clientWidth,t=i.clientHeight),{userAgent:navigator.userAgent,viewPortSize:n+"x"+t}}function ft(n){$.post("/feedback/mask-feedback-text",{feedbackText:n},function(n){et(n)})}function et(n){var r="",f;n!=null&&(r=n.maskedFeedbackText);f={name:t.id,content:{id:t.activityid,pageid:document.URL,message:r,systemInfo:st()}};t.onSendFeedback(f);i.hide();u.show();$(".success",u).show()}function ot(){return{locale:f("html").attr("lang"),reportTime:o()}}function st(){return{browserInfo:ut(),appInfo:ot()}}function y(n){function f(n){var t=i[parseInt(n.replace(u,""))];return t==null&&(t=""),t}for(var r,u,i=[],t=1;t<arguments.length;t++)i[t-1]=arguments[t];return r=/\{\d+\}/g,u=/[\{\}]/g,n.replace(r,f)}function p(){r.val("");$("textarea",i).next(".text-counter").text(r.val().length+"/"+r.attr("maxlength"));s.hide();i.hide();u.hide();$(".success",u).hide()}function ht(){!w&&v&&($("textarea",i).off("keyup"),$("textarea",i).remove(),h.off("click"),l.off("click"),c.off("click"),s=null,i=null,r=null,u=null,h=null,c=null,l=null,f=null,w=!0)}n.control={init:k,dispose:ht,show:nt};var s,i,r,u,h,c,l,f,v=!1,a=!1,w=!1,t,b=window})(t=n.Feedback||(n.Feedback={}))}(MeePortal||(MeePortal={}));inputWidth=236;mq=window.matchMedia("(min-width: 540px)");mq.matches&&(inputWidth=400);WebHip={showMenu:!0,showError:!0,errorMessage:"",instructionsInside:!0,holder:"captcha-challenge-holder",scriptHolder:"captcha-challenge-scripts",type:"visual",cssSet:{cssCdHIPMenu:"hip-menu",cssCdHIPInput:"hip-input",cssCdHIPLink:"hip-link",cssCdHIPError:"hip-error",cssCdHIPErrorImg:"hip-error-image"},postLoad:function(){this.initialized=!0;MeePortal.Logger.trace("WebHip.postLoad","Unloading the loading element.");$(document).trigger("captcha-loaded");$("#captcha-challenge-loading").hide()},reloadHIP:null,verify:null,error:null,clientValidation:null,initialized:!1,inputWidth:inputWidth,setFocus:null},function(n){var t=n.Logger,u=!1,r,f,o,i,e;n.HipClient={reload:function(n,i){i===void 0&&(i=null);t.trace("WebHip.reload","Reloading captcha.");WebHip.reloadHIP(1);r=n;u=!0;f=i},verify:function(n){if(!WebHip.initialized)throw new Error("The captcha element is not initialized.");var i="HipClient.Verify",s=$("#solution"),e=$(".hip-input"),f=$.trim(e.val());return(s.val(f),e.val(f),t.trace(i,"Solution: "+f),WebHip.verify(o,""),t.trace(i,"WebHip.error: "+WebHip.error),WebHip.error!=0)?(t.trace(i,"The captcha is invalid."),WebHip.reloadHIP(1),r=n,u=!0,!1):(t.trace(i,"The captcha is valid."),!0)}};o=function(n,i){var r="HipClient.verifyCaptcha";t.trace(r,"Solution: "+n);t.trace(r,"hid: "+i);t.trace(r,"Type: "+WebHip.type);WebHip.clientValidation();WebHip.error===0&&($("#solution").val(n),$("#hid").val(i),$("#type").val(WebHip.type))};$(document).on("captcha-loaded",function(t){if(t.preventDefault(),n.Logger.trace("WebHip.captcha-loaded","Reacting to the captcha load event."),$(".hip-hide").show(),$(".hip-show").hide(),u){if(r){var i=WebHip.setFocus();$("#"+i).attr("aria-label",r)}f&&f()}});i=$("#captcha-challenge-scripts");i&&i.length>0?(e=i.data("url"),t.trace("HipClient.Setup","Loading the hip client javascript from "+e),i.find("script").attr("src",e)):t.trace("HipClient.Setup","No hip component found in the page - skipping setup.")}(MeePortal||(MeePortal={})),function(n){var t;(function(n){function f(){return u=window.portalTelemetryGlobals&&window.portalTelemetryGlobals.reportScriptLoaded,r||t||(t=window.setTimeout(function(){r||(u("bingMaps",!1),i.reject())},3e4)),i.promise()}function e(){r=!0;t&&(clearTimeout(t),t=undefined);i.resolve();u("bingMaps",!0)}var i=$.Deferred(),r=!1,t,u;n.onInit=f;n.mapsLoaded=e})(t=n.BingMapWaiter||(n.BingMapWaiter={}))}(MeePortal||(MeePortal={}))