UNPKG

66.5 kBJavaScriptView Raw
1var jsCommon;!function(e){var t;!function(e){e.escKeyCode=27,e.enterKeyCode=13,e.tabKeyCode=9,e.upArrowKeyCode=38,e.downArrowKeyCode=40,e.leftArrowKeyCode=37,e.rightArrowKeyCode=39,e.homeKeyCode=36,e.endKeyCode=35,e.backSpaceKeyCode=8,e.deleteKeyCode=46,e.spaceKeyCode=32,e.shiftKeyCode=16,e.ctrlKeyCode=17,e.altKeyCode=18,e.aKeyCode=65,e.cKeyCode=67,e.sKeyCode=83,e.vKeyCode=86,e.wKeyCode=87,e.xKeyCode=88,e.yKeyCode=89,e.zKeyCode=90,e.DocumentBody="body",e.Anchor="a",e.EditableTextElements=":text, textarea",e.EditableNumericElements='[type="number"]',e.disabledAttributeOrValue="disabled",e.readonlyAttributeOrValue="readonly",e.idAttribute="id",e.styleAttribute="style",e.hrefAttribute="href",e.targetAttribute="target",e.blankValue="_blank",e.selfValue="_self",e.classAttribute="class",e.titleAttribute="title",e.srcAttribute="src",e.contextmenuEventName="contextmenu",e.blurEventName="blur",e.keyUpEventName="keyup",e.inputEventName="input",e.changeEventName="change",e.cutEventName="cut",e.keyDownEventName="keydown",e.mouseMoveEventName="mousemove",e.mouseDownEventName="mousedown",e.mouseEnterEventName="mouseenter",e.mouseLeaveEventName="mouseleave",e.mouseOverEventName="mouseover",e.mouseOutEventName="mouseout",e.mouseClickEventName="click",e.pasteEventName="paste",e.scrollEventName="scroll",e.dropEventName="drop",e.focusEventName="focus",e.focusInEventName="focusin",e.focusOutEventName="focusout",e.selectEventName="select",e.messageEventName="message",e.loadEventName="load",e.beforeUnload="beforeunload",e.inputAndSelectEventNames="input, select"}(t=e.DOMConstants||(e.DOMConstants={}))}(jsCommon||(jsCommon={}));var powerbi;!function(e){!function(e){e[e.ResourceCodeReference=0]="ResourceCodeReference",e[e.EmbeddedString=1]="EmbeddedString"}(e.PowerBIErrorResourceType||(e.PowerBIErrorResourceType={}));var t=e.PowerBIErrorResourceType,r=function(){function e(e){this.m_serviceError=e}return Object.defineProperty(e.prototype,"code",{get:function(){return e.codeName},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ignorable",{get:function(){return!1},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"requestId",{get:function(){return this.httpRequestId},set:function(e){this.httpRequestId=e},enumerable:!0,configurable:!0}),e.prototype.getDetails=function(e){var t;return t=6===this.m_serviceError.statusCode?n.GetDetailsFromTransformError(e,this.m_serviceError):n.GetDetailsFromServerErrorStatusCode(e,this.m_serviceError.statusCode),n.addAdditionalInfo(t,this.m_serviceError.errorDetails,e),n.addMessageAndStackTrace(t,this.m_serviceError.message||null,this.m_serviceError.stackTrace||null,e),t},e.codeName="ServiceErrorToClientError",e}();e.ServiceErrorToClientError=r;var n=function(){function e(){}return e.addAdditionalInfo=function(r,n,o){if(n)for(var i=0;i<n.length;i++){var a=n[i],s=o.getOptional(e.serverErrorPrefix+a.code),u={errorInfoKey:s?s:a.code,errorInfoValue:a.detail.type===t.ResourceCodeReference?o.get(e.serverErrorPrefix+a.detail.value):a.detail.value};r.additionalErrorInfo.push(u)}return r},e.addMessageAndStackTrace=function(e,t,r,n){if(t){var o={errorInfoKey:n.get("AdditionalErrorInfo_ErrorDetailsText"),errorInfoValue:t};e.additionalErrorInfo.push(o)}if(r){var o={errorInfoKey:n.get("AdditionalErrorInfo_StackTraceText"),errorInfoValue:r};e.additionalErrorInfo.push(o)}return e},e.GetDetailsFromTransformError=function(e,t){var r=e.get("ServiceError_CannotLoadVisual"),n=e.get("ServiceError_CannotLoadVisual"),o=t.message,i=[];i.push({errorInfoKey:n,errorInfoValue:o});var a={message:r,additionalErrorInfo:i};return a},e.GetDetailsFromServerErrorStatusCode=function(e,t){var r="",n="",o="";switch(t){case 2:r=e.get("ServiceError_ModelCannotLoad"),n=e.get("ServiceError_ModelConvertFailureKey"),o=e.get("ServiceError_ModelConvertFailureValue");break;case 3:r=e.get("ServiceError_ModelCannotLoad"),n=e.get("ServiceError_ModelCreationFailureKey"),o=e.get("ServiceError_ModelCreationFailureValue");break;case 1:r=e.get("ServiceError_ModelCannotLoad"),n=e.get("ServiceError_ModelFetchingFailureKey"),o=e.get("ServiceError_ModelFetchingFailureValue");break;case 4:r=e.get("ServiceError_CannotLoadVisual"),n=e.get("ServiceError_ExecuteSemanticQueryErrorKey"),o=e.get("ServiceError_ExecuteSemanticQueryErrorValue");break;case 5:r=e.get("ServiceError_CannotLoadVisual"),n=e.get("ServiceError_ExecuteSemanticQueryInvalidStreamFormatKey"),o=e.get("ServiceError_ExecuteSemanticQueryInvalidStreamFormatValue");break;case 0:default:r=e.get("ServiceError_GeneralError"),n=e.get("ServiceError_GeneralErrorKey"),o=e.get("ServiceError_GeneralErrorValue")}var i=[];i.push({errorInfoKey:n,errorInfoValue:o});var a={message:r,additionalErrorInfo:i};return a},e.serverErrorPrefix="ServerError_",e}();e.PowerBIErrorDetailHelper=n}(powerbi||(powerbi={}));var powerbi;!function(e){}(powerbi||(powerbi={}));var powerbi;if(function(e){function t(e){return new n(e)}e.CategoryTypes={Address:"Address",City:"City",Continent:"Continent",CountryRegion:"Country",County:"County",Longitude:"Longitude",Latitude:"Latitude",Place:"Place",PostalCode:"PostalCode",StateOrProvince:"StateOrProvince"},e.createGeoTaggingAnalyzerService=t;var r={GeotaggingString_Continent:"continent",GeotaggingString_Continents:"continents",GeotaggingString_Country:"country",GeotaggingString_Countries:"countries",GeotaggingString_State:"state",GeotaggingString_States:"states",GeotaggingString_City:"city",GeotaggingString_Cities:"cities",GeotaggingString_Town:"town",GeotaggingString_Towns:"towns",GeotaggingString_Province:"province",GeotaggingString_Provinces:"provinces",GeotaggingString_County:"county",GeotaggingString_Counties:"counties",GeotaggingString_Village:"village",GeotaggingString_Villages:"villages",GeotaggingString_Post:"post",GeotaggingString_Zip:"zip",GeotaggingString_Code:"code",GeotaggingString_Place:"place",GeotaggingString_Places:"places",GeotaggingString_Address:"address",GeotaggingString_Addresses:"addresses",GeotaggingString_Street:"street",GeotaggingString_Streets:"streets",GeotaggingString_Longitude:"longitude",GeotaggingString_Longitude_Short:"lon",GeotaggingString_Latitude:"latitude",GeotaggingString_Latitude_Short:"lat",GeotaggingString_PostalCode:"postal code",GeotaggingString_PostalCodes:"postal codes",GeotaggingString_ZipCode:"zip code",GeotaggingString_ZipCodes:"zip codes",GeotaggingString_Territory:"territory",GeotaggingString_Territories:"territories",GeotaggingString_VRMBackCompat_CountryRegion:"CountryRegion",GeotaggingString_VRMBackCompat_StateOrProvince:"StateOrProvince"},n=function(){function t(e){this.GeotaggingString_VRMBackCompat_CountryRegion="CountryRegion",this.GeotaggingString_VRMBackCompat_StateOrProvince="StateOrProvince",this.GeotaggingString_Continent=e("GeotaggingString_Continent").toLowerCase(),this.GeotaggingString_Continents=e("GeotaggingString_Continents").toLowerCase(),this.GeotaggingString_Country=e("GeotaggingString_Country").toLowerCase(),this.GeotaggingString_Countries=e("GeotaggingString_Countries").toLowerCase(),this.GeotaggingString_State=e("GeotaggingString_State").toLowerCase(),this.GeotaggingString_States=e("GeotaggingString_States").toLowerCase(),this.GeotaggingString_City=e("GeotaggingString_City").toLowerCase(),this.GeotaggingString_Cities=e("GeotaggingString_Cities").toLowerCase(),this.GeotaggingString_Town=e("GeotaggingString_Town").toLowerCase(),this.GeotaggingString_Towns=e("GeotaggingString_Towns").toLowerCase(),this.GeotaggingString_Province=e("GeotaggingString_Province").toLowerCase(),this.GeotaggingString_Provinces=e("GeotaggingString_Provinces").toLowerCase(),this.GeotaggingString_County=e("GeotaggingString_County").toLowerCase(),this.GeotaggingString_Counties=e("GeotaggingString_Counties").toLowerCase(),this.GeotaggingString_Village=e("GeotaggingString_Village").toLowerCase(),this.GeotaggingString_Villages=e("GeotaggingString_Villages").toLowerCase(),this.GeotaggingString_Post=e("GeotaggingString_Post").toLowerCase(),this.GeotaggingString_Zip=e("GeotaggingString_Zip").toLowerCase(),this.GeotaggingString_Code=e("GeotaggingString_Code").toLowerCase(),this.GeotaggingString_Place=e("GeotaggingString_Place").toLowerCase(),this.GeotaggingString_Places=e("GeotaggingString_Places").toLowerCase(),this.GeotaggingString_Address=e("GeotaggingString_Address").toLowerCase(),this.GeotaggingString_Addresses=e("GeotaggingString_Addresses").toLowerCase(),this.GeotaggingString_Street=e("GeotaggingString_Street").toLowerCase(),this.GeotaggingString_Streets=e("GeotaggingString_Streets").toLowerCase(),this.GeotaggingString_Longitude=e("GeotaggingString_Longitude").toLowerCase(),this.GeotaggingString_Longitude_Short=e("GeotaggingString_Longitude_Short").toLowerCase(),this.GeotaggingString_Latitude=e("GeotaggingString_Latitude").toLowerCase(),this.GeotaggingString_Latitude_Short=e("GeotaggingString_Latitude_Short").toLowerCase(),this.GeotaggingString_PostalCode=e("GeotaggingString_PostalCode").toLowerCase(),this.GeotaggingString_PostalCodes=e("GeotaggingString_PostalCodes").toLowerCase(),this.GeotaggingString_ZipCode=e("GeotaggingString_ZipCode").toLowerCase(),this.GeotaggingString_ZipCodes=e("GeotaggingString_ZipCodes").toLowerCase(),this.GeotaggingString_Territory=e("GeotaggingString_Territory").toLowerCase(),this.GeotaggingString_Territories=e("GeotaggingString_Territories").toLowerCase()}return t.prototype.isLongitudeOrLatitude=function(e){return this.isLongitude(e)||this.isLatitude(e)},t.prototype.isGeographic=function(e){return this.isLongitudeOrLatitude(e)||this.isGeocodable(e)},t.prototype.isGeocodable=function(e){return this.isAddress(e)||this.isCity(e)||this.isContinent(e)||this.isCountry(e)||this.isCounty(e)||this.isStateOrProvince(e)||this.isPlace(e)||this.isPostalCode(e)||this.isTerritory(e)},t.prototype.isGeoshapable=function(e){return this.isCity(e)||this.isCountry(e)||this.isCounty(e)||this.isStateOrProvince(e)||this.isPostalCode(e)||this.isTerritory(e)||this.isGeoshapableEnglish(e)},t.prototype.isGeoshapableEnglish=function(e){return this.isEnglishCity(e)||this.isEnglishCountry(e)||this.isEnglishCounty(e)||this.isEnglishStateOrProvince(e)||this.isEnglishPostalCode(e)||this.isEnglishTerritory(e)},t.prototype.isAddress=function(e){return t.hasMatches(e,[this.GeotaggingString_Address,this.GeotaggingString_Addresses,this.GeotaggingString_Street,this.GeotaggingString_Streets])},t.prototype.isPlace=function(e){return t.hasMatches(e,[this.GeotaggingString_Place,this.GeotaggingString_Places])},t.prototype.isCity=function(e){return t.hasMatches(e,[this.GeotaggingString_City,this.GeotaggingString_Cities,this.GeotaggingString_Town,this.GeotaggingString_Towns,this.GeotaggingString_Village,this.GeotaggingString_Villages])},t.prototype.isStateOrProvince=function(e){return t.hasMatches(e,[this.GeotaggingString_State,this.GeotaggingString_States,this.GeotaggingString_Province,this.GeotaggingString_Provinces,this.GeotaggingString_VRMBackCompat_StateOrProvince])},t.prototype.isCountry=function(e){return t.hasMatches(e,[this.GeotaggingString_Country,this.GeotaggingString_Countries,this.GeotaggingString_VRMBackCompat_CountryRegion])},t.prototype.isCounty=function(e){return t.hasMatches(e,[this.GeotaggingString_County,this.GeotaggingString_Counties])},t.prototype.isContinent=function(e){return t.hasMatches(e,[this.GeotaggingString_Continent,this.GeotaggingString_Continents])},t.prototype.isPostalCode=function(e){var r=t.hasMatches(e,[this.GeotaggingString_Post,this.GeotaggingString_Zip])&&t.hasMatches(e,[this.GeotaggingString_Code])||t.hasMatches(e,[this.GeotaggingString_PostalCode,this.GeotaggingString_PostalCodes,this.GeotaggingString_ZipCode,this.GeotaggingString_ZipCodes]);if(!r){var n=/\s+/,o=e.replace(n,"");r=t.hasMatches(o,[this.GeotaggingString_PostalCode.replace(n,""),this.GeotaggingString_PostalCodes.replace(n,""),this.GeotaggingString_ZipCode.replace(n,""),this.GeotaggingString_ZipCodes.replace(n,"")])}return r},t.prototype.isLongitude=function(e){return t.hasMatches(e,[this.GeotaggingString_Longitude])||t.hasMatches(e,[this.GeotaggingString_Longitude_Short],!0)},t.prototype.isLatitude=function(e){return t.hasMatches(e,[this.GeotaggingString_Latitude])||t.hasMatches(e,[this.GeotaggingString_Latitude_Short],!0)},t.prototype.isTerritory=function(e){return t.hasMatches(e,[this.GeotaggingString_Territory,this.GeotaggingString_Territories])},t.hasMatches=function(e,t,r){for(var n=/\W/,o=e.toLowerCase(),i=0,a=t.length;a>i;i++){var s=t[i].toLowerCase();if(r){var u=o.indexOf(s);if(u>-1){var g=void 0,c=void 0;if(g=c=!0,u-1>0&&(c=n.test(o[u-1])),u+s.length<o.length&&(g=n.test(o[u+s.length])),c&&g)return!0}}else if(o.indexOf(s)>-1)return!0}return!1},t.prototype.getFieldType=function(t){return null!=t?this.isLatitude(t)?e.CategoryTypes.Latitude:this.isLongitude(t)?e.CategoryTypes.Longitude:this.isPostalCode(t)?e.CategoryTypes.PostalCode:this.isAddress(t)?e.CategoryTypes.Address:this.isPlace(t)?e.CategoryTypes.Place:this.isCity(t)?e.CategoryTypes.City:this.isCountry(t)?e.CategoryTypes.CountryRegion:this.isCounty(t)?e.CategoryTypes.County:this.isStateOrProvince(t)?e.CategoryTypes.StateOrProvince:this.isContinent(t)?e.CategoryTypes.Continent:this.getEnglishFieldType(t):void 0},t.prototype.isEnglishAddress=function(e){return t.hasMatches(e,[r.GeotaggingString_Address,r.GeotaggingString_Addresses,r.GeotaggingString_Street,r.GeotaggingString_Streets])},t.prototype.isEnglishPlace=function(e){return t.hasMatches(e,[r.GeotaggingString_Place,r.GeotaggingString_Places])},t.prototype.isEnglishCity=function(e){return t.hasMatches(e,[r.GeotaggingString_City,r.GeotaggingString_Cities,r.GeotaggingString_Town,r.GeotaggingString_Towns,r.GeotaggingString_Village,r.GeotaggingString_Villages])},t.prototype.isEnglishStateOrProvince=function(e){return t.hasMatches(e,[r.GeotaggingString_State,r.GeotaggingString_States,r.GeotaggingString_Province,r.GeotaggingString_Provinces,r.GeotaggingString_VRMBackCompat_StateOrProvince])},t.prototype.isEnglishCountry=function(e){return t.hasMatches(e,[r.GeotaggingString_Country,r.GeotaggingString_Countries,r.GeotaggingString_VRMBackCompat_CountryRegion])},t.prototype.isEnglishCounty=function(e){return t.hasMatches(e,[r.GeotaggingString_County,r.GeotaggingString_Counties])},t.prototype.isEnglishContinent=function(e){return t.hasMatches(e,[r.GeotaggingString_Continent,r.GeotaggingString_Continents])},t.prototype.isEnglishPostalCode=function(e){var n=t.hasMatches(e,[r.GeotaggingString_Post,r.GeotaggingString_Zip])&&t.hasMatches(e,[this.GeotaggingString_Code])||t.hasMatches(e,[r.GeotaggingString_PostalCode,r.GeotaggingString_PostalCodes,r.GeotaggingString_ZipCode,r.GeotaggingString_ZipCodes]);if(!n){var o=new RegExp("s");n=t.hasMatches(e,[r.GeotaggingString_PostalCode.replace(o,""),r.GeotaggingString_PostalCodes.replace(o,""),r.GeotaggingString_ZipCode.replace(o,""),r.GeotaggingString_ZipCodes.replace(o,"")])}return n},t.prototype.isEnglishLongitude=function(e){return t.hasMatches(e,[r.GeotaggingString_Longitude])||t.hasMatches(e,[r.GeotaggingString_Longitude_Short],!0)},t.prototype.isEnglishLatitude=function(e){return t.hasMatches(e,[r.GeotaggingString_Latitude])||t.hasMatches(e,[r.GeotaggingString_Latitude_Short],!0)},t.prototype.isEnglishTerritory=function(e){return t.hasMatches(e,[r.GeotaggingString_Territory,r.GeotaggingString_Territories])},t.prototype.getEnglishFieldType=function(t){return null!=t?this.isEnglishLatitude(t)?e.CategoryTypes.Latitude:this.isEnglishLongitude(t)?e.CategoryTypes.Longitude:this.isEnglishPostalCode(t)?e.CategoryTypes.PostalCode:this.isEnglishAddress(t)?e.CategoryTypes.Address:this.isEnglishPlace(t)?e.CategoryTypes.Place:this.isEnglishCity(t)?e.CategoryTypes.City:this.isEnglishCountry(t)?e.CategoryTypes.CountryRegion:this.isEnglishCounty(t)?e.CategoryTypes.County:this.isEnglishStateOrProvince(t)?e.CategoryTypes.StateOrProvince:this.isEnglishContinent(t)?e.CategoryTypes.Continent:void 0:void 0},t}();e.GeoTaggingAnalyzerService=n}(powerbi||(powerbi={})),"undefined"==typeof DEBUG)var DEBUG=!0;var powerbi;!function(e){var t=function(){function e(e){this.errorCode=e}return Object.defineProperty(e.prototype,"code",{get:function(){return this.errorCode},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ignorable",{get:function(){return!1},enumerable:!0,configurable:!0}),e.prototype.getDetails=function(e){var t={message:e.get("ClientError_UnknownClientErrorValue"),additionalErrorInfo:[{errorInfoKey:e.get("ClientError_UnknownClientErrorKey"),errorInfoValue:e.get("ClientError_UnknownClientErrorValue")}]};return t},e}();e.UnknownClientError=t;var r=function(){function e(e,t){this.httpStatusCode=e,this.httpRequestId=t}return Object.defineProperty(e.prototype,"code",{get:function(){return"HttpClientError"},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ignorable",{get:function(){return!1},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"requestId",{get:function(){return this.httpRequestId},enumerable:!0,configurable:!0}),e.prototype.getDetails=function(e){var t={message:null,additionalErrorInfo:[{errorInfoKey:e.get("DsrError_Key"),errorInfoValue:e.get("DsrError_UnknownErrorValue")},{errorInfoKey:e.get("ClientError_HttpResponseStatusCodeKey"),errorInfoValue:this.httpStatusCode.toString()}]};return t},e}();e.HttpClientError=r;var n=function(){function e(){}return Object.defineProperty(e.prototype,"code",{get:function(){return"IgnorableClientError"},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ignorable",{get:function(){return!0},enumerable:!0,configurable:!0}),e.prototype.getDetails=function(e){var t={message:"",additionalErrorInfo:[]};return t},e}();e.IgnorableClientError=n}(powerbi||(powerbi={}));var jsCommon;!function(e){var t;!function(e){function t(e,t){for(var r=[],n=e.length-1;n>=0;--n)-1!==t.indexOf(e[n])&&r.push(e[n]);return r}function r(e,t){for(var r=[],n=e.length-1;n>=0;--n){var o=e[n];-1===t.indexOf(o)&&r.push(o)}return r}function n(e){for(var t=[],r=0,n=e.length;n>r;r++){var o=e[r];-1===t.indexOf(o)&&t.push(o)}return t}function o(e,t){for(var r=0,n=t.length;n>r;++r)i(e,t[r])}function i(e,t){e.indexOf(t)<0&&e.push(t)}function a(e,t,r){for(var n=[],o=t;r>=o;++o)n.push(e[o]);return n}function s(e,t){for(var r=[],n=0;t>n;++n)r.push(e[n]);return r}function u(e){return s(e,e.length)}function g(e,t,r){if(e===t)return!0;if(!!e!=!!t)return!1;var n=e.length;if(n!==t.length)return!1;for(var o=0;n>o&&r(e[o],t[o]);)++o;return o===n}function c(e){return e&&0===e.length?null:e}function l(e,t){for(var r=0,n=e.length;n>r;++r)if(t(e[r]))return r;return-1}function f(e,t){if(0===t)return e.slice();var r=e.slice(t);return Array.prototype.push.apply(r,e.slice(0,t)),r}function d(){return p([])}function p(e){var t=e;return t.withId=m,t}function h(e,t){for(var r=0,n=e.length;n>r;r++){var o=e[r];if(o.id===t)return o}}function m(t){return e.findWithId(this,t)}function v(){return y([])}function y(e){var t=e;return t.withName=T,t}function S(e,t){var r=C(e,t);return r>=0?e[r]:void 0}function C(e,t){for(var r=0,n=e.length;n>r;r++){var o=e[r];if(o.name===t)return r}return-1}function E(e,t){for(var r=e.length,n=r-1;n>=0;n--){var o=e[n]-t;if(0===o)return!1;if(!(o>0))return e.splice(n+1,0,t),!0}return e.unshift(t),!0}function w(e,t){var r=e.indexOf(t);return 0>r?!1:(e.splice(r,1),!0)}function T(e){var t=this;return S(t,e)}function b(e){if(e)for(;e.length>0;)e.pop()}function x(e){return!e||0===e.length}function G(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function P(e,t,r){return _.any(e,function(e){return r(e,t)})}function O(e){for(var t=e;null!=t;){if(_.isArray(t))return!0;t=Object.getPrototypeOf(t)}return!1}e.intersect=t,e.diff=r,e.distinct=n,e.union=o,e.unionSingle=i,e.range=a,e.take=s,e.copy=u,e.sequenceEqual=g,e.emptyToNull=c,e.indexOf=l,e.rotate=f,e.createWithId=d,e.extendWithId=p,e.findWithId=h,e.createWithName=v,e.extendWithName=y,e.findItemWithName=S,e.indexWithName=C,e.insertSorted=E,e.removeFirst=w,e.clear=b,e.isUndefinedOrEmpty=x,e.swap=G,e.isInArray=P,e.isArrayOrInheritedArray=O}(t=e.ArrayExtensions||(e.ArrayExtensions={}))}(jsCommon||(jsCommon={}));var InJs;!function(e){var t;!function(e){function t(){return $("<div/>")}function r(){return $("<span/>")}function n(){return $('<input type="checkbox"/>')}function o(){return $("<ul/>")}function i(){return $("<li/>")}function a(){return $('<input type="button"/>')}function s(){return $("<select/>")}function u(){return $('<input type="text"/>')}function g(){return $("<img/>")}function c(){return $("<iframe/>")}e.div=t,e.span=r,e.checkbox=n,e.ul=o,e.li=i,e.button=a,e.select=s,e.textBox=u,e.img=g,e.iframe=c}(t=e.DomFactory||(e.DomFactory={}))}(InJs||(InJs={}));var powerbi;!function(e){function t(e,t){return void 0!==e?e:t}var r;!function(e){function r(t){return t>=0?t<e.POSITIVE_POWERS.length?e.POSITIVE_POWERS[t]:1/0:(t=-t,t>0&&t<e.NEGATIVE_POWERS.length?e.NEGATIVE_POWERS[t]:0)}function n(t){if(t>1&&1e16>t)return 1e8>t?1e4>t?100>t?10>t?0:1:1e3>t?2:3:1e6>t?1e5>t?4:5:1e7>t?6:7:1e12>t?1e10>t?1e9>t?8:9:1e11>t?10:11:1e14>t?1e13>t?12:13:1e15>t?14:15;if(t>1e-16&&1>t)return 1e-8>t?1e-12>t?1e-14>t?1e-15>t?-16:-15:1e-13>t?-14:-13:1e-10>t?1e-11>t?-12:-11:1e-9>t?-10:-9:1e-4>t?1e-6>t?1e-7>t?-8:-7:1e-5>t?-6:-5:.01>t?.001>t?-4:-3:.1>t?-2:-1;var r=Math.log(t)/e.LOG_E_10;return e.floorWithPrecision(r)}function o(t,r){if(void 0===r&&(r=e.DEFAULT_PRECISION_IN_DECIMAL_DIGITS),t){var n=e.log10(Math.abs(t));if(n<e.MIN_EXP)return 0;var o=Math.max(n-r,-e.NEGATIVE_POWERS.length+1);return e.pow10(o)}}function i(r,n,o){return o=t(o,e.DEFAULT_PRECISION),r===n||Math.abs(r-n)<o}function a(r,n,o){return o=t(o,e.DEFAULT_PRECISION),n>r&&Math.abs(r-n)>o}function s(r,n,o){return o=t(o,e.DEFAULT_PRECISION),n>r||Math.abs(r-n)<o}function u(r,n,o){return o=t(o,e.DEFAULT_PRECISION),r>n&&Math.abs(r-n)>o}function g(r,n,o){return o=t(o,e.DEFAULT_PRECISION),r>n||Math.abs(r-n)<o}function c(r,n){n=t(n,e.DEFAULT_PRECISION);var o=Math.round(r);return Math.abs(r-o)<n?o:Math.floor(r)}function l(r,n){n=t(n,e.DEFAULT_PRECISION);var o=Math.round(r);return Math.abs(r-o)<n?o:Math.ceil(r)}function f(r,n){return n=t(n,e.DEFAULT_PRECISION),0===n||0===r?r:Math.floor(r/n)*n}function d(r,n){return n=t(n,e.DEFAULT_PRECISION),0===n||0===r?r:Math.ceil(r/n)*n}function p(r,n){if(n=t(n,e.DEFAULT_PRECISION),0===n||0===r)return r;var o=Math.round(r/n)*n,i=Math.round(e.log10(Math.abs(r))-e.log10(n))+1;return i>0&&16>i&&(o=parseFloat(o.toPrecision(i))),o}function h(e,t,r){return void 0===e||null===e?e:t>e?t:e>r?r:e}function m(e){return.5+e<<0}function v(e,t,r,n,o){if(0===r||0===o)return e>=t&&t+r>=e?n:NaN;var i=(e-t)/r,a=n+i*o;return a}function y(e){return p(e,o(e))}function S(e){return null!==e&&e%1===0}function C(e,t){return Math.round(e/t)*t}e.MIN_VALUE=-Number.MAX_VALUE,e.MAX_VALUE=Number.MAX_VALUE,e.MIN_EXP=-308,e.MAX_EXP=308,e.EPSILON=1e-323,e.DEFAULT_PRECISION=1e-4,e.DEFAULT_PRECISION_IN_DECIMAL_DIGITS=12,e.LOG_E_10=Math.log(10),e.POSITIVE_POWERS=[1,10,100,1e3,1e4,1e5,1e6,1e7,1e8,1e9,1e10,1e11,1e12,1e13,1e14,1e15,1e16,1e17,1e18,1e19,1e20,1e21,1e22,1e23,1e24,1e25,1e26,1e27,1e28,1e29,1e30,1e31,1e32,1e33,1e34,1e35,1e36,1e37,1e38,1e39,1e40,1e41,1e42,1e43,1e44,1e45,1e46,1e47,1e48,1e49,1e50,1e51,1e52,1e53,1e54,1e55,1e56,1e57,1e58,1e59,1e60,1e61,1e62,1e63,1e64,1e65,1e66,1e67,1e68,1e69,1e70,1e71,1e72,1e73,1e74,1e75,1e76,1e77,1e78,1e79,1e80,1e81,1e82,1e83,1e84,1e85,1e86,1e87,1e88,1e89,1e90,1e91,1e92,1e93,1e94,1e95,1e96,1e97,1e98,1e99,1e100,1e101,1e102,1e103,1e104,1e105,1e106,1e107,1e108,1e109,1e110,1e111,1e112,1e113,1e114,1e115,1e116,1e117,1e118,1e119,1e120,1e121,1e122,1e123,1e124,1e125,1e126,1e127,1e128,1e129,1e130,1e131,1e132,1e133,1e134,1e135,1e136,1e137,1e138,1e139,1e140,1e141,1e142,1e143,1e144,1e145,1e146,1e147,1e148,1e149,1e150,1e151,1e152,1e153,1e154,1e155,1e156,1e157,1e158,1e159,1e160,1e161,1e162,1e163,1e164,1e165,1e166,1e167,1e168,1e169,1e170,1e171,1e172,1e173,1e174,1e175,1e176,1e177,1e178,1e179,1e180,1e181,1e182,1e183,1e184,1e185,1e186,1e187,1e188,1e189,1e190,1e191,1e192,1e193,1e194,1e195,1e196,1e197,1e198,1e199,1e200,1e201,1e202,1e203,1e204,1e205,1e206,1e207,1e208,1e209,1e210,1e211,1e212,1e213,1e214,1e215,1e216,1e217,1e218,1e219,1e220,1e221,1e222,1e223,1e224,1e225,1e226,1e227,1e228,1e229,1e230,1e231,1e232,1e233,1e234,1e235,1e236,1e237,1e238,1e239,1e240,1e241,1e242,1e243,1e244,1e245,1e246,1e247,1e248,1e249,1e250,1e251,1e252,1e253,1e254,1e255,1e256,1e257,1e258,1e259,1e260,1e261,1e262,1e263,1e264,1e265,1e266,1e267,1e268,1e269,1e270,1e271,1e272,1e273,1e274,1e275,1e276,1e277,1e278,1e279,1e280,1e281,1e282,1e283,1e284,1e285,1e286,1e287,1e288,1e289,1e290,1e291,1e292,1e293,1e294,1e295,1e296,1e297,1e298,1e299,1e300,1e301,1e302,1e303,1e304,1e305,1e306,1e307,1e308],e.NEGATIVE_POWERS=[1,.1,.01,.001,1e-4,1e-5,1e-6,1e-7,1e-8,1e-9,1e-10,1e-11,1e-12,1e-13,1e-14,1e-15,1e-16,1e-17,1e-18,1e-19,1e-20,1e-21,1e-22,1e-23,1e-24,1e-25,1e-26,1e-27,1e-28,1e-29,1e-30,1e-31,1e-32,1e-33,1e-34,1e-35,1e-36,1e-37,1e-38,1e-39,1e-40,1e-41,1e-42,1e-43,1e-44,1e-45,1e-46,1e-47,1e-48,1e-49,1e-50,1e-51,1e-52,1e-53,1e-54,1e-55,1e-56,1e-57,1e-58,1e-59,1e-60,1e-61,1e-62,1e-63,1e-64,1e-65,1e-66,1e-67,1e-68,1e-69,1e-70,1e-71,1e-72,1e-73,1e-74,1e-75,1e-76,1e-77,1e-78,1e-79,1e-80,1e-81,1e-82,1e-83,1e-84,1e-85,1e-86,1e-87,1e-88,1e-89,1e-90,1e-91,1e-92,1e-93,1e-94,1e-95,1e-96,1e-97,1e-98,1e-99,1e-100,1e-101,1e-102,1e-103,1e-104,1e-105,1e-106,1e-107,1e-108,1e-109,1e-110,1e-111,1e-112,1e-113,1e-114,1e-115,1e-116,1e-117,1e-118,1e-119,1e-120,1e-121,1e-122,1e-123,1e-124,1e-125,1e-126,1e-127,1e-128,1e-129,1e-130,1e-131,1e-132,1e-133,1e-134,1e-135,1e-136,1e-137,1e-138,1e-139,1e-140,1e-141,1e-142,1e-143,1e-144,1e-145,1e-146,1e-147,1e-148,1e-149,1e-150,1e-151,1e-152,1e-153,1e-154,1e-155,1e-156,1e-157,1e-158,1e-159,1e-160,1e-161,1e-162,1e-163,1e-164,1e-165,1e-166,1e-167,1e-168,1e-169,1e-170,1e-171,1e-172,1e-173,1e-174,1e-175,1e-176,1e-177,1e-178,1e-179,1e-180,1e-181,1e-182,1e-183,1e-184,1e-185,1e-186,1e-187,1e-188,1e-189,1e-190,1e-191,1e-192,1e-193,1e-194,1e-195,1e-196,1e-197,1e-198,1e-199,1e-200,1e-201,1e-202,1e-203,1e-204,1e-205,1e-206,1e-207,1e-208,1e-209,1e-210,1e-211,1e-212,1e-213,1e-214,1e-215,1e-216,1e-217,1e-218,1e-219,1e-220,1e-221,1e-222,1e-223,1e-224,1e-225,1e-226,1e-227,1e-228,1e-229,1e-230,1e-231,1e-232,1e-233,1e-234,1e-235,1e-236,1e-237,1e-238,1e-239,1e-240,1e-241,1e-242,1e-243,1e-244,1e-245,1e-246,1e-247,1e-248,1e-249,1e-250,1e-251,1e-252,1e-253,1e-254,1e-255,1e-256,1e-257,1e-258,1e-259,1e-260,1e-261,1e-262,1e-263,1e-264,1e-265,1e-266,1e-267,1e-268,1e-269,1e-270,1e-271,1e-272,1e-273,1e-274,1e-275,1e-276,1e-277,1e-278,1e-279,1e-280,1e-281,1e-282,1e-283,1e-284,1e-285,1e-286,1e-287,1e-288,1e-289,1e-290,1e-291,1e-292,1e-293,1e-294,1e-295,1e-296,1e-297,1e-298,1e-299,1e-300,1e-301,1e-302,1e-303,1e-304,1e-305,1e-306,1e-307,1e-308,1e-309,1e-310,1e-311,1e-312,1e-313,1e-314,1e-315,1e-316,1e-317,1e-318,1e-319,1e-320,1e-321,1e-322,1e-323,0],e.pow10=r,e.log10=n,e.getPrecision=o,e.equalWithPrecision=i,e.lessWithPrecision=a,e.lessOrEqualWithPrecision=s,e.greaterWithPrecision=u,e.greaterOrEqualWithPrecision=g,e.floorWithPrecision=c,e.ceilWithPrecision=l,e.floorToPrecision=f,e.ceilToPrecision=d,e.roundToPrecision=p,e.ensureInRange=h,e.round=m,e.project=v,e.removeDecimalNoise=y,e.isInteger=S,e.toIncrement=C}(r=e.Double||(e.Double={}))}(powerbi||(powerbi={}));var jsCommon;!function(e){var t,r=powerbi.Double;!function(e){function t(e,t){if(0===t)return e;var r=o(e),n=i(r),u=s(n,t),g=a(u);return c(g)}function n(e){var t=o(e);return c(t)}function o(e){if(e.indexOf("#")>=0){if(7===e.length){var t=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);if(null==t||t.length<4)return;return{R:parseInt(t[1],16),G:parseInt(t[2],16),B:parseInt(t[3],16)}}if(4===e.length){var t=/^#?([a-f\d])([a-f\d])([a-f\d])$/i.exec(e);if(null==t||t.length<4)return;return{R:parseInt(t[1]+t[1],16),G:parseInt(t[2]+t[2],16),B:parseInt(t[3]+t[3],16)}}}else{if(e.indexOf("rgb(")>=0){var t=/^rgb\((\d+),\s*(\d+),\s*(\d+)\)$/.exec(e);if(null==t||t.length<4)return;return{R:parseInt(t[1],10),G:parseInt(t[2],10),B:parseInt(t[3],10)}}if(e.indexOf("rgba(")>=0){var t=/^rgba\((\d+),\s*(\d+),\s*(\d+),\s*(\d*(?:\.\d+)?)\)$/.exec(e);if(null==t||t.length<5)return;return{R:parseInt(t[1],10),G:parseInt(t[2],10),B:parseInt(t[3],10),A:parseFloat(t[4])}}}}function i(e){var t,r,n=e.R/255,o=e.G/255,i=e.B/255,a=Math.min(n,Math.min(o,i)),s=Math.max(n,Math.max(o,i)),u=s,g=s-a;return 0===s||0===g?(t=0,r=0):(t=g/s,r=n===s?(o-i)/g:o===s?2+(i-n)/g:4+(n-o)/g),r/=6,0>r&&(r+=1),{H:r,S:t,V:u}}function a(e){var t,r,n,o=e.H,i=e.S,a=e.V;if(0===i)t=a,r=a,n=a;else{var s=void 0,u=void 0,g=void 0,c=void 0,l=void 0,f=void 0;switch(f=6*o,l=Math.floor(f),c=f-l,s=a*(1-i),u=a*(1-i*c),g=a*(1-i*(1-c)),l){case 0:t=a,r=g,n=s;break;case 1:t=u,r=a,n=s;break;case 2:t=s,r=a,n=g;break;case 3:t=s,r=u,n=a;break;case 4:t=g,r=s,n=a;break;case 5:t=a,r=s,n=u}}return{R:Math.floor(255*t),G:Math.floor(255*r),B:Math.floor(255*n)}}function s(e,t){var r=e.H+t;return{H:r>1?r-1:r,S:e.S,V:e.V}}function u(e,t){var r=Math.floor(t);return{R:Math.max(0,e.R-r),G:Math.max(0,e.G-r),B:Math.max(0,e.B-r)}}function g(e){return null==e.A?"rgb("+e.R+","+e.G+","+e.B+")":"rgba("+e.R+","+e.G+","+e.B+","+e.A+")"}function c(e){return"#"+l(e.R)+l(e.G)+l(e.B)}function l(e){var t=r.ensureInRange(e,0,255),n=t.toString(16).toUpperCase();return 1===n.length?"0"+n:n}e.rotate=t,e.normalizeToHexString=n,e.parseColorString=o,e.darken=u,e.rgbString=g,e.hexString=c}(t=e.Color||(e.Color={}))}(jsCommon||(jsCommon={}));var jsCommon;!function(e){var t;!function(e){function t(e){return{"class":e,selector:"."+e}}e.createClassAndSelector=t,e.styleAttribute="style",e.pixelUnits="px",e.heightProperty="height",e.widthProperty="width",e.topProperty="top",e.bottomProperty="bottom",e.leftProperty="left",e.rightProperty="right",e.marginTopProperty="margin-top",e.marginLeftProperty="margin-left",e.displayProperty="display",e.backgroundProperty="background",e.backgroundColorProperty="background-color",e.backgroundRepeatProperty="background-repeat",e.backgroundSizeProperty="background-size",e.backgroundImageProperty="background-image",e.textShadowProperty="text-shadow",e.textAlignProperty="text-align",e.borderTopWidthProperty="border-top-width",e.borderBottomWidthProperty="border-bottom-width",e.borderLeftWidthProperty="border-left-width",e.borderRightWidthProperty="border-right-width",e.fontSizeProperty="font-size",e.fontWeightProperty="font-weight",e.colorProperty="color",e.opacityProperty="opacity",e.paddingLeftProperty="padding-left",e.paddingRightProperty="padding-right",e.positionProperty="position",e.maxWidthProperty="max-width",e.minWidthProperty="min-width",e.overflowProperty="overflow",e.overflowXProperty="overflow-x",e.overflowYProperty="overflow-y",e.transformProperty="transform",e.webkitTransformProperty="-webkit-transform",e.cursorProperty="cursor",e.visibilityProperty="visibility",e.absoluteValue="absolute",e.zeroPixelValue="0px",e.autoValue="auto",e.hiddenValue="hidden",e.noneValue="none",e.blockValue="block",e.inlineBlockValue="inline-block",e.transparentValue="transparent",e.boldValue="bold",e.visibleValue="visible",e.tableRowValue="table-row",e.coverValue="cover",e.pointerValue="pointer",e.scrollValue="scroll"}(t=e.CssConstants||(e.CssConstants={}))}(jsCommon||(jsCommon={}));var debug;!function(e){function t(e,t){e!==!0&&i(t||"condition: "+e)}function r(e,t){null!==e&&void 0!==e||i(t||"condition: "+e)}function n(e,t){null!=e&&e.length>0||i(t||"condition: "+e)}function o(e,t){}function i(t){(e.assertFailFunction||alert)("Debug Assert failed: "+t)}e.assert=t,e.assertValue=r,e.assertNonEmpty=n,e.assertAnyValue=o,e.assertFail=i}(debug||(debug={}));var jsCommon;!function(e){function t(e){void 0===e&&(e=1);var t,r;try{throw new Error}catch(n){t=n.stack,null!=t&&(r=t.split("\n"),r.splice(1,e),t=r.join("\n"))}return t}var r;!function(e){function r(){return{name:"infoNavAppAlreadyPresent",message:"Cannot initialize embedded scenario when the InfoNav App is already present in this context",stack:c()}}function n(e){return{name:"invalidOperation",
2message:e,stack:c()}}function o(e,t){return{name:"invalidArgumentError",argument:e,message:t,stack:c()}}function i(e){return{name:"argumentNull",argument:e,message:"Argument was null",stack:c()}}function a(e){return{name:"argumentUndefined",argument:e,message:"Argument was undefined",stack:c()}}function s(e){return{name:"argumentOutOfRange",argument:e,message:"Argument was out of range",stack:c()}}function u(e,t){return{name:"pureVirtualMethodException",message:"This method must be overriden by the derived class:"+e+"."+t,stack:c()}}function g(e){return{name:"notImplementedException",message:e,stack:c()}}function c(){return t(2)}e.infoNavAppAlreadyPresent=r,e.invalidOperation=n,e.argument=o,e.argumentNull=i,e.argumentUndefined=a,e.argumentOutOfRange=s,e.pureVirtualMethodException=u,e.notImplementedException=g}(r=e.Errors||(e.Errors={})),e.getStackTrace=t}(jsCommon||(jsCommon={})),$.fn.multiline=function(e){return this.text(e),this.html(this.html().replace(/\n/g,"<br/>")),this},$.fn.togglePanelControl=function(){return this.each(function(){$(this).addClass("ui-accordion ui-accordion-icons ui-widget ui-helper-reset").find(".accordionHeader").addClass("ui-accordion-header ui-helper-reset ui-state-default ui-corner-top ui-corner-bottom").hover(function(){$(this).toggleClass("ui-state-hover")}).prepend('<span class="ui-icon ui-icon-triangle-1-e"></span>').click(function(){return $(this).toggleClass("ui-accordion-header-active ui-state-active ui-state-default ui-corner-bottom").find("> .ui-icon").toggleClass("ui-icon-triangle-1-e ui-icon-triangle-1-s").end().next().slideToggle(),!1}).next().addClass("ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom").hide()})};var jsCommon;!function(e){var t;!function(e){e.VisibleSelector=":visible"}(t=e.JQueryConstants||(e.JQueryConstants={}))}(jsCommon||(jsCommon={}));var jsCommon;!function(e){var t=function(){function t(t){e.Utility.throwIfNullOrUndefined(t,this,"constructor","factoryMethod"),this.factoryMethod=t}return t.prototype.getValue=function(){return null!==this.factoryMethod&&(this.value=this.factoryMethod(),this.factoryMethod=null),this.value},t}();e.Lazy=t}(jsCommon||(jsCommon={}));var powerbi;!function(e){var t;!function(e){function t(e,t){function r(){}r.prototype=e;var n=new r;return t&&t(n),n}function r(e){var r=Object.getPrototypeOf(e);return r!==Object.prototype&&r!==Array.prototype||(e=t(e)),e}function n(e,r){if(e){for(var n,o=0,i=e.length;i>o;o++){var a=r(e[o]);a&&(n||(n=t(e)),n[o]=a)}return n}}e.inherit=t,e.inheritSingle=r,e.overrideArray=n}(t=e.Prototype||(e.Prototype={}))}(powerbi||(powerbi={}));var jsCommon;!function(e){var t;!function(e){function t(e,t,r){switch(t){case"m":t="M";break;case"O":case"o":t="yyyy'-'MM'-'dd'T'HH':'mm':'ss'.'fff'0000'";break;case"R":case"r":e=new Date(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds()),t="ddd, dd MMM yyyy HH':'mm':'ss 'GMT'";break;case"s":t="S";break;case"u":e=new Date(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds()),t="yyyy'-'MM'-'dd HH':'mm':'ss'Z'";break;case"U":e=new Date(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds()),t="F";break;case"y":case"Y":switch(r){case"default":case"en":case"en-US":t="MMMM, yyyy";break;default:t="Y"}}return{value:e,format:t}}function r(e){if(e=e.replace(/%K/g,"zzz"),e=e.replace(/K/g,"zzz"),e=e.replace(/fffffff/g,"fff0000"),e=e.replace(/ffffff/g,"fff000"),e=e.replace(/fffff/g,"fff00"),e=e.replace(/ffff/g,"fff0"),e=e.replace(/yyyyy/g,"0yyyy"),e=e.replace(/(^y|^)yyy(^y|$)/g,"yyyy"),n||(n=["d","f","F","g","h","H","K","m","M","s","t","y","z",":","/"].map(function(e){return{r:new RegExp("%"+e+"(?!"+e+")","g"),s:e}})),-1!==e.indexOf("%")&&e.length>2)for(var t=0;t<n.length;t++)e=e.replace(n[t].r,n[t].s);return e}var n;e.findDateFormat=t,e.fixDateTimeFormat=r}(t=e.Formatting||(e.Formatting={}))}(jsCommon||(jsCommon={}));var jsCommon;!function(e){function t(e,t){void 0===t&&(t=$.noop),r(e.cssFiles||[]);var o=e.javaScriptFilesWithCallback||[];if(e.javaScriptFiles)for(var i=0,a=e.javaScriptFiles.length;a>i;++i)o.push({javascriptFile:e.javaScriptFiles[i]});n(o,t)}function r(e){e.forEach(function(e){-1===C.indexOf(e)&&(C.push(e),o(e))})}function n(e,t){function r(){--o||g(e,s)}function n(){--a||t()}var o=e.length,a=o,s=[];e.forEach(function(e,t){var o=e.javascriptFile;-1===E.indexOf(o)?o in _?_[o].push(function(){r(),n()}):(_[o]=[function(){n()}],l(o)?(s[t]=e,r()):i(o,function(e){s[t]={javascriptFile:e},r()})):(r(),n())})}function o(e){var t=y.cloneNode();t.href=e,v?m.insertBefore(t,v):m.appendChild(t)}function i(e,t){c(e,function(){t(this.responseText)})}function a(e,t){if(void 0===t&&(t=$.noop),!e)return void t();var r=e.javascriptFile,n=t;if(e.onLoadCallback){var o=function(){e.onLoadCallback().then(t)};n=o}l(r)?u(r,n):s(r,n)}function s(e,t){void 0===t&&(t=$.noop);var r;e&&(r=S.cloneNode(),r.setAttribute("type","text/javascript"),r.innerHTML=e,m.appendChild(r)),setTimeout(t,0)}function u(e,t){var r;e&&(r=S.cloneNode(),r.setAttribute("src",e),r.setAttribute("charset","utf-8"),r.onload=t,m.appendChild(r))}function g(e,t){p(t,a,function(){e.forEach(function(e){var t=e.javascriptFile,r=_[t];r&&r.forEach(function(e){e()}),delete _[t],-1===E.indexOf(t)&&E.push(t)})})}function c(e,t,r){var n=new XMLHttpRequest;try{n.open("GET",e,!0),n.onload=t,n.onerror=r,n.send(null)}catch(o){}}function l(e){var t=location.protocol+"//"+location.host+"/";return/^http[s]?:\/\/.+/i.test(e)&&0!==e.indexOf(t)}function f(){for(var e=[],t=0;t<arguments.length;t++)e[t-0]=arguments[t]}function d(){for(var e=[],t=0;t<arguments.length;t++)e[t-0]=arguments[t];if(0!==e.length){for(var r=[],n=e.length;n--;)!function(t){r[t]=function(){e[t](r[t+1]||f)}}(n);r[0]()}}function p(e,t,r){for(var n=[],o=0,i=e.length;i-1>o;o++)!function(r){n[r]=function(n){t(e[r],n)}}(o);n[i-1]=function(n){t(e[i-1],r)},d.apply(null,n)}var h=document,m=h.head,v=m.getElementsByTagName("script")[0],y=h.createElement("link"),S=h.createElement("script"),C=[],E=[],_=[];y.setAttribute("rel","stylesheet"),e.requires=t}(jsCommon||(jsCommon={}));var powerbi;!function(e){function t(){return new r}e.createJQueryPromiseFactory=t;var r=function(){function e(){}return e.prototype.defer=function(){return new n($.Deferred())},e.prototype.reject=function(e){var t=this.defer();return t.reject(e),t.promise},e.prototype.resolve=function(e){var t=this.defer();return t.resolve(e),t.promise},e.prototype.all=function(e){var t=jQuery.map(e,function(e){return e&&e.promise?e.promise:e});return new o($.when.apply($,t))},e.prototype.when=function(e){var t=e&&e.promise?e.promise:e;return new o($.when(t))},e}(),n=function(){function e(e){this.deferred=e,this.promise=new o(e.promise())}return e.prototype.resolve=function(e){this.deferred.resolve(e)},e.prototype.reject=function(e){this.deferred.reject(e)},e}(),o=function(){function e(e){this.promise=e}return e.prototype.then=function(t,r){return new e(this.promise.then(e.wrapCallback(t),e.wrapCallback(r)))},e.prototype["catch"]=function(e){return this.then(null,e)},e.prototype["finally"]=function(t){return this.promise.always(e.wrapCallback(t)),this},e.wrapCallback=function(t){return t?function(r){var n=t(r);return n instanceof e?n.promise:n}:t},e}()}(powerbi||(powerbi={}));var powerbi;!function(e){var t=function(){function e(){}return e.prototype.getData=function(e){try{if(localStorage){var t=localStorage[e];if(t)return JSON.parse(t)}}catch(r){}return null},e.prototype.setData=function(e,t){try{localStorage&&(localStorage[e]=JSON.stringify(t))}catch(r){}},e}(),r=function(){function e(t){this.cache={},this.clearCacheInterval=null!=t?t:e.defaultClearCacheInterval,this.clearCache()}return e.prototype.getData=function(e){return this.cache[e]},e.prototype.setData=function(e,t){var r=this;this.cache[e]=t,null==this.clearCacheTimerId&&(this.clearCacheTimerId=setTimeout(function(){return r.clearCache()},this.clearCacheInterval))},e.prototype.clearCache=function(){this.cache={},this.clearCacheTimerId=void 0},e.defaultClearCacheInterval=864e5,e}();e.EphemeralStorageService=r,e.localStorageService=new t,e.ephemeralStorageService=new r}(powerbi||(powerbi={}));var jsCommon;!function(e){var t;!function(e){function t(e,t,r){if(r){for(var o=e-1;o>-1;o--)if(n(t[o]))return o+1}else for(var o=e,i=t.length;i>o;o++)if(n(t[o]))return o;return r?0:t.length}function r(e,r){var n={start:0,end:0};return 0===r.length?n:(n.start=t(e,r,!0),n.end=t(e,r,!1),n)}function n(e){return l.lastIndex=0,l.test(e)}function o(e){var t=1;for(l.lastIndex=0,l.exec(e);0!==l.lastIndex;)t++,l.exec(e);return t}function i(e,t,r){for(var n=a(e),o=0,i=0,s=n;i<s.length;i++){var u=s[i];r.text=u,o=Math.max(o,t(r))}return o}function a(e){return e.split(l)}function s(e,t,r){return t.text=e,r(t)}function u(e,t,r,n){return t.text=e,r(t,n)}function g(e,t,r,n,o,i){i=i?i:function(e,t){return e.text};for(var g=[],l=a(e),f=0,d=[],p=0,h=l;p<h.length;p++){var m=h[p];if(o>0&&g.length>=o-1)d.push(m);else{var v=0===d.length?s(m,t,r):s(c+m,t,r);if(f+v>n){if(0===d.length){g.push(u(m,t,i,n)),f=0,d=[];continue}g.push(u(d.join(c),t,i,n)),f=0,d=[]}d.push(m),f+=v}}return g.push(u(d.join(c),t,i,n)),g}var c=" ",l=/[\s\n]+/g;e.find=r,e.hasBreakers=n,e.wordCount=o,e.getMaxWordWidth=i,e.splitByWidth=g}(t=e.WordBreaker||(e.WordBreaker={}))}(jsCommon||(jsCommon={}));var powerbi;!function(e){var t;!function(t){function r(){y||(y=$("<span/>"),$("body").append(y),S=d3.select($("body").get(0)).append("svg").style({height:"0px",width:"0px",position:"absolute"}).append("text"),C=$("<canvas/>").get(0).getContext("2d"),E=window.getComputedStyle(S.node()).fontFamily)}function n(){y&&y.remove&&y.remove(),y=null}function o(e){return r(),C.font=(e.fontStyle||"")+" "+(e.fontVariant||"")+" "+(e.fontWeight||"")+" "+e.fontSize+" "+(e.fontFamily||E),C.measureText(e.text).width}function i(e){return r(),S.style(null),S.text(e.text).attr({visibility:"hidden","font-family":e.fontFamily||E,"font-variant":e.fontVariant,"font-size":e.fontSize,"font-weight":e.fontWeight,"font-style":e.fontStyle,"white-space":e.whiteSpace||"nowrap"}),S.node().getBBox()}function a(e){return i(e).height}function s(r){var n=r.fontFamily+r.fontSize,o=e.ephemeralStorageService.getData(n);if(null==o){var i={fontFamily:r.fontFamily,fontSize:r.fontSize,text:"M"};o=t.measureSvgTextRect(i),o.height>0&&e.ephemeralStorageService.setData(n,o)}return o}function u(e){var t=s(e);return t.y+t.height}function g(e,t){void 0===t&&(t=!1);var r=s(e).height;return t&&(r*=.7),r}function c(e){return o(f(e))}function l(e){return{text:e.val()||e.text(),fontFamily:e.css("font-family"),fontSize:e.css("font-size"),fontWeight:e.css("font-weight"),fontStyle:e.css("font-style"),fontVariant:e.css("font-variant"),whiteSpace:e.css("white-space")}}function f(e){var t=window.getComputedStyle(e,null);return{text:e.textContent,fontFamily:t.fontFamily,fontSize:t.fontSize,fontWeight:t.fontWeight,fontStyle:t.fontStyle,fontVariant:t.fontVariant,whiteSpace:t.whiteSpace}}function d(e){return getComputedStyle(e[0]).width}function p(t,n){r();var i=t.text.length;if(0===i)return t.text;var a=o(t);if(n>a)return t.text;for(var s=e.Prototype.inherit(t),u=s.text=w+s.text,g=1,c=u.length,l=w.length;c>=g;)if(l=(g+c)/2|0,s.text=u.substr(0,l),a=o(s),n>a)g=l+1;else{if(!(a>n))break;c=l-1}return s.text=u.substr(0,l),a=o(s),a>n&&l--,u.substr(w.length,l-w.length)+w}function h(e,t){var r=f(e),n=r.text,o=p(r,t);n!==o&&(e.textContent=o)}function m(e,t,r,n){void 0===n&&(n=0);var i=f(e),a=g(i)+n,s=Math.max(1,Math.floor(r/a)),u=d3.select(e),c=u.attr("y"),l=e.textContent;e.textContent=null;for(var d=jsCommon.WordBreaker.splitByWidth(l,i,o,t,s),h=0,m=d.length;m>h;h++)i.text=d[h],u.append("tspan").attr({x:0,dy:0===h?c:a}).text(p(i,t))}function v(e,t,r,n){void 0===n&&(n=0);var i=f(e),a=g(i)+n,s=Math.max(1,Math.floor(r/a)),u=e.textContent;e.textContent=null;var c=jsCommon.WordBreaker.splitByWidth(u,i,o,t,s);c=_.compact(c);var l=d3.select(e).selectAll(T.selector).data(c,function(e){return $.inArray(e,c)});l.enter().append("span").classed(T["class"],!0).text(function(e){return e}).style("width",jsCommon.PixelConverter.toString(t))}var y,S,C,E,w="…",T=jsCommon.CssConstants.createClassAndSelector("overflowingText");t.removeSpanElement=n,t.measureSvgTextWidth=o,t.measureSvgTextRect=i,t.measureSvgTextHeight=a,t.estimateSvgTextBaselineDelta=u,t.estimateSvgTextHeight=g,t.measureSvgTextElementWidth=c,t.getMeasurementProperties=l,t.getSvgMeasurementProperties=f,t.getDivElementWidth=d,t.getTailoredTextOrDefault=p,t.svgEllipsis=h,t.wordBreak=m,t.wordBreakOverflowingText=v}(t=e.TextMeasurementService||(e.TextMeasurementService={}))}(powerbi||(powerbi={}));var jsCommon;!function(e){var t,r=e.DOMConstants;!function(e){function t(e){return e===r.downArrowKeyCode||e===r.upArrowKeyCode||e===r.leftArrowKeyCode||e===r.rightArrowKeyCode}e.isArrowKey=t}(t=e.KeyUtils||(e.KeyUtils={}))}(jsCommon||(jsCommon={}));var jsCommon;!function(e){var t=function(){function t(t){this.timerFactory=e.TimerPromiseFactory.instance,this.delay=0,t&&(this.delay=t)}return t.prototype.run=function(e){var t=this;this.fn?this.fn=e:(this.fn=e,this.timerFactory.create(this.delay).done(function(){return t.timerComplete(t.fn)}))},t.prototype.timerComplete=function(e){e(),this.fn=null},t}();e.ThrottleUtility=t}(jsCommon||(jsCommon={}));var jsCommon;!function(e){var t=function(){function e(){}return e.prototype.create=function(e){var t=$.Deferred();return window.setTimeout(function(){return t.resolve()},e),t},e.instance=new e,e}();e.TimerPromiseFactory=t}(jsCommon||(jsCommon={}));var jsCommon;!function(e){!function(e){e[e.OK=200]="OK",e[e.BadRequest=400]="BadRequest",e[e.Unauthorized=401]="Unauthorized",e[e.Forbidden=403]="Forbidden",e[e.RequestEntityTooLarge=413]="RequestEntityTooLarge"}(e.HttpStatusCode||(e.HttpStatusCode={}));var t;e.HttpStatusCode;!function(e){e.ApplicationOctetStream="application/octet-stream",e.MultiPartFormData="multipart/form-data"}(t=e.HttpConstants||(e.HttpConstants={}));var r;!function(e){function t(){for(var e=[],t=0;t<arguments.length;t++)e[t-0]=arguments[t];var r=e[0];if(g(r))return r;for(var n=0;n<e.length-1;n++){var o=new RegExp("\\{"+n+"\\}","gm");r=r.replace(o,e[n+1])}return r}function r(t,r){return e.normalizeCase(t)===e.normalizeCase(r)}function o(t,r){var n=e.normalizeCase(r);return 0===e.normalizeCase(t).indexOf(n)}function i(e,t){return 0===e.indexOf(t)}function a(e,t){return null==e?!1:-1!==e.toLowerCase().indexOf(t.toLowerCase().toString())}function s(t){return n.throwIfNullOrUndefined(t,e,"normalizeCase","value"),t.toUpperCase()}function u(e){return null==e||0===e.length}function g(t){return e.isNullOrEmpty(t)||e.isNullOrEmpty(t.trim())}function c(e){n.throwIfNullOrUndefined(e,this,"containsWhitespace","str");var t=/\s/;return t.test(e)}function l(e){return n.throwIfNullOrUndefined(e,this,"isWhitespace","str"),""===e.trim()}function f(e){return n.throwIfNullOrUndefined(e,this,"trimTrailingWhitespace","str"),e.replace(/\s+$/,"")}function d(e){return n.throwIfNullOrUndefined(e,this,"trimWhitespace","str"),e.replace(/^\s+/,"").replace(/\s+$/,"")}function p(e,t){return n.throwIfNullOrUndefined(e,this,"getLengthDifference","left"),n.throwIfNullOrUndefined(t,this,"getLengthDifference","right"),Math.abs(e.length-t.length)}function h(e,t){for(var r="",n=0;t>n;n++)r+=e;return r}function m(e,t,r){if(!t)return e;var n=C(t);return e.replace(new RegExp(n,"gi"),r)}function v(e){for(var t={},r=0,n=e;r<n.length;r++){var o=n[r];t[o]=!1}for(var i=[],a=0,s=e;a<s.length;a++){var u=s[a],g=u;if(t[g])for(var c=0;void 0!==t[g];)g=u+"."+ ++c;i.push(g),t[g]=!0}return i}function y(e,t){for(var r=0,n=t;e[n];)n=t+ ++r;return n}function S(t,r,n){if(!t||0===t.length)return"";null!==n&&void 0!==n||(n=Number.MAX_VALUE);for(var o=Math.min(n,t.length),i=[],a=0;2>a;a++)for(var s="{"+a+"}",u="_|_<"+a+">_|_",g=0;o>g;g++)t[g].indexOf(s)>-1&&(t[g]=t[g].replace(s,u),i.push({targetValue:s,replaceValue:u}));for(var c="",g=0;o>g;g++)c=0===g?t[g]:e.format(r.get("FilterRestatement_Comma"),c,t[g]);for(var g=0;g<i.length;g++)c=c.replace(i[g].replaceValue,i[g].targetValue);return c}function C(e){return e.replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1")}function E(e){return e.replace(/[\<\>\:"\/\\\|\?*]/g,"")}function _(e){return JSON.stringify(e)}function w(e,t){var r=e.replace(/^[^A-Za-z]*/g,"").replace(/[ :\.\/\\\-\u00a0\u1680\u180e\u2000-\u200a\u2028\u2029\u202f\u205f\u3000]/g,"_").replace(/[\W]/g,"");return r.length>0?r:t}function T(e){return e.replace(b,"")}var b=new RegExp("[<>]","g");e.format=t,e.equalIgnoreCase=r,e.startsWithIgnoreCase=o,e.startsWith=i,e.containsIgnoreCase=a,e.normalizeCase=s,e.isNullOrEmpty=u,e.isNullOrUndefinedOrWhiteSpaceString=g,e.containsWhitespace=c,e.isWhitespace=l,e.trimTrailingWhitespace=f,e.trimWhitespace=d,e.getLengthDifference=p,e.repeat=h,e.replaceAll=m,e.ensureUniqueNames=v,e.findUniqueName=y,e.constructCommaSeparatedList=S,e.escapeStringForRegex=C,e.normalizeFileName=E,e.stringifyAsPrettyJSON=_,e.deriveClsCompliantName=w,e.stripTagDelimiters=T}(r=e.StringExtensions||(e.StringExtensions={}));var n=function(){function n(){}return n.throwIfNullOrUndefined=function(t,r,o,i){null===t?n.throwException(e.Errors.argumentNull(n.getComponentName(r)+o+"."+i)):typeof t===n.Undefined&&n.throwException(e.Errors.argumentUndefined(n.getComponentName(r)+o+"."+i))},n.throwIfNullOrEmpty=function(t,r,o,i){n.throwIfNullOrUndefined(t,r,o,i),t.length||n.throwException(e.Errors.argumentOutOfRange(n.getComponentName(r)+o+"."+i))},n.throwIfNullOrEmptyString=function(t,r,o,i){n.throwIfNullOrUndefined(t,r,o,i),t.length<1&&n.throwException(e.Errors.argumentOutOfRange(n.getComponentName(r)+o+"."+i))},n.throwIfNullEmptyOrWhitespaceString=function(t,o,i,a){n.throwIfNullOrUndefined(t,o,i,a),r.isNullOrUndefinedOrWhiteSpaceString(t)&&n.throwException(e.Errors.argumentOutOfRange(n.getComponentName(o)+i+"."+a))},n.throwIfNotTrue=function(t,r,o,i){t||n.throwException(e.Errors.argument(i,n.getComponentName(r)+o+"."+i))},n.isString=function(e){return"string"==typeof e},n.isBoolean=function(e){return"boolean"==typeof e},n.isNumber=function(e){return"number"==typeof e},n.isDate=function(e){return n.isObject(e)&&e instanceof Date},n.isObject=function(e){return null!=e&&"object"==typeof e},n.isNullOrUndefined=function(e){return null===e||typeof e===n.Undefined},n.urlCombine=function(e,t){if(n.throwIfNullOrUndefined(e,null,"urlCombine","baseUrl"),n.throwIfNullOrUndefined(t,null,"urlCombine","path"),r.isNullOrUndefinedOrWhiteSpaceString(t))return e;if(r.isNullOrUndefinedOrWhiteSpaceString(e))return t;var o=e;return"/"===o.charAt(o.length-1)?"/"===t.charAt(0)&&(t=t.slice(1)):"/"!==t.charAt(0)&&(t="/"+t),o+t},n.getAbsoluteUri=function(e){n.throwIfNullOrUndefined(e,null,"getAbsoluteUri","path");var t=e;return t&&-1===t.indexOf("http")&&(t=n.urlCombine(clusterUri,t)),t},n.getStaticResourceUri=function(t){n.throwIfNullOrUndefined(t,null,"getStaticResourceUri","path");var r=t;return r&&-1===r.indexOf("http")&&(r=e.Utility.urlCombine(n.staticContentLocation,r)),r},n.getComponentName=function(e){return e?(typeof e).toString()+".":""},n.throwException=function(t){throw e.Trace.error(r.format("Throwing exception: {0}",JSON.stringify(t)),null==t.stack),t},n.createClassSelector=function(e){return n.throwIfNullOrEmptyString(e,null,"CreateClassSelector","className"),"."+e},n.createIdSelector=function(e){return n.throwIfNullOrEmptyString(e,null,"CreateIdSelector","id"),"#"+e},n.generateGuid=function(){var e="",t=0;for(t=0;32>t;t+=1){var r=16*Math.random()|0;switch(t){case 8:case 12:case 16:case 20:e+="-"}e+=r.toString(16)}return e},n.getCookieValue=function(e){for(var t=document.cookie.split(";"),r=0;r<t.length;r++){var n=t[r],o=n.split("=");if(o.length>0&&o[0].trim()===e)return n.substr(n.indexOf("=")+1)}return null},n.getDomainForUrl=function(e){var t=n.getHrefObjectFromUrl(e);return t.prop("protocol")+"//"+t.prop("hostname")},n.getHostNameForUrl=function(e){var t=n.getHrefObjectFromUrl(e);return n.urlCombine(t.prop("hostname"),t.prop("pathname"))},n.getUrlWithoutQueryString=function(e){var t=n.getHrefObjectFromUrl(e);return t.prop("protocol")+"//"+n.urlCombine(t.prop("host"),t.prop("pathname"))},n.getProtocolFromUrl=function(e){return n.getHrefObjectFromUrl(e).prop("protocol").replace(":","")},n.getHrefObjectFromUrl=function(e){var t=$("<a>");return t=t.prop("href",e)},n.convertWcfToJsDictionary=function(e){for(var t={},r=0;r<e.length;r++){var n=e[r];t[n.Key]=n.Value}return t},n.getDateFromWcfJsonString=function(e,t){if(r.isNullOrEmpty(e))return null;var n=e.indexOf("("),o=e.indexOf(")");if(-1!==n&&-1!==o){var i=parseInt(e.substring(n+1,o),10);if(t)return new Date(i);var a=new Date(0);return a.setUTCMilliseconds(i),a}return null},n.getOuterHtml=function(e){return $("<div>").append(e).html()},n.compareInt=function(e,t){return e-t},n.getIndexOfMinValue=function(e){for(var t=0,r=e[0],n=0;n<e.length;n++)e[n]<r&&(r=e[n],t=n);return t},n.extractUrlFromCssBackgroundImage=function(e){return e.replace(/"/g,"").replace(/url\(|\)$/gi,"")},n.isValidImageDataUrl=function(e){var t=new RegExp("data:(image/(png|jpg|jpeg|gif|svg))");return t.test(e)},n.isLocalUrl=function(e){return _.startsWith(e,"data:")||_.startsWith(e,"blob:")},n.saveAsFile=function(e,r){var n=new Blob([e],{type:t.ApplicationOctetStream}),o=window.webkitURL||URL,i=o.createObjectURL(n),a=r||i;if(window.navigator.msSaveOrOpenBlob)return void window.navigator.msSaveOrOpenBlob(n,a);var s=document.createElement("a");s.href=i,s.target="_blank",s.download=a,document.body.appendChild(s),s.click(),document.body.removeChild(s)},n.getType=function(t){n.throwIfNullEmptyOrWhitespaceString(t.__type,this,"getType","obj");var r=t.__type.split(":");return 2!==r.length&&e.Errors.argument("obj.__type","Type String not in expected format [Type]#[Namespace]: "+t.__type),r[1]!==n.TypeNamespace&&e.Errors.argument("obj.__type","Type Namespace not expected: "+r[1]),r[0]},n.isEventSupported=function(e,t){e="on"+e;var r=e in t;return r||(t.setAttribute||(t=document.createElement("div")),t.setAttribute&&t.removeAttribute&&(t.setAttribute(e,""),r="function"==typeof t[e],"undefined"!=typeof t[e]&&(t[e]=null),t.removeAttribute(e))),t=null,r},n.toPixel=function(t){return n.throwIfNullOrUndefined(t,this,"toPixel","pixelAmount"),t.toString()+e.CssConstants.pixelUnits},n.getPropertyCount=function(e){return n.throwIfNullOrUndefined(e,this,"getPropertyCount","object"),Object.getOwnPropertyNames(e).length},n.getFileExtension=function(e){if(e){var t=e.lastIndexOf(".");if(t>=0)return e.substr(t+1)}return""},n.extractFileNameFromPath=function(e){return e.replace(/^.*[\\\/]/,"")},n.canUseClipboard=function(){return"undefined"==typeof MSApp},n.is64BitOperatingSystem=function(){return-1!==navigator.userAgent.indexOf("WOW64")||-1!==navigator.userAgent.indexOf("Win64")},n.parseNumber=function(e,t){if(null===e)return null;if(void 0===e)return t;var r=Number(e);return isFinite(r)?r:isNaN(r)&&"number"!=typeof e&&"NaN"!==e?t:r},n.getURLParamValue=function(e){var t=new RegExp("[?&]"+e+"=([^&#]*)").exec(window.location.href);return null==t?null:t[1]||0},n.getLocalTimeZoneString=function(){var e,t=new Date(Date.UTC(2005,6,30,0,0,0,0)),r=-1*t.getTimezoneOffset(),n=new Date(Date.UTC(2005,12,30,0,0,0,0)),o=-1*n.getTimezoneOffset();return e=-720===r&&-720===o?"Dateline Standard Time":-660===r&&-660===o?"UTC-11":-660===r&&-660===o?"Samoa Standard Time":-600===r&&-600===o?"Hawaiian Standard Time":-480===r&&-540===o?"Alaskan Standard Time":-420===r&&-480===o?"Pacific Standard Time":-420===r&&-420===o?"US Mountain Standard Time":-360===r&&-420===o?"Mountain Standard Time":-360===r&&-360===o?"Central America Standard Time":-300===r&&-360===o?"Central Standard Time":-300===r&&-300===o?"SA Pacific Standard Time":-240===r&&-300===o?"Eastern Standard Time":-270===r&&-270===o?"Venezuela Standard Time":-240===r&&-240===o?"SA Western Standard Time":-240===r&&-180===o?"Central Brazilian Standard Time":-180===r&&-240===o?"Atlantic Standard Time":-180===r&&-180===o?"Montevideo Standard Time":-180===r&&-120===o?"E. South America Standard Time":-150===r&&-210===o?"Mid-Atlantic Standard Time":-120===r&&-120===o?"SA Eastern Standard Time":0===r&&0===o?"UTC":60===r&&0===o?"GMT Standard Time":60===r&&120===o?"Namibia Standard Time":120===r&&60===o?"Romance Standard Time":120===r&&120===o?"South Africa Standard Time":180===r&&120===o?"GTB Standard Time":180===r&&180===o?"E. Africa Standard Time":240===r&&180===o?"Russian Standard Time":240===r&&240===o?"Arabian Standard Time":270===r&&210===o?"Iran Standard Time":270===r&&270===o?"Afghanistan Standard Time":300===r&&240===o?"Pakistan Standard Time":300===r&&300===o?"West Asia Standard Time":330===r&&330===o?"India Standard Time":345===r&&345===o?"Nepal Standard Time":360===r&&300===o?"N. Central Asia Standard Time":360===r&&360===o?"Central Asia Standard Time":390===r&&390===o?"Myanmar Standard Time":420===r&&360===o?"North Asia Standard Time":420===r&&420===o?"SE Asia Standard Time":480===r&&420===o?"North Asia East Standard Time":480===r&&480===o?"China Standard Time":540===r&&480===o?"Yakutsk Standard Time":540===r&&540===o?"Tokyo Standard Time":570===r&&570===o?"Cen. Australia Standard Time":600===r&&600===o?"E. Australia Standard Time":600===r&&660===o?"AUS Eastern Standard Time":660===r&&600===o?"Tasmania Standard Time":660===r&&660===o?"West Pacific Standard Time":690===r&&690===o?"Central Pacific Standard Time":720===r&&660===o?"Magadan Standard Time":720===r&&720===o?"Fiji Standard Time":720===r&&780===o?"New Zealand Standard Time":780===r&&780===o?"Tonga Standard Time":"UTC"},n.TypeNamespace="http://schemas.microsoft.com/sqlbi/2013/01/NLRuntimeService",n.JsonContentType="application/json",n.JpegContentType="image/jpeg",n.XJavascriptContentType="application/x-javascript",n.JsonDataType="json",n.BlobDataType="blob",n.HttpGetMethod="GET",n.HttpPostMethod="POST",n.HttpPutMethod="PUT",n.HttpDeleteMethod="DELETE",n.HttpContentTypeHeader="Content-Type",n.HttpAcceptHeader="Accept",n.Undefined="undefined",n.staticContentLocation=window.location.protocol+"//"+window.location.host,n}();e.Utility=n;var o=function(){function e(){}return e.compareVersions=function(e,t){for(var r=e.split(".").map(parseFloat),n=t.split(".").map(parseFloat),o=Math.max(r.length,n.length),i=0;o>i;i++){var a=r[i]||0,s=n[i]||0;if(a>s)return 1;if(s>a)return-1}return 0},e}();e.VersionUtility=o;var i;!function(e){function t(e){return new r(e)}var r=function(){function e(t){this._name=t,this._start=e.begin(t)}return e.begin=function(e){return void 0!==window.performance&&void 0!==performance.mark?(console.time,e="Begin "+e,performance.mark(e),e):void 0},e.prototype.end=function(){if(void 0!==window.performance&&void 0!==performance.mark&&void 0!==performance.measure){var e=this._name,t="End "+e;performance.mark(t),performance.measure(e,this._start,t),console.timeEnd}},e}();e.PerfMarker=r,e.create=t}(i=e.PerformanceUtil||(e.PerformanceUtil={}));var a;!function(e){function t(e){var t,r,n;return window.requestAnimationFrame||(window.requestAnimationFrame=function(e){return setTimeout(e,20)}),function(){t||(t=!0,r=arguments,n=this,window.requestAnimationFrame(function(){t=!1,e.apply(n,r)}))}}e.deferUntilNextFrame=t}(a=e.DeferUtility||(e.DeferUtility={}))}(jsCommon||(jsCommon={}));var jsCommon;!function(e){var t=function(){function t(e,t,r,n){this.text=e,this.type=t,this.sessionId=r,this.requestId=n,this.timeStamp=new Date}return t.prototype.toString=function(){var r="";return r+=e.StringExtensions.format("{0} ({1}): {2}",t.traceTypeStrings[this.type],this.timeStamp.toUTCString(),this.text),this.requestId&&(r+="\n(Request id: "+this.requestId+")"),r},t.traceTypeStrings=["INFORMATION","VERBOSE","WARNING","ERROR","EXPECTEDERROR","UNEXPECTEDERROR","FATAL"],t}();e.TraceItem=t}(jsCommon||(jsCommon={}));var jsCommon;!function(e){var t;!function(t){function r(t){if(e.StringExtensions.isNullOrEmpty(t))return!1;var r=e.RegExpExtensions.run(a,t);return!(!r||0!==r.index)}function n(e){return r(e)}function o(t){if(e.StringExtensions.isNullOrEmpty(t))return[];for(var r,n=[],o=0;null!==(r=e.RegExpExtensions.run(a,t,o));){var i=r[0],s=r.index+i.length;n.push({start:r.index,end:s,text:i}),o=s}return n}function i(e){if(0!==e.indexOf("data:"))throw new Error("Expected data uri");var t=";base64,",r=e.indexOf(t);if(0>r)throw new Error("Expected base 64 content in data url");var n=r+t.length;return e.substr(n,e.length-n)}var a=/http[s]?:\/\/(\S)+/gi;t.isValidUrl=r,t.isValidImageUrl=n,t.findAllValidUrls=o,t.getBase64ContentFromDataUri=i}(t=e.UrlUtils||(e.UrlUtils={}))}(jsCommon||(jsCommon={}));var jsCommon;!function(e){var t;!function(e){function t(){var e=window.navigator.vendor||"",t=window.navigator.userAgent.toLowerCase();return e.toLowerCase().indexOf("google")>-1&&t.indexOf("chrome")>-1&&-1===t.indexOf("edge")&&-1===t.indexOf("opr")}function r(){var e=window.navigator.userAgent.toLowerCase();return e.indexOf("msie")>-1||e.indexOf("trident")>-1||e.indexOf("edge")>-1}function n(){var e=0;if("Microsoft Internet Explorer"===navigator.appName||window.navigator.userAgent.indexOf("MSIE")>=0){var t=new RegExp("MSIE ([0-9]{1,}[\\.0-9]{0,})"),r=t.exec(window.navigator.userAgent);r&&(e=parseFloat(r[1]))}return e}e.isChrome=t,e.isInternetExplorerOrEdge=r,e.getInternetExplorerVersion=n}(t=e.BrowserUtils||(e.BrowserUtils={}))}(jsCommon||(jsCommon={}));var jsCommon;!function(e){var t;!function(e){function t(e,t){return(e&t)===t}function r(e,t){return e|=t}function n(e,t){return e&=~t}function o(e,t){return e[t]}e.hasFlag=t,e.setFlag=r,e.resetFlag=n,e.toString=o}(t=e.EnumExtensions||(e.EnumExtensions={}));var r;!function(e){function t(e,t){return-1!==e.indexOf(t,e.length-t.length)}e.endsWith=t}(r=e.StringExtensions||(e.StringExtensions={}));var n;!function(e){function t(e,t){return(e||t)&&!(e&&t)}e.XOR=t}(n=e.LogicExtensions||(e.LogicExtensions={}));var o;!function(e){function t(e,t){return e===t?!0:JSON.stringify(e)===JSON.stringify(t)}e.equals=t}(o=e.JsonComparer||(e.JsonComparer={}));var i;!function(e){function t(t){return(t-e.TextSizeMin)/r}e.TextSizeMin=8,e.TextSizeMax=40;var r=e.TextSizeMax-e.TextSizeMin;e.getScale=t}(i=e.TextSizeDefaults||(e.TextSizeDefaults={}));var a;!function(e){function t(e){return e+a}function r(e){return t(n(e))}function n(e){return i*e}function o(e){return e/i}var i=4/3,a="px";e.toString=t,e.fromPoint=r,e.fromPointToPixel=n,e.toPoint=o}(a=e.PixelConverter||(e.PixelConverter={}));var s;!function(e){function t(e,t,r){return e.lastIndex=r||0,e.exec(t)}e.run=t}(s=e.RegExpExtensions||(e.RegExpExtensions={}))}(jsCommon||(jsCommon={}));var powerbi;!function(e){var t;!function(e){var t;!function(e){var t;!function(e){function t(e){var t=e.get(0).style,r=t.transform||t.webkitTransform;if(r){var n=r.match(/rotate\((-?\d+(?:\.\d*)?)deg\)/);if(n)return parseFloat(n[1])}return 0}function r(e){var t=e.get(0).style,r=t.transform||t.webkitTransform,n={x:0,y:0};if(r&&r.length>0){var o=r.match(/translate\((-?\d+(?:\.\d*)?)px, (-?\d+(?:\.\d*)?)px\)/);o&&(n.x=parseFloat(o[1]),n.y=parseFloat(o[2]))}return n}function n(e){return e?{left:parseFloat(e.css("padding-left"))||0,right:parseFloat(e.css("padding-right"))||0,top:parseFloat(e.css("padding-top"))||0,bottom:parseFloat(e.css("padding-bottom"))||0}:void 0}e.getRotateAngleFromElement=t,e.getTranslateTransformFromElement=r,e.getPadding=n}(t=e.StyleUtils||(e.StyleUtils={}))}(t=e.utility||(e.utility={}))}(t=e.visuals||(e.visuals={}))}(powerbi||(powerbi={}));var jsCommon;!function(e){var t=function(){function t(){}return t.prototype.logTrace=function(t){if(DEBUG)switch(t.type){case e.TraceType.Information:break;case e.TraceType.UnexpectedError:case e.TraceType.Error:case e.TraceType.Fatal:break;case e.TraceType.ExpectedError:case e.TraceType.Warning:break;case e.TraceType.Verbose:}},t}();e.ConsoleTracer=t;var r;!function(r){
3function n(t,r){d(new e.TraceItem(t,e.TraceType.Warning,r))}function o(t,r,n){r&&(t=e.StringExtensions.format("{0}.\nStack:\n{1}",t,e.getStackTrace())),d(new e.TraceItem(t,e.TraceType.Error,n))}function i(t,r){d(new e.TraceItem(t,e.TraceType.Verbose,r))}function a(e){y.push(e)}function s(e){var t=y.indexOf(e);t>=0&&y.splice(t,1)}function u(){y=new Array(v)}function g(){m=-1}function c(){if(!(0>m)){for(var e=new Array(m+1),t=0;m>=t;t++)e[t]=h[t];return e}}function l(){s(v)}function f(){a(v)}function d(e){m+1>=p&&g(),h[++m]=e;for(var t=0,r=y.length;r>t;t++)y[t].logTrace(e)}var p=1e3,h=new Array(p),m=-1,v=new t,y=new Array(v);r.warning=n,r.error=o,r.verbose=i,r.addListener=a,r.removeListener=s,r.resetListeners=u,r.reset=g,r.getTraces=c,r.disableDefaultListener=l,r.enableDefaultListener=f}(r=e.Trace||(e.Trace={}))}(jsCommon||(jsCommon={}));var jsCommon;!function(e){!function(e){e[e.Information=0]="Information",e[e.Verbose=1]="Verbose",e[e.Warning=2]="Warning",e[e.Error=3]="Error",e[e.ExpectedError=4]="ExpectedError",e[e.UnexpectedError=5]="UnexpectedError",e[e.Fatal=6]="Fatal"}(e.TraceType||(e.TraceType={}));e.TraceType}(jsCommon||(jsCommon={}));var jsCommon;!function(e){function t(t){void 0===t&&(t=_.noop),e.requires(u,t)}function r(t,r){var n=powerbi.Prototype.inherit(g);_.isEmpty(t)||(n.javaScriptFilesWithCallback[0].javascriptFile=i.concat("&mkt="+t)),e.requires(n,r)}function n(){a=!0,s&&(s.resolve(),s=void 0)}function o(){var e;return a?(e=$.Deferred(),e.resolve()):e=s=$.Deferred(),e.promise()}var i="https://ecn.dev.virtualearth.net/mapcontrol/mapcontrol.ashx?v=7.0&s=1&onscriptload=globalMapControlLoaded",a=!1,s=null,u={javaScriptFiles:[powerbi.build+"/externals/pv/webclient.js"],cssFiles:[powerbi.build+"/externals/pv/Styles/_all.css"],javaScriptFilesWithCallback:[{javascriptFile:i,onLoadCallback:o}]};e.ensurePowerView=t;var g={javaScriptFilesWithCallback:[{javascriptFile:i,onLoadCallback:o}]};e.ensureMap=r,e.mapControlLoaded=n,e.waitForMapControlLoaded=o}(jsCommon||(jsCommon={}));var globalMapControlLoaded=function(){jsCommon.mapControlLoaded()},InJs;!function(e){!function(e){e[e.information=0]="information",e[e.verbose=1]="verbose",e[e.warning=2]="warning",e[e.error=3]="error",e[e.expectedError=4]="expectedError",e[e.unexpectedError=5]="unexpectedError",e[e.fatal=6]="fatal"}(e.TraceType||(e.TraceType={}));e.TraceType}(InJs||(InJs={}));
4//# sourceMappingURL=VisualsCommon.min.js.map