-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtableau.extensions.1.latest.min.js
2 lines (2 loc) · 309 KB
/
tableau.extensions.1.latest.min.js
1
2
(()=>{var e={3e3:(e,t,r)=>{r(5092);var n=r(7880);e.exports=n("Array","find")},8315:(e,t,r)=>{r(8504),r(5684);var n=r(340);e.exports=n.Array.from},80:(e,t,r)=>{r(3924),r(472),r(7912),r(8504);var n=r(340);e.exports=n.Map},5668:(e,t,r)=>{r(1300);var n=r(340);e.exports=n.Number.isInteger},5816:(e,t,r)=>{r(3656);var n=r(340);e.exports=n.Number.isNaN},3680:(e,t,r)=>{r(6544);var n=r(340);e.exports=n.Number.parseFloat},9308:(e,t,r)=>{r(7972);var n=r(340);e.exports=n.Number.parseInt},8824:(e,t,r)=>{r(6368);var n=r(340);e.exports=n.Object.assign},8512:(e,t,r)=>{r(8292);var n=r(340);e.exports=n.Object.entries},9232:(e,t,r)=>{r(920);var n=r(340);e.exports=n.Object.setPrototypeOf},9336:(e,t,r)=>{r(6140),r(3924),r(7912),r(7448),r(3936),r(5428),r(1517),r(8504);var n=r(340);e.exports=n.Promise},1381:(e,t,r)=>{var n=r(1600),i=r(984),o=r(1532),a=n.TypeError;e.exports=function(e){if(i(e))return e;throw a(o(e)+" is not a function")}},6372:(e,t,r)=>{var n=r(1600),i=r(5220),o=r(1532),a=n.TypeError;e.exports=function(e){if(i(e))return e;throw a(o(e)+" is not a constructor")}},4040:(e,t,r)=>{var n=r(1600),i=r(984),o=n.String,a=n.TypeError;e.exports=function(e){if("object"==typeof e||i(e))return e;throw a("Can't set "+o(e)+" as a prototype")}},5868:(e,t,r)=>{var n=r(3668),i=r(124),o=r(7072),a=n("unscopables"),s=Array.prototype;null==s[a]&&o.f(s,a,{configurable:!0,value:i(null)}),e.exports=function(e){s[a][e]=!0}},2932:(e,t,r)=>{var n=r(1600),i=r(2408),o=n.TypeError;e.exports=function(e,t){if(i(t,e))return e;throw o("Incorrect invocation")}},3736:(e,t,r)=>{var n=r(1600),i=r(9952),o=n.String,a=n.TypeError;e.exports=function(e){if(i(e))return e;throw a(o(e)+" is not an object")}},8208:(e,t,r)=>{"use strict";var n=r(1600),i=r(5616),o=r(3032),a=r(3848),s=r(3140),u=r(4064),l=r(5220),c=r(9183),p=r(4135),d=r(4944),f=r(8132),y=n.Array;e.exports=function(e){var t=a(e),r=l(this),n=arguments.length,h=n>1?arguments[1]:void 0,m=void 0!==h;m&&(h=i(h,n>2?arguments[2]:void 0));var g,v,b,I,S,_,T=f(t),P=0;if(!T||this==y&&u(T))for(g=c(t),v=r?new this(g):y(g);g>P;P++)_=m?h(t[P],P):t[P],p(v,P,_);else for(S=(I=d(t,T)).next,v=r?new this:[];!(b=o(S,I)).done;P++)_=m?s(I,h,[b.value,P],!0):b.value,p(v,P,_);return v.length=P,v}},6024:(e,t,r)=>{var n=r(3068),i=r(7920),o=r(9183),a=function(e){return function(t,r,a){var s,u=n(t),l=o(u),c=i(a,l);if(e&&r!=r){for(;l>c;)if((s=u[c++])!=s)return!0}else for(;l>c;c++)if((e||c in u)&&u[c]===r)return e||c||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},9560:(e,t,r)=>{var n=r(5616),i=r(604),o=r(3188),a=r(3848),s=r(9183),u=r(1220),l=i([].push),c=function(e){var t=1==e,r=2==e,i=3==e,c=4==e,p=6==e,d=7==e,f=5==e||p;return function(y,h,m,g){for(var v,b,I=a(y),S=o(I),_=n(h,m),T=s(S),P=0,A=g||u,E=t?A(y,T):r||d?A(y,0):void 0;T>P;P++)if((f||P in S)&&(b=_(v=S[P],P,I),e))if(t)E[P]=b;else if(b)switch(e){case 3:return!0;case 5:return v;case 6:return P;case 2:l(E,v)}else switch(e){case 4:return!1;case 7:l(E,v)}return p?-1:i||c?c:E}};e.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6),filterReject:c(7)}},6100:(e,t,r)=>{var n=r(604);e.exports=n([].slice)},4096:(e,t,r)=>{var n=r(1600),i=r(5240),o=r(5220),a=r(9952),s=r(3668)("species"),u=n.Array;e.exports=function(e){var t;return i(e)&&(t=e.constructor,(o(t)&&(t===u||i(t.prototype))||a(t)&&null===(t=t[s]))&&(t=void 0)),void 0===t?u:t}},1220:(e,t,r)=>{var n=r(4096);e.exports=function(e,t){return new(n(e))(0===t?0:t)}},3140:(e,t,r)=>{var n=r(3736),i=r(1792);e.exports=function(e,t,r,o){try{return o?t(n(r)[0],r[1]):t(r)}catch(t){i(e,"throw",t)}}},6344:(e,t,r)=>{var n=r(3668)("iterator"),i=!1;try{var o=0,a={next:function(){return{done:!!o++}},return:function(){i=!0}};a[n]=function(){return this},Array.from(a,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!i)return!1;var r=!1;try{var o={};o[n]=function(){return{next:function(){return{done:r=!0}}}},e(o)}catch(e){}return r}},4108:(e,t,r)=>{var n=r(604),i=n({}.toString),o=n("".slice);e.exports=function(e){return o(i(e),8,-1)}},1248:(e,t,r)=>{var n=r(1600),i=r(7796),o=r(984),a=r(4108),s=r(3668)("toStringTag"),u=n.Object,l="Arguments"==a(function(){return arguments}());e.exports=i?a:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=u(e),s))?r:l?a(t):"Object"==(n=a(t))&&o(t.callee)?"Arguments":n}},5032:(e,t,r)=>{var n=r(604),i=r(6100),o=n("".replace),a=n("".split),s=n([].join),u=String(Error("zxcasd").stack),l=/\n\s*at [^:]*:[^\n]*/,c=l.test(u),p=/@[^\n]*\n/.test(u)&&!/zxcasd/.test(u);e.exports=function(e,t){if("string"!=typeof e)return e;if(c)for(;t--;)e=o(e,l,"");else if(p)return s(i(a(e,"\n"),t),"\n");return e}},9920:(e,t,r)=>{"use strict";var n=r(7072).f,i=r(124),o=r(7431),a=r(5616),s=r(2932),u=r(9928),l=r(2648),c=r(9688),p=r(2828),d=r(8756).fastKey,f=r(7932),y=f.set,h=f.getterFor;e.exports={getConstructor:function(e,t,r,l){var c=e((function(e,n){s(e,f),y(e,{type:t,index:i(null),first:void 0,last:void 0,size:0}),p||(e.size=0),null!=n&&u(n,e[l],{that:e,AS_ENTRIES:r})})),f=c.prototype,m=h(t),g=function(e,t,r){var n,i,o=m(e),a=v(e,t);return a?a.value=r:(o.last=a={index:i=d(t,!0),key:t,value:r,previous:n=o.last,next:void 0,removed:!1},o.first||(o.first=a),n&&(n.next=a),p?o.size++:e.size++,"F"!==i&&(o.index[i]=a)),e},v=function(e,t){var r,n=m(e),i=d(t);if("F"!==i)return n.index[i];for(r=n.first;r;r=r.next)if(r.key==t)return r};return o(f,{clear:function(){for(var e=m(this),t=e.index,r=e.first;r;)r.removed=!0,r.previous&&(r.previous=r.previous.next=void 0),delete t[r.index],r=r.next;e.first=e.last=void 0,p?e.size=0:this.size=0},delete:function(e){var t=this,r=m(t),n=v(t,e);if(n){var i=n.next,o=n.previous;delete r.index[n.index],n.removed=!0,o&&(o.next=i),i&&(i.previous=o),r.first==n&&(r.first=i),r.last==n&&(r.last=o),p?r.size--:t.size--}return!!n},forEach:function(e){for(var t,r=m(this),n=a(e,arguments.length>1?arguments[1]:void 0);t=t?t.next:r.first;)for(n(t.value,t.key,this);t&&t.removed;)t=t.previous},has:function(e){return!!v(this,e)}}),o(f,r?{get:function(e){var t=v(this,e);return t&&t.value},set:function(e,t){return g(this,0===e?0:e,t)}}:{add:function(e){return g(this,e=0===e?0:e,e)}}),p&&n(f,"size",{get:function(){return m(this).size}}),c},setStrong:function(e,t,r){var n=t+" Iterator",i=h(t),o=h(n);l(e,t,(function(e,t){y(this,{type:n,target:e,state:i(e),kind:t,last:void 0})}),(function(){for(var e=o(this),t=e.kind,r=e.last;r&&r.removed;)r=r.previous;return e.target&&(e.last=r=r?r.next:e.state.first)?"keys"==t?{value:r.key,done:!1}:"values"==t?{value:r.value,done:!1}:{value:[r.key,r.value],done:!1}:(e.target=void 0,{value:void 0,done:!0})}),r?"entries":"values",!r,!0),c(t)}}},6064:(e,t,r)=>{"use strict";var n=r(7248),i=r(1600),o=r(604),a=r(4232),s=r(5028),u=r(8756),l=r(9928),c=r(2932),p=r(984),d=r(9952),f=r(7004),y=r(6344),h=r(9540),m=r(7692);e.exports=function(e,t,r){var g=-1!==e.indexOf("Map"),v=-1!==e.indexOf("Weak"),b=g?"set":"add",I=i[e],S=I&&I.prototype,_=I,T={},P=function(e){var t=o(S[e]);s(S,e,"add"==e?function(e){return t(this,0===e?0:e),this}:"delete"==e?function(e){return!(v&&!d(e))&&t(this,0===e?0:e)}:"get"==e?function(e){return v&&!d(e)?void 0:t(this,0===e?0:e)}:"has"==e?function(e){return!(v&&!d(e))&&t(this,0===e?0:e)}:function(e,r){return t(this,0===e?0:e,r),this})};if(a(e,!p(I)||!(v||S.forEach&&!f((function(){(new I).entries().next()})))))_=r.getConstructor(t,e,g,b),u.enable();else if(a(e,!0)){var A=new _,E=A[b](v?{}:-0,1)!=A,w=f((function(){A.has(1)})),O=y((function(e){new I(e)})),D=!v&&f((function(){for(var e=new I,t=5;t--;)e[b](t,t);return!e.has(-0)}));O||((_=t((function(e,t){c(e,S);var r=m(new I,e,_);return null!=t&&l(t,r[b],{that:r,AS_ENTRIES:g}),r}))).prototype=S,S.constructor=_),(w||D)&&(P("delete"),P("has"),g&&P("get")),(D||E)&&P(b),v&&S.clear&&delete S.clear}return T[e]=_,n({global:!0,forced:_!=I},T),h(_,e),v||r.setStrong(_,e,g),_}},4640:(e,t,r)=>{var n=r(9180),i=r(4092),o=r(2920),a=r(7072);e.exports=function(e,t){for(var r=i(t),s=a.f,u=o.f,l=0;l<r.length;l++){var c=r[l];n(e,c)||s(e,c,u(t,c))}}},1040:(e,t,r)=>{var n=r(7004);e.exports=!n((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},9292:(e,t,r)=>{"use strict";var n=r(804).IteratorPrototype,i=r(124),o=r(364),a=r(9540),s=r(2204),u=function(){return this};e.exports=function(e,t,r){var l=t+" Iterator";return e.prototype=i(n,{next:o(1,r)}),a(e,l,!1,!0),s[l]=u,e}},4768:(e,t,r)=>{var n=r(2828),i=r(7072),o=r(364);e.exports=n?function(e,t,r){return i.f(e,t,o(1,r))}:function(e,t,r){return e[t]=r,e}},364:e=>{e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},4135:(e,t,r)=>{"use strict";var n=r(4061),i=r(7072),o=r(364);e.exports=function(e,t,r){var a=n(t);a in e?i.f(e,a,o(0,r)):e[a]=r}},2648:(e,t,r)=>{"use strict";var n=r(7248),i=r(3032),o=r(7408),a=r(8492),s=r(984),u=r(9292),l=r(6232),c=r(3440),p=r(9540),d=r(4768),f=r(5028),y=r(3668),h=r(2204),m=r(804),g=a.PROPER,v=a.CONFIGURABLE,b=m.IteratorPrototype,I=m.BUGGY_SAFARI_ITERATORS,S=y("iterator"),_="keys",T="values",P="entries",A=function(){return this};e.exports=function(e,t,r,a,y,m,E){u(r,t,a);var w,O,D,x=function(e){if(e===y&&k)return k;if(!I&&e in N)return N[e];switch(e){case _:case T:case P:return function(){return new r(this,e)}}return function(){return new r(this)}},F=t+" Iterator",C=!1,N=e.prototype,M=N[S]||N["@@iterator"]||y&&N[y],k=!I&&M||x(y),R="Array"==t&&N.entries||M;if(R&&(w=l(R.call(new e)))!==Object.prototype&&w.next&&(o||l(w)===b||(c?c(w,b):s(w[S])||f(w,S,A)),p(w,F,!0,!0),o&&(h[F]=A)),g&&y==T&&M&&M.name!==T&&(!o&&v?d(N,"name",T):(C=!0,k=function(){return i(M,this)})),y)if(O={values:x(T),keys:m?k:x(_),entries:x(P)},E)for(D in O)(I||C||!(D in N))&&f(N,D,O[D]);else n({target:t,proto:!0,forced:I||C},O);return o&&!E||N[S]===k||f(N,S,k,{name:y}),h[t]=k,O}},2828:(e,t,r)=>{var n=r(7004);e.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},7300:(e,t,r)=>{var n=r(1600),i=r(9952),o=n.document,a=i(o)&&i(o.createElement);e.exports=function(e){return a?o.createElement(e):{}}},4532:e=>{e.exports="object"==typeof window},264:(e,t,r)=>{var n=r(5316),i=r(1600);e.exports=/ipad|iphone|ipod/i.test(n)&&void 0!==i.Pebble},1588:(e,t,r)=>{var n=r(5316);e.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(n)},3640:(e,t,r)=>{var n=r(4108),i=r(1600);e.exports="process"==n(i.process)},7888:(e,t,r)=>{var n=r(5316);e.exports=/web0s(?!.*chrome)/i.test(n)},5316:(e,t,r)=>{var n=r(6532);e.exports=n("navigator","userAgent")||""},2592:(e,t,r)=>{var n,i,o=r(1600),a=r(5316),s=o.process,u=o.Deno,l=s&&s.versions||u&&u.version,c=l&&l.v8;c&&(i=(n=c.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!i&&a&&(!(n=a.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=a.match(/Chrome\/(\d+)/))&&(i=+n[1]),e.exports=i},7880:(e,t,r)=>{var n=r(1600),i=r(604);e.exports=function(e,t){return i(n[e].prototype[t])}},8675:e=>{e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},4464:(e,t,r)=>{var n=r(7004),i=r(364);e.exports=!n((function(){var e=Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",i(1,7)),7!==e.stack)}))},7248:(e,t,r)=>{var n=r(1600),i=r(2920).f,o=r(4768),a=r(5028),s=r(2984),u=r(4640),l=r(4232);e.exports=function(e,t){var r,c,p,d,f,y=e.target,h=e.global,m=e.stat;if(r=h?n:m?n[y]||s(y,{}):(n[y]||{}).prototype)for(c in t){if(d=t[c],p=e.noTargetGet?(f=i(r,c))&&f.value:r[c],!l(h?c:y+(m?".":"#")+c,e.forced)&&void 0!==p){if(typeof d==typeof p)continue;u(d,p)}(e.sham||p&&p.sham)&&o(d,"sham",!0),a(r,c,d,e)}}},7004:e=>{e.exports=function(e){try{return!!e()}catch(e){return!0}}},1748:(e,t,r)=>{var n=r(7004);e.exports=!n((function(){return Object.isExtensible(Object.preventExtensions({}))}))},9756:e=>{var t=Function.prototype,r=t.apply,n=t.bind,i=t.call;e.exports="object"==typeof Reflect&&Reflect.apply||(n?i.bind(r):function(){return i.apply(r,arguments)})},5616:(e,t,r)=>{var n=r(604),i=r(1381),o=n(n.bind);e.exports=function(e,t){return i(e),void 0===t?e:o?o(e,t):function(){return e.apply(t,arguments)}}},3032:e=>{var t=Function.prototype.call;e.exports=t.bind?t.bind(t):function(){return t.apply(t,arguments)}},8492:(e,t,r)=>{var n=r(2828),i=r(9180),o=Function.prototype,a=n&&Object.getOwnPropertyDescriptor,s=i(o,"name"),u=s&&"something"===function(){}.name,l=s&&(!n||n&&a(o,"name").configurable);e.exports={EXISTS:s,PROPER:u,CONFIGURABLE:l}},604:e=>{var t=Function.prototype,r=t.bind,n=t.call,i=r&&r.bind(n);e.exports=r?function(e){return e&&i(n,e)}:function(e){return e&&function(){return n.apply(e,arguments)}}},6532:(e,t,r)=>{var n=r(1600),i=r(984);e.exports=function(e,t){return arguments.length<2?(r=n[e],i(r)?r:void 0):n[e]&&n[e][t];var r}},8132:(e,t,r)=>{var n=r(1248),i=r(8808),o=r(2204),a=r(3668)("iterator");e.exports=function(e){if(null!=e)return i(e,a)||i(e,"@@iterator")||o[n(e)]}},4944:(e,t,r)=>{var n=r(1600),i=r(3032),o=r(1381),a=r(3736),s=r(1532),u=r(8132),l=n.TypeError;e.exports=function(e,t){var r=arguments.length<2?u(e):t;if(o(r))return a(i(r,e));throw l(s(e)+" is not iterable")}},8808:(e,t,r)=>{var n=r(1381);e.exports=function(e,t){var r=e[t];return null==r?void 0:n(r)}},1600:(e,t,r)=>{var n=function(e){return e&&e.Math==Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||function(){return this}()||Function("return this")()},9180:(e,t,r)=>{var n=r(604),i=r(3848),o=n({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return o(i(e),t)}},6632:e=>{e.exports={}},5651:(e,t,r)=>{var n=r(1600);e.exports=function(e,t){var r=n.console;r&&r.error&&(1==arguments.length?r.error(e):r.error(e,t))}},2960:(e,t,r)=>{var n=r(6532);e.exports=n("document","documentElement")},2339:(e,t,r)=>{var n=r(2828),i=r(7004),o=r(7300);e.exports=!n&&!i((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},3188:(e,t,r)=>{var n=r(1600),i=r(604),o=r(7004),a=r(4108),s=n.Object,u=i("".split);e.exports=o((function(){return!s("z").propertyIsEnumerable(0)}))?function(e){return"String"==a(e)?u(e,""):s(e)}:s},7692:(e,t,r)=>{var n=r(984),i=r(9952),o=r(3440);e.exports=function(e,t,r){var a,s;return o&&n(a=t.constructor)&&a!==r&&i(s=a.prototype)&&s!==r.prototype&&o(e,s),e}},1727:(e,t,r)=>{var n=r(604),i=r(984),o=r(6376),a=n(Function.toString);i(o.inspectSource)||(o.inspectSource=function(e){return a(e)}),e.exports=o.inspectSource},7660:(e,t,r)=>{var n=r(9952),i=r(4768);e.exports=function(e,t){n(t)&&"cause"in t&&i(e,"cause",t.cause)}},8756:(e,t,r)=>{var n=r(7248),i=r(604),o=r(6632),a=r(9952),s=r(9180),u=r(7072).f,l=r(4880),c=r(7316),p=r(6536),d=r(1748),f=!1,y=p("meta"),h=0,m=Object.isExtensible||function(){return!0},g=function(e){u(e,y,{value:{objectID:"O"+h++,weakData:{}}})},v=e.exports={enable:function(){v.enable=function(){},f=!0;var e=l.f,t=i([].splice),r={};r[y]=1,e(r).length&&(l.f=function(r){for(var n=e(r),i=0,o=n.length;i<o;i++)if(n[i]===y){t(n,i,1);break}return n},n({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:c.f}))},fastKey:function(e,t){if(!a(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!s(e,y)){if(!m(e))return"F";if(!t)return"E";g(e)}return e[y].objectID},getWeakData:function(e,t){if(!s(e,y)){if(!m(e))return!0;if(!t)return!1;g(e)}return e[y].weakData},onFreeze:function(e){return d&&f&&m(e)&&!s(e,y)&&g(e),e}};o[y]=!0},7932:(e,t,r)=>{var n,i,o,a=r(8736),s=r(1600),u=r(604),l=r(9952),c=r(4768),p=r(9180),d=r(6376),f=r(280),y=r(6632),h="Object already initialized",m=s.TypeError,g=s.WeakMap;if(a||d.state){var v=d.state||(d.state=new g),b=u(v.get),I=u(v.has),S=u(v.set);n=function(e,t){if(I(v,e))throw new m(h);return t.facade=e,S(v,e,t),t},i=function(e){return b(v,e)||{}},o=function(e){return I(v,e)}}else{var _=f("state");y[_]=!0,n=function(e,t){if(p(e,_))throw new m(h);return t.facade=e,c(e,_,t),t},i=function(e){return p(e,_)?e[_]:{}},o=function(e){return p(e,_)}}e.exports={set:n,get:i,has:o,enforce:function(e){return o(e)?i(e):n(e,{})},getterFor:function(e){return function(t){var r;if(!l(t)||(r=i(t)).type!==e)throw m("Incompatible receiver, "+e+" required");return r}}}},4064:(e,t,r)=>{var n=r(3668),i=r(2204),o=n("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(i.Array===e||a[o]===e)}},5240:(e,t,r)=>{var n=r(4108);e.exports=Array.isArray||function(e){return"Array"==n(e)}},984:e=>{e.exports=function(e){return"function"==typeof e}},5220:(e,t,r)=>{var n=r(604),i=r(7004),o=r(984),a=r(1248),s=r(6532),u=r(1727),l=function(){},c=[],p=s("Reflect","construct"),d=/^\s*(?:class|function)\b/,f=n(d.exec),y=!d.exec(l),h=function(e){if(!o(e))return!1;try{return p(l,c,e),!0}catch(e){return!1}};e.exports=!p||i((function(){var e;return h(h.call)||!h(Object)||!h((function(){e=!0}))||e}))?function(e){if(!o(e))return!1;switch(a(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return y||!!f(d,u(e))}:h},4232:(e,t,r)=>{var n=r(7004),i=r(984),o=/#|\.prototype\./,a=function(e,t){var r=u[s(e)];return r==c||r!=l&&(i(t)?n(t):!!t)},s=a.normalize=function(e){return String(e).replace(o,".").toLowerCase()},u=a.data={},l=a.NATIVE="N",c=a.POLYFILL="P";e.exports=a},992:(e,t,r)=>{var n=r(9952),i=Math.floor;e.exports=Number.isInteger||function(e){return!n(e)&&isFinite(e)&&i(e)===e}},9952:(e,t,r)=>{var n=r(984);e.exports=function(e){return"object"==typeof e?null!==e:n(e)}},7408:e=>{e.exports=!1},1836:(e,t,r)=>{var n=r(1600),i=r(6532),o=r(984),a=r(2408),s=r(7216),u=n.Object;e.exports=s?function(e){return"symbol"==typeof e}:function(e){var t=i("Symbol");return o(t)&&a(t.prototype,u(e))}},9928:(e,t,r)=>{var n=r(1600),i=r(5616),o=r(3032),a=r(3736),s=r(1532),u=r(4064),l=r(9183),c=r(2408),p=r(4944),d=r(8132),f=r(1792),y=n.TypeError,h=function(e,t){this.stopped=e,this.result=t},m=h.prototype;e.exports=function(e,t,r){var n,g,v,b,I,S,_,T=r&&r.that,P=!(!r||!r.AS_ENTRIES),A=!(!r||!r.IS_ITERATOR),E=!(!r||!r.INTERRUPTED),w=i(t,T),O=function(e){return n&&f(n,"normal",e),new h(!0,e)},D=function(e){return P?(a(e),E?w(e[0],e[1],O):w(e[0],e[1])):E?w(e,O):w(e)};if(A)n=e;else{if(!(g=d(e)))throw y(s(e)+" is not iterable");if(u(g)){for(v=0,b=l(e);b>v;v++)if((I=D(e[v]))&&c(m,I))return I;return new h(!1)}n=p(e,g)}for(S=n.next;!(_=o(S,n)).done;){try{I=D(_.value)}catch(e){f(n,"throw",e)}if("object"==typeof I&&I&&c(m,I))return I}return new h(!1)}},1792:(e,t,r)=>{var n=r(3032),i=r(3736),o=r(8808);e.exports=function(e,t,r){var a,s;i(e);try{if(!(a=o(e,"return"))){if("throw"===t)throw r;return r}a=n(a,e)}catch(e){s=!0,a=e}if("throw"===t)throw r;if(s)throw a;return i(a),r}},804:(e,t,r)=>{"use strict";var n,i,o,a=r(7004),s=r(984),u=r(124),l=r(6232),c=r(5028),p=r(3668),d=r(7408),f=p("iterator"),y=!1;[].keys&&("next"in(o=[].keys())?(i=l(l(o)))!==Object.prototype&&(n=i):y=!0),null==n||a((function(){var e={};return n[f].call(e)!==e}))?n={}:d&&(n=u(n)),s(n[f])||c(n,f,(function(){return this})),e.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:y}},2204:e=>{e.exports={}},9183:(e,t,r)=>{var n=r(1868);e.exports=function(e){return n(e.length)}},3104:(e,t,r)=>{var n,i,o,a,s,u,l,c,p=r(1600),d=r(5616),f=r(2920).f,y=r(5952).set,h=r(1588),m=r(264),g=r(7888),v=r(3640),b=p.MutationObserver||p.WebKitMutationObserver,I=p.document,S=p.process,_=p.Promise,T=f(p,"queueMicrotask"),P=T&&T.value;P||(n=function(){var e,t;for(v&&(e=S.domain)&&e.exit();i;){t=i.fn,i=i.next;try{t()}catch(e){throw i?a():o=void 0,e}}o=void 0,e&&e.enter()},h||v||g||!b||!I?!m&&_&&_.resolve?((l=_.resolve(void 0)).constructor=_,c=d(l.then,l),a=function(){c(n)}):v?a=function(){S.nextTick(n)}:(y=d(y,p),a=function(){y(n)}):(s=!0,u=I.createTextNode(""),new b(n).observe(u,{characterData:!0}),a=function(){u.data=s=!s})),e.exports=P||function(e){var t={fn:e,next:void 0};o&&(o.next=t),i||(i=t,a()),o=t}},3459:(e,t,r)=>{var n=r(1600);e.exports=n.Promise},3880:(e,t,r)=>{var n=r(2592),i=r(7004);e.exports=!!Object.getOwnPropertySymbols&&!i((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},8736:(e,t,r)=>{var n=r(1600),i=r(984),o=r(1727),a=n.WeakMap;e.exports=i(a)&&/native code/.test(o(a))},8071:(e,t,r)=>{"use strict";var n=r(1381),i=function(e){var t,r;this.promise=new e((function(e,n){if(void 0!==t||void 0!==r)throw TypeError("Bad Promise constructor");t=e,r=n})),this.resolve=n(t),this.reject=n(r)};e.exports.f=function(e){return new i(e)}},5744:(e,t,r)=>{var n=r(748);e.exports=function(e,t){return void 0===e?arguments.length<2?"":t:n(e)}},6016:(e,t,r)=>{var n=r(1600),i=r(7004),o=r(604),a=r(748),s=r(1688).trim,u=r(5320),l=o("".charAt),c=n.parseFloat,p=n.Symbol,d=p&&p.iterator,f=1/c(u+"-0")!=-1/0||d&&!i((function(){c(Object(d))}));e.exports=f?function(e){var t=s(a(e)),r=c(t);return 0===r&&"-"==l(t,0)?-0:r}:c},6556:(e,t,r)=>{var n=r(1600),i=r(7004),o=r(604),a=r(748),s=r(1688).trim,u=r(5320),l=n.parseInt,c=n.Symbol,p=c&&c.iterator,d=/^[+-]?0x/i,f=o(d.exec),y=8!==l(u+"08")||22!==l(u+"0x16")||p&&!i((function(){l(Object(p))}));e.exports=y?function(e,t){var r=s(a(e));return l(r,t>>>0||(f(d,r)?16:10))}:l},6984:(e,t,r)=>{"use strict";var n=r(2828),i=r(604),o=r(3032),a=r(7004),s=r(9880),u=r(2128),l=r(5988),c=r(3848),p=r(3188),d=Object.assign,f=Object.defineProperty,y=i([].concat);e.exports=!d||a((function(){if(n&&1!==d({b:1},d(f({},"a",{enumerable:!0,get:function(){f(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},r=Symbol(),i="abcdefghijklmnopqrst";return e[r]=7,i.split("").forEach((function(e){t[e]=e})),7!=d({},e)[r]||s(d({},t)).join("")!=i}))?function(e,t){for(var r=c(e),i=arguments.length,a=1,d=u.f,f=l.f;i>a;)for(var h,m=p(arguments[a++]),g=d?y(s(m),d(m)):s(m),v=g.length,b=0;v>b;)h=g[b++],n&&!o(f,m,h)||(r[h]=m[h]);return r}:d},124:(e,t,r)=>{var n,i=r(3736),o=r(1904),a=r(8675),s=r(6632),u=r(2960),l=r(7300),c=r(280),p="prototype",d="script",f=c("IE_PROTO"),y=function(){},h=function(e){return"<"+d+">"+e+"</"+d+">"},m=function(e){e.write(h("")),e.close();var t=e.parentWindow.Object;return e=null,t},g=function(){try{n=new ActiveXObject("htmlfile")}catch(e){}var e,t,r;g="undefined"!=typeof document?document.domain&&n?m(n):(t=l("iframe"),r="java"+d+":",t.style.display="none",u.appendChild(t),t.src=String(r),(e=t.contentWindow.document).open(),e.write(h("document.F=Object")),e.close(),e.F):m(n);for(var i=a.length;i--;)delete g[p][a[i]];return g()};s[f]=!0,e.exports=Object.create||function(e,t){var r;return null!==e?(y[p]=i(e),r=new y,y[p]=null,r[f]=e):r=g(),void 0===t?r:o(r,t)}},1904:(e,t,r)=>{var n=r(2828),i=r(7072),o=r(3736),a=r(3068),s=r(9880);e.exports=n?Object.defineProperties:function(e,t){o(e);for(var r,n=a(t),u=s(t),l=u.length,c=0;l>c;)i.f(e,r=u[c++],n[r]);return e}},7072:(e,t,r)=>{var n=r(1600),i=r(2828),o=r(2339),a=r(3736),s=r(4061),u=n.TypeError,l=Object.defineProperty;t.f=i?l:function(e,t,r){if(a(e),t=s(t),a(r),o)try{return l(e,t,r)}catch(e){}if("get"in r||"set"in r)throw u("Accessors not supported");return"value"in r&&(e[t]=r.value),e}},2920:(e,t,r)=>{var n=r(2828),i=r(3032),o=r(5988),a=r(364),s=r(3068),u=r(4061),l=r(9180),c=r(2339),p=Object.getOwnPropertyDescriptor;t.f=n?p:function(e,t){if(e=s(e),t=u(t),c)try{return p(e,t)}catch(e){}if(l(e,t))return a(!i(o.f,e,t),e[t])}},7316:(e,t,r)=>{var n=r(4108),i=r(3068),o=r(4880).f,a=r(6100),s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return s&&"Window"==n(e)?function(e){try{return o(e)}catch(e){return a(s)}}(e):o(i(e))}},4880:(e,t,r)=>{var n=r(9912),i=r(8675).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,i)}},2128:(e,t)=>{t.f=Object.getOwnPropertySymbols},6232:(e,t,r)=>{var n=r(1600),i=r(9180),o=r(984),a=r(3848),s=r(280),u=r(1040),l=s("IE_PROTO"),c=n.Object,p=c.prototype;e.exports=u?c.getPrototypeOf:function(e){var t=a(e);if(i(t,l))return t[l];var r=t.constructor;return o(r)&&t instanceof r?r.prototype:t instanceof c?p:null}},2408:(e,t,r)=>{var n=r(604);e.exports=n({}.isPrototypeOf)},9912:(e,t,r)=>{var n=r(604),i=r(9180),o=r(3068),a=r(6024).indexOf,s=r(6632),u=n([].push);e.exports=function(e,t){var r,n=o(e),l=0,c=[];for(r in n)!i(s,r)&&i(n,r)&&u(c,r);for(;t.length>l;)i(n,r=t[l++])&&(~a(c,r)||u(c,r));return c}},9880:(e,t,r)=>{var n=r(9912),i=r(8675);e.exports=Object.keys||function(e){return n(e,i)}},5988:(e,t)=>{"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,i=n&&!r.call({1:2},1);t.f=i?function(e){var t=n(this,e);return!!t&&t.enumerable}:r},3440:(e,t,r)=>{var n=r(604),i=r(3736),o=r(4040);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{(e=n(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(r,[]),t=r instanceof Array}catch(e){}return function(r,n){return i(r),o(n),t?e(r,n):r.__proto__=n,r}}():void 0)},5556:(e,t,r)=>{var n=r(2828),i=r(604),o=r(9880),a=r(3068),s=i(r(5988).f),u=i([].push),l=function(e){return function(t){for(var r,i=a(t),l=o(i),c=l.length,p=0,d=[];c>p;)r=l[p++],n&&!s(i,r)||u(d,e?[r,i[r]]:i[r]);return d}};e.exports={entries:l(!0),values:l(!1)}},2816:(e,t,r)=>{"use strict";var n=r(7796),i=r(1248);e.exports=n?{}.toString:function(){return"[object "+i(this)+"]"}},7540:(e,t,r)=>{var n=r(1600),i=r(3032),o=r(984),a=r(9952),s=n.TypeError;e.exports=function(e,t){var r,n;if("string"===t&&o(r=e.toString)&&!a(n=i(r,e)))return n;if(o(r=e.valueOf)&&!a(n=i(r,e)))return n;if("string"!==t&&o(r=e.toString)&&!a(n=i(r,e)))return n;throw s("Can't convert object to primitive value")}},4092:(e,t,r)=>{var n=r(6532),i=r(604),o=r(4880),a=r(2128),s=r(3736),u=i([].concat);e.exports=n("Reflect","ownKeys")||function(e){var t=o.f(s(e)),r=a.f;return r?u(t,r(e)):t}},340:(e,t,r)=>{var n=r(1600);e.exports=n},2699:e=>{e.exports=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}}},9467:(e,t,r)=>{var n=r(3736),i=r(9952),o=r(8071);e.exports=function(e,t){if(n(e),i(t)&&t.constructor===e)return t;var r=o.f(e);return(0,r.resolve)(t),r.promise}},7431:(e,t,r)=>{var n=r(5028);e.exports=function(e,t,r){for(var i in t)n(e,i,t[i],r);return e}},5028:(e,t,r)=>{var n=r(1600),i=r(984),o=r(9180),a=r(4768),s=r(2984),u=r(1727),l=r(7932),c=r(8492).CONFIGURABLE,p=l.get,d=l.enforce,f=String(String).split("String");(e.exports=function(e,t,r,u){var l,p=!!u&&!!u.unsafe,y=!!u&&!!u.enumerable,h=!!u&&!!u.noTargetGet,m=u&&void 0!==u.name?u.name:t;i(r)&&("Symbol("===String(m).slice(0,7)&&(m="["+String(m).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!o(r,"name")||c&&r.name!==m)&&a(r,"name",m),(l=d(r)).source||(l.source=f.join("string"==typeof m?m:""))),e!==n?(p?!h&&e[t]&&(y=!0):delete e[t],y?e[t]=r:a(e,t,r)):y?e[t]=r:s(t,r)})(Function.prototype,"toString",(function(){return i(this)&&p(this).source||u(this)}))},1840:(e,t,r)=>{var n=r(1600).TypeError;e.exports=function(e){if(null==e)throw n("Can't call method on "+e);return e}},2984:(e,t,r)=>{var n=r(1600),i=Object.defineProperty;e.exports=function(e,t){try{i(n,e,{value:t,configurable:!0,writable:!0})}catch(r){n[e]=t}return t}},9688:(e,t,r)=>{"use strict";var n=r(6532),i=r(7072),o=r(3668),a=r(2828),s=o("species");e.exports=function(e){var t=n(e),r=i.f;a&&t&&!t[s]&&r(t,s,{configurable:!0,get:function(){return this}})}},9540:(e,t,r)=>{var n=r(7072).f,i=r(9180),o=r(3668)("toStringTag");e.exports=function(e,t,r){e&&!i(e=r?e:e.prototype,o)&&n(e,o,{configurable:!0,value:t})}},280:(e,t,r)=>{var n=r(4624),i=r(6536),o=n("keys");e.exports=function(e){return o[e]||(o[e]=i(e))}},6376:(e,t,r)=>{var n=r(1600),i=r(2984),o="__core-js_shared__",a=n[o]||i(o,{});e.exports=a},4624:(e,t,r)=>{var n=r(7408),i=r(6376);(e.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.19.0",mode:n?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},7171:(e,t,r)=>{var n=r(3736),i=r(6372),o=r(3668)("species");e.exports=function(e,t){var r,a=n(e).constructor;return void 0===a||null==(r=n(a)[o])?t:i(r)}},5160:(e,t,r)=>{var n=r(604),i=r(9824),o=r(748),a=r(1840),s=n("".charAt),u=n("".charCodeAt),l=n("".slice),c=function(e){return function(t,r){var n,c,p=o(a(t)),d=i(r),f=p.length;return d<0||d>=f?e?"":void 0:(n=u(p,d))<55296||n>56319||d+1===f||(c=u(p,d+1))<56320||c>57343?e?s(p,d):n:e?l(p,d,d+2):c-56320+(n-55296<<10)+65536}};e.exports={codeAt:c(!1),charAt:c(!0)}},1688:(e,t,r)=>{var n=r(604),i=r(1840),o=r(748),a=r(5320),s=n("".replace),u="["+a+"]",l=RegExp("^"+u+u+"*"),c=RegExp(u+u+"*$"),p=function(e){return function(t){var r=o(i(t));return 1&e&&(r=s(r,l,"")),2&e&&(r=s(r,c,"")),r}};e.exports={start:p(1),end:p(2),trim:p(3)}},5952:(e,t,r)=>{var n,i,o,a,s=r(1600),u=r(9756),l=r(5616),c=r(984),p=r(9180),d=r(7004),f=r(2960),y=r(6100),h=r(7300),m=r(1588),g=r(3640),v=s.setImmediate,b=s.clearImmediate,I=s.process,S=s.Dispatch,_=s.Function,T=s.MessageChannel,P=s.String,A=0,E={},w="onreadystatechange";try{n=s.location}catch(e){}var O=function(e){if(p(E,e)){var t=E[e];delete E[e],t()}},D=function(e){return function(){O(e)}},x=function(e){O(e.data)},F=function(e){s.postMessage(P(e),n.protocol+"//"+n.host)};v&&b||(v=function(e){var t=y(arguments,1);return E[++A]=function(){u(c(e)?e:_(e),void 0,t)},i(A),A},b=function(e){delete E[e]},g?i=function(e){I.nextTick(D(e))}:S&&S.now?i=function(e){S.now(D(e))}:T&&!m?(a=(o=new T).port2,o.port1.onmessage=x,i=l(a.postMessage,a)):s.addEventListener&&c(s.postMessage)&&!s.importScripts&&n&&"file:"!==n.protocol&&!d(F)?(i=F,s.addEventListener("message",x,!1)):i=w in h("script")?function(e){f.appendChild(h("script"))[w]=function(){f.removeChild(this),O(e)}}:function(e){setTimeout(D(e),0)}),e.exports={set:v,clear:b}},7920:(e,t,r)=>{var n=r(9824),i=Math.max,o=Math.min;e.exports=function(e,t){var r=n(e);return r<0?i(r+t,0):o(r,t)}},3068:(e,t,r)=>{var n=r(3188),i=r(1840);e.exports=function(e){return n(i(e))}},9824:e=>{var t=Math.ceil,r=Math.floor;e.exports=function(e){var n=+e;return n!=n||0===n?0:(n>0?r:t)(n)}},1868:(e,t,r)=>{var n=r(9824),i=Math.min;e.exports=function(e){return e>0?i(n(e),9007199254740991):0}},3848:(e,t,r)=>{var n=r(1600),i=r(1840),o=n.Object;e.exports=function(e){return o(i(e))}},2312:(e,t,r)=>{var n=r(1600),i=r(3032),o=r(9952),a=r(1836),s=r(8808),u=r(7540),l=r(3668),c=n.TypeError,p=l("toPrimitive");e.exports=function(e,t){if(!o(e)||a(e))return e;var r,n=s(e,p);if(n){if(void 0===t&&(t="default"),r=i(n,e,t),!o(r)||a(r))return r;throw c("Can't convert object to primitive value")}return void 0===t&&(t="number"),u(e,t)}},4061:(e,t,r)=>{var n=r(2312),i=r(1836);e.exports=function(e){var t=n(e,"string");return i(t)?t:t+""}},7796:(e,t,r)=>{var n={};n[r(3668)("toStringTag")]="z",e.exports="[object z]"===String(n)},748:(e,t,r)=>{var n=r(1600),i=r(1248),o=n.String;e.exports=function(e){if("Symbol"===i(e))throw TypeError("Cannot convert a Symbol value to a string");return o(e)}},1532:(e,t,r)=>{var n=r(1600).String;e.exports=function(e){try{return n(e)}catch(e){return"Object"}}},6536:(e,t,r)=>{var n=r(604),i=0,o=Math.random(),a=n(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+a(++i+o,36)}},7216:(e,t,r)=>{var n=r(3880);e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},3668:(e,t,r)=>{var n=r(1600),i=r(4624),o=r(9180),a=r(6536),s=r(3880),u=r(7216),l=i("wks"),c=n.Symbol,p=c&&c.for,d=u?c:c&&c.withoutSetter||a;e.exports=function(e){if(!o(l,e)||!s&&"string"!=typeof l[e]){var t="Symbol."+e;s&&o(c,e)?l[e]=c[e]:l[e]=u&&p?p(t):d(t)}return l[e]}},5320:e=>{e.exports="\t\n\v\f\r \u2028\u2029\ufeff"},6140:(e,t,r)=>{"use strict";var n=r(7248),i=r(1600),o=r(2408),a=r(6232),s=r(3440),u=r(4640),l=r(124),c=r(4768),p=r(364),d=r(5032),f=r(7660),y=r(9928),h=r(5744),m=r(4464),g=i.Error,v=[].push,b=function(e,t){var r=o(I,this)?this:l(I),n=arguments.length>2?arguments[2]:void 0;s&&(r=s(new g(void 0),a(r))),c(r,"message",h(t,"")),m&&c(r,"stack",d(r.stack,1)),f(r,n);var i=[];return y(e,v,{that:i}),c(r,"errors",i),r};s?s(b,g):u(b,g);var I=b.prototype=l(g.prototype,{constructor:p(1,b),message:p(1,""),name:p(1,"AggregateError")});n({global:!0},{AggregateError:b})},5092:(e,t,r)=>{"use strict";var n=r(7248),i=r(9560).find,o=r(5868),a="find",s=!0;a in[]&&Array(1)[a]((function(){s=!1})),n({target:"Array",proto:!0,forced:s},{find:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),o(a)},5684:(e,t,r)=>{var n=r(7248),i=r(8208);n({target:"Array",stat:!0,forced:!r(6344)((function(e){Array.from(e)}))},{from:i})},3924:(e,t,r)=>{"use strict";var n=r(3068),i=r(5868),o=r(2204),a=r(7932),s=r(2648),u="Array Iterator",l=a.set,c=a.getterFor(u);e.exports=s(Array,"Array",(function(e,t){l(this,{type:u,target:n(e),index:0,kind:t})}),(function(){var e=c(this),t=e.target,r=e.kind,n=e.index++;return!t||n>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==r?{value:n,done:!1}:"values"==r?{value:t[n],done:!1}:{value:[n,t[n]],done:!1}}),"values"),o.Arguments=o.Array,i("keys"),i("values"),i("entries")},472:(e,t,r)=>{"use strict";r(6064)("Map",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),r(9920))},1300:(e,t,r)=>{r(7248)({target:"Number",stat:!0},{isInteger:r(992)})},3656:(e,t,r)=>{r(7248)({target:"Number",stat:!0},{isNaN:function(e){return e!=e}})},6544:(e,t,r)=>{var n=r(7248),i=r(6016);n({target:"Number",stat:!0,forced:Number.parseFloat!=i},{parseFloat:i})},7972:(e,t,r)=>{var n=r(7248),i=r(6556);n({target:"Number",stat:!0,forced:Number.parseInt!=i},{parseInt:i})},6368:(e,t,r)=>{var n=r(7248),i=r(6984);n({target:"Object",stat:!0,forced:Object.assign!==i},{assign:i})},8292:(e,t,r)=>{var n=r(7248),i=r(5556).entries;n({target:"Object",stat:!0},{entries:function(e){return i(e)}})},920:(e,t,r)=>{r(7248)({target:"Object",stat:!0},{setPrototypeOf:r(3440)})},7912:(e,t,r)=>{var n=r(7796),i=r(5028),o=r(2816);n||i(Object.prototype,"toString",o,{unsafe:!0})},3936:(e,t,r)=>{"use strict";var n=r(7248),i=r(3032),o=r(1381),a=r(8071),s=r(2699),u=r(9928);n({target:"Promise",stat:!0},{allSettled:function(e){var t=this,r=a.f(t),n=r.resolve,l=r.reject,c=s((function(){var r=o(t.resolve),a=[],s=0,l=1;u(e,(function(e){var o=s++,u=!1;l++,i(r,t,e).then((function(e){u||(u=!0,a[o]={status:"fulfilled",value:e},--l||n(a))}),(function(e){u||(u=!0,a[o]={status:"rejected",reason:e},--l||n(a))}))})),--l||n(a)}));return c.error&&l(c.value),r.promise}})},5428:(e,t,r)=>{"use strict";var n=r(7248),i=r(1381),o=r(6532),a=r(3032),s=r(8071),u=r(2699),l=r(9928),c="No one promise resolved";n({target:"Promise",stat:!0},{any:function(e){var t=this,r=o("AggregateError"),n=s.f(t),p=n.resolve,d=n.reject,f=u((function(){var n=i(t.resolve),o=[],s=0,u=1,f=!1;l(e,(function(e){var i=s++,l=!1;u++,a(n,t,e).then((function(e){l||f||(f=!0,p(e))}),(function(e){l||f||(l=!0,o[i]=e,--u||d(new r(o,c)))}))})),--u||d(new r(o,c))}));return f.error&&d(f.value),n.promise}})},1517:(e,t,r)=>{"use strict";var n=r(7248),i=r(7408),o=r(3459),a=r(7004),s=r(6532),u=r(984),l=r(7171),c=r(9467),p=r(5028);if(n({target:"Promise",proto:!0,real:!0,forced:!!o&&a((function(){o.prototype.finally.call({then:function(){}},(function(){}))}))},{finally:function(e){var t=l(this,s("Promise")),r=u(e);return this.then(r?function(r){return c(t,e()).then((function(){return r}))}:e,r?function(r){return c(t,e()).then((function(){throw r}))}:e)}}),!i&&u(o)){var d=s("Promise").prototype.finally;o.prototype.finally!==d&&p(o.prototype,"finally",d,{unsafe:!0})}},7448:(e,t,r)=>{"use strict";var n,i,o,a,s=r(7248),u=r(7408),l=r(1600),c=r(6532),p=r(3032),d=r(3459),f=r(5028),y=r(7431),h=r(3440),m=r(9540),g=r(9688),v=r(1381),b=r(984),I=r(9952),S=r(2932),_=r(1727),T=r(9928),P=r(6344),A=r(7171),E=r(5952).set,w=r(3104),O=r(9467),D=r(5651),x=r(8071),F=r(2699),C=r(7932),N=r(4232),M=r(3668),k=r(4532),R=r(3640),V=r(2592),j=M("species"),z="Promise",L=C.get,U=C.set,B=C.getterFor(z),H=d&&d.prototype,W=d,G=H,Y=l.TypeError,q=l.document,K=l.process,Q=x.f,Z=Q,X=!!(q&&q.createEvent&&l.dispatchEvent),J=b(l.PromiseRejectionEvent),$="unhandledrejection",ee=!1,te=N(z,(function(){var e=_(W),t=e!==String(W);if(!t&&66===V)return!0;if(u&&!G.finally)return!0;if(V>=51&&/native code/.test(e))return!1;var r=new W((function(e){e(1)})),n=function(e){e((function(){}),(function(){}))};return(r.constructor={})[j]=n,!(ee=r.then((function(){}))instanceof n)||!t&&k&&!J})),re=te||!P((function(e){W.all(e).catch((function(){}))})),ne=function(e){var t;return!(!I(e)||!b(t=e.then))&&t},ie=function(e,t){if(!e.notified){e.notified=!0;var r=e.reactions;w((function(){for(var n=e.value,i=1==e.state,o=0;r.length>o;){var a,s,u,l=r[o++],c=i?l.ok:l.fail,d=l.resolve,f=l.reject,y=l.domain;try{c?(i||(2===e.rejection&&ue(e),e.rejection=1),!0===c?a=n:(y&&y.enter(),a=c(n),y&&(y.exit(),u=!0)),a===l.promise?f(Y("Promise-chain cycle")):(s=ne(a))?p(s,a,d,f):d(a)):f(n)}catch(e){y&&!u&&y.exit(),f(e)}}e.reactions=[],e.notified=!1,t&&!e.rejection&&ae(e)}))}},oe=function(e,t,r){var n,i;X?((n=q.createEvent("Event")).promise=t,n.reason=r,n.initEvent(e,!1,!0),l.dispatchEvent(n)):n={promise:t,reason:r},!J&&(i=l["on"+e])?i(n):e===$&&D("Unhandled promise rejection",r)},ae=function(e){p(E,l,(function(){var t,r=e.facade,n=e.value;if(se(e)&&(t=F((function(){R?K.emit("unhandledRejection",n,r):oe($,r,n)})),e.rejection=R||se(e)?2:1,t.error))throw t.value}))},se=function(e){return 1!==e.rejection&&!e.parent},ue=function(e){p(E,l,(function(){var t=e.facade;R?K.emit("rejectionHandled",t):oe("rejectionhandled",t,e.value)}))},le=function(e,t,r){return function(n){e(t,n,r)}},ce=function(e,t,r){e.done||(e.done=!0,r&&(e=r),e.value=t,e.state=2,ie(e,!0))},pe=function(e,t,r){if(!e.done){e.done=!0,r&&(e=r);try{if(e.facade===t)throw Y("Promise can't be resolved itself");var n=ne(t);n?w((function(){var r={done:!1};try{p(n,t,le(pe,r,e),le(ce,r,e))}catch(t){ce(r,t,e)}})):(e.value=t,e.state=1,ie(e,!1))}catch(t){ce({done:!1},t,e)}}};if(te&&(G=(W=function(e){S(this,G),v(e),p(n,this);var t=L(this);try{e(le(pe,t),le(ce,t))}catch(e){ce(t,e)}}).prototype,(n=function(e){U(this,{type:z,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=y(G,{then:function(e,t){var r=B(this),n=r.reactions,i=Q(A(this,W));return i.ok=!b(e)||e,i.fail=b(t)&&t,i.domain=R?K.domain:void 0,r.parent=!0,n[n.length]=i,0!=r.state&&ie(r,!1),i.promise},catch:function(e){return this.then(void 0,e)}}),i=function(){var e=new n,t=L(e);this.promise=e,this.resolve=le(pe,t),this.reject=le(ce,t)},x.f=Q=function(e){return e===W||e===o?new i(e):Z(e)},!u&&b(d)&&H!==Object.prototype)){a=H.then,ee||(f(H,"then",(function(e,t){var r=this;return new W((function(e,t){p(a,r,e,t)})).then(e,t)}),{unsafe:!0}),f(H,"catch",G.catch,{unsafe:!0}));try{delete H.constructor}catch(e){}h&&h(H,G)}s({global:!0,wrap:!0,forced:te},{Promise:W}),m(W,z,!1,!0),g(z),o=c(z),s({target:z,stat:!0,forced:te},{reject:function(e){var t=Q(this);return p(t.reject,void 0,e),t.promise}}),s({target:z,stat:!0,forced:u||te},{resolve:function(e){return O(u&&this===o?W:this,e)}}),s({target:z,stat:!0,forced:re},{all:function(e){var t=this,r=Q(t),n=r.resolve,i=r.reject,o=F((function(){var r=v(t.resolve),o=[],a=0,s=1;T(e,(function(e){var u=a++,l=!1;s++,p(r,t,e).then((function(e){l||(l=!0,o[u]=e,--s||n(o))}),i)})),--s||n(o)}));return o.error&&i(o.value),r.promise},race:function(e){var t=this,r=Q(t),n=r.reject,i=F((function(){var i=v(t.resolve);T(e,(function(e){p(i,t,e).then(r.resolve,n)}))}));return i.error&&n(i.value),r.promise}})},8504:(e,t,r)=>{"use strict";var n=r(5160).charAt,i=r(748),o=r(7932),a=r(2648),s="String Iterator",u=o.set,l=o.getterFor(s);a(String,"String",(function(e){u(this,{type:s,string:i(e),index:0})}),(function(){var e,t=l(this),r=t.string,i=t.index;return i>=r.length?{value:void 0,done:!0}:(e=n(r,i),t.index+=e.length,{value:e,done:!1})}))},1808:e=>{!function(){var t=new RegExp("^[a-z0-9]{8}-[a-z0-9]{4}-[a-z0-9]{4}-[a-z0-9]{4}-[a-z0-9]{12}$","i");function r(e){for(var t="",r=0;r<e;r++)t+=(65536*(1+Math.random())|0).toString(16).substring(1);return t}function n(e){if(!e)throw new TypeError("Invalid argument; `value` has no value.");this.value=n.EMPTY,e&&e instanceof n?this.value=e.toString():e&&"[object String]"===Object.prototype.toString.call(e)&&n.isGuid(e)&&(this.value=e),this.equals=function(e){return n.isGuid(e)&&this.value==e},this.isEmpty=function(){return this.value===n.EMPTY},this.toString=function(){return this.value},this.toJSON=function(){return this.value}}n.EMPTY="00000000-0000-0000-0000-000000000000",n.isGuid=function(e){return e&&(e instanceof n||t.test(e.toString()))},n.create=function(){return new n([r(2),r(1),r(1),r(1),r(3)].join("-"))},n.raw=function(){return[r(2),r(1),r(1),r(1),r(3)].join("-")},e.exports?e.exports=n:"undefined"!=typeof window&&(window.Guid=n)}()},6416:function(e,t,r){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},n(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var o=r(7419),a=function(e){function t(t){var r=e.call(this,o.TableauEventType.DashboardLayoutChanged)||this;return r._dashboardLayoutChangeDetails=t,r}return i(t,e),Object.defineProperty(t.prototype,"dashboardLayoutChangeDetails",{get:function(){return this._dashboardLayoutChangeDetails},enumerable:!0,configurable:!0}),t}(r(7112).TableauEvent);t.DashboardLayoutChangedEvent=a},1672:function(e,t,r){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},n(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var o=r(7419),a=r(5136),s=function(e){function t(t,r,n){var i=e.call(this,o.TableauEventType.FilterChanged,t)||this;return i._fieldName=r,i._fieldId=n,i}return i(t,e),Object.defineProperty(t.prototype,"fieldName",{get:function(){return this._fieldName},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"fieldId",{get:function(){return this._fieldId},enumerable:!0,configurable:!0}),t.prototype.getFilterAsync=function(){var e=this;return this._worksheet.getFiltersAsync().then((function(t){var r=e.fieldId?t.find((function(t){return t.fieldId===e.fieldId}),e):t.find((function(t){return t.fieldName===e.fieldName}),e);if(!r)throw new a.TableauError(o.ErrorCodes.MissingFilter,"cannot find filter: "+e._fieldName);return r}))},t}(r(4144).TableauWorksheetEvent);t.FilterChangedEvent=s},5572:function(e,t,r){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},n(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var o=r(7419),a=function(e){function t(t){return e.call(this,o.TableauEventType.MarkSelectionChanged,t)||this}return i(t,e),t.prototype.getMarksAsync=function(){return this.worksheet.getSelectedMarksAsync()},t}(r(4144).TableauWorksheetEvent);t.MarksSelectedEvent=a},864:function(e,t,r){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},n(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var o=r(7419),a=r(5136),s=r(4592),u=r(1468),l=function(e){function t(t,r){var n=e.call(this,o.TableauEventType.ParameterChanged,r)||this;return n._globalFieldName=t,n}return i(t,e),t.prototype.getParameterAsync=function(){var e=this;return a.ApiServiceRegistry.get(u.ExtensionsRegistryId).getService("parameters-service").findParameterByGlobalFieldNameAsync(this._globalFieldName).then((function(t){if(void 0===t)throw new a.TableauError(o.ErrorCodes.MissingParameter,"Cannot find parameter: "+e._globalFieldName);return new s.Parameter(t,e.sheet)}))},t}(r(3248).TableauSheetEvent);t.ParameterChangedEvent=l},3464:function(e,t,r){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},n(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var o=r(7419),a=function(e){function t(t){return e.call(this,o.TableauEventType.SummaryDataChanged,t)||this}return i(t,e),t}(r(4144).TableauWorksheetEvent);t.SummaryDataChangedEvent=a},7112:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e){this._type=e}return Object.defineProperty(e.prototype,"type",{get:function(){return this._type},enumerable:!0,configurable:!0}),e}();t.TableauEvent=r},3248:function(e,t,r){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},n(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var o=function(e){function t(t,r){var n=e.call(this,t)||this;return n._sheet=r,n}return i(t,e),Object.defineProperty(t.prototype,"sheet",{get:function(){return this._sheet},enumerable:!0,configurable:!0}),t}(r(7112).TableauEvent);t.TableauSheetEvent=o},4144:function(e,t,r){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},n(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var o=function(e){function t(t,r){var n=e.call(this,t,r)||this;return n._worksheet=r,n}return i(t,e),Object.defineProperty(t.prototype,"worksheet",{get:function(){return this._worksheet},enumerable:!0,configurable:!0}),t}(r(3248).TableauSheetEvent);t.TableauWorksheetEvent=o},4164:function(e,t,r){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},n(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var o=r(7419),a=function(e){function t(t){var r=e.call(this,o.TableauEventType.WorkbookFormattingChanged)||this;return r._formatting=t,r}return i(t,e),Object.defineProperty(t.prototype,"formatting",{get:function(){return this._formatting},enumerable:!0,configurable:!0}),t}(r(7112).TableauEvent);t.WorkbookFormattingChangedEvent=a},92:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BentonSansFontFamilyName="Benton Sans",t.BentonSansLowDPIFontFamilyName="Benton Sans Low-DPI",t.BentonSansBookFontFaceName="Benton Sans Book",t.BentonSansBookItalicFontFaceName="Benton Sans Book Italic",t.BentonSansSemiDemiFontFaceName="Benton Sans SemiDemi",t.BentonSansSemiDemiItalicFontFaceName="Benton Sans SemiDemi Italic",t.BentonSansLightFontFaceName="Benton Sans Light",t.BentonSansMediumFontFaceName="Benton Sans Medium",t.SupportedBentonSansFontFaces=[t.BentonSansBookFontFaceName,t.BentonSansBookItalicFontFaceName,t.BentonSansSemiDemiFontFaceName,t.BentonSansSemiDemiItalicFontFaceName,t.BentonSansLightFontFaceName,t.BentonSansMediumFontFaceName]},8396:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t,r,n){this._userId=e,this._siteId=t,this._siteNamespace=r,this._workbookId=n}return Object.defineProperty(e.prototype,"userId",{get:function(){return this._userId},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"siteId",{get:function(){return this._siteId},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"siteNamespace",{get:function(){return this._siteNamespace},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"workbookId",{get:function(){return this._workbookId},enumerable:!0,configurable:!0}),e}();t.ConnectedServer=r},5920:function(e,t,r){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},n(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var o=r(5136),a=r(1468),s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.getAllDataSourcesAsync=function(){var e=this;return o.ApiServiceRegistry.get(a.ExtensionsRegistryId).getService("data-source-service").getAllDataSourcesAsync().then((function(t){var r=t,n=[];return Object.values(r.dataSources).forEach((function(t){n.push(e.createDataSourceFromInfo(t))})),n}))},t.prototype.createDataSourceFromInfo=function(e){var t=new o.DataSourceImpl(e,a.ExtensionsRegistryId),r=new o.DataSource(t);return t.initializeWithPublicInterfaces(r),r},t}(o.WorkbookImpl);t.ExtensionWorkbookImpl=s},976:function(e,t,r){"use strict";var n=this&&this.__spreadArrays||function(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;var n=Array(e),i=0;for(t=0;t<r;t++)for(var o=arguments[t],a=0,s=o.length;a<s;a++,i++)n[i]=o[a];return n};Object.defineProperty(t,"__esModule",{value:!0});var i=r(7419),o=r(3448),a=r(5136),s=r(4252),u=r(9224),l=r(5548),c=r(893),p=r(520),d=r(652),f=r(1964),y=r(7e3),h=r(6616),m=r(1468),g=r(92),v=r(5920),b=r(7269),I=r(5436),S=r(2200),_=r(1024),T=function(){function e(){}return e.prototype.initializeAsync=function(e,t){var r=this;return this._initializationPromise||(this._initializationPromise=new Promise((function(n,i){var s,u={isAlpha:a.ApiVersion.Instance.isAlpha};if(b.LegacyInternalApiDispatcherHolder.hasDesktopApiDispatcherPromise(u))null===(s=b.LegacyInternalApiDispatcherHolder.getDesktopDispatcherPromise(u))||void 0===s||s.then((function(n){return r.onDispatcherReceived(n,e,t)})).then((function(e){n(e)})).catch((function(e){i(e)}));else{var l=r.onDispatcherReceived.bind(r);a.doCrossFrameBootstrap(window,o.INTERNAL_CONTRACT_VERSION,u).then((function(r){return l(r,e,t)})).then((function(e){n(e)})).catch((function(e){i(e)}))}}))),this._initializationPromise},e.prototype.createVizImageAsync=function(e){return a.ApiServiceRegistry.get(m.ExtensionsRegistryId).getService("viz-service").createVizImageAsync(e)},e.prototype.setClickThroughAsync=function(e){return a.ApiServiceRegistry.get(m.ExtensionsRegistryId).getService("UIService").setClickThroughAsync(e,this.extensionZoneId)},e.prototype.isDashboardExtensionLocator=function(e){if(!e.dashboardPath)throw new a.TableauError(i.ErrorCodes.InternalError,"Unexpected error during initialization.");return!0},e.prototype.onDispatcherReceived=function(e,t,r){var n=this,i=e(o.INTERNAL_CONTRACT_VERSION);h.registerInitializationExtensionsServices(i);var s=a.ApiServiceRegistry.get(m.ExtensionsRegistryId).getService("InitializationService"),l=r?Object.keys(r):[];return s.initializeDashboardExtensionsAsync(t,l).then((function(e){var t=e.extensionEnvironment.platformVersion?e.extensionEnvironment.platformVersion:{major:1,minor:9,fix:0};return a.VersionedExternalApiDispatcher.needsVersionConverter(t)&&(i=new a.VersionedExternalApiDispatcher(i,t)),a.registerAllSharedServices(i,m.ExtensionsRegistryId,t),h.registerAllExtensionsServices(i),e.extensionDashboardInfo&&n.isDashboardExtensionLocator(e.extensionInstance.locator)&&(n.dashboardContent=n.initializeDashboardContent(e.extensionDashboardInfo,e.extensionInstance.locator.dashboardPath),n.extensionZoneId=e.extensionDashboardInfo.extensionZoneId),e.extensionWorksheetInfo&&(n.worksheetContent=n.initializeWorksheetContent(e.extensionWorksheetInfo)),n.environment=new p.Environment(e.extensionEnvironment),n.settings=n.initializeSettings(e.extensionSettingsInfo),n.ui=new f.UI(new _.UIImpl),n.workbook=new u.Workbook(new v.ExtensionWorkbookImpl),e.extensionEnvironment.workbookFormatting&&(n.initializeTableauFonts(i,e.extensionEnvironment.workbookFormatting),n.applyAllFormatting(e.extensionEnvironment.workbookFormatting)),n.initializeContextMenuCallbacks(r),n.initializeWorkbookFormattingChangedEventCallback(i),e.extensionDialogPayload}))},e.prototype.applyAllFormatting=function(e){var t=this;if(this._styleElement||(this._styleElement=document.createElement("style"),this._styleElement.id="Tableau-Extension-Formatting",document.head.appendChild(this._styleElement)),this._styleElement.sheet&&e){for(var r=this._styleElement.sheet;r.cssRules.length>0;)r.deleteRule(r.cssRules.length-1);e.formattingSheets.map((function(e){t.applyFormattingSheetToStyleSheet(e,r)}))}},e.prototype.applyFormattingSheetToStyleSheet=function(e,t){var r="",n=e.cssProperties;n.fontFamily&&(r+="font-family: "+n.fontFamily.toString()+"; "),n.fontSize&&(r+="font-size: "+n.fontSize.toString()+"; "),n.fontWeight&&(r+="font-weight: "+n.fontWeight.toString()+"; "),n.fontStyle&&(r+="font-style: "+n.fontStyle.toString()+"; "),n.textDecoration&&(r+="text-decoration: "+n.textDecoration.toString()+"; "),n.color&&(r+="color: "+n.color+"; ");var i="."+e.classNameKey+" { "+r+" }";t.insertRule(i,t.cssRules.length)},e.prototype.initializeWorkbookFormattingChangedEventCallback=function(e){var t=this;a.ApiServiceRegistry.get(m.ExtensionsRegistryId).getService("notification-service").registerHandler(o.NotificationId.WorkbookFormattingChanged,(function(){return!0}),(function(r){r&&(t.initializeTableauFonts(e,r),t.applyAllFormatting(r))}))},e.prototype.initializeTableauFonts=function(e,t){var r,i=this,a=n(g.SupportedBentonSansFontFaces,S.SupportedTableauFontFaces);if(t.formattingSheets.forEach((function(e){e.cssProperties.fontFamily&&a.push(e.cssProperties.fontFamily)})),a.length>0){var s=((r={})[o.ParameterId.FontNameListItems]=a,r);e.execute(o.VerbId.GetFonts,s).then((function(e){i.loadFonts(e.result)})).catch()}},e.prototype.loadFonts=function(e){var t=this;e.forEach((function(e){S.SupportedTableauFontFaces.includes(e.fontName)?t.loadTableauFonts(e):g.SupportedBentonSansFontFaces.includes(e.fontName)?t.loadBentonSansFonts(e):document.fonts.add(new FontFace(e.fontName,e.fontBinaryInfo))}))},e.prototype.initializeDashboardContent=function(e,t){var r=new a.SheetInfoImpl(e.name,i.SheetType.Dashboard,{width:e.size.w,height:e.size.h},void 0,!0),n=new a.DashboardImpl(r,e.zones,t,m.ExtensionsRegistryId,null,e.activeDashboardObjectId),o=new s.Dashboard(n);return new c.DashboardContent(o)},e.prototype.initializeWorksheetContent=function(e){var t=new a.SheetInfoImpl(e.visualId.worksheet,i.SheetType.Worksheet,{width:e.size.w,height:e.size.h},void 0,!0),r=new a.WorksheetImpl(t,m.ExtensionsRegistryId,e.visualId,null,null),n=new l.Worksheet(r);return new y.WorksheetContent(n)},e.prototype.initializeSettings=function(e){var t=new I.SettingsImpl(e);return new d.Settings(t)},e.prototype.initializeContextMenuCallbacks=function(e){a.ApiServiceRegistry.get(m.ExtensionsRegistryId).getService("notification-service").registerHandler(o.NotificationId.ContextMenuClick,(function(){return!0}),(function(t){if(e){if(!e[t.id])throw new a.TableauError(i.ErrorCodes.InternalError,"Received unexpected context menu Id from event: "+t.id);e[t.id]()}}))},e.prototype.loadTableauFonts=function(e){switch(e.fontName){case S.TableauBookFontFaceName:document.fonts.add(new FontFace(S.TableauBookFontFamilyName,e.fontBinaryInfo,{weight:"normal",style:"normal"}));break;case S.TableauLightFontFaceName:document.fonts.add(new FontFace(S.TableauLightFontFamilyName,e.fontBinaryInfo,{weight:"normal",style:"normal"}));break;case S.TableauRegularFontFaceName:document.fonts.add(new FontFace(S.TableauRegularFontFamilyName,e.fontBinaryInfo,{weight:"normal",style:"normal"}));break;case S.TableauSemiBoldFontFaceName:document.fonts.add(new FontFace(S.TableauSemiboldFontFamilyName,e.fontBinaryInfo,{weight:"normal",style:"normal"})),document.fonts.add(new FontFace(S.TableauRegularFontFamilyName,e.fontBinaryInfo,{weight:"bold",style:"normal"}));break;case S.TableauBoldFontFaceName:document.fonts.add(new FontFace(S.TableauBoldFontFamilyName,e.fontBinaryInfo,{weight:"normal",style:"normal"})),document.fonts.add(new FontFace(S.TableauBoldFontFamilyName,e.fontBinaryInfo,{weight:"bold",style:"normal"})),document.fonts.add(new FontFace(S.TableauMediumFontFamilyName,e.fontBinaryInfo,{weight:"bold",style:"normal"})),document.fonts.add(new FontFace(S.TableauSemiboldFontFamilyName,e.fontBinaryInfo,{weight:"bold",style:"normal"}));break;case S.TableauMediumFontFaceName:document.fonts.add(new FontFace(S.TableauMediumFontFamilyName,e.fontBinaryInfo,{weight:"normal",style:"normal"})),document.fonts.add(new FontFace(S.TableauLightFontFamilyName,e.fontBinaryInfo,{weight:"bold",style:"normal"})),document.fonts.add(new FontFace(S.TableauBookFontFamilyName,e.fontBinaryInfo,{weight:"bold",style:"normal"}));break;default:throw new a.TableauError(i.ErrorCodes.InternalError,"'attempted to load unsupported font: "+e.fontName+".'")}},e.prototype.loadBentonSansFonts=function(e){switch(e.fontName){case g.BentonSansBookFontFaceName:document.fonts.add(new FontFace(g.BentonSansFontFamilyName,e.fontBinaryInfo,{weight:"normal",style:"normal"})),document.fonts.add(new FontFace(g.BentonSansLowDPIFontFamilyName,e.fontBinaryInfo,{weight:"100",style:"normal"}));break;case g.BentonSansLightFontFaceName:document.fonts.add(new FontFace(g.BentonSansFontFamilyName,e.fontBinaryInfo,{weight:"100",style:"normal"}));break;case g.BentonSansMediumFontFaceName:document.fonts.add(new FontFace(g.BentonSansFontFamilyName,e.fontBinaryInfo,{weight:"bold",style:"normal"})),document.fonts.add(new FontFace(g.BentonSansLowDPIFontFamilyName,e.fontBinaryInfo,{weight:"bold",style:"normal"}));break;case g.BentonSansSemiDemiFontFaceName:document.fonts.add(new FontFace(g.BentonSansLowDPIFontFamilyName,e.fontBinaryInfo,{weight:"normal",style:"normal"}));break;case g.BentonSansBookItalicFontFaceName:document.fonts.add(new FontFace(g.BentonSansFontFamilyName,e.fontBinaryInfo,{style:"italic"}));break;case g.BentonSansSemiDemiItalicFontFaceName:document.fonts.add(new FontFace(g.BentonSansLowDPIFontFamilyName,e.fontBinaryInfo,{style:"italic"}));break;default:throw new a.TableauError(i.ErrorCodes.InternalError,"'attempted to load unsupported font: "+e.fontName+".'")}},e}();t.ExtensionsImpl=T},7269:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(3448);!function(e){function t(e){var t;return e&&void 0!==e.isAlpha||window.__warningIssued?(null===(t=e)||void 0===t?void 0:t.isAlpha)&&window.__platformIsOfficialRelease&&window.__tableauDesktopDispatcher.then((function(e){e(n.INTERNAL_CONTRACT_VERSION).execute(n.VerbId.BlockExtension,{}).catch()})).catch():(console.warn("This is a beta version of the Extensions API. Please upgrade to an official release."),window.__warningIssued=!0),window.__tableauDesktopDispatcher}e.getDesktopDispatcherPromise=t,e.hasDesktopApiDispatcherPromise=function(e){return!!t(e)}}(t.LegacyInternalApiDispatcherHolder||(t.LegacyInternalApiDispatcherHolder={}))},5436:function(e,t,r){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},n(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var o=r(7419),a=r(3448),s=r(5136),u=r(7112),l=r(1468),c=function(e){function t(t){var r=e.call(this,o.TableauEventType.SettingsChanged)||this;return r._newSettings=t,r}return i(t,e),Object.defineProperty(t.prototype,"newSettings",{get:function(){return this._newSettings},enumerable:!0,configurable:!0}),t}(u.TableauEvent),p=function(){function e(e){this._saveInProgress=!1,this.initializeSettings(e)}return e.prototype.erase=function(e){s.ErrorHelpers.verifyParameter(e,"key"),this._currentSettings[e]&&(this.verifySettingsAreUnlocked(),delete this._currentSettings[e],this._isModified=!0)},e.prototype.get=function(e){return s.ErrorHelpers.verifyParameter(e,"key"),this._currentSettings[e]},e.prototype.getAll=function(){return Object.assign({},this._currentSettings)},Object.defineProperty(e.prototype,"isModified",{get:function(){return this._isModified},enumerable:!0,configurable:!0}),e.prototype.saveAsync=function(){var e=this;return this.verifySettingsAreUnlocked(),this._isModified?(this._saveInProgress=!0,s.ApiServiceRegistry.get(l.ExtensionsRegistryId).getService("SettingsService").saveSettingsAsync(this._currentSettings).then((function(t){return e._saveInProgress=!1,e._isModified=!1,void 0===e._currentSettings?e._currentSettings=t:Object.assign(e._currentSettings,t),t}),(function(t){return e._saveInProgress=!1,Promise.reject(t)}))):Promise.resolve(this._currentSettings)},e.prototype.set=function(e,t){s.ErrorHelpers.verifyStringParameter(e,"key"),s.ErrorHelpers.verifyParameter(t,"value"),this.verifySettingsAreUnlocked(),this._currentSettings[e]=t,this._isModified=!0},e.prototype.initializeEvents=function(){var e,t=this,r=new Array;try{e=s.ApiServiceRegistry.get(l.ExtensionsRegistryId).getService("notification-service")}catch(e){return r}var n=new s.SingleEventManagerImpl(o.TableauEventType.SettingsChanged);return e.registerHandler(a.NotificationId.SettingsChanged,(function(){return!0}),(function(e){t._currentSettings=e.newSettings,n.triggerEvent((function(){return new c(e.newSettings)}))})),r.push(n),r},e.prototype.initializeSettings=function(e){s.ErrorHelpers.verifyParameter(e,"settingsInfo"),s.ErrorHelpers.verifyParameter(e.settingsValues,"settingsInfo.SettingsValues"),this._currentSettings=e.settingsValues,this._isModified=!1},e.prototype.verifySettingsAreUnlocked=function(){if(this._saveInProgress)throw new s.TableauError(o.ErrorCodes.SettingSaveInProgress,e.ASYNC_SAVE_IN_PROGRESS)},e.ASYNC_SAVE_IN_PROGRESS="Async Save is in progress, updating settings is not allowed.",e}();t.SettingsImpl=p},2200:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TableauBookFontFamilyName="Tableau Book",t.TableauLightFontFamilyName="Tableau Light",t.TableauRegularFontFamilyName="Tableau Regular",t.TableauMediumFontFamilyName="Tableau Medium",t.TableauSemiboldFontFamilyName="Tableau Semibold",t.TableauBoldFontFamilyName="Tableau Bold",t.TableauBookFontFaceName="Tableau Book",t.TableauBoldFontFaceName="Tableau Bold",t.TableauLightFontFaceName="Tableau Light",t.TableauMediumFontFaceName="Tableau Medium",t.TableauRegularFontFaceName="Tableau Regular",t.TableauSemiBoldFontFaceName="Tableau Semi Bold",t.SupportedTableauFontFaces=[t.TableauBookFontFaceName,t.TableauBoldFontFaceName,t.TableauLightFontFaceName,t.TableauMediumFontFaceName,t.TableauRegularFontFaceName,t.TableauSemiBoldFontFaceName]},1024:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(7419),i=r(7419),o=r(3448),a=r(5136),s=r(1468),u=function(){function e(){}return e.prototype.displayDialogAsync=function(e,t,r){var u=a.ApiServiceRegistry.get(s.ExtensionsRegistryId).getService("UIService"),l=a.ApiServiceRegistry.get(s.ExtensionsRegistryId).getService("notification-service");return new Promise((function(s,c){u.displayDialogAsync(e,t||"",r).then((function(){var e=l.registerHandler(o.NotificationId.ExtensionDialogUpdate,(function(){return!0}),(function(t){if(t.isCloseEvent){if(void 0===t.closePayload)throw new a.TableauError(n.ErrorCodes.InternalError,"closePayload is undefined");s(t.closePayload)}else c(new a.TableauError(i.ErrorCodes.DialogClosedByUser,"Extension dialog closed by user."));e()}))})).catch((function(e){c(e)}))}))},e.prototype.closeDialog=function(e){a.ApiServiceRegistry.get(s.ExtensionsRegistryId).getService("UIService").closeDialog(e)},e}();t.UIImpl=u},4252:function(e,t,r){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},n(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var o=r(7419),a=r(3448),s=r(5136),u=r(6416),l=r(4164),c=r(1468),p=r(3192),d=r(6132),f=r(5548),y=function(e){function t(t){var r=e.call(this,t)||this;return r._dashboardImpl=t,t.initializeWithPublicInterfaces(),r.initializeEvents().forEach((function(e){return r.addNewEventType(e)})),r}return i(t,e),Object.defineProperty(t.prototype,"worksheets",{get:function(){return this._dashboardImpl.worksheetsImpl.map((function(e){return new f.Worksheet(e)}))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"objects",{get:function(){return this._dashboardImpl.objects.map((function(e){return new p.DashboardObject(e)}))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"activeDashboardObjectId",{get:function(){return this._dashboardImpl.activeDashboardObjectId},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"activeDashboardName",{get:function(){return this._dashboardImpl.activeDashboardName},enumerable:!0,configurable:!0}),t.prototype.setZoneVisibilityAsync=function(e){return this._dashboardImpl.setDashboardObjectVisibilityAsync(e)},t.prototype.setDashboardObjectVisibilityAsync=function(e){return this._dashboardImpl.setDashboardObjectVisibilityAsync(e)},t.prototype.getDashboardObjectById=function(e){var t=this._dashboardImpl.getDashboardObjectById(e);return t&&new p.DashboardObject(t)},t.prototype.initializeEvents=function(){var e,t=this,r=new Array;try{e=s.ApiServiceRegistry.get(c.ExtensionsRegistryId).getService("notification-service")}catch(e){return r}var n=new s.SingleEventManagerImpl(o.TableauEventType.DashboardLayoutChanged);e.registerHandler(a.NotificationId.DashboardLayoutChanged,(function(){return!0}),(function(e){var r=t._dashboardImpl.updateZones(e.zones,e.activeZoneId,e.activeDashboardName);n.triggerEvent((function(){return new u.DashboardLayoutChangedEvent(r)}))})),r.push(n);var i=new s.SingleEventManagerImpl(o.TableauEventType.WorkbookFormattingChanged);return e.registerHandler(a.NotificationId.WorkbookFormattingChanged,(function(){return!0}),(function(e){i.triggerEvent((function(){return new l.WorkbookFormattingChangedEvent(e)}))})),r.push(i),r},t.prototype.moveAndResizeDashboardObjectsAsync=function(e){return this._dashboardImpl.moveAndResizeDashboardObjectsAsync(e)},t.prototype.replayAnimationAsync=function(e){return this._dashboardImpl.replayAnimationAsync(e)},t.prototype.getFiltersAsync=function(){return this._dashboardImpl.getFiltersAsync()},t.prototype.applyFilterAsync=function(e,t,r,n){return this._dashboardImpl.applyFilterAsync(e,t,r,n)},t}(d.Sheet);t.Dashboard=y},3192:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(4252),i=r(5548),o=function(){function e(e){this._dashboardObjectImpl=e}return Object.defineProperty(e.prototype,"dashboard",{get:function(){return new n.Dashboard(this._dashboardObjectImpl.dashboardImpl)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"type",{get:function(){return this._dashboardObjectImpl.type},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"position",{get:function(){return this._dashboardObjectImpl.position},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"size",{get:function(){return this._dashboardObjectImpl.size},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"worksheet",{get:function(){if(this._dashboardObjectImpl.worksheetImpl)return new i.Worksheet(this._dashboardObjectImpl.worksheetImpl)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"name",{get:function(){return this._dashboardObjectImpl.name},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isFloating",{get:function(){return this._dashboardObjectImpl.isFloating},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isVisible",{get:function(){return this._dashboardObjectImpl.isVisible},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"id",{get:function(){return this._dashboardObjectImpl.id},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"fieldId",{get:function(){return this._dashboardObjectImpl.fieldId},enumerable:!0,configurable:!0}),e}();t.DashboardObject=o},4592:function(e,t,r){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},n(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var o=r(7419),a=r(3448),s=r(5136),u=r(864),l=r(1468),c=function(e){function t(t,r){var n=e.call(this)||this;return n.parameterImpl=t,n.initializeEvents(r).forEach((function(e){return n.addNewEventType(e)})),n}return i(t,e),Object.defineProperty(t.prototype,"name",{get:function(){return this.parameterImpl.name},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"currentValue",{get:function(){return this.parameterImpl.currentValue},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"dataType",{get:function(){return this.parameterImpl.dataType},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"allowableValues",{get:function(){return this.parameterImpl.allowableValues},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"id",{get:function(){return this.parameterImpl.id},enumerable:!0,configurable:!0}),t.prototype.changeValueAsync=function(e){return this.parameterImpl.changeValueAsync(e)},t.prototype.initializeEvents=function(e){var t=this;s.ErrorHelpers.verifyInternalValue(e,"sheet");var r,n=new Array;try{r=s.ApiServiceRegistry.get(l.ExtensionsRegistryId).getService("notification-service")}catch(e){return n}var i=new s.SingleEventManagerImpl(o.TableauEventType.ParameterChanged);return r.registerHandler(a.NotificationId.ParameterChanged,(function(e){return e===t.parameterImpl.id}),(function(t){i.triggerEvent((function(){return new u.ParameterChangedEvent(t,e)}))})),n.push(i),n},t}(s.EventListenerManager);t.Parameter=c},6132:function(e,t,r){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},n(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var o=r(7419),a=r(5136),s=r(4592),u=function(e){function t(t){var r=e.call(this)||this;return r._sheetImpl=t,r}return i(t,e),Object.defineProperty(t.prototype,"name",{get:function(){return this._sheetImpl.name},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"sheetType",{get:function(){return this._sheetImpl.sheetType},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"size",{get:function(){if(this.isValidSize(this._sheetImpl.size))return this._sheetImpl.size;throw new a.TableauError(o.EmbeddingErrorCodes.ImplementationError,"Size not implemented")},enumerable:!0,configurable:!0}),t.prototype.isValidSize=function(e){var t=e;return void 0!==t.width&&void 0!==t.height},t.prototype.findParameterAsync=function(e){var t=this;return this._sheetImpl.findParameterAsync(e).then((function(e){return new Promise(e?function(r){return r(new s.Parameter(e,t))}:function(e){return e(void 0)})}))},t.prototype.getParametersAsync=function(){var e=this;return this._sheetImpl.getParametersAsync().then((function(t){return t.map((function(t){return new s.Parameter(t,e)}))}))},t}(a.EventListenerManager);t.Sheet=u},9224:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e){this._workbookImpl=e}return e.prototype.getAllDataSourcesAsync=function(){return this._workbookImpl.getAllDataSourcesAsync()},e}();t.Workbook=r},5548:function(e,t,r){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},n(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var o=r(7419),a=r(7419),s=r(3448),u=r(5136),l=r(1672),c=r(5572),p=r(3464),d=r(1468),f=r(4252),y=function(e){function t(t){var r=e.call(this,t)||this;return r._worksheetImpl=t,r.initializeEvents().forEach((function(e){return r.addNewEventType(e)})),r}return i(t,e),Object.defineProperty(t.prototype,"parentDashboard",{get:function(){if(null==this._worksheetImpl.parentDashboard)throw new u.TableauError(o.SharedErrorCodes.ImplementationError,"Parent dashboard not implemented");return new f.Dashboard(this._worksheetImpl.parentDashboard)},enumerable:!0,configurable:!0}),t.prototype.initializeEvents=function(){var e,t=this,r=new Array;try{e=u.ApiServiceRegistry.get(d.ExtensionsRegistryId).getService("notification-service")}catch(e){return r}var n=new u.SingleEventManagerImpl(a.TableauEventType.MarkSelectionChanged);e.registerHandler(s.NotificationId.SelectedMarksChanged,(function(e){var r=e;return t.visualIdsAreEqual(r,t._worksheetImpl.visualId)}),(function(){return n.triggerEvent((function(){return new c.MarksSelectedEvent(t)}))}));var i=new u.SingleEventManagerImpl(a.TableauEventType.FilterChanged);e.registerHandler(s.NotificationId.FilterChanged,(function(e){var r=e;return t._worksheetImpl.visualId.worksheet===r.visualId.worksheet}),(function(e){i.triggerEvent((function(){return new l.FilterChangedEvent(t,e.fieldName,e.fieldId)}))}));var o=new u.SingleEventManagerImpl(a.TableauEventType.SummaryDataChanged);return e.registerHandler(s.NotificationId.SummaryDataChanged,(function(e){var r=e;return t._worksheetImpl.visualId.worksheet===r.visualId.worksheet}),(function(e){o.triggerEvent((function(){return new p.SummaryDataChangedEvent(t)}))})),r.push(n),r.push(i),r.push(o),r},t.prototype.applyFilterAsync=function(e,t,r,n){return this._worksheetImpl.applyFilterAsync(e,t,r,n)},t.prototype.applyRangeFilterAsync=function(e,t){return this._worksheetImpl.applyRangeFilterAsync(e,t)},t.prototype.applyHierarchicalFilterAsync=function(e,t,r,n){return this._worksheetImpl.applyHierarchicalFilterAsync(e,t,r,n)},t.prototype.applyRelativeDateFilterAsync=function(e,t){return this._worksheetImpl.applyRelativeDateFilterAsync(e,t)},t.prototype.clearFilterAsync=function(e){return this._worksheetImpl.clearFilterAsync(e)},t.prototype.getDataSourcesAsync=function(){return this._worksheetImpl.getDataSourcesAsync()},t.prototype.getFiltersAsync=function(){return this._worksheetImpl.getFiltersAsync()},t.prototype.getSelectedMarksAsync=function(){return this._worksheetImpl.getSelectedMarksAsync()},t.prototype.getHighlightedMarksAsync=function(){return this._worksheetImpl.getHighlightedMarksAsync()},t.prototype.getSummaryDataAsync=function(e){return this._worksheetImpl.getSummaryDataAsync(e)},t.prototype.getSummaryDataReaderAsync=function(e,t){return this._worksheetImpl.getSummaryDataReaderAsync(e,t)},t.prototype.getSummaryColumnsInfoAsync=function(){return this._worksheetImpl.getSummaryColumnsInfoAsync()},t.prototype.getUnderlyingDataAsync=function(e){return console.warn("Worksheet.getUnderlyingDataAsync is deprecated. Please use Worksheet.getUnderlyingTablesAsync and Worksheet.getUnderlyingTableDataAsync"),this._worksheetImpl.getUnderlyingDataAsync(e)},t.prototype.getUnderlyingTablesAsync=function(){return this._worksheetImpl.getUnderlyingTablesAsync()},t.prototype.getUnderlyingTableDataAsync=function(e,t){return this._worksheetImpl.getUnderlyingTableDataAsync(e,t)},t.prototype.getUnderlyingTableDataReaderAsync=function(e,t,r){return this._worksheetImpl.getUnderlyingTableDataReaderAsync(e,t,r)},t.prototype.getVisualSpecificationAsync=function(){return this._worksheetImpl.getVisualSpecificationAsync()},t.prototype.clearSelectedMarksAsync=function(){return this._worksheetImpl.clearSelectedMarksAsync()},t.prototype.selectMarksByIDAsync=function(e,t){return this._worksheetImpl.selectMarksByIdAsync(e,t)},t.prototype.selectMarksByValueAsync=function(e,t){return this._worksheetImpl.selectMarksByValueAsync(e,t)},t.prototype.selectMarksByIdAsync=function(e,t){return this._worksheetImpl.selectMarksByIdAsync(e,t)},t.prototype.annotateMarkAsync=function(e,t){return this._worksheetImpl.annotateMarkAsync(e,t)},t.prototype.getAnnotationsAsync=function(){return this._worksheetImpl.getAnnotationsAsync()},t.prototype.removeAnnotationAsync=function(e){return this._worksheetImpl.removeAnnotationAsync(e)},t.prototype.hoverTupleAsync=function(e,t,r){return void 0===r&&(r=!0),this._worksheetImpl.hoverTupleAsync(e,t,r)},t.prototype.selectTuplesAsync=function(e,t,r){return this._worksheetImpl.selectTuplesAsync(e,t,r)},t.prototype.getTooltipTextAsync=function(e){return this._worksheetImpl.getTooltipTextAsync(e)},t.prototype.leaveMarkNavigationAsync=function(){return this._worksheetImpl.leaveMarkNavigationAsync()},t.prototype.visualIdsAreEqual=function(e,t){return e&&t&&e.worksheet===t.worksheet&&e.dashboard===t.dashboard&&e.storyboard===t.storyboard&&e.storyPointID===t.storyPointID},t}(r(6132).Sheet);t.Worksheet=y},893:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e){this._dashboard=e}return Object.defineProperty(e.prototype,"dashboard",{get:function(){return this._dashboard},enumerable:!0,configurable:!0}),e}();t.DashboardContent=r},520:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(5136),i=r(8396),o=r(8012),a=function(){function e(e){this._apiVersion=n.ApiVersion.Instance&&n.ApiVersion.Instance.formattedValue,this._context=n.InternalToExternalEnumMappings.extensionContext.convert(e.extensionContext),this._formatting=o.WorkbookFormattingEnvUtil.convertToWorkbookFormatting(e.workbookFormatting),this._language=e.extensionLanguage,this._country=e.extensionCountry,this._locale=e.extensionLocale,this._mode=n.InternalToExternalEnumMappings.extensionMode.convert(e.extensionMode),this._operatingSystem=e.operatingSystem,this._tableauVersion=e.tableauVersion,this._uniqueUserId=e.uniqueUserId,e.userId&&(this.connectedServer=new i.ConnectedServer(e.userId,e.siteId,e.siteNamespace,e.workbookId),this.featureFlags=e.featureFlags)}return Object.defineProperty(e.prototype,"apiVersion",{get:function(){return this._apiVersion},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"context",{get:function(){return this._context},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"workbookFormatting",{get:function(){return this._formatting},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"language",{get:function(){return this._language},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"country",{get:function(){return this._country},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"locale",{get:function(){return this._locale},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"mode",{get:function(){return this._mode},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"operatingSystem",{get:function(){return this._operatingSystem},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tableauVersion",{get:function(){return this._tableauVersion},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"uniqueUserId",{get:function(){return this._uniqueUserId},enumerable:!0,configurable:!0}),e}();t.Environment=a},5408:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e){this.extensionImpl=e,this.extensionImpl=e}return Object.defineProperty(e.prototype,"dashboardContent",{get:function(){return this.extensionImpl.dashboardContent},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"worksheetContent",{get:function(){return this.extensionImpl.worksheetContent},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"environment",{get:function(){return this.extensionImpl.environment},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"settings",{get:function(){return this.extensionImpl.settings},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ui",{get:function(){return this.extensionImpl.ui},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"workbook",{get:function(){return this.extensionImpl.workbook},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dashboardObjectId",{get:function(){return this.extensionImpl.extensionZoneId},enumerable:!0,configurable:!0}),e.prototype.initializeAsync=function(e){return this.extensionImpl.initializeAsync(!1,e).then()},e.prototype.initializeDialogAsync=function(){return this.extensionImpl.initializeAsync(!0)},e.prototype.createVizImageAsync=function(e){return this.extensionImpl.createVizImageAsync(e)},e.prototype.setClickThroughAsync=function(e){return this.extensionImpl.setClickThroughAsync(e)},e}();t.Extensions=r},652:function(e,t,r){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},n(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var o=function(e){function t(t){var r=e.call(this)||this;return r._settingsImpl=t,r._settingsImpl.initializeEvents().forEach((function(e){return r.addNewEventType(e)})),r}return i(t,e),t.prototype.erase=function(e){this._settingsImpl.erase(e)},t.prototype.get=function(e){return this._settingsImpl.get(e)},t.prototype.getAll=function(){return this._settingsImpl.getAll()},Object.defineProperty(t.prototype,"isModified",{get:function(){return this._settingsImpl.isModified},enumerable:!0,configurable:!0}),t.prototype.saveAsync=function(){return this._settingsImpl.saveAsync()},t.prototype.set=function(e,t){this._settingsImpl.set(e,t)},t}(r(5136).EventListenerManager);t.Settings=o},1964:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e){this._impl=e}return e.prototype.displayDialogAsync=function(e,t,r){return this._impl.displayDialogAsync(e,t,r)},e.prototype.closeDialog=function(e){this._impl.closeDialog(e)},e}();t.UI=r},8012:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(5136),i=function(){function e(){}return e.convertToWorkbookFormatting=function(e){return e?{formattingSheets:e.formattingSheets.map((function(e){return{classNameKey:n.InternalToExternalEnumMappings.classNameKey.convert(e.classNameKey),cssProperties:{fontFamily:e.cssProperties.fontFamily,fontSize:e.cssProperties.fontSize,fontWeight:e.cssProperties.fontWeight,fontStyle:e.cssProperties.fontStyle,textDecoration:e.cssProperties.textDecoration,color:e.cssProperties.color}}}))}:void 0},e}();t.WorkbookFormattingEnvUtil=i},7e3:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e){this._worksheet=e}return Object.defineProperty(e.prototype,"worksheet",{get:function(){return this._worksheet},enumerable:!0,configurable:!0}),e}();t.WorksheetContent=r},6336:function(e,t,r){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},n(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var o=r(3448),a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),Object.defineProperty(t.prototype,"serviceName",{get:function(){return"InitializationService"},enumerable:!0,configurable:!0}),t.prototype.initializeDashboardExtensionsAsync=function(e,t){var r,n=((r={})[o.ParameterId.FunctionName]="initializeDashboardExtensionsAsync",r[o.ParameterId.ExtensionContextMenuIds]=t,r[o.ParameterId.IsExtensionDialog]=e,r);return this.execute(o.VerbId.InitializeExtension,n).then((function(e){return e.result}))},t}(r(5136).ServiceImplBase);t.InitializationServiceImpl=a},5432:function(e,t,r){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},n(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var o=r(7419),a=r(3448),s=r(5136),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),Object.defineProperty(t.prototype,"serviceName",{get:function(){return"SettingsService"},enumerable:!0,configurable:!0}),t.prototype.saveSettingsAsync=function(e){var t,r=((t={})[a.ParameterId.FunctionName]="saveSettingsAsync",t[a.ParameterId.SettingsValues]=e,t);return this.execute(a.VerbId.SaveExtensionSettings,r).then((function(e){var t=e.result;if(!t||!t.settingsValues)throw new s.TableauError(o.ErrorCodes.InternalError,"Unexpected error savings settings.");return t.settingsValues}))},t}(s.ServiceImplBase);t.SettingsServiceImpl=u},752:function(e,t,r){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},n(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var o=r(7419),a=r(3448),s=r(5136),u=o.DialogStyle.Window,l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),Object.defineProperty(t.prototype,"serviceName",{get:function(){return"UIService"},enumerable:!0,configurable:!0}),t.prototype.displayDialogAsync=function(e,t,r){var n,i=((n={})[a.ParameterId.FunctionName]="displayDialogAsync",n[a.ParameterId.ExtensionDialogUrl]=e,n[a.ParameterId.ExtensionDialogPayload]=t,n),l=r&&r.height?r.height:400,c=r&&r.width?r.width:600,p=r&&r.dialogStyle?r.dialogStyle:u;if(l<=0||c<=0)throw new s.TableauError(o.ErrorCodes.InvalidParameter,"Size parameters for displayDialogAsync must be positive");return i[a.ParameterId.ExtensionDialogH]=l,i[a.ParameterId.ExtensionDialogW]=c,s.ErrorHelpers.verifyEnumValue(p,o.DialogStyle,"DialogStyle"),i[a.ParameterId.ExtensionDialogStyle]=s.ExternalToInternalEnumMappings.dialogStyles.convert(p),this.execute(a.VerbId.DisplayDialog,i).then((function(e){switch(e.result){case a.ExtensionDialogResult.DialogAlreadyOpen:throw new s.TableauError(o.ErrorCodes.DialogAlreadyOpen,"There already exists an open dialog for this extension.");case a.ExtensionDialogResult.InvalidDomain:throw new s.TableauError(o.ErrorCodes.InvalidDomainDialog,"The url of an extension dialog must match the domain of the parent extension.");default:return}}))},t.prototype.closeDialog=function(e){var t,r=((t={})[a.ParameterId.FunctionName]="closeDialog",t);return e&&(r[a.ParameterId.ExtensionDialogPayload]=e),this.execute(a.VerbId.CloseDialog,r).then((function(){}))},t.prototype.setClickThroughAsync=function(e,t){var r;if(s.ErrorHelpers.verifyParameterType(e,"boolean","clickThroughEnabled"),void 0===t||t<=0)throw new s.TableauError(o.ErrorCodes.InternalError,"Extension Id is invalid.");var n=((r={})[a.ParameterId.ExtensionZoneId]=t,r[a.ParameterId.ClickThroughEnabled]=e,r);return this.execute(a.VerbId.SetClickThrough,n).then((function(){}))},t}(s.ServiceImplBase);t.UIServiceImpl=l},6616:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(5136),i=r(6336),o=r(5432),a=r(752),s=r(1468);t.registerAllExtensionsServices=function(e){n.ApiServiceRegistry.get(s.ExtensionsRegistryId).registerService(new o.SettingsServiceImpl(e,s.ExtensionsRegistryId)),n.ApiServiceRegistry.get(s.ExtensionsRegistryId).registerService(new a.UIServiceImpl(e,s.ExtensionsRegistryId))},t.registerInitializationExtensionsServices=function(e){n.ApiServiceRegistry.get(s.ExtensionsRegistryId).registerService(new i.InitializationServiceImpl(e,s.ExtensionsRegistryId))}},1468:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ExtensionsRegistryId=0},268:(e,t,r)=>{"use strict";function n(e){for(var r in e)t.hasOwnProperty(r)||(t[r]=e[r])}Object.defineProperty(t,"__esModule",{value:!0}),n(r(4171));var i=r(3536);t.ApiMenuType=i.ApiMenuType,t.CrosstabFileFormat=i.CrosstabFileFormat,t.DeviceType=i.DeviceType,t.EmbeddingErrorCodes=i.EmbeddingErrorCodes,t.EmbeddingTableauEventType=i.TableauEventType,t.FileFormats=i.FileFormats,t.PrintOrientation=i.PrintOrientation,t.PrintPageSize=i.PrintPageSize,t.PrintScaling=i.PrintScaling,t.PulseLayout=i.PulseLayout,t.SheetSizeBehavior=i.SheetSizeBehavior,t.TableauDialogType=i.TableauDialogType,t.Toolbar=i.Toolbar,n(r(828)),n(r(3432)),n(r(1480)),n(r(5488))},5840:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(4744);t.ErrorCodes=n.ErrorCodes,t.ExtensionContext=n.ExtensionContext,t.ExtensionMode=n.ExtensionMode,t.TableauEventType=n.TableauEventType,t.VizImageEncodingType=n.VizImageEncodingType,t.VizImagePaletteType=n.VizImagePaletteType,t.VizImageSizeSettingAlignmentType=n.VizImageSizeSettingAlignmentType,t.VizImageSizeSettingType=n.VizImageSizeSettingType,t.VizImageSortDirectionType=n.VizImageSortDirectionType,function(e){for(var r in e)t.hasOwnProperty(r)||(t[r]=e[r])}(r(5488))},7419:(e,t,r)=>{"use strict";function n(e){for(var r in e)t.hasOwnProperty(r)||(t[r]=e[r])}Object.defineProperty(t,"__esModule",{value:!0}),n(r(268)),n(r(5840))},4171:(e,t)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),(r=t.AskDataAttributes||(t.AskDataAttributes={})).Origin="origin",r.ShowEmbed="show-embed",r.ShowPin="show-pin",r.ShowSave="show-save",r.ShowShare="show-share"},3536:(e,t)=>{"use strict";var r,n,i,o,a,s,u,l,c,p,d,f,y,h;Object.defineProperty(t,"__esModule",{value:!0}),(h=t.CrosstabFileFormat||(t.CrosstabFileFormat={})).CSV="csv",h.Excel="xlsx",(y=t.DeviceType||(t.DeviceType={})).Default="default",y.Desktop="desktop",y.Tablet="tablet",y.Phone="phone",(f=t.EmbeddingErrorCodes||(t.EmbeddingErrorCodes={})).AuthFailed="auth-failed",f.BrowserNotCapable="browser-not-capable",f.DownloadWorkbookNotAllowed="download-workbook-not-allowed",f.FilterCannotBePerformed="filter-cannot-be-performed",f.IndexOutOfRange="index-out-of-range",f.InternalError="internal-error",f.InvalidCustomViewName="invalid-custom-view-name",f.InvalidDateParameter="invalid-date-parameter",f.invalidFilterFieldNameOrValue="invalid-filter-field-name",f.InvalidParameter="invalid-parameter",f.InvalidSize="invalid-size",f.InvalidSheetType="invalid-sheet-type",f.InvalidSizeBehavior="invalid-size-behavior",f.InvalidSizeBehaviorOnWorksheet="invalid-size-behavior-on-worksheet",f.InvalidUrl="invalid-url",f.MissingMaxSize="missing-max-size",f.MissingMinSize="missing-min-size",f.MissingMinMaxSize="missing-min-max-size",f.MissingParameter="missing-parameter",f.MissingRangeNForRelativeDateFilters="missing-range-n-for-relative-date-filters",f.NoUrlForHiddenWorksheet="no-url-for-hidden-worksheet",f.NoUrlOrParentElementNotFound="no-url-or-parent-element-not-found",f.NotActiveSheet="not-active-sheet",f.NullOrEmptyParameter="null-or-empty-parameter",f.SheetNotInWorkbook="sheet-not-in-workbook",f.StaleDataReference="stale-data-reference",f.UnknownAuthError="unknown-auth-error",f.UnsupportedEventName="unsupported-event-name",f.VizAlreadyInManager="viz-already-in-manager",f.ImplementationError="wrong-implementation",f.NotImplemented="not-implemented",f.EventInitializationError="event-initialization-error",f.IncompatibleVersionError="incompatible-version-error",f.UnknownDialogType="unknown-dialog-type",f.FilterMissingOrNotImplemented="filter-missing-not-implemented",f.StoryPointIdMismatch="storypoint-id-mismatch",(d=t.FileFormats||(t.FileFormats={})).PDF="pdf",d.PNG="png",(p=t.PrintOrientation||(t.PrintOrientation={})).Portrait="portrait",p.Landscape="landscape",(c=t.PrintPageSize||(t.PrintPageSize={})).Letter="letter",c.Legal="legal",c.Note="note",c.Folio="folio",c.Tabloid="tabloid",c.Ledger="ledger",c.Statement="statement",c.Executive="executive",c.A3="A3",c.A4="A4",c.A5="A5",c.B4="B4",c.B5="B5",c.Quarto="quarto",c.Unspecified="unspecified",(l=t.PrintScaling||(t.PrintScaling={})).Automatic="automatic",l.Perc25="25%",l.Perc50="50%",l.Perc60="60%",l.Perc75="75%",l.Perc80="80%",l.Perc90="90%",l.Perc100="100%",l.Perc200="200%",l.Perc400="400%",l.AtMost1PageHigh="at-most-1-page-high",l.AtMost2PagesHigh="at-most-2-pages-high",l.AtMost1PageWide="at-most-1-page-wide",l.AtMost2PagesWide="at-most-2-pages-wide",(u=t.RevertVizSelection||(t.RevertVizSelection={})).All="all",u.Axes="axes",u.Filters="filters",u.Sorts="sorts",u.Shelves="shelves",(s=t.ToolbarButtons||(t.ToolbarButtons={})).Alerts="alerts",s.AskData="askData",s.CustomViews="customViews",s.DataDetails="dataDetails",s.Share="share",s.Subscribe="subscribe",(a=t.Toolbar||(t.Toolbar={})).Top="top",a.Bottom="bottom",a.Hidden="hidden",(o=t.SheetSizeBehavior||(t.SheetSizeBehavior={})).Automatic="automatic",o.Exactly="exactly",o.Range="range",o.AtLeast="atleast",o.AtMost="atmost",(i=t.PulseLayout||(t.PulseLayout={})).Default="default",i.Card="card",i.Ban="ban",(n=t.TableauEventType||(t.TableauEventType={})).CustomViewLoaded="customviewloaded",n.CustomViewRemoved="customviewremoved",n.CustomViewSaved="customviewsaved",n.CustomViewSetDefault="customviewsetdefault",n.EditButtonClicked="editbuttonclicked",n.EditInDesktopButtonClicked="editindesktopbuttonclicked",n.FilterChanged="filterchanged",n.FirstVizSizeKnown="firstvizsizeknown",n.FirstInteractive="firstinteractive",n.CustomMarkContextMenuEvent="custommarkcontextmenu",n.MarkSelectionChanged="markselectionchanged",n.ParameterChanged="parameterchanged",n.ToolbarStateChanged="toolbarstatechanged",n.WorkbookReadyToClose="workbookreadytoclose",n.WorkbookPublished="workbookpublished",n.WorkbookPublishedAs="workbookpublishedas",n.UrlAction="urlaction",n.TabSwitched="tabswitched",n.StoryPointSwitched="storypointswitched",n.VizLoadError="vizloaderror",n.IframeSrcUpdated="iframesrcupdated",n.SummaryDataChanged="summarydatachanged",n.ReadyToReceiveAuthToken="readytoreceiveauthtoken",(t.ApiMenuType||(t.ApiMenuType={})).Ubertip="ubertip",(r=t.TableauDialogType||(t.TableauDialogType={})).ExportPDF="export-pdf",r.ExportPowerPoint="export-powerpoint",r.ExportData="export-data",r.ExportCrossTab="export-cross-tab",r.ExportWorkbook="export-workbook",r.Share="share"},828:(e,t)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),(r=t.PulseAttributes||(t.PulseAttributes={})).DisableExploreFilter="disable-explore-filter",r.Layout="layout"},3432:(e,t)=>{"use strict";var r,n,i,o,a;Object.defineProperty(t,"__esModule",{value:!0}),(a=t.VizSharedAttributes||(t.VizSharedAttributes={})).TouchOptimize="touch-optimize",a.HideEditInDesktopButton="hide-edit-in-desktop-button",a.SuppressDefaultEditBehavior="suppress-default-edit-behavior",a.DisableVersionCheck="disable-version-check",a.OnEditInDesktopButtonClicked="onEditInDesktopButtonClicked",a.OnFirstVizSizeKnown="onFirstVizSizeKnown",a.OnFirstInteractive="onFirstInteractive",(o=t.VizAttributes||(t.VizAttributes={})).DisableUrlActionsPopups="disable-url-actions",o.HideTabs="hide-tabs",o.Toolbar="toolbar",o.InstanceIdToClone="instance-id-to-clone",o.Device="device",o.HideEditButton="hide-edit-button",o.OnEditButtonClicked="onEditButtonClicked",o.OnFilterChanged="onFilterChanged",o.OnCustomMarkContextMenuEvent="onCustomMarkContextMenuEvent",o.OnMarkSelectionChanged="onMarkSelectionChanged",o.OnParameterChanged="onParameterChanged",o.OnToolbarStateChanged="onToolbarStateChanged",o.OnUrlAction="onUrlAction",o.OnTabSwitched="onTabSwitched",o.OnCustomViewLoaded="onCustomViewLoaded",o.OnCustomViewRemoved="onCustomViewRemoved",o.OnCustomViewSaved="onCustomViewSaved",o.OnCustomViewSetDefault="onCustomViewSetDefault",o.OnStoryPointSwitched="onStoryPointSwitched",o.OnSummaryDataChanged="onSummaryDataChanged",o.OnReadyToReceiveAuthToken="onReadyToReceiveAuthToken",(i=t.VizAuthoringAttributes||(t.VizAuthoringAttributes={})).OnWorkbookPublished="onWorkbookPublished",i.OnWorkbookPublishedAs="onWorkbookPublishedAs",i.OnWorkbookReadyToClose="onWorkbookReadyToClose",i.HideCloseButton="hide-close-button",(n=t.VizChildElements||(t.VizChildElements={})).VizFilter="viz-filter",n.VizParameter="viz-parameter",n.CustomParameter="custom-parameter",(r=t.VizChildElementAttributes||(t.VizChildElementAttributes={})).Field="field",r.Value="value",r.Name="name"},1480:(e,t)=>{"use strict";var r,n;Object.defineProperty(t,"__esModule",{value:!0}),(n=t.WebComponentAttributes||(t.WebComponentAttributes={})).Src="src",n.Width="width",n.Height="height",n.Token="token",n.Debug="debug",n.IframeAuth="iframe-auth",n.OnVizLoadError="onvizloaderror",n.ForceTokenSync="force-token-sync",(t.WebComponentChildElements||(t.WebComponentChildElements={})).CustomParameter="custom-parameter",(r=t.WebComponentChildElementAttributes||(t.WebComponentChildElementAttributes={})).Field="field",r.Value="value",r.Name="name"},4744:e=>{"use strict";var t;!function(e){var t,r,n,i,o,a,s,u,l;(l=e.ErrorCodes||(e.ErrorCodes={})).APINotInitialized="api-not-initialized",l.VisibilityError="visibility-error",l.DialogAlreadyOpen="dialog-already-open",l.DialogClosedByUser="dialog-closed-by-user",l.InternalError="internal-error",l.InvalidDomainDialog="invalid-dialog-domain",l.InvalidParameter="invalid-parameter",l.MissingFilter="missing-filter",l.MissingParameter="missing-parameter",l.ServerError="server-error",l.SettingSaveInProgress="setting-save-in-progress",l.UnsupportedEventName="unsupported-event-name",l.UnsupportedMethodForDataSourceType="unsupported-method-for-data-source-type",(u=e.ExtensionContext||(e.ExtensionContext={})).Desktop="desktop",u.Server="server",(s=e.ExtensionMode||(e.ExtensionMode={})).Authoring="authoring",s.Viewing="viewing",(a=e.TableauEventType||(e.TableauEventType={})).FilterChanged="filter-changed",a.MarkSelectionChanged="mark-selection-changed",a.SummaryDataChanged="summary-data-changed",a.ParameterChanged="parameter-changed",a.SettingsChanged="settings-changed",a.DashboardLayoutChanged="dashboard-layout-changed",a.WorkbookFormattingChanged="workbook-formatting-changed",(o=e.VizImageEncodingType||(e.VizImageEncodingType={})).Discrete="discrete",o.Continuous="continuous",(i=e.VizImageSortDirectionType||(e.VizImageSortDirectionType={})).Ascending="ascending",i.Descending="descending",(n=e.VizImagePaletteType||(e.VizImagePaletteType={})).CustomDiverging="custom-diverging",n.CustomSequential="custom-sequential",(r=e.VizImageSizeSettingType||(e.VizImageSizeSettingType={})).Fixed="fixed",r.Manual="manual",(t=e.VizImageSizeSettingAlignmentType||(e.VizImageSizeSettingAlignmentType={})).Right="right",t.Left="left",t.Center="center"}(t||(t={})),e.exports=t},4912:(e,t)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),(r=t.SharedErrorCodes||(t.SharedErrorCodes={})).CrosstabCreationError="crosstab-creation-error",r.DataCreationError="data-creation-error",r.InvalidAggregationFieldName="invalid-aggregation-field-name",r.InvalidFilterFieldName="invalid-filter-name",r.InvalidFilterFieldValue="invalid-filter-fieldValue",r.InvalidSelectionDate="invalid-selection-date",r.InvalidSelectionFieldName="invalid-selection-fieldName",r.InvalidSelectionValue="invalid-selection-value",r.InvalidSelectionSheet="invalid-selection-sheet",r.InternalError="internal-error",r.InvalidParameter="invalid-parameter",r.PDFCreationError="pdf-creation-error",r.PowerPointCreationError="powerpoint-creation-error",r.NotActiveSheet="not-active-sheet",r.ImplementationError="wrong-implementation",r.ApiExecutionError="api-execution-error",r.ServerError="server-error",r.Timeout="timeout"},808:function(e){"use strict";var t,r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},r.apply(this,arguments)};!function(e){var t,n,i,o,a,s,u,l,c,p,d,f,y,h,m,g,v,b,I,S,_,T,P,A,E,w,O,D,x;(x=e.AnalyticsObjectType||(e.AnalyticsObjectType={})).Cluster="cluster",x.Forecast="forecast",x.TrendLine="trend-line",(D=e.AnnotationType||(e.AnnotationType={})).Mark="mark",D.Point="point",D.Area="area",(O=e.ColumnType||(e.ColumnType={})).Discrete="discrete",O.Continuous="continuous",O.Unknown="unknown",(w=e.ClassNameKey||(e.ClassNameKey={})).WorksheetTitle="tableau-worksheet-title",w.Worksheet="tableau-worksheet",w.Tooltip="tableau-tooltip",w.StoryTitle="tableau-story-title",w.DashboardTitle="tableau-dashboard-title",(E=e.DashboardObjectType||(e.DashboardObjectType={})).Blank="blank",E.Worksheet="worksheet",E.QuickFilter="quick-filter",E.ParameterControl="parameter-control",E.PageFilter="page-filter",E.Legend="legend",E.Title="title",E.Text="text",E.Image="image",E.WebPage="web-page",E.Extension="extension",function(e){e.Show="show",e.Hide="hide"}(t=e.DashboardObjectVisibilityType||(e.DashboardObjectVisibilityType={})),(A=e.DataType||(e.DataType={})).String="string",A.Int="int",A.Float="float",A.Bool="bool",A.Date="date",A.DateTime="date-time",A.Spatial="spatial",A.Unknown="unknown",(P=e.DashboardLayoutChange||(e.DashboardLayoutChange={})).Added="added",P.Removed="removed",P.IsFloatingChanged="is-floating-changed",P.IsVisibleChanged="is-visible-changed",P.PositionChanged="position-changed",P.SizeChanged="size-changed",P.NameChanged="name-changed",P.Selected="selected",P.Deselected="deselected",P.DashboardChanged="dashboard-changed",(T=e.DateRangeType||(e.DateRangeType={})).Last="last",T.LastN="last-n",T.Next="next",T.NextN="next-n",T.Current="current",T.ToDate="to-date",(_=e.DialogStyle||(e.DialogStyle={})).Window="window",_.Modal="modal",_.Modeless="modeless",(S=e.EncodingType||(e.EncodingType={})).Column="column",S.Row="row",S.Page="page",S.Filter="filter",S.MarksType="marks-type",S.MeasureValues="measure-values",S.Color="color",S.Size="size",S.Label="label",S.Detail="detail",S.Tooltip="tooltip",S.Shape="shape",S.Path="path",S.Angle="angle",S.Geometry="geometry",S.Custom="custom",(I=e.FieldAggregationType||(e.FieldAggregationType={})).Sum="sum",I.Avg="avg",I.Min="min",I.Max="max",I.Stdev="stdev",I.Stdevp="stdevp",I.Var="var",I.Varp="varp",I.Collect="collect",I.Count="count",I.Countd="countd",I.Median="median",I.Attr="attr",I.None="none",I.Year="year",I.Qtr="qtr",I.Month="month",I.Day="day",I.Hour="hour",I.Minute="minute",I.Second="second",I.Week="week",I.Weekday="weekday",I.MonthYear="month-year",I.Mdy="mdy",I.End="end",I.TruncYear="trunc-year",I.TruncQtr="trunc-qtr",I.TruncMonth="trunc-month",I.TruncWeek="trunc-week",I.TruncDay="trunc-day",I.TruncHour="trunc-hour",I.TruncMinute="trunc-minute",I.TruncSecond="trunc-second",I.Quart1="quart1",I.Quart3="quart3",I.Skewness="skewness",I.Kurtosis="kurtosis",I.InOut="in-out",I.User="user",(b=e.FieldRoleType||(e.FieldRoleType={})).Dimension="dimension",b.Measure="measure",b.Unknown="unknown",(v=e.FilterType||(e.FilterType={})).Categorical="categorical",v.Range="range",v.Hierarchical="hierarchical",v.RelativeDate="relative-date",(g=e.FilterUpdateType||(e.FilterUpdateType={})).Add="add",g.All="all",g.Replace="replace",g.Remove="remove",(m=e.FilterDomainType||(e.FilterDomainType={})).Relevant="relevant",m.Database="database",(h=e.FilterNullOption||(e.FilterNullOption={})).NullValues="null-values",h.NonNullValues="non-null-values",h.AllValues="all-values",(y=e.IncludeDataValuesOption||(e.IncludeDataValuesOption={})).AllValues="all-values",y.OnlyNativeValues="only-native-values",y.OnlyFormattedValues="only-formatted-values",(f=e.MarkType||(e.MarkType={})).Bar="bar",f.Line="line",f.Area="area",f.Square="square",f.Circle="circle",f.Shape="shape",f.Text="text",f.Map="map",f.Pie="pie",f.GanttBar="gantt-bar",f.Polygon="polygon",f.Heatmap="heatmap",f.VizExtension="viz-extension",(d=e.ParameterValueType||(e.ParameterValueType={})).All="all",d.List="list",d.Range="range",(p=e.PeriodType||(e.PeriodType={})).Years="years",p.Quarters="quarters",p.Months="months",p.Weeks="weeks",p.Days="days",p.Hours="hours",p.Minutes="minutes",p.Seconds="seconds",(c=e.QuickTableCalcType||(e.QuickTableCalcType={})).RunningTotal="running-total",c.Difference="difference",c.PercentDifference="percent-difference",c.PercentOfTotal="percent-of-total",c.Rank="rank",c.Percentile="percentile",c.MovingAverage="moving-average",c.YTDTotal="ytd-total",c.CompoundGrowthRate="compound-growth-rate",c.YearOverYearGrowth="year-over-year-growth",c.YTDGrowth="ytd-growth",c.Undefined="undefined",(l=e.SelectionUpdateType||(e.SelectionUpdateType={})).Replace="select-replace",l.Add="select-add",l.Remove="select-remove",(u=e.SelectOptions||(e.SelectOptions={})).Simple="select-options-simple",u.Toggle="select-options-toggle",(s=e.SheetType||(e.SheetType={})).Dashboard="dashboard",s.Story="story",s.Worksheet="worksheet",(a=e.SortDirection||(e.SortDirection={})).Increasing="increasing",a.Decreasing="decreasing",(o=e.TrendLineModelType||(e.TrendLineModelType={})).Linear="linear",o.Logarithmic="logarithmic",o.Exponential="exponential",o.Polynomial="polynomial",(i=e.ReplaySpeedType||(e.ReplaySpeedType={})).Slow="slow",i.Normal="normal",i.Fast="fast",(n=e.HierarchicalLevelSelectionState||(e.HierarchicalLevelSelectionState={})).AllSelected="all-selected",n.NoneSelected="none-selected",n.SomeSelected="some-selected",n.UnknownSelected="unknown-selected",e.ZoneVisibilityType=r({},t)}(t||(t={})),e.exports=t},5488:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){for(var r in e)t.hasOwnProperty(r)||(t[r]=e[r])}(r(4912));var n=r(808);t.AnalyticsObjectType=n.AnalyticsObjectType,t.AnnotationType=n.AnnotationType,t.ClassNameKey=n.ClassNameKey,t.ColumnType=n.ColumnType,t.DashboardLayoutChange=n.DashboardLayoutChange,t.DashboardObjectType=n.DashboardObjectType,t.DashboardObjectVisibilityType=n.DashboardObjectVisibilityType,t.DataType=n.DataType,t.DateRangeType=n.DateRangeType,t.DialogStyle=n.DialogStyle,t.EncodingType=n.EncodingType,t.FieldAggregationType=n.FieldAggregationType,t.FieldRoleType=n.FieldRoleType,t.FilterDomainType=n.FilterDomainType,t.FilterNullOption=n.FilterNullOption,t.FilterType=n.FilterType,t.FilterUpdateType=n.FilterUpdateType,t.HierarchicalLevelSelectionState=n.HierarchicalLevelSelectionState,t.IncludeDataValuesOption=n.IncludeDataValuesOption,t.MarkType=n.MarkType,t.ParameterValueType=n.ParameterValueType,t.PeriodType=n.PeriodType,t.QuickTableCalcType=n.QuickTableCalcType,t.ReplaySpeedType=n.ReplaySpeedType,t.SelectOptions=n.SelectOptions,t.SelectionUpdateType=n.SelectionUpdateType,t.SheetType=n.SheetType,t.SortDirection=n.SortDirection,t.TrendLineModelType=n.TrendLineModelType,t.ZoneVisibilityType=n.ZoneVisibilityType},3448:(e,t,r)=>{"use strict";function n(e){for(var r in e)t.hasOwnProperty(r)||(t[r]=e[r])}Object.defineProperty(t,"__esModule",{value:!0}),r(5668),r(5816),r(8824);var i=r(5892);t.INTERNAL_CONTRACT_VERSION=i,n(r(6716)),n(r(1080)),n(r(5824)),n(r(4547)),n(r(2400)),n(r(2496)),n(r(2472)),n(r(552)),n(r(3256)),n(r(7204)),n(r(3760)),n(r(4528)),n(r(3388)),t.MESSAGING_VERSION={major:1,minor:0,fix:0}},6716:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(1080),i=function(){function e(){}return e.isSpecial=function(e){return e.length>2&&"%"===e[0]&&"%"===e[e.length-1]},e.parseBoolean=function(e){var t=e.toLowerCase();return"true"!==t&&"false"!==t?this.specialValueIndicator:"true"===t},e.parseNumber=function(e){var t=Number(e);return isNaN(t)?this.specialValueIndicator:t},e.parseDate=function(e){var t=new Date(e);return Number.isNaN(t.getTime())?null:t},e.parseDateTime=function(e){var t=e.replace(" ","T").concat("Z"),r=new Date(t);return Number.isNaN(r.getTime())?null:r},e.convertValueAsStringToValue=function(e,t){if(null!=e){if(this.isSpecial(e))return e;switch(t){case n.DataType.Bool:return this.parseBoolean(e);case n.DataType.Int:case n.DataType.Float:return this.parseNumber(e);case n.DataType.Date:return null===this.parseDate(e)?this.specialValueIndicator:e;case n.DataType.DateTime:return null===this.parseDateTime(e)?this.specialValueIndicator:e;case n.DataType.Spatial:case n.DataType.String:default:return e}}},e.convertValueToNativeValue=function(e,t){if(null==e)return null;switch(t){case n.DataType.Bool:case n.DataType.Int:case n.DataType.Float:return"string"==typeof e?null:e;case n.DataType.Date:return this.parseDate(e);case n.DataType.DateTime:return this.parseDateTime(e);case n.DataType.String:return this.isSpecial(e)?null:e;case n.DataType.Spatial:default:return e}},e.convertStringValueToNativeValue=function(e,t){return this.convertValueToNativeValue(this.convertValueAsStringToValue(e,t),t)},e.specialValueIndicator="%null%",e}();t.DataTypeConverter=i},1080:(e,t)=>{"use strict";var r,n,i,o,a,s,u,l,c,p,d,f,y,h,m,g,v,b,I,S,_,T,P,A,E,w,O,D,x,F,C,N,M;Object.defineProperty(t,"__esModule",{value:!0}),(M=t.ExtensionContext||(t.ExtensionContext={})).Desktop="desktop",M.Server="server",M.Unknown="unknown",(N=t.ExtensionMode||(t.ExtensionMode={})).Authoring="authoring",N.Viewing="viewing",N.Unknown="unknown",(C=t.AnnotateEnum||(t.AnnotateEnum={})).Mark="mark",C.Point="point",C.Area="area",(F=t.ColumnType||(t.ColumnType={})).Discrete="discrete",F.Continuous="continuous",F.Unknown="unknown",(x=t.DashboardObjectType||(t.DashboardObjectType={})).Blank="blank",x.Worksheet="worksheet",x.QuickFilter="quick-filter",x.ParameterControl="parameter-control",x.PageFilter="page-filter",x.Legend="legend",x.Title="title",x.Text="text",x.Image="image",x.WebPage="web-page",x.Extension="extension",(D=t.DataType||(t.DataType={})).String="string",D.Int="int",D.Float="float",D.Bool="bool",D.Date="date",D.DateTime="date-time",D.Spatial="spatial",D.Unknown="unknown",(O=t.DialogStyle||(t.DialogStyle={})).Window="window",O.Modal="modal",O.Modeless="modeless",(w=t.EncodedDataType||(t.EncodedDataType={})).Number="number",w.String="string",w.Date="date",w.Boolean="boolean",(E=t.ErrorCodes||(t.ErrorCodes={})).INITIALIZATION_ERROR="initialization-error",E.INTERNAL_ERROR="internal-error",E.MISSING_ENUM_MAPPING="missing-enum-mapping",E.MISSING_PARAMETER="missing-parameter",E.PERMISSION_DENIED="permission-denied",E.PRES_MODEL_PARSING_ERROR="pres-model-parsing-error",E.VERSION_NOT_CONFIGURED="version-not-configured",E.VISIBILITY_ERROR="visibility-error",E.UNKNOWN_VERB_ID="unknown-verb-id",(A=t.FieldAggregationType||(t.FieldAggregationType={})).Sum="sum",A.Avg="avg",A.Min="min",A.Max="max",A.Stdev="stdev",A.Stdevp="stdevp",A.Var="var",A.Varp="varp",A.Collect="collect",A.Count="count",A.Countd="countd",A.Median="median",A.Attr="attr",A.None="none",A.Year="year",A.Qtr="qtr",A.Month="month",A.Day="day",A.Hour="hour",A.Minute="minute",A.Second="second",A.Week="week",A.Weekday="weekday",A.MonthYear="month-year",A.Mdy="mdy",A.End="end",A.TruncYear="trunc-year",A.TruncQtr="trunc-qtr",A.TruncMonth="trunc-month",A.TruncWeek="trunc-week",A.TruncDay="trunc-day",A.TruncHour="trunc-hour",A.TruncMinute="trunc-minute",A.TruncSecond="trunc-second",A.Quart1="quart1",A.Quart3="quart3",A.Skewness="skewness",A.Kurtosis="kurtosis",A.InOut="in-out",A.User="user",(P=t.FieldRoleType||(t.FieldRoleType={})).Dimension="dimension",P.Measure="measure",P.Unknown="unknown",(T=t.FilterUpdateType||(t.FilterUpdateType={})).Add="add",T.All="all",T.Replace="replace",T.Remove="remove",(_=t.SheetType||(t.SheetType={})).Dashboard="dashboard",_.Story="story",_.Worksheet="worksheet",(S=t.DomainRestrictionType||(t.DomainRestrictionType={})).All="all",S.List="list",S.Range="range",(I=t.DateStepPeriod||(t.DateStepPeriod={})).Years="years",I.Quarters="quarters",I.Months="months",I.Weeks="weeks",I.Days="days",I.Hours="hours",I.Minutes="minutes",I.Seconds="seconds",(b=t.FilterNullOption||(t.FilterNullOption={})).NullValues="nullvalues",b.NonNullValues="nonnullvalues",b.AllValues="allvalues",(v=t.FilterDomainType||(t.FilterDomainType={})).Relevant="relevant",v.Database="database",(g=t.SelectionUpdateType||(t.SelectionUpdateType={})).Replace="select-replace",g.Add="select-add",g.Remove="select-remove",(m=t.SelectOptions||(t.SelectOptions={})).Simple="select-options-simple",m.Toggle="select-options-toggle",m.Menu="select-options-menu",m.Range="select-options-range",m.Search="select-options-search",(h=t.QuantitativeIncludedValues||(t.QuantitativeIncludedValues={})).IncludeNull="include-null",h.IncludeNonNull="include-non-null",h.IncludeAll="include-all",(y=t.HierarchicalLevelSelectionState||(t.HierarchicalLevelSelectionState={})).AllSelected="all-selected",y.NoneSelected="none-selected",y.SomeSelected="some-selected",y.UnknownSelected="unknown-selected",(f=t.MarkType||(t.MarkType={})).Bar="bar",f.Line="line",f.Area="area",f.Square="square",f.Circle="circle",f.Shape="shape",f.Text="text",f.Map="map",f.Pie="pie",f.GanttBar="gantt-bar",f.Polygon="polygon",f.Heatmap="heatmap",f.VizExtension="viz-extension",(d=t.FilterType||(t.FilterType={})).Categorical="categorical",d.Range="range",d.RelativeDate="relativeDate",d.Hierarchical="hierarchical",(p=t.DateRangeType||(t.DateRangeType={})).Last="last",p.LastN="lastN",p.Next="next",p.NextN="nextN",p.Current="current",p.ToDate="toDate",(c=t.ExtensionDialogResult||(t.ExtensionDialogResult={})).DialogAlreadyOpen="dialog-already-open",c.InvalidDomain="invalid-domain",c.Success="success",(l=t.ApiShowDataTableSentinel||(t.ApiShowDataTableSentinel={})).SingleTableId="single-table-id-sentinel",l.SingleTableCaption="Single table id sentinel",(u=t.ApiShowDataTableFormat||(t.ApiShowDataTableFormat={})).NativeValuesOnly="native-values-only",u.FormattedValuesOnly="formatted-values-only",u.NativeAndFormattedValues="native-and-formatted-values",(s=t.PageSizeOption||(t.PageSizeOption={})).Letter="letter",s.Legal="legal",s.Note="note",s.Folio="folio",s.Tabloid="tabloid",s.Ledger="ledger",s.Statement="statement",s.Executive="executive",s.A3="a3",s.A4="a4",s.A5="a5",s.B4="b4",s.B5="b5",s.Quarto="quarto",s.Unspecified="unspecified",(a=t.PageOrientation||(t.PageOrientation={})).Printer="printer",a.Portrait="portrait",a.Landscape="landscape",(o=t.ScaleMode||(t.ScaleMode={})).ScaleAuto="auto",o.ScalePercentage="percent",o.ScaleFitPages="fit-pages",(i=t.PageScalingOption||(t.PageScalingOption={})).ScalePctAuto="auto",i.ScalePct400="pct400",i.ScalePct200="pct200",i.ScalePct100="pct100",i.ScalePct90="pct90",i.ScalePct80="pct80",i.ScalePct75="pct75",i.ScalePct60="pct60",i.ScalePct50="pct50",i.ScalePct25="pct25",(n=t.FitPages||(t.FitPages={})).FitOneHigh="fit0x1",n.FitTwoHigh="fit0x2",n.FitOneWide="fit1x0",n.FitTwoWide="fit2x0",(r=t.EncodingType||(t.EncodingType={})).Color="color",r.Size="size",r.Label="label",r.Detail="detail",r.Tooltip="tooltip",r.Shape="shape",r.Path="path",r.Angle="angle",r.Geometry="geometry",r.Custom="custom"},5824:(e,t)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),(r=t.NotificationId||(t.NotificationId={})).CustomMarkContextMenuClicked="custom-mark-context-menu-clicked",r.ContextMenuClick="context-menu-click",r.CustomViewRemoved="custom-view-removed",r.CustomViewSaved="custom-view-saved",r.CustomViewSetDefault="custom-view-set-default",r.CustomViewsLoaded="custom-views-loaded",r.DashboardLayoutChanged="dashboard-layout-changed",r.EditButtonClicked="edit-button-clicked",r.EditInDesktopButtonClicked="edit-in-desktop-button-clicked",r.ExtensionDialogUpdate="extension-dialog-update",r.FilterChanged="filter-changed",r.FirstVizSizeKnown="first-viz-size-known",r.ParameterChanged="parameter-changed",r.SelectedMarksChanged="selected-marks-changed",r.SettingsChanged="settings-changed",r.SummaryDataChanged="summary-data-changed",r.TestConversionNotification="test-conversion-notification",r.ToolbarStateChanged="toolbar-state-changed",r.VizInteractive="viz-interactive",r.AskDataInteractive="ask-data-interactive",r.WorkbookReadyToClose="workbook-ready-to-close",r.WorkbookFormattingChanged="workbook-formatting-changed",r.WorkbookPublished="workbook-published",r.WorkbookPublishedAs="workbook-published-as",r.UrlAction="url-action",r.TabSwitched="tab-switched",r.StoryPointSwitched="story-point-switched",r.ReadyToReceiveAuthToken="ready-to-receive-auth-token"},4547:(e,t)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),(r=t.ParameterId||(t.ParameterId={})).ActiveTablesInfo="active-tables-info",r.AnchorDate="anchor-date",r.AnnotateEnum="annotate-enum",r.AnnotationList="annotation-list",r.CategoricalDomain="categorical-domain",r.ClickThroughEnabled="click-through-enabled",r.ColumnsToInclude="columns-to-include",r.ColumnsToIncludeById="columns-to-include-by-id",r.ConnectionDescriptionSummaries="connection-description-summaries",r.CurrentSheetType="current-sheet-type",r.CustomView="custom-view",r.CustomViewIsDefault="custom-view-is-default",r.CustomViewIsPublic="custom-view-is-public",r.CustomViewLuid="custom-view-luid",r.CustomViewName="custom-view-name",r.CustomViews="custom-views",r.Dashboard="dashboard",r.DashboardFilters="dashboard-filters",r.DashboardName="dashboard",r.DashboardObjectPositionAndSizeUpdate="dashboard-object-position-and-size-update",r.DashboardObjectPositionAndSizeUpdateList="dashboard-object-position-and-size-update-list",r.DataRowIndex="data-row-index",r.DataSchema="data-schema",r.DataSource="data-source",r.DataSourceDataTable="data-source-data-table",r.DataSourceId="data-source-id",r.DataSourceName="data-source-name",r.DataTable="data-table",r.DataTableReader="data-table-reader",r.DateRangeType="date-range-type",r.DeltaTimeMs="delta-time-ms",r.DimValSelectionModels="dimensionValueSelectionModels",r.DomainType="domain-type",r.EmbeddingAbstractQuery="embedding-abstract-query",r.EmbeddingBootstrapInfo="embedding-bootstrap-info",r.ExportCrosstabSheetMap="export-crosstab-sheet-map",r.ExportFile="export-file",r.ExportOriginUrl="export-origin-url",r.ExportPdfOptions="export-pdf-options",r.ExtensionBootstrapInfo="extension-bootstrap-info",r.ExtensionContextMenuIds="extension-context-menu-ids",r.ExtensionDialogH="extension-dialog-height",r.ExtensionDialogPayload="extension-dialog-payload",r.ExtensionDialogResult="extension-dialog-result",r.ExtensionDialogStyle="extension-dialog-style",r.ExtensionDialogUrl="extension-dialog-url",r.ExtensionDialogW="extension-dialog-width",r.ExtensionLocator="extension-locator",r.ExtensionSettingsInfo="extension-settings-info",r.ExtensionZoneId="extension-zone-id",r.ExternalMenuDescription="external-menu-description",r.ExternalMenuHeader="external-menu-header",r.ExternalMenuItemDisplayName="external-menu-item-display-name",r.ExternalMenuItemId="external-menu-item-id",r.Field="field",r.FieldId="field-id",r.FieldName="field-name",r.FilterLevels="filter-levels",r.FilterRangeMax="filter-range-max",r.FilterRangeMin="filter-range-min",r.FilterRangeNullOption="filter-range-null-option",r.FilterUpdateType="filter-update-type",r.FilterValues="filter-values",r.FontNameListItems="font-name-list-items",r.FormattedText="formatted-text",r.FunctionName="function-name",r.HierValSelectionModels="hierarchicalValueSelectionModels",r.HighlightedData="highlighted-data",r.HoverTupleInteraction="hover-tuple-interaction",r.IgnoreAliases="ignore-aliases",r.IgnoreSelection="ignore-selection",r.IncludeAllColumns="include-all-columns",r.InvalidAggFieldName="invalid-agg-field-name",r.InvalidDates="invalid-dates",r.InvalidFieldCaption="invalid-field-caption",r.InvalidFields="invalid-fields",r.InvalidValues="invalid-values",r.IsExcludeMode="is-exclude",r.IsExtensionDialog="is-extension-dialog",r.JoinDescription="join-description",r.LogicalTableId="logical-table-id",r.LogicalTableInfoList="logical-table-info-list",r.MaxHeight="max-height",r.MaxRows="max-rows",r.MaxWidth="max-width",r.MinHeight="min-height",r.MinWidth="min-width",r.PageRowCount="page-row-count",r.ParameterCaption="paremeter-caption",r.ParameterError="parameter-error",r.ParameterFieldName="parameter-field-name",r.ParameterInfo="parameter-info",r.ParameterInfos="parameter-infos",r.ParameterValue="parameter-value",r.PeriodType="period-type",r.QuantitativeDomain="quantitative-dmain",r.QuantRangeSelectionModels="quantativeRangeSelectionModels",r.RangeN="range-n",r.ReplaySpeed="replay-speed",r.SelectedData="selected-data",r.SelectedSheetNames="selected-sheet-names",r.Selection="selection",r.SelectionList="selection-list",r.SelectionUpdateType="selectionUpdateType",r.SelectTuplesInteraction="select-tuples-interaction",r.SendNotifications="send-notifications",r.SettingsValues="settings-values",r.SharedFilterSheets="shared-filter-sheets",r.SharedFiltersInfo="shared-filters-info",r.SheetIdentifier="sheet-identifier",r.SheetName="sheet-name",r.SheetPath="sheet-path",r.ShouldRefreshDS="should-refresh-ds",r.ShowDataTableFormat="show-data-table-format",r.State="state",r.StoryPointIndex="story-point-index",r.StoryPointInfo="story-point-info",r.SwitchToSheetName="switch-to-sheet-name",r.TargetPoint="target-point",r.TestConversionParameter="test-conversion-parameter",r.Text="formatted-text",r.TooltipContext="tooltip-context",r.TooltipTextRequest="tooltip-text-request",r.TooltipText="tooltip-text",r.UnderlyingDataTable="underlying-data-table",r.UnderlyingSummaryDataTable="underlying-summary-data-table",r.Url="url",r.UseTabDelimiters="use-tab-delimiters",r.ViewDataTableCacheId="view-data-table-cache-id",r.ViewDataTableId="view-data-table-id",r.VisualId="visual-id",r.VisualSpecification="visual-specification",r.VizAPIInputJson="vizapi-input-json",r.VizAPIStateWithDataModel="vizapi-state-with-data-model",r.VizAPIStateWarningMsg="vizapi-state-warning-msg",r.VizAPISVG="vizapi-svg",r.WorksheetName="worksheet-name",r.WorksheetFilters="worksheet-filters",r.ZoneIdsVisibilityMap="zone-ids-visibility-map"},2400:(e,t)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),(r=t.VerbId||(t.VerbId={})).ActivateNextStoryPoint="activate-next-story-point",r.ActivatePreviousStoryPoint="activate-previous-story-point",r.ActivateSheet="activateSheet",r.ActivateStoryPoint="activate-story-point",r.AppendExternalMenuItem="append-external-menu-item",r.ApplyCategoricalFilter="categorical-filter",r.ApplyRangeFilter="range-filter",r.ApplyRelativeDateFilter="apply-relative-date-Filter",r.Authenticate="authenticate",r.BlockExtension="block-extension",r.ChangeParameterValue="change-parameter-value",r.ChangeSharedFilter="change-shared-filter",r.ClearFilter="clear-filter",r.ClearSelectedMarks="clear-selected-marks",r.CloseDialog="close-dialog",r.CreateAnnotation="create-annotation",r.DashboardCategoricalFilter="dashboard-categorical-filter",r.DisplayDialog="display-dialog",r.DownloadWorkbook="download-workbook",r.ExecuteExternalMenuItem="execute-external-menu-item",r.ExportCrosstab="export-crosstab",r.ExportCrosstabCsvDownload="export-crosstab-csv-download",r.ExportCrosstabExcelDownload="export-crosstab-excel-download",r.ExportData="export-data",r.ExportDataDownload="export-data-download",r.ExportImage="export-image",r.ExportPdf="export-pdf",r.ExportPdfDownload="export-pdf-download",r.ExportPowerpoint="export-powerpoint",r.ExportPowerpointDownload="export-powerpoint-download",r.FindParameter="find-parameter",r.GetActiveTables="get-active-tables",r.GetAllDataSources="get-all-data-sources",r.GetAnnotations="get-annotations",r.GetCategoricalDomain="get-categorical-domain",r.GetConnectionDescriptionSummaries="get-connection-description-summaries",r.GetCurrentSrc="get-current-src",r.GetCustomViews="get-custom-views",r.GetDashboardFilters="get-dashboard-filters",r.GetDataSource="get-datasource",r.GetDataSourceData="get-datasource-data",r.GetDataSources="get-data-sources",r.GetDataSummaryData="get-summary-data",r.GetDataSummaryDataReader="get-summary-data-reader",r.GetDataTableReaderPage="get-data-table-reader-page",r.GetEmbeddingAbstractQueryWithDataModel="get-embedding-abstract-query-with-data-model",r.GetEmbeddingClientInfo="get-embedding-client-info",r.GetVizStateWithDataModel="get-viz-state-with-data-model",r.GetExportCrosstabSheetMap="get-export-crosstab-sheet-map",r.GetExportPdfOptions="get-export-pdf-options",r.GetField="get-field",r.GetFieldAndDataSource="get-field-and-datasource",r.GetVisualSpecification="get-visual-specification",r.GetFilters="get-filters",r.GetFonts="get-fonts",r.GetHighlightedMarks="get-highlighted-marks",r.GetJoinDescription="get-join-description",r.GetLogicalTableData="get-logical-table-data",r.GetLogicalTableDataReader="get-logical-table-data-reader",r.GetLogicalTables="get-logical-tables",r.GetParametersForSheet="get-parameters-for-sheet",r.GetRangeDomain="get-range-domain",r.GetSelectedMarks="get-selected-marks",r.GetSharedFilter="get-shared-filter",r.GetTooltipText="get-tooltip-text",r.GetUnderlyingData="get-underlying-data",r.GetUnderlyingTableData="get-underlying-table-data",r.GetUnderlyingTableDataReader="get-underlying-table-data-reader",r.GetUnderlyingTables="get-underlying-tables",r.HierarchicalFilter="hierachical-filter",r.InitializeExtension="initialize-extension",r.MoveAndResizeZones="move-and-resize-zones",r.RaiseLeaveMarkNavNotification="raise-leave-mark-nav-notification",r.RaiseHoverTupleNotification="raise-hover-tuple-notification",r.RaiseSelectTuplesNotification="raise-select-tuples-notification",r.Redo="redo",r.RefreshDataSource="refresh-data-source",r.ReleaseDataTableReader="release-data-table-reader",r.RemoveAnnotation="remove-annotation",r.RemoveCustomView="remove-custom-view",r.RemoveExternalMenuItem="remove-external-menu-item",r.RenameExternalMenu="rename-external-menu",r.ReplayAnimation="replay-animation",r.RevertStoryPoint="revert-story-point",r.RevertWorkbook="revert-workbook",r.SaveExtensionSettings="save-extension-settings",r.SaveWorkbookAsCustomView="save-workbook-as-custom-view",r.SelectByValue="select-by-value",r.SetActiveCustomViewAsDefault="set-active-custom-view-as-default",r.SetAutoUpdate="set-auto-update",r.SetClickThrough="set-click-through",r.SetVizStateWithDataModel="set-viz-state-with-data-model",r.SetSheetSize="set-sheet-size",r.SetZoneVisibility="set-zone-visibility",r.Share="share",r.ShowCustomView="show-custom-view",r.TestConversionVerb="test-conversion-verb",r.Undo="undo",r.UpdateCustomView="update-custom-view",r.VizAPI="viz-api"},2496:(e,t)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),(r=t.AskDataOptionNames||(t.AskDataOptionNames={})).token="token",r.origin="origin",r.showEmbed="showEmbed",r.showPin="showPin",r.showSave="showSave",r.showShare="showShare",r.debug=":jsdebug",r.ApiID=":apiID",r.ApiExternalVersion=":apiExternalVersion",r.ApiInternalVersion=":apiInternalVersion",r.AskDataWebComponent=":askDataWebComponent"},2472:(e,t)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),(r=t.PulseOptionNames||(t.PulseOptionNames={})).embed="embed",r.token="token",r.disableExploreFilter="disableExploreFilter",r.layout="embed_layout",r.ApiExternalVersion=":apiExternalVersion",r.ApiInternalVersion=":apiInternalVersion",r.PulseWebComponent=":pulseWebComponent"},552:(e,t)=>{"use strict";var r,n,i;Object.defineProperty(t,"__esModule",{value:!0}),function(e){e.ONE="1",e.ALERTS=":alerts",e.ALIAS="alias",e.ALLOW_DEFERRED_BOOTSTRAP=":allowDeferredBootstrap",e.ALLOW_AUTOGEN_WORKSHEET_PHONE_LAYOUTS="allowAutogenWorksheetPhoneLayouts",e.API_ID=":apiID",e.APP=":app",e.ATTACHMENT="attachment",e.IS_IPAD_APP="app",e.ANIMATE_TRANSITION=":animate_transition",e.ASCENDING="ascending",e.AUTHENTICATION="authentication",e.ATTRIBUTES="attributes",e.AUTHORING_SHEET=":authSheet",e.AXIS="axis",e.BOOTSTRAP_WHEN_NOTIFIED=":bootstrapWhenNotified",e.BROWSER_BACK_BUTTON_UNDO=":browserBackButtonUndo",e.BROWSER_RENDERING_ON="isBrowserRendering",e.BROWSER_RENDERING_THRESHOLD="browserRenderingThreshold",e.CHARSET="charset",e.CLIENT_DIMENSION="clientDimension",e.CLIENT_IP="client_ip",e.CLIENT_NUM="clientNum",e.COLON_EMBEDDED=":embedded",e.COLON_MOBILE=":mobile",e.COLON_DEEP_LINKING_DISABLED=":deepLinkingDisabled",e.COLON_WATERMARK=":watermark",e.COMMENTS=":comments",e.COMMENTING_ENABLED=":commentingEnabled",e.COMMENTING_MENTIONS_ENABLED=":commentingMentions",e.CONNECTION="connection",e.CREATED_BY_FEATURE="createdByFeature",e.CRYPTED_PASSWORD="crypted",e.CSSDEBUG=":cssdebug",e.CSV="csv",e.CUSTOM_VIEWS=":customViews",e.CV=":cv",e.CV_ID="cvId",e.DASHBOARD_PORT_SIZE="dashboardPortSize",e.DATA_DETAILS=":dataDetails",e.DATASOURCE="datasource",e.DEBUG=":debug",e.DELAY=":delay",e.DEPTH="depth",e.DEVICE_TYPE=":device",e.DEVICE_PIXEL_RATIO="devicePixelRatio",e.DEVICE_PREVIEW_MODE=":devicepreviewmode",e.DIMENSIONS=":dimensions",e.DISABLE_SHARED_SESSIONS=":disable_shared_sessions",e.DISABLE_URL_ACTIONS_POPUPS=":disableUrlActionsPopups",e.DIRECTION="direction",e.DISPLAY_OVERLAY=":display_overlay",e.DISPLAY_SHARE=":display_share",e.DISPLAY_SPINNER=":display_spinner",e.DISPLAY_STATIC_IMAGE=":display_static_image",e.DISPLAY_TABS="display_tabs",e.DISPLAY_VIEW_COUNT=":display_count",e.IGNORE_STICKY_SESSION=":ignore_sticky_session",e.INCREMENT_VIEW_COUNT=":increment_view_count",e.DOCMODE="docmode",e.DOMAIN="domain",e.DO_WORK="do_work",e.DX="dx",e.DY="dy",e.EDIT_DATA_ALERT=":editDataAlert",e.EMBED=":embed",e.EMBEDDED="embedded",e.ENCRYPTED="encrypted",e.API_EXTERNAL_VERSION=":apiExternalVersion",e.API_INTERNAL_VERSION=":apiInternalVersion",e.EXCLUDE="exclude",e.EXPORT_FORMAT=":export_format",e.FIELDNAME="fieldname",e.FIELD_NAME="field_name",e.FIELD_SEP="field_sep",e.FILE="file",e.FILTER_TILE_SIZE="filterTileSize",e.FN="fn",e.FOCUS="focus",e.FORCE_CACHE="force_cache",e.FORMAT="format",e.FORMAT_DATA_VALUE_LOCALLY="formatDataValueLocally",e.FROM_WG=":from_wg",e.GRAPHQL_DATABASE_ID=":graphQLDatabaseId",e.GRAPHQL_TABLE_ID=":graphQLTableId",e.GUID=":guid",e.H="h",e.HIDDEN="hidden",e.HIDE_CLOSE_BUTTON=":hideCloseButton",e.HIDE_EDIT_BUTTON=":hideEditButton",e.HIDE_EDIT_IN_DESKTOP_BUTTON=":hideEditInDesktopButton",e.HIGH_DPI=":highdpi",e.IMAGE_SIZE_LIMIT="imageSizeLimit",e.TRANSPARENT_LINE_MARKS_LIMIT="transparentLineMarkLimit",e.CLIENT_RENDER_PIXEL_LIMIT="clientRenderPixelLimit",e.IN="in",e.INSTANCE_ID=":iid",e.IS_GUEST_REDIRECT_FROM_VIZPORTAL=":isGuestRedirectFromVizportal",e.IS_MARK_ANIMATION_ENABLED="isMarkAnimationEnabled",e.IS_VIZPORTAL=":isVizPortal",e.INPUT_="input_string",e.JSDEBUG=":jsdebug",e.JSON="json",e.JSON_ONLY=":jsonOnly",e.KEEPFILE="keepfile",e.KEY="key",e.LANGUAGE="language",e.LANGUAGE_REQUESTED=":language",e.LINKTARGET=":linktarget",e.LOAD_ORDER_ID=":loadOrderID",e.LOAD_NEWEST_REVISION=":loadNewestRevision",e.LOCAL_PATHS=":localPaths",e.LOCALE="locale",e.LOCATION_ID="locationid",e.LOCATION_TYPE="locationtype",e.WORKBOOK_LOCALE="workbookLocale",e.MAXROWS="maxrows",e.MAX_AGE="maxAge",e.MAX_ROWS="maxRows",e.METHOD="method",e.MOBILE="mobile",e.MODIFIER="modifier",e.NAME="name",e.NAV_TYPE="navType",e.NAV_SRC="navSrc",e.NOATTACHMENT="no-attachment",e.NO_OVERWRITE="no_overwrite",e.OPEN_AUTHORING_IN_TOP_WINDOW=":openAuthoringInTopWindow",e.OPENID_HD=":openid_hd",e.OPENID_LOGIN_HINT=":openid_login_hint",e.OAUTHREQUEST="oauthrequest",e.OAUTH_CREDENTIAL_IDS="oauth_credential_ids",e.OFFLINE_MODE=":offlinemode",e.ORIGIN=":origin",e.OVERLAY=":overlay",e.P="p",e.PATH="path",e.PANE_RESOLVER_X="paneResolverX",e.PANE_RESOLVER_Y="paneResolverY",e.PARAM="param",e.PARENT_ID="parent_id",e.PASSWORD="password",e.PATTERN="pattern",e.PIXEL_RATIO=":pixelratio",e.PREFIX=":prefix",e.PREVIEW=":preview",e.PRIMARY_CONTENT_URL="primary_content_url",e.PROJECT="project",e.PROTOCOL="protocol",e.PSEUDO=":pseudo",e.QUERY="query",e.R="r",e.RANGE_TYPE="range_type",e.RECORD_SEP="record_sep",e.RECORD_CLIENT_PERFORMANCE=":record_client_performance",e.RECORD_PERFORMANCE=":record_performance",e.RECOVER_OLD_SESSION_ID=":recover_old_session_id",e.RECOVER_SESSION_STATE_TICKETS=":recover_session_state_tickets",e.REFRESH=":refresh",e.REFRESHUNMODIFIED=":refreshunmodified",e.REGION="region",e.RELOAD_ON_CUSTOM_VIEW_SAVE=":reloadOnCustomViewSave",e.RENDER=":render",e.RENDER_MAPS_CLIENT_SIDE="renderMapsClientSide",e.RETRY=":retry",e.REUSE="reuse",e.REUSE_FOREVER="reuse_forever",e.REVERT=":revert",e.SAVE_DB_PASSWORDS="save_db_passwords",e.SELECT_X="select_x",e.SELECT_Y="select_y",e.SESSION_FEATURE_PREFIX=":ff_",e.SESSION_FLAGS=":session_feature_flags",e.SHARE_BUTTON="share_button",e.SHEET_ID="sheet_id",e.SHARED="shared",e.SHOWALL="showall",e.SHOW_APP_BANNER=":showAppBanner",e.SHOW_ASK_DATA=":showAskData",e.SHOW_PARAMS="showParams",e.SHOW_SHARE_OPTIONS=":showShareOptions",e.SIZE=":size",e.SOURCE="source",e.STATE="state",e.STICKY_SESSION_KEY="stickySessionKey",e.SUBSCRIPTIONS=":subscriptions",e.SUMMARY="summary",e.SUPPRESS_DEFAULT_EDIT_BEHAVIOR=":suppressDefaultEditBehavior",e.SYNC_SESSION=":sync_session",e.SYNC_SESSION_STATE="sync_session_state",e.TABS=":tabs",e.TARGET="target",e.TARGET_SITE="target_site",e.TOOLBAR=":toolbar",e.TOOLTIP=":tooltip",e.TS="ts",e.UNDERLYING_TABLE_ID="underlying_table_id",e.UNDERLYING_TABLE_CAPTION="underlying_table_caption",e.UPDATE_TYPE="update_type",e.USE_GUEST=":useGuest",e.USE_INLINE_IMAGES="use_inline_images",e.USERAGENT="useragent",e.USERNAME="username",e.VALUE="value",e.VERBOSE_MODE="verboseMode",e.VIEW_ID="views_id",e.VIZ_SNAPSHOT_ID="viz_snapshot_id",e.VW=":vw",e.W="w",e.WORKSHEET_PORT_SIZE="worksheetPortSize",e.WATERMARK="watermark",e.WATERMARK_MARGIN=":watermark_margin",e.WB=":wb",e.WHICH="which",e.X="x",e.Y="y",e.ZID="zid",e.ZONE_ID="zone_id",e.KEYCHAIN_VERSION="keychain_version",e.DATASOURCE_ID="datasource_id",e.DATASOURCE_NAME="datasource_name",e.LENS_ID="lens_id",e.WIDTH="width",e.HEIGHT="height",e.LAYOUT_VIEWS="views",e.LAYOUT_MENUS="menus",e.LAYOUT_GEOMETRY="geometry",e.LAYOUT_PAGES="pages",e.LAYOUT_CACHEURL="cacheurl",e.LAYOUT_SHEET="sheet",e.LAYOUT_DEPTH="depth"}(r||(r={})),function(e){e.SHOW_VIZ_HOME=":showVizHome"}(n||(n={})),(i=t.VizOptionNames||(t.VizOptionNames={})).Size=":size",i.Embed=":embed",i.ApiInternalVersion=":apiInternalVersion",i.ApiExternalVersion=":apiExternalVersion",i.ShowVizHome=":showVizHome",i.Jsdebug=":jsdebug",i.BootstrapWhenNotified=":bootstrapWhenNotified",i.NavType="navType",i.NavSrc="navSrc",i.debug=":jsdebug",i.ApiID=":apiID",i.disableUrlActionsPopups=":disableUrlActionsPopups",i.hideTabs=":tabs",i.toolbar=":toolbar",i.device=":device",i.instanceIdToClone=":iid",i.touchOptimize="mobile",i.hideEditButton=":hideEditButton",i.hideEditInDesktopButton=":hideEditInDesktopButton",i.suppressDefaultEditBehavior=":suppressDefaultEditBehavior",i.hideCloseButton=":hideCloseButton"},3256:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(1808),i=r(3448),o=r(1680),a=r(4020),s=r(7204),u=function(){function e(e,t,r){this.thisWindow=e,this.otherWindow=t,this.otherWindowOrigin=r}return e.prototype.startListening=function(){var e=this;if(!this.unregisterFunction){var t=this.onMessageReceived.bind(this);this.thisWindow.addEventListener("message",t,!0),this.unregisterFunction=function(){return e.thisWindow.removeEventListener("message",t,!0)}}},e.prototype.stopListening=function(){this.unregisterFunction&&(this.unregisterFunction(),this.unregisterFunction=void 0)},e.prototype.setInitializeMessageHandler=function(e){this.initializeMessageHandler=e},e.prototype.setCommandResponseMessageHandler=function(e){this.commandResponseMessageHandler=e},e.prototype.setCommandMessageHandler=function(e){this.commandMessageHandler=e},e.prototype.setNotificationMessageHandler=function(e){this.notificationMessageHandler=e},e.prototype.setHandshakeMessageHandler=function(e){this.handshakeMessageHandler=e},e.prototype.prepareInitializationMessage=function(e,t,r){var i={msgGuid:n.raw(),msgType:s.MessageType.Initialize,crossFrameVersion:t,apiVersion:e,options:r};return this.prepareMessage(i)},e.prototype.prepareCommandMessage=function(e,t){var r={msgGuid:n.raw(),msgType:s.MessageType.Command,verbId:e,parameters:t};return this.prepareMessage(r)},e.prototype.prepareCommandResponseMessage=function(e,t,r){var i={msgGuid:n.raw(),msgType:s.MessageType.CommandResponse,commandGuid:e,data:t,error:r};return r&&(i.error=JSON.parse(JSON.stringify(r))),this.prepareMessage(i)},e.prototype.prepareNotificationMessage=function(e,t){var r={msgGuid:n.raw(),msgType:s.MessageType.Notification,notificationId:e,data:t};return this.prepareMessage(r)},e.prototype.prepareAckMessage=function(){var e={msgGuid:n.raw(),msgType:s.MessageType.Ack,platformVersion:i.INTERNAL_CONTRACT_VERSION};return this.prepareMessage(e)},e.prototype.prepareMessage=function(e){if(!this.otherWindow||!this.otherWindowOrigin)throw"Other window not initialized, cannot dispatch messages";return new o.CrossFramePreparedMessage(e,this.otherWindow,this.otherWindowOrigin)},e.prototype.onMessageReceived=function(e){if((!this.otherWindow||e.source===this.otherWindow)&&e.data){var t=e.data;if(a.isMessage(t))switch(t.msgType){case s.MessageType.Initialize:if(!a.isInitMessage(t)||!this.initializeMessageHandler)return;this.initializeMessageHandler(t,e.source);break;case s.MessageType.CommandResponse:if(!a.isCommandResponseMessage(t)||!this.commandResponseMessageHandler)return;this.commandResponseMessageHandler(t,e.source);break;case s.MessageType.Command:if(!a.isCommandMessage(t)||!this.commandMessageHandler)return;this.commandMessageHandler(t,e.source);break;case s.MessageType.Notification:if(!a.isNotificationMessage(t)||!this.notificationMessageHandler)return;this.notificationMessageHandler(t,e.source);break;case s.MessageType.Handshake:if(!a.isHandshakeMessage(t)||!this.handshakeMessageHandler)return;this.handshakeMessageHandler(t,e.source)}}},e.prototype.setOtherWindow=function(e){this.otherWindow=e},e.prototype.setOtherWindowOrigin=function(e){this.otherWindowOrigin=e},e}();t.CrossFrameMessenger=u},1680:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t,r){this._message=e,this._target=t,this._origin=r}return Object.defineProperty(e.prototype,"messageGuid",{get:function(){return this._message.msgGuid},enumerable:!0,configurable:!0}),e.prototype.send=function(){return this._target.postMessage(this._message,this._origin),this},e}();t.CrossFramePreparedMessage=r},4020:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(1808),i=r(5824),o=r(7204),a=new Set([i.NotificationId.EditButtonClicked,i.NotificationId.EditInDesktopButtonClicked,i.NotificationId.WorkbookPublished,i.NotificationId.WorkbookReadyToClose,i.NotificationId.ReadyToReceiveAuthToken]);function s(e){if(!e)return!1;var t=e;return!(!(t&&t.msgGuid&&t.msgType)||!n.isGuid(t.msgGuid)||"string"!=typeof t.msgType||[o.MessageType.Command,o.MessageType.CommandResponse,o.MessageType.Initialize,o.MessageType.Notification,o.MessageType.Handshake].indexOf(t.msgType)<0)}function u(e){if(!e)return!1;var t=e;return"object"==typeof t&&"number"==typeof t.fix&&"number"==typeof t.minor&&"number"==typeof t.major}t.isMessage=s,t.isVersion=u,t.isInitMessage=function(e){if(!s(e))return!1;var t=e;return!!(t.msgType===o.MessageType.Initialize&&t.apiVersion&&u(t.apiVersion)&&t.crossFrameVersion&&u(t.crossFrameVersion))},t.isCommandResponseMessage=function(e){if(!s(e))return!1;var t=e;return!(t.msgType!==o.MessageType.CommandResponse||!n.isGuid(t.commandGuid)||!t.data&&!t.error)},t.isCommandMessage=function(e){if(!s(e))return!1;var t=e;return!(t.msgType!==o.MessageType.Command||!t.parameters||"object"!=typeof t.parameters||!t.verbId||"string"!=typeof t.verbId)},t.isNotificationMessage=function(e){if(!s(e))return!1;var t=e;return!(t.msgType!==o.MessageType.Notification||!t.data&&!a.has(t.notificationId)||!t.notificationId||"string"!=typeof t.notificationId)},t.isHandshakeMessage=function(e){return!!s(e)&&e.msgType===o.MessageType.Handshake}},7204:(e,t)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),(r=t.MessageType||(t.MessageType={})).Initialize="initialize",r.Notification="notification",r.Command="command",r.CommandResponse="command-response",r.Handshake="v-handshake",r.Ack="v-ack"},9220:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(){}return e.prototype.upgradeExecuteCall=function(e,t){return{verb:e,parameters:t}},e.prototype.downgradeExecuteReturn=function(e){return e},e.prototype.downgradeNotification=function(e){return e},e}();t.IdentityVersionConverter=r},2320:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t,r,n,i){if(this._externalMajorVersion=e,this._platformMajorVersion=t,this._upgradeExecuteTranslations=r,this._downgradeExecuteTranslations=n,this._downgradeNotificationTranslations=i,this._externalMajorVersion>this._platformMajorVersion)throw new Error("Cannot convert between external version "+this._externalMajorVersion+" and "+this._platformMajorVersion)}return e.fromData=function(e,t,r,n,i){return new this(e.major,t.major,r,n,i)},e.prototype.upgradeExecuteCall=function(e,t){for(var r={verb:e,parameters:t},n=0,i=this._upgradeExecuteTranslations;n<i.length;n++)r=(0,i[n])(r.verb,r.parameters);return r},e.prototype.downgradeExecuteReturn=function(e){for(var t=e,r=0,n=this._downgradeExecuteTranslations;r<n.length;r++)t=(0,n[r])(t);return t},e.prototype.downgradeNotification=function(e){for(var t=e,r=0,n=this._downgradeNotificationTranslations;r<n.length;r++)t=(0,n[r])(t);return t},e}();t.StackingVersionConverter=r},3760:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(9220),i=r(2320),o=r(720);function a(e,t){return e.major===t.major&&e.minor===t.minor}function s(e,t,r,o,s){var l=e.major,c=e.minor,p=t.major;if(l>p)throw new Error("External version must be less than or equal to platform version.\n externalMajorVersion="+l+" platformMajorVersion="+p);if(a(e,t))return new n.IdentityVersionConverter;var d=u(l,p,c,r),f=u(l,p,c,o),y=u(l,p,c,s);return f.reverse(),y.reverse(),i.StackingVersionConverter.fromData(e,t,d,f,y)}function u(e,t,r,n){for(var i=[],o=e;o<=t;o++)if(o in n)for(var a=o===e?r:0,s=l(Object.keys(n[o])),u=a;u<=s;u++)u in n[o]&&i.push.apply(i,n[o][u]);return i}function l(e){return e.map((function(e){return Number(e)})).reduce((function(e,t){return e>t?e:t}))}t.VersionLessThan=function(e,t){return!(e.major>t.major)&&(e.major<t.major||e.minor<t.minor)},t.VersionEqualTo=a,t.ExecuteMinorUpgrades={1:{9:[]}},t.ExecuteMinorDowngrades={1:{5:[o.DowngradeWorksheetNames],9:[]}},t.NotificationMinorDowngrades={1:{9:[],10:[o.DowngradeFlipboardZoneID]}},t.CreateVersionConverter=function(e,r){return s(e,r,t.ExecuteMinorUpgrades,t.ExecuteMinorDowngrades,t.NotificationMinorDowngrades)},t.CreateVersionConverterWithTranslators=s,t.GetMaximumMinorIndex=l},720:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(5824);t.DowngradeWorksheetNames=function(e){var t=e.result;return void 0!==t.extensionDashboardInfo&&t.extensionDashboardInfo.zones.forEach((function(e){e.sheetInfo&&(e.name=e.sheetInfo.name)})),e},t.DowngradeFlipboardZoneID=function(e){if(e.notificationId===n.NotificationId.SelectedMarksChanged){var t=e.data;void 0===t.flipboardZoneID&&(t.flipboardZoneID=0)}return e}},4528:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(){}return e.prototype.downgradeExecuteCall=function(e,t){return{verb:e,parameters:t}},e.prototype.upgradeExecuteReturn=function(e,t,r){return e},e.prototype.upgradeNotification=function(e){return e},e}();t.ExternalIdentityVersionConverter=r},5768:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t,r,n,i){if(this._externalVersion=e,this._platformVersion=t,this._downgradeExecuteCallTranslations=r,this._upgradeExecuteReturnTranslations=n,this._upgradeNotificationTranslations=i,this._externalVersion.major>this._platformVersion.major)throw new Error("Cannot convert between external version "+this._externalVersion.major+"\n and "+this._platformVersion.major)}return e.prototype.downgradeExecuteCall=function(e,t){for(var r={verb:e,parameters:t},n=0,i=this._downgradeExecuteCallTranslations;n<i.length;n++)r=(0,i[n])(r.verb,r.parameters);return r},e.prototype.upgradeExecuteReturn=function(e,t,r){for(var n=e,i=0,o=this._upgradeExecuteReturnTranslations;i<o.length;i++)n=(0,o[i])(n,t,r);return n},e.prototype.upgradeNotification=function(e){for(var t=e,r=0,n=this._upgradeNotificationTranslations;r<n.length;r++)t=(0,n[r])(t);return t},e}();t.ExternalStackingVersionConverter=r},3388:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(3760),i=r(4528),o=r(5768),a=r(2088);function s(e,t,r,a,s){var l=e.major,c=t.major,p=t.minor;if(l>c)throw new Error("External version must be less than or equal to platform version.\n externalMajorVersion="+l+" platformMajorVersion="+c);if(l<c||n.VersionEqualTo(e,t))return new i.ExternalIdentityVersionConverter;var d=u(c,p,r),f=u(c,p,a),y=u(c,p,s);return d.reverse(),new o.ExternalStackingVersionConverter(e,t,d,f,y)}function u(e,t,r){var i=[];if(e in r)for(var o=t,a=n.GetMaximumMinorIndex(Object.keys(r[e])),s=o;s<=a;s++)s in r[e]&&i.push.apply(i,r[e][s]);return i}t.ExecuteMinorDowngradeCallExternal={1:{9:[],13:[a.DowngradeUnderlyingTableDataAsync,a.DowngradeLogicalTableDataAsync]}},t.ExecuteMinorUpgradeReturnExternal={1:{9:[a.UpgradeDataTableTypes],29:[a.UpgradeDataTableRowsAndColumns]}},t.ExecuteMinorUpgradeNotification={1:{9:[]}},t.CreateExternalCompatibleVersionConverter=function(e,r){return s(e,r,t.ExecuteMinorDowngradeCallExternal,t.ExecuteMinorUpgradeReturnExternal,t.ExecuteMinorUpgradeNotification)},t.CreateExternalCompatibleVersionConverterWithTranslators=s},2088:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(3448);function i(e){void 0!==e&&void 0!==e.dataTable&&Array.isArray(e.dataTable)&&e.dataTable.forEach((function(t){t.forEach((function(t,r){var i=t.value;null!==i&&(t.value=n.DataTypeConverter.convertValueAsStringToValue(i,e.headers[r].dataType))}))}))}function o(e,t){if(t[n.ParameterId.LogicalTableId]!==n.ApiShowDataTableSentinel.SingleTableId)throw new Error("Invalid logical table id passed to "+e+".")}t.UpgradeDataTableTypes=function(e,t,r){if(!e)return e;var n=e.result;if(void 0!==n.data&&void 0!==n.isSummary)return i(n.data),e;var o=e.result;return void 0!==o.data&&Array.isArray(o.data)?(o.data.forEach((function(e){i(e)})),e):e},t.DowngradeUnderlyingTableDataAsync=function(e,t){return e===n.VerbId.GetUnderlyingTableData&&(o(e,t),e=n.VerbId.GetUnderlyingData),{verb:e,parameters:t}},t.DowngradeLogicalTableDataAsync=function(e,t){return e===n.VerbId.GetLogicalTableData&&(o(e,t),e=n.VerbId.GetDataSourceData),{verb:e,parameters:t}},t.UpgradeDataTableRowsAndColumns=function(e,t,r){return function(e){return e===n.VerbId.GetDataSummaryData}(t)&&r[n.ParameterId.MaxRows]&&(e=function(e,t){var r=e.result;return r.data&&Array.isArray(r.data.dataTable)?(t>0&&t<r.data.dataTable.length&&(r.data.dataTable.length=t),e):e}(e,r[n.ParameterId.MaxRows])),function(e){return e===n.VerbId.GetDataSummaryData||e===n.VerbId.GetUnderlyingTableData||e===n.VerbId.GetLogicalTableData||e===n.VerbId.GetDataSourceData||e===n.VerbId.GetUnderlyingData}(t)&&r[n.ParameterId.ColumnsToIncludeById]&&(e=function(e,t){if(0===t.length)return e;var r=e.result;if(!r.data||!Array.isArray(r.data.dataTable)||!Array.isArray(r.data.headers))return e;var n=r.data.headers.filter((function(e,r){return t.find((function(t){return t===e.fieldName}))}));r.data.dataTable.forEach((function(e,t){r.data.dataTable[t]=e.filter((function(e,t){return-1!==n.findIndex((function(e){return e.index===t}))}))}));var i=0;return r.data.headers=n.map((function(e){return e.index=i++,e})),e}(e,r[n.ParameterId.ColumnsToIncludeById])),e}},5136:(e,t,r)=>{"use strict";function n(e){for(var r in e)t.hasOwnProperty(r)||(t[r]=e[r])}Object.defineProperty(t,"__esModule",{value:!0});var i=r(2808);t.ApiVersion=i.ApiVersion,n(r(5184));var o=r(8540);t.CrossFrameDispatcher=o.CrossFrameDispatcher;var a=r(8340);t.DataSource=a.DataSource;var s=r(1044);t.ExternalToInternalEnumMappings=s.ExternalToInternalEnumMappings;var u=r(6557);t.InternalToExternalEnumMappings=u.InternalToExternalEnumMappings;var l=r(2680);t.EventListenerManager=l.EventListenerManager;var c=r(1072);t.Field=c.Field;var p=r(2520);t.CustomViewImpl=p.CustomViewImpl;var d=r(1940);t.DashboardImpl=d.DashboardImpl;var f=r(6488);t.DashboardObjectImpl=f.DashboardObjectImpl;var y=r(2180);t.DataSourceImpl=y.DataSourceImpl;var h=r(8552);t.ParameterImpl=h.ParameterImpl;var m=r(8332);t.SheetImpl=m.SheetImpl;var g=r(1116);t.SheetInfoImpl=g.SheetInfoImpl;var v=r(5144);t.SingleEventManagerImpl=v.SingleEventManagerImpl;var b=r(6804);t.StoryImpl=b.StoryImpl;var I=r(2608);t.StoryPointImpl=I.StoryPointImpl;var S=r(6068);t.StoryPointInfoImpl=S.StoryPointInfoImpl;var _=r(3044);t.WorkbookImpl=_.WorkbookImpl;var T=r(6500);t.WorksheetImpl=T.WorksheetImpl;var P=r(3987);t.Point=P.Point,n(r(8672)),n(r(3008));var A=r(1832);t.ClientInfoServiceImpl=A.ClientInfoServiceImpl;var E=r(1288);t.NotificationServiceImpl=E.NotificationServiceImpl;var w=r(6428);t.NotificationServiceImplBase=w.NotificationServiceImplBase,t.Registration=w.Registration;var O=r(1776);t.ServiceImplBase=O.ServiceImplBase;var D=r(4109);t.SizeServiceImpl=D.SizeServiceImpl;var x=r(2248);t.StoryActivationServiceImpl=x.StoryActivationServiceImpl;var F=r(6664);t.TableauError=F.TableauError;var C=r(1724);t.Deferred=C.Deferred;var N=r(7480);t.ErrorHelpers=N.ErrorHelpers;var M=r(5044);t.ExportHelpers=M.ExportHelpers;var k=r(2780);t.SheetUtils=k.SheetUtils;var R=r(1576);t.VersionNumber=R.VersionNumber;var V=r(8648);t.VersionedExternalApiDispatcher=V.VersionedExternalApiDispatcher},2808:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(1576),i=function(){function e(){}return Object.defineProperty(e,"Instance",{get:function(){return e._instance},enumerable:!0,configurable:!0}),e.SetVersionNumber=function(t,r){e._instance=new n.VersionNumber(t,r)},e}();t.ApiVersion=i},716:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e){this._connectionInfo=e}return Object.defineProperty(e.prototype,"name",{get:function(){return this._connectionInfo.name},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"id",{get:function(){return this._connectionInfo.id},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"serverURI",{get:function(){return this._connectionInfo.serverURI},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"type",{get:function(){return this._connectionInfo.type},enumerable:!0,configurable:!0}),e}();t.ConnectionSummary=r},5184:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(3448),i=r(8540);t.doCrossFrameBootstrap=function(e,t,r){return new Promise((function(o,a){var s;(s=function(e){try{return e.self!==e.parent}catch(e){return!0}}(e)?e.parent:e.opener)||a("This extension is not running inside an iframe, desktop, or popup window. Initialization failed.");var u=new n.CrossFrameMessenger(e,s,"*"),l=u.prepareInitializationMessage(t,n.MESSAGING_VERSION,r);u.setCommandResponseMessageHandler((function(e){e.commandGuid===l.messageGuid&&o((function(){return new i.CrossFrameDispatcher(u)}))})),u.startListening(),l.send()}))}},8540:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(7419),i=function(){function e(e){if(this._messenger=e,this._pendingPromises={},this._notificationHandlers=[],!this._messenger)throw"Missing messenger object";this._messenger.setCommandResponseMessageHandler(this.onCommandResponse.bind(this)),this._messenger.setNotificationMessageHandler(this.onNotification.bind(this))}return e.prototype.execute=function(e,t){var r=this,n=this._messenger.prepareCommandMessage(e,t),i=new Promise((function(e,t){r._pendingPromises[n.messageGuid]={resolve:e,reject:t}}));return n.send(),i},e.prototype.registerNotificationHandler=function(e){this._notificationHandlers.push(e)},e.prototype.unregisterNotificationHandler=function(e){this._notificationHandlers=this._notificationHandlers.filter((function(t){return t!==e}))},e.prototype.onCommandResponse=function(e){if(!(Object.keys(this._pendingPromises).indexOf(e.commandGuid)<0)){var t=this._pendingPromises[e.commandGuid];e.error&&t.reject(e.error),e.data&&t.resolve({result:e.data}),delete this._pendingPromises[e.commandGuid]}},e.prototype.onNotification=function(e){for(var t=0,r=this._notificationHandlers;t<r.length;t++){var i=r[t];try{i({notificationId:e.notificationId,data:e.data})}catch(e){if(e.errorCode===n.EmbeddingErrorCodes.IncompatibleVersionError)throw e}}},e}();t.CrossFrameDispatcher=i},8340:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e){this._dataSourceImpl=e}return Object.defineProperty(e.prototype,"name",{get:function(){return this._dataSourceImpl.name},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"id",{get:function(){return this._dataSourceImpl.id},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"fields",{get:function(){return this._dataSourceImpl.fields},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"extractUpdateTime",{get:function(){return this._dataSourceImpl.extractUpdateTime},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isExtract",{get:function(){return this._dataSourceImpl.isExtract},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isPublished",{get:function(){return this._dataSourceImpl.isPublished},enumerable:!0,configurable:!0}),e.prototype.publishedUrl=function(){return this._dataSourceImpl.publishedUrl()},e.prototype.refreshAsync=function(){return this._dataSourceImpl.refreshAsync()},e.prototype.getActiveTablesAsync=function(){return console.warn("DataSource.getActiveTablesAsync is deprecated. Please use DataSource.getLogicalTablesAsync."),this._dataSourceImpl.getActiveTablesAsync()},e.prototype.getConnectionSummariesAsync=function(){return this._dataSourceImpl.getConnectionSummariesAsync()},e.prototype.getUnderlyingDataAsync=function(e){return console.warn("DataSource.getUnderlyingDataAsync is deprecated. Please use DataSource.getLogicalTablesAsync and DataSource.getLogicalTableDataAsync."),this._dataSourceImpl.getUnderlyingDataAsync(e)},e.prototype.getLogicalTablesAsync=function(){return this._dataSourceImpl.getLogicalTablesAsync()},e.prototype.getLogicalTableDataAsync=function(e,t){return this._dataSourceImpl.getLogicalTableDataAsync(e,t)},e.prototype.getLogicalTableDataReaderAsync=function(e,t,r){return this._dataSourceImpl.getLogicalTableDataReaderAsync(e,t,r)},e}();t.DataSource=r},1044:(e,t,r)=>{"use strict";var n,i,o,a,s,u,l,c,p,d;Object.defineProperty(t,"__esModule",{value:!0});var f=r(7419),y=r(3448),h=r(5520),m=function(){function e(){}return e.filterDomainType=new h.EnumConverter(((n={})[f.FilterDomainType.Relevant]=y.FilterDomainType.Relevant,n[f.FilterDomainType.Database]=y.FilterDomainType.Database,n)),e.nullOptions=new h.EnumConverter(((i={})[f.FilterNullOption.AllValues]=y.FilterNullOption.AllValues,i[f.FilterNullOption.NonNullValues]=y.FilterNullOption.NonNullValues,i[f.FilterNullOption.NullValues]=y.FilterNullOption.NullValues,i)),e.filterUpdateType=new h.EnumConverter(((o={})[f.FilterUpdateType.Add]=y.FilterUpdateType.Add,o[f.FilterUpdateType.All]=y.FilterUpdateType.All,o[f.FilterUpdateType.Remove]=y.FilterUpdateType.Remove,o[f.FilterUpdateType.Replace]=y.FilterUpdateType.Replace,o)),e.setVisibilityType=new h.EnumConverter(((a={})[f.ZoneVisibilityType.Show]=!0,a[f.ZoneVisibilityType.Hide]=!1,a)),e.setReplaySpeedType=new h.EnumConverter(((s={})[f.ReplaySpeedType.Slow]=2,s[f.ReplaySpeedType.Normal]=1,s[f.ReplaySpeedType.Fast]=.5,s)),e.sheetType=new h.EnumConverter(((u={})[f.SheetType.Dashboard]=y.SheetType.Dashboard,u[f.SheetType.Worksheet]=y.SheetType.Worksheet,u[f.SheetType.Story]=y.SheetType.Story,u)),e.showDataTableFormatType=new h.EnumConverter(((l={})[f.IncludeDataValuesOption.AllValues]=y.ApiShowDataTableFormat.NativeAndFormattedValues,l[f.IncludeDataValuesOption.OnlyNativeValues]=y.ApiShowDataTableFormat.NativeValuesOnly,l[f.IncludeDataValuesOption.OnlyFormattedValues]=y.ApiShowDataTableFormat.FormattedValuesOnly,l)),e.periodType=new h.EnumConverter(((c={})[f.PeriodType.Years]=y.DateStepPeriod.Years,c[f.PeriodType.Quarters]=y.DateStepPeriod.Quarters,c[f.PeriodType.Months]=y.DateStepPeriod.Months,c[f.PeriodType.Weeks]=y.DateStepPeriod.Weeks,c[f.PeriodType.Days]=y.DateStepPeriod.Days,c[f.PeriodType.Hours]=y.DateStepPeriod.Hours,c[f.PeriodType.Minutes]=y.DateStepPeriod.Minutes,c[f.PeriodType.Seconds]=y.DateStepPeriod.Seconds,c)),e.dateRangeType=new h.EnumConverter(((p={})[f.DateRangeType.Last]=y.DateRangeType.Last,p[f.DateRangeType.LastN]=y.DateRangeType.LastN,p[f.DateRangeType.Next]=y.DateRangeType.Next,p[f.DateRangeType.NextN]=y.DateRangeType.NextN,p[f.DateRangeType.Current]=y.DateRangeType.Current,p[f.DateRangeType.ToDate]=y.DateRangeType.ToDate,p)),e.dialogStyles=new h.EnumConverter(((d={})[f.DialogStyle.Window]=y.DialogStyle.Window,d[f.DialogStyle.Modal]=y.DialogStyle.Modal,d[f.DialogStyle.Modeless]=y.DialogStyle.Modeless,d)),e}();t.ExternalToInternalEnumMappings=m},6557:(e,t,r)=>{"use strict";var n,i,o,a,s,u,l,c,p,d,f,y,h,m,g,v,b,I;Object.defineProperty(t,"__esModule",{value:!0});var S=r(7419),_=r(3448),T=r(5520),P=function(){function e(){}return e.extensionContext=new T.EnumConverter(((n={})[_.ExtensionContext.Desktop]=S.ExtensionContext.Desktop,n[_.ExtensionContext.Server]=S.ExtensionContext.Server,n)),e.extensionMode=new T.EnumConverter(((i={})[_.ExtensionMode.Authoring]=S.ExtensionMode.Authoring,i[_.ExtensionMode.Viewing]=S.ExtensionMode.Viewing,i)),e.columnType=new T.EnumConverter(((o={})[_.ColumnType.Continuous]=S.ColumnType.Continuous,o[_.ColumnType.Discrete]=S.ColumnType.Discrete,o[_.ColumnType.Unknown]=S.ColumnType.Unknown,o)),e.fieldAggregationType=new T.EnumConverter(((a={})[_.FieldAggregationType.Attr]=S.FieldAggregationType.Attr,a[_.FieldAggregationType.Avg]=S.FieldAggregationType.Avg,a[_.FieldAggregationType.Collect]=S.FieldAggregationType.Collect,a[_.FieldAggregationType.Count]=S.FieldAggregationType.Count,a[_.FieldAggregationType.Countd]=S.FieldAggregationType.Countd,a[_.FieldAggregationType.Day]=S.FieldAggregationType.Day,a[_.FieldAggregationType.End]=S.FieldAggregationType.End,a[_.FieldAggregationType.Hour]=S.FieldAggregationType.Hour,a[_.FieldAggregationType.InOut]=S.FieldAggregationType.InOut,a[_.FieldAggregationType.Kurtosis]=S.FieldAggregationType.Kurtosis,a[_.FieldAggregationType.Max]=S.FieldAggregationType.Max,a[_.FieldAggregationType.Mdy]=S.FieldAggregationType.Mdy,a[_.FieldAggregationType.Median]=S.FieldAggregationType.Median,a[_.FieldAggregationType.Min]=S.FieldAggregationType.Min,a[_.FieldAggregationType.Minute]=S.FieldAggregationType.Minute,a[_.FieldAggregationType.MonthYear]=S.FieldAggregationType.MonthYear,a[_.FieldAggregationType.None]=S.FieldAggregationType.None,a[_.FieldAggregationType.Qtr]=S.FieldAggregationType.Qtr,a[_.FieldAggregationType.Quart1]=S.FieldAggregationType.Quart1,a[_.FieldAggregationType.Quart3]=S.FieldAggregationType.Quart3,a[_.FieldAggregationType.Second]=S.FieldAggregationType.Second,a[_.FieldAggregationType.Skewness]=S.FieldAggregationType.Skewness,a[_.FieldAggregationType.Stdev]=S.FieldAggregationType.Stdev,a[_.FieldAggregationType.Stdevp]=S.FieldAggregationType.Stdevp,a[_.FieldAggregationType.Sum]=S.FieldAggregationType.Sum,a[_.FieldAggregationType.TruncDay]=S.FieldAggregationType.TruncDay,a[_.FieldAggregationType.TruncHour]=S.FieldAggregationType.TruncHour,a[_.FieldAggregationType.TruncMinute]=S.FieldAggregationType.TruncMinute,a[_.FieldAggregationType.TruncMonth]=S.FieldAggregationType.TruncMonth,a[_.FieldAggregationType.TruncQtr]=S.FieldAggregationType.TruncQtr,a[_.FieldAggregationType.TruncSecond]=S.FieldAggregationType.TruncSecond,a[_.FieldAggregationType.TruncWeek]=S.FieldAggregationType.TruncWeek,a[_.FieldAggregationType.TruncYear]=S.FieldAggregationType.TruncYear,a[_.FieldAggregationType.User]=S.FieldAggregationType.User,a[_.FieldAggregationType.Var]=S.FieldAggregationType.Var,a[_.FieldAggregationType.Varp]=S.FieldAggregationType.Varp,a[_.FieldAggregationType.Week]=S.FieldAggregationType.Week,a[_.FieldAggregationType.Weekday]=S.FieldAggregationType.Weekday,a[_.FieldAggregationType.Year]=S.FieldAggregationType.Year,a)),e.fieldRoleType=new T.EnumConverter(((s={})[_.FieldRoleType.Dimension]=S.FieldRoleType.Dimension,s[_.FieldRoleType.Measure]=S.FieldRoleType.Measure,s[_.FieldRoleType.Unknown]=S.FieldRoleType.Unknown,s)),e.sheetType=new T.EnumConverter(((u={})[_.SheetType.Dashboard]=S.SheetType.Dashboard,u[_.SheetType.Story]=S.SheetType.Story,u[_.SheetType.Worksheet]=S.SheetType.Worksheet,u)),e.dashboardObjectType=new T.EnumConverter(((l={})[_.DashboardObjectType.Extension]=S.DashboardObjectType.Extension,l[_.DashboardObjectType.Blank]=S.DashboardObjectType.Blank,l[_.DashboardObjectType.Image]=S.DashboardObjectType.Image,l[_.DashboardObjectType.Legend]=S.DashboardObjectType.Legend,l[_.DashboardObjectType.PageFilter]=S.DashboardObjectType.PageFilter,l[_.DashboardObjectType.ParameterControl]=S.DashboardObjectType.ParameterControl,l[_.DashboardObjectType.QuickFilter]=S.DashboardObjectType.QuickFilter,l[_.DashboardObjectType.Text]=S.DashboardObjectType.Text,l[_.DashboardObjectType.Title]=S.DashboardObjectType.Title,l[_.DashboardObjectType.WebPage]=S.DashboardObjectType.WebPage,l[_.DashboardObjectType.Worksheet]=S.DashboardObjectType.Worksheet,l)),e.dataType=new T.EnumConverter(((c={})[_.DataType.Bool]=S.DataType.Bool,c[_.DataType.Date]=S.DataType.Date,c[_.DataType.DateTime]=S.DataType.DateTime,c[_.DataType.Float]=S.DataType.Float,c[_.DataType.Int]=S.DataType.Int,c[_.DataType.Spatial]=S.DataType.Spatial,c[_.DataType.String]=S.DataType.String,c)),e.filterUpdateType=new T.EnumConverter(((p={})[_.FilterUpdateType.Add]=S.FilterUpdateType.Add,p[_.FilterUpdateType.All]=S.FilterUpdateType.All,p[_.FilterUpdateType.Remove]=S.FilterUpdateType.Remove,p[_.FilterUpdateType.Replace]=S.FilterUpdateType.Replace,p)),e.allowableValues=new T.EnumConverter(((d={})[_.DomainRestrictionType.All]=S.ParameterValueType.All,d[_.DomainRestrictionType.List]=S.ParameterValueType.List,d[_.DomainRestrictionType.Range]=S.ParameterValueType.Range,d)),e.dateStepPeriod=new T.EnumConverter(((f={})[_.DateStepPeriod.Years]=S.PeriodType.Years,f[_.DateStepPeriod.Quarters]=S.PeriodType.Quarters,f[_.DateStepPeriod.Months]=S.PeriodType.Months,f[_.DateStepPeriod.Weeks]=S.PeriodType.Weeks,f[_.DateStepPeriod.Days]=S.PeriodType.Days,f[_.DateStepPeriod.Hours]=S.PeriodType.Hours,f[_.DateStepPeriod.Minutes]=S.PeriodType.Minutes,f[_.DateStepPeriod.Seconds]=S.PeriodType.Seconds,f)),e.dateRangeType=new T.EnumConverter(((y={})[_.DateRangeType.Current]=S.DateRangeType.Current,y[_.DateRangeType.Last]=S.DateRangeType.Last,y[_.DateRangeType.LastN]=S.DateRangeType.LastN,y[_.DateRangeType.Next]=S.DateRangeType.Next,y[_.DateRangeType.NextN]=S.DateRangeType.NextN,y[_.DateRangeType.ToDate]=S.DateRangeType.ToDate,y)),e.errorCode=new T.EnumConverter(((h={})[_.ErrorCodes.INITIALIZATION_ERROR]=S.ErrorCodes.InternalError,h[_.ErrorCodes.INTERNAL_ERROR]=S.ErrorCodes.InternalError,h[_.ErrorCodes.MISSING_ENUM_MAPPING]=S.ErrorCodes.InternalError,h[_.ErrorCodes.MISSING_PARAMETER]=S.ErrorCodes.InternalError,h[_.ErrorCodes.PERMISSION_DENIED]=S.ErrorCodes.InternalError,h[_.ErrorCodes.PRES_MODEL_PARSING_ERROR]=S.ErrorCodes.InternalError,h[_.ErrorCodes.UNKNOWN_VERB_ID]=S.ErrorCodes.InternalError,h[_.ErrorCodes.VERSION_NOT_CONFIGURED]=S.ErrorCodes.APINotInitialized,h[_.ErrorCodes.VISIBILITY_ERROR]=S.ErrorCodes.VisibilityError,h),S.ErrorCodes.InternalError),e.filterType=new T.EnumConverter(((m={})[_.FilterType.Categorical]=S.FilterType.Categorical,m[_.FilterType.Range]=S.FilterType.Range,m[_.FilterType.RelativeDate]=S.FilterType.RelativeDate,m[_.FilterType.Hierarchical]=S.FilterType.Hierarchical,m)),e.classNameKey=new T.EnumConverter(((g={})["tableau-dashboard-title"]=S.ClassNameKey.DashboardTitle,g["tableau-story-title"]=S.ClassNameKey.StoryTitle,g["tableau-tooltip"]=S.ClassNameKey.Tooltip,g["tableau-worksheet"]=S.ClassNameKey.Worksheet,g["tableau-worksheet-title"]=S.ClassNameKey.WorksheetTitle,g["dashboard-title"]=S.ClassNameKey.DashboardTitle,g["story-title"]=S.ClassNameKey.StoryTitle,g.tooltip=S.ClassNameKey.Tooltip,g.worksheet=S.ClassNameKey.Worksheet,g["worksheet-title"]=S.ClassNameKey.WorksheetTitle,g)),e.hierarchicalLevelSelectionState=new T.EnumConverter(((v={})[_.HierarchicalLevelSelectionState.AllSelected]=S.HierarchicalLevelSelectionState.AllSelected,v[_.HierarchicalLevelSelectionState.NoneSelected]=S.HierarchicalLevelSelectionState.NoneSelected,v[_.HierarchicalLevelSelectionState.SomeSelected]=S.HierarchicalLevelSelectionState.SomeSelected,v[_.HierarchicalLevelSelectionState.UnknownSelected]=S.HierarchicalLevelSelectionState.UnknownSelected,v)),e.annotationType=new T.EnumConverter(((b={})[_.AnnotateEnum.Area]=S.AnnotationType.Area,b[_.AnnotateEnum.Mark]=S.AnnotationType.Mark,b[_.AnnotateEnum.Point]=S.AnnotationType.Point,b)),e.markType=new T.EnumConverter(((I={})[_.MarkType.Area]=S.MarkType.Area,I[_.MarkType.Bar]=S.MarkType.Bar,I[_.MarkType.Circle]=S.MarkType.Circle,I[_.MarkType.GanttBar]=S.MarkType.GanttBar,I[_.MarkType.Heatmap]=S.MarkType.Heatmap,I[_.MarkType.Line]=S.MarkType.Line,I[_.MarkType.Map]=S.MarkType.Map,I[_.MarkType.Pie]=S.MarkType.Pie,I[_.MarkType.Polygon]=S.MarkType.Polygon,I[_.MarkType.Shape]=S.MarkType.Shape,I[_.MarkType.Square]=S.MarkType.Square,I[_.MarkType.Text]=S.MarkType.Text,I[_.MarkType.VizExtension]=S.MarkType.VizExtension,I)),e}();t.InternalToExternalEnumMappings=P},2680:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(7419),i=r(6664),o=function(){function e(){this._eventListenerManagers={}}return e.prototype.addEventListener=function(e,t){if(!this._eventListenerManagers.hasOwnProperty(e))throw new i.TableauError(n.ErrorCodes.UnsupportedEventName,"Cannot add event, unsupported event type: "+e);return this._eventListenerManagers[e].addEventListener(t)},e.prototype.removeEventListener=function(e,t){if(!this._eventListenerManagers.hasOwnProperty(e))throw new i.TableauError(n.ErrorCodes.UnsupportedEventName,"Cannot remove event, unsupported event type: "+e);return this._eventListenerManagers[e].removeEventListener(t)},e.prototype.addNewEventType=function(e){this._eventListenerManagers[e.eventType]=e},e}();t.EventListenerManager=o},1072:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e){this._fieldImpl=e}return Object.defineProperty(e.prototype,"name",{get:function(){return this._fieldImpl.name},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"id",{get:function(){return this._fieldImpl.id},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"description",{get:function(){return this._fieldImpl.description},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dataType",{get:function(){return this._fieldImpl.dataType},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"aggregation",{get:function(){return this._fieldImpl.aggregation},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dataSource",{get:function(){return this._fieldImpl.dataSource},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"role",{get:function(){return this._fieldImpl.role},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"columnType",{get:function(){return this._fieldImpl.columnType},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isCalculatedField",{get:function(){return this._fieldImpl.isCalculatedField},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isCombinedField",{get:function(){return this._fieldImpl.isCombinedField},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isGenerated",{get:function(){return this._fieldImpl.isGenerated},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isGeospatial",{get:function(){return this._fieldImpl.isGeospatial},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isHidden",{get:function(){return this._fieldImpl.isHidden},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isPresentOnPublishedDatasource",{get:function(){return this._fieldImpl.isPresentOnPublishedDatasource},enumerable:!0,configurable:!0}),e}();t.Field=r},2520:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(5136),i=function(){function e(e,t){this._registryId=t,this._luid=e.luid,this._name=e.name,this._shared=e.shared,this._isDefault=e.isDefault,this._ownerName=e.owner.userFriendlyName,this._url=e.url}return Object.defineProperty(e.prototype,"luid",{get:function(){return this._luid},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"name",{get:function(){return this._name},set:function(e){this._name=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"shared",{get:function(){return this._shared},set:function(e){this._shared=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isDefault",{get:function(){return this._isDefault},set:function(e){this._isDefault=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ownerName",{get:function(){return this._ownerName},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"url",{get:function(){return this._url},enumerable:!0,configurable:!0}),e.prototype.saveAsync=function(){return n.ApiServiceRegistry.get(this._registryId).getService("viz-service").saveAsync(this)},e}();t.CustomViewImpl=i},1940:function(e,t,r){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},n(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var o=r(7419),a=r(7419),s=r(3448),u=r(6557),l=r(3987),c=r(3008),p=r(6664),d=r(7480),f=r(6488),y=r(8332),h=r(1116),m=r(6500),g=function(e){function t(t,r,n,i,o,a){void 0===a&&(a=0);var s=e.call(this,t,i)||this;return s._zones=r,s._sheetPath=n,s._parentStoryPointImpl=o,s._activeDashboardObjectId=a,s}return i(t,e),Object.defineProperty(t.prototype,"worksheetsImpl",{get:function(){return this._worksheetsImpl},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"objects",{get:function(){return this._objects},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parentStoryPoint",{get:function(){return this._parentStoryPointImpl},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"activeDashboardObjectId",{get:function(){return this._activeDashboardObjectId},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"activeDashboardName",{get:function(){return this._sheetPath.sheetName},enumerable:!0,configurable:!0}),t.prototype.initializeWithPublicInterfaces=function(){this._worksheetsImpl=new Array,this._objects=new Array,this.zoneMap=new Map;for(var e=0,t=this._zones;e<t.length;e++){var r=t[e],n=void 0,i={width:r.width,height:r.height};if(r.zoneType===s.DashboardObjectType.Worksheet||r.zoneType===s.DashboardObjectType.QuickFilter){var o="",c="",p=!1;r.sheetInfo?(o=r.sheetInfo.name,p=""===(c=r.sheetInfo.url||"")):o=r.name;var d=new h.SheetInfoImpl(o,a.SheetType.Worksheet,i,this._worksheetsImpl.length,!1,p,c),y={worksheet:o,dashboard:this._sheetInfoImpl.name,storyboard:this._sheetPath.storyboard,flipboardZoneID:this._sheetPath.flipboardZoneID,storyPointID:this._sheetPath.storyPointID};n=new m.WorksheetImpl(d,this._registryId,y,this,this._parentStoryPointImpl),r.zoneType===s.DashboardObjectType.Worksheet&&this._worksheetsImpl.push(n)}var g=new l.Point(r.x,r.y),v=new f.DashboardObjectImpl(this,u.InternalToExternalEnumMappings.dashboardObjectType.convert(r.zoneType),g,i,n,r.name,void 0!==r.isFloating&&r.isFloating,void 0===r.isVisible||r.isVisible,r.zoneId,r.fieldId);this._objects.push(v),this.zoneMap.set(r.zoneId,v)}},t.prototype.setDashboardObjectVisibilityAsync=function(e){return c.ApiServiceRegistry.get(this._registryId).getService("zone-service").setVisibilityAsync(this.name,this.zoneMap,e)},t.prototype.getDashboardObjectById=function(e){return this.zoneMap.get(e)},t.prototype.updateZones=function(e,t,r){var n=this;void 0===t&&(t=0),void 0===r&&(r="");var i=this._objects,o=this.zoneMap,s=this._activeDashboardObjectId,u=this._sheetPath.sheetName;this._zones=e,this._activeDashboardObjectId=t,this._sheetPath.sheetName=r,this._sheetInfoImpl.name=r,this.initializeWithPublicInterfaces();var l=this._objects,c=this.zoneMap,p=new Map;return i.forEach((function(e){var t=e.id;if(c.has(t)){var r=c.get(t);e.isFloating!==r.isFloating&&n.addChange(t,p,a.DashboardLayoutChange.IsFloatingChanged),e.isVisible!==r.isVisible&&n.addChange(t,p,a.DashboardLayoutChange.IsVisibleChanged),e.name!==r.name&&n.addChange(t,p,a.DashboardLayoutChange.NameChanged),e.position.x===r.position.x&&e.position.y===r.position.y||n.addChange(t,p,a.DashboardLayoutChange.PositionChanged),e.size.width===r.size.width&&e.size.height===r.size.height||n.addChange(t,p,a.DashboardLayoutChange.SizeChanged)}else n.addChange(t,p,a.DashboardLayoutChange.Removed)})),l.forEach((function(e){o.has(e.id)||n.addChange(e.id,p,a.DashboardLayoutChange.Added)})),s!==t&&(0!==t&&this.addChange(t,p,a.DashboardLayoutChange.Selected),0!==s&&this.addChange(s,p,a.DashboardLayoutChange.Deselected)),u!==r&&this.addChange(0,p,a.DashboardLayoutChange.DashboardChanged),p},t.prototype.addChange=function(e,t,r){t.has(e)||t.set(e,[]),t.get(e).push(r)},t.prototype.moveAndResizeDashboardObjectsAsync=function(e){return c.ApiServiceRegistry.get(this._registryId).getService("zone-service").moveAndResizeAsync(this.name,this.zoneMap,e)},t.prototype.replayAnimationAsync=function(e){return c.ApiServiceRegistry.get(this._registryId).getService("animation-service").replayAsync(e)},t.prototype.getFiltersAsync=function(){return this.verifyActiveSheetOrEmbeddedInActiveStoryPoint(),c.ApiServiceRegistry.get(this._registryId).getService("filter-service").getDashboardFiltersAsync()},t.prototype.applyFilterAsync=function(e,t,r,n){if(d.ErrorHelpers.verifyEnumValue(r,o.FilterUpdateType,"FilterUpdateType"),d.ErrorHelpers.verifyStringParameter(e,"fieldName"),!Array.isArray(t))throw new p.TableauError(a.ErrorCodes.InvalidParameter,"values parameter for applyDashboardFilterAsync must be an array");return this.verifyActiveSheetOrEmbeddedInActiveStoryPoint(),c.ApiServiceRegistry.get(this._registryId).getService("filter-service").applyDashboardFilterAsync(e,t,r,n)},t.prototype.getWorksheetNamesFromZones=function(){for(var e=[],t=0,r=this._zones;t<r.length;t++){var n=r[t];if(n.zoneType===s.DashboardObjectType.Worksheet){var i=n.sheetInfo?n.sheetInfo.name:n.name;e.push(i)}}return e},t.prototype.verifyActiveSheetOrEmbeddedInActiveStoryPoint=function(){var e=this.active,t=null!=this.parentStoryPoint&&this.parentStoryPoint.active;if(!e&&!t)throw new p.TableauError(a.SharedErrorCodes.NotActiveSheet,"Operation not allowed on non-active sheet")},t}(y.SheetImpl);t.DashboardImpl=g},6488:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t,r,n,i,o,a,s,u,l){this._dashboardImpl=e,this._type=t,this._position=r,this._size=n,this._worksheetImpl=i,this._name=o,this._isFloating=a,this._isVisible=s,this._id=u,this._fieldId=l}return Object.defineProperty(e.prototype,"dashboardImpl",{get:function(){return this._dashboardImpl},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"type",{get:function(){return this._type},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"position",{get:function(){return this._position},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"size",{get:function(){return this._size},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"worksheetImpl",{get:function(){return this._worksheetImpl},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"name",{get:function(){return this._name},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isFloating",{get:function(){return this._isFloating},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isVisible",{get:function(){return this._isVisible},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"id",{get:function(){return this._id},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"fieldId",{get:function(){return this._fieldId},enumerable:!0,configurable:!0}),e}();t.DashboardObjectImpl=r},2180:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(7419),i=r(716),o=r(1072),a=r(624),s=r(3008),u=r(7603),l=r(7480),c=r(5288),p=function(){function e(e,t){var r=this;this._dataSourceInfo=e,this._registryId=t,this._fields=e.fields.map((function(e){var t=new c.FieldImpl(e,r);return new o.Field(t)}))}return Object.defineProperty(e.prototype,"name",{get:function(){return this._dataSourceInfo.name},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"id",{get:function(){return this._dataSourceInfo.id},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"extractUpdateTime",{get:function(){return this._dataSourceInfo.extractUpdateTime},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"fields",{get:function(){return this._fields},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isExtract",{get:function(){return this._dataSourceInfo.isExtract},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isPublished",{get:function(){return this._dataSourceInfo.isPublished},enumerable:!0,configurable:!0}),e.prototype.publishedUrl=function(){return this._dataSourceInfo.publishedUrl},e.prototype.getMaxPageRowLimit=function(){return 1e4},e.prototype.refreshAsync=function(){return s.ApiServiceRegistry.get(this._registryId).getService("data-source-service").refreshAsync(this._dataSourceInfo.id)},e.prototype.getConnectionSummariesAsync=function(){return s.ApiServiceRegistry.get(this._registryId).getService("data-source-service").getConnectionSummariesAsync(this._dataSourceInfo.id).then((function(e){return e.map((function(e){return new i.ConnectionSummary(e)}))}))},e.prototype.getActiveTablesAsync=function(){return s.ApiServiceRegistry.get(this._registryId).getService("data-source-service").getActiveTablesAsync(this._dataSourceInfo.id).then((function(e){return e.map((function(e){return new u.TableSummary(e)}))}))},e.prototype.getUnderlyingDataAsync=function(e){return e=e||{},s.ApiServiceRegistry.get(this._registryId).getService("get-data-service").getDataSourceDataAsync(this.id,!!e.ignoreAliases,e.maxRows||0,e.columnsToInclude||[],e.columnsToIncludeById||[],e.includeDataValuesOption||n.IncludeDataValuesOption.AllValues)},e.prototype.getLogicalTableDataAsync=function(e,t){return t=t||{},s.ApiServiceRegistry.get(this._registryId).getService("get-data-service").getLogicalTableDataAsync(this.id,e,!!t.ignoreAliases,t.maxRows||0,t.columnsToInclude||[],t.columnsToIncludeById||[],t.includeDataValuesOption||n.IncludeDataValuesOption.AllValues)},e.prototype.getLogicalTableDataReaderAsync=function(e,t,r){return r=r||{},s.ApiServiceRegistry.get(this._registryId).getService("get-data-service").getLogicalTableDataReaderAsync(this.id,e,t||this.getMaxPageRowLimit(),!!r.ignoreAliases,r.columnsToIncludeById||[],r.includeDataValuesOption||n.IncludeDataValuesOption.AllValues)},e.prototype.initializeWithPublicInterfaces=function(e){l.ErrorHelpers.verifyInternalValue(e,"dataSource"),this._fields=this._dataSourceInfo.fields.map((function(t){var r=new c.FieldImpl(t,e);return new o.Field(r)}))},e.prototype.getLogicalTablesAsync=function(){return s.ApiServiceRegistry.get(this._registryId).getService("data-source-service").getLogicalTablesAsync(this.id).then((function(e){return e.map((function(e){return new a.LogicalTable(e)}))}))},e}();t.DataSourceImpl=p},5288:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(7419),i=r(3448),o=r(6557),a=function(){function e(e,t){this._fieldInfo=e,this._parentDataSource=t}return Object.defineProperty(e.prototype,"name",{get:function(){return this._fieldInfo.name},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"id",{get:function(){return this._fieldInfo.id},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"description",{get:function(){return this._fieldInfo.description},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dataType",{get:function(){var e;return null!=(e=this._fieldInfo.dataType)?e:n.DataType.Unknown},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"aggregation",{get:function(){return o.InternalToExternalEnumMappings.fieldAggregationType.convert(this._fieldInfo.aggregation)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dataSource",{get:function(){if(!this._parentDataSource)throw new Error("Data source information is not available for this field. Please use getFieldAsync method to get field's data source information");return this._parentDataSource},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"role",{get:function(){return o.InternalToExternalEnumMappings.fieldRoleType.convert(this._fieldInfo.role)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"columnType",{get:function(){var e=this._fieldInfo.columnType||i.ColumnType.Unknown;return o.InternalToExternalEnumMappings.columnType.convert(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isCalculatedField",{get:function(){return this._fieldInfo.isCalculatedField},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isCombinedField",{get:function(){return this._fieldInfo.isCombinedField},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isGenerated",{get:function(){return this._fieldInfo.isGenerated},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isGeospatial",{get:function(){return this._fieldInfo.isGeospatial},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isHidden",{get:function(){return this._fieldInfo.isHidden},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isPresentOnPublishedDatasource",{get:function(){return this._fieldInfo.isPresentOnPublishedDatasource},enumerable:!0,configurable:!0}),e}();t.FieldImpl=a},8552:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(7419),i=r(6557),o=r(3008),a=r(8052),s=r(7480),u=r(1172),l=function(){function e(e,t){this._registryId=t,this.setParameterInfo(e)}return Object.defineProperty(e.prototype,"name",{get:function(){return this._parameterInfo.name},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"currentValue",{get:function(){return a.DataValueFactory.MakeParameterDataValue(this._parameterInfo.currentValue,this._parameterInfo.dataType)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dataType",{get:function(){return i.InternalToExternalEnumMappings.dataType.convert(this._parameterInfo.dataType)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"id",{get:function(){return this._globalFieldName},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"allowableValues",{get:function(){return this._allowableValues},enumerable:!0,configurable:!0}),e.prototype.changeValueAsync=function(e){var t=this;s.ErrorHelpers.verifyParameter(e,"newValue");var r=u.Param.serializeParameterValue(e);return o.ApiServiceRegistry.get(this._registryId).getService("parameters-service").changeParameterValueAsync(this._globalFieldName,r).then((function(e){return t.setParameterInfo(e),t.currentValue}))},e.prototype.setParameterInfo=function(e){this._parameterInfo=e,this._globalFieldName=e.fieldName;var t,r,o,s,u,l=i.InternalToExternalEnumMappings.allowableValues.convert(e.allowableValuesType);l===n.ParameterValueType.List?t=(e.allowableValues||[]).map((function(t){return a.DataValueFactory.MakeParameterDataValue(t,e.dataType)})):l===n.ParameterValueType.Range&&(r=e.minValue&&a.DataValueFactory.MakeParameterDataValue(e.minValue,e.dataType),o=e.maxValue&&a.DataValueFactory.MakeParameterDataValue(e.maxValue,e.dataType),s=e.stepSize,u=e.dateStepPeriod&&i.InternalToExternalEnumMappings.dateStepPeriod.convert(e.dateStepPeriod)),this._allowableValues={type:l,allowableValues:t,minValue:r,maxValue:o,stepSize:s,dateStepPeriod:u}},e}();t.ParameterImpl=l},8332:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(7419),i=r(3008),o=r(6664),a=r(7480),s=r(1172),u=r(2780),l=function(){function e(e,t){this._sheetInfoImpl=e,this._registryId=t}return Object.defineProperty(e.prototype,"name",{get:function(){return this._sheetInfoImpl.name},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"sheetType",{get:function(){return this._sheetInfoImpl.sheetType},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"sheetPath",{get:function(){return this._sheetInfoImpl.sheetPath},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"size",{get:function(){return this._sheetInfoImpl.sheetSize},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hidden",{get:function(){if(void 0!==this._sheetInfoImpl.isHidden)return this._sheetInfoImpl.isHidden;throw new o.TableauError(n.EmbeddingErrorCodes.ImplementationError,"isHidden not implemented")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"active",{get:function(){if(void 0!==this._sheetInfoImpl.isActive)return this._sheetInfoImpl.isActive;throw new o.TableauError(n.EmbeddingErrorCodes.ImplementationError,"active not implemented")},set:function(e){void 0!==this._sheetInfoImpl.isActive&&(this._sheetInfoImpl.active=e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"index",{get:function(){if(void 0!==this._sheetInfoImpl.index)return this._sheetInfoImpl.index;throw new o.TableauError(n.EmbeddingErrorCodes.ImplementationError,"index not implemented")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"url",{get:function(){if(void 0!==this._sheetInfoImpl.url)return this._sheetInfoImpl.url;throw new o.TableauError(n.EmbeddingErrorCodes.ImplementationError,"url not implemented")},enumerable:!0,configurable:!0}),e.prototype.getSheetSize=function(){if(!u.SheetUtils.isValidSheetSize(this.size))throw new o.TableauError(n.EmbeddingErrorCodes.InternalError,"size is not of type SheetSize");return this.size},e.prototype.findParameterAsync=function(e){return a.ErrorHelpers.verifyParameter(e,"parameterName"),i.ApiServiceRegistry.get(this._registryId).getService("parameters-service").findParameterByNameAsync(e)},e.prototype.getParametersAsync=function(){return i.ApiServiceRegistry.get(this._registryId).getService("parameters-service").getParametersForSheetAsync(this.sheetPath)},e.prototype.changeSizeAsync=function(e){var t=this,r=new o.TableauError(n.EmbeddingErrorCodes.InvalidSize,"Invalid sheet size parameter");if(!e||!e.behavior)throw r;var a=this.normalizeSheetSize(e),s=a.behavior===n.SheetSizeBehavior.Automatic;if(!s&&!a.minSize&&!a.maxSize)throw r;if(!s&&this.sheetType===n.SheetType.Worksheet)throw new o.TableauError(n.EmbeddingErrorCodes.InvalidSizeBehaviorOnWorksheet,"Only SheetSizeBehavior.Automatic is allowed on Worksheets");if(s&&this.getSheetSize().behavior===a.behavior)return Promise.resolve(e);var l=this.processNewSize(a);return i.ApiServiceRegistry.get(this._registryId).getService("size-service").changeSizeAsync(this.name,l).then((function(){return i.ApiServiceRegistry.get(t._registryId).getService("client-info-service").getClientInfoAsync().then((function(e){var r=e.publishedSheets.find((function(e){return e.name===t.name}));if(!r)throw new o.TableauError(n.SharedErrorCodes.InternalError,"Can't find sheet with name "+t.name);var i=u.SheetUtils.getSheetSizeFromSizeConstraints(r.sizeConstraint);return t._sheetInfoImpl.sheetSize=i,i}))}))},e.prototype.normalizeSheetSize=function(t){var r=t.behavior;return a.ErrorHelpers.verifyEnumValue(r,n.SheetSizeBehavior,"SheetSizeBehavior"),{behavior:r,minSize:e.parseDimensions(t.minSize),maxSize:e.parseDimensions(t.maxSize)}},e.prototype.processNewSize=function(e){var t,r,i,a,u=e.behavior,l=e.minSize,c=e.maxSize,p=!s.Param.isNullOrUndefined(null===(t=l)||void 0===t?void 0:t.width),d=!s.Param.isNullOrUndefined(null===(r=l)||void 0===r?void 0:r.height),f=!s.Param.isNullOrUndefined(null===(i=c)||void 0===i?void 0:i.width),y=!s.Param.isNullOrUndefined(null===(a=c)||void 0===a?void 0:a.height),h=p&&d,m=f&&y;switch(u){case n.SheetSizeBehavior.Automatic:return{behavior:u};case n.SheetSizeBehavior.AtMost:if(!c||!m)throw new o.TableauError(n.EmbeddingErrorCodes.MissingMaxSize,"Missing maxSize for SheetSizeBehavior.AtMost");if((v={width:c.width,height:c.height}).width<0||v.height<0)throw new o.TableauError(n.EmbeddingErrorCodes.InvalidSize,"Size value cannot be less than zero");return{behavior:u,maxSize:v};case n.SheetSizeBehavior.AtLeast:if(!l||!h)throw new o.TableauError(n.EmbeddingErrorCodes.MissingMinSize,"Missing minSize for SheetSizeBehavior.AtLeast");if((g={width:l.width,height:l.height}).width<0||g.height<0)throw new o.TableauError(n.EmbeddingErrorCodes.InvalidSize,"Size value cannot be less than zero");return{behavior:u,minSize:g};case n.SheetSizeBehavior.Range:if(!(l&&c&&h&&m))throw new o.TableauError(n.EmbeddingErrorCodes.MissingMinMaxSize,"Missing minSize or maxSize for SheetSizeBehavior.Range");var g={width:l.width,height:l.height},v={width:c.width,height:c.height};if(g.width<0||g.height<0||v.width<0||v.height<0||g.width>v.width||g.height>v.height)throw new o.TableauError(n.EmbeddingErrorCodes.InvalidSize,"Missing minSize or maxSize for SheetSizeBehavior.Range");return{behavior:u,minSize:g,maxSize:v};case n.SheetSizeBehavior.Exactly:if(l&&c){if(h&&m){if(g={width:l.width,height:l.height},v={width:c.width,height:c.height},g.width!==v.width||g.height!==v.height)throw new o.TableauError(n.EmbeddingErrorCodes.InvalidSize,"Conflicting size values for SheetSizeBehavior.Exactly");return{behavior:u,minSize:g,maxSize:v}}if(h)return{behavior:u,minSize:g={width:l.width,height:l.height},maxSize:g};if(m)return{behavior:u,minSize:v={width:c.width,height:c.height},maxSize:v}}throw new o.TableauError(n.EmbeddingErrorCodes.InvalidSize,"Invalid sheet size parameter");default:throw new o.TableauError(n.SharedErrorCodes.InternalError,"Unsupported sheet size behavior: "+u)}},e.parseDimensions=function(e){var t={width:void 0,height:void 0};if(!e)return t;var r=s.Param.tryParseNumber(e.width),n=r.success,i=r.parsed,o=s.Param.tryParseNumber(e.height),a=o.success,u=o.parsed;return n&&a?{width:i,height:u}:n?{width:i}:a?{height:u}:t},e}();t.SheetImpl=l},1116:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(7419),i=function(){function e(e,t,r,n,i,o,a){this._name=e,this._sheetType=t,this._sheetSize=r,this._index=n,this._isActive=i,this._isHidden=o,this._url=a}return Object.defineProperty(e.prototype,"name",{get:function(){return this._name},set:function(e){this._name=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"sheetSize",{get:function(){return this._sheetSize},set:function(e){this._sheetSize=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"sheetType",{get:function(){return this._sheetType},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"sheetPath",{get:function(){return{sheetName:this.name,isDashboard:this.sheetType===n.SheetType.Dashboard}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"index",{get:function(){return this._index},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isActive",{get:function(){return this._isActive},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"active",{set:function(e){this._isActive=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isHidden",{get:function(){return this._isHidden},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"url",{get:function(){return this._url},enumerable:!0,configurable:!0}),e}();t.SheetInfoImpl=i},5144:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e){this._eventType=e,this._handlers=[]}return Object.defineProperty(e.prototype,"eventType",{get:function(){return this._eventType},enumerable:!0,configurable:!0}),e.prototype.addEventListener=function(e){var t=this;return this._handlers.push(e),function(){return t.removeEventListener(e)}},e.prototype.removeEventListener=function(e){var t=this._handlers.length;return this._handlers=this._handlers.filter((function(t){return t!==e})),t>this._handlers.length},e.prototype.triggerEvent=function(e){for(var t=0,r=this._handlers;t<r.length;t++){var n=r[t];try{n(e())}catch(e){continue}}},e}();t.SingleEventManagerImpl=r},6804:function(e,t,r){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},n(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var o=r(7419),a=r(3008),s=r(6664),u=r(7480),l=r(3036),c=r(8332),p=r(2608),d=r(6068),f=function(e){function t(t,r,n,i){var o=e.call(this,t,i)||this;return o._sheetInfoImpl=t,o._publishedSheetInfos=n,o._registryId=i,o._storyPointInfoImpls=[],o._deferred=new l.ShortLivedDeferred,o.initializeStory(r),o}return i(t,e),t.prototype.initializeStory=function(e){var t=this;e.storyPoints.forEach((function(r){var n=r.index===e.activeStoryPointIndex,i=new d.StoryPointInfoImpl(r.caption,r.index,r.storyPointId,n,r.updated,t);t._storyPointInfoImpls.push(i),n&&(t._activeStoryPointImpl=new p.StoryPointImpl(i,t._publishedSheetInfos,t._registryId,r.containedSheetInfo))}))},t.prototype.updateStoryInfo=function(e,t){if(this._storyPointInfoImpls){var r=this._storyPointInfoImpls[e];if(r.storyPointId!==t.storyPointId)throw new s.TableauError(o.EmbeddingErrorCodes.StoryPointIdMismatch,"We should not be updating a story point when the IDs don't match. Existing storyPointID="+r.storyPointId+", newStoryPointID="+t.storyPointId);r.caption=t.caption,r.updated=t.updated,this._activeStoryPointImpl.storyPointId===t.storyPointId&&(this._activeStoryPointImpl.updated=r.updated)}},t.prototype.updateStory=function(e){var t=this;this._storyPointInfoImpls&&(this._storyPointInfoImpls.forEach((function(r){r.storyPointId===e.storyPointId?(r.caption=e.caption,r.index=e.index,r.active=!0,r.updated=e.updated,t._activeStoryPointImpl=new p.StoryPointImpl(r,t._publishedSheetInfos,t._registryId,e.containedSheetInfo)):r.active=!1})),this.activeStoryPoint&&this._deferred.resolve(this.activeStoryPoint))},Object.defineProperty(t.prototype,"activeStoryPoint",{get:function(){return this._activeStoryPointImpl},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"storyPointsInfo",{get:function(){return this._storyPointInfoImpls},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isActive",{get:function(){return this._sheetInfoImpl.active},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isHidden",{get:function(){return!!this._sheetInfoImpl.isHidden},enumerable:!0,configurable:!0}),t.prototype.activateNextStoryPointAsync=function(){if(this._activeStoryPointImpl.index===this._storyPointInfoImpls.length-1)return Promise.resolve(this._activeStoryPointImpl);var e=this._deferred.getNewPromiseOrThrowIfBusy();return a.ApiServiceRegistry.get(this._registryId).getService("story-activation-service").activateNextStoryPointAsync(),e},t.prototype.activatePreviousStoryPointAsync=function(){if(0===this._activeStoryPointImpl.index)return Promise.resolve(this._activeStoryPointImpl);var e=this._deferred.getNewPromiseOrThrowIfBusy();return a.ApiServiceRegistry.get(this._registryId).getService("story-activation-service").activatePreviousStoryPointAsync(),e},t.prototype.activateStoryPointAsync=function(e){if(u.ErrorHelpers.verifyParameter(e,"index"),u.ErrorHelpers.verifyParameterType(e,"number","index"),e<0||e>=this._storyPointInfoImpls.length)throw new s.TableauError(o.EmbeddingErrorCodes.IndexOutOfRange,"The index passed to this command is out of range.");if(e===this._activeStoryPointImpl.index)return Promise.resolve(this._activeStoryPointImpl);var t=this._deferred.getNewPromiseOrThrowIfBusy();return a.ApiServiceRegistry.get(this._registryId).getService("story-activation-service").activateStoryPointAsync(e),t},t.prototype.revertStoryPointAsync=function(e){var t=this;if(u.ErrorHelpers.verifyParameter(e,"index"),u.ErrorHelpers.verifyParameterType(e,"number","index"),e<0||e>=this._storyPointInfoImpls.length)throw new s.TableauError(o.EmbeddingErrorCodes.IndexOutOfRange,"The index passed to this command is out of range.");return a.ApiServiceRegistry.get(this._registryId).getService("story-activation-service").revertStoryPointAsync(e).then((function(e){return t.updateStoryInfo(e.index,e),new d.StoryPointInfoImpl(e.caption,e.index,e.storyPointId,!1,e.updated,t)}))},t.prototype.clearPendingPromises=function(){this._deferred&&this._deferred.reject("All pending promises cleared")},t}(c.SheetImpl);t.StoryImpl=f},2608:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(7419),i=r(6664),o=r(2780),a=r(1940),s=r(1116),u=r(6500),l=function(){function e(e,t,r,n){this._storyPointInfoImpl=e,n&&(this._containedSheetImpl=this.createContainedSheet(n,t,r))}return Object.defineProperty(e.prototype,"index",{get:function(){return this._storyPointInfoImpl.index},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"caption",{get:function(){return this._storyPointInfoImpl.caption},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"active",{get:function(){return this._storyPointInfoImpl.active},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"updated",{get:function(){return this._storyPointInfoImpl.updated},set:function(e){this._storyPointInfoImpl.updated=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"parentStory",{get:function(){return this._storyPointInfoImpl.parentStory},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"containedSheet",{get:function(){return this._containedSheetImpl},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"storyPointId",{get:function(){return this._storyPointInfoImpl.storyPointId},enumerable:!0,configurable:!0}),e.prototype.createContainedSheet=function(e,t,r){var l,c=o.SheetUtils.getPublishedSheetInfoByName(e.name,t),p=o.SheetUtils.createAutomaticSize(),d=void 0===c,f=c?c.url:"",y=new s.SheetInfoImpl(e.name,o.SheetUtils.getSheetTypeEnum(e.sheetType),p,-1,!1,d,f);switch(y.sheetType){case n.SheetType.Worksheet:var h={worksheet:y.name};l=new u.WorksheetImpl(y,r,h,null,this);break;case n.SheetType.Dashboard:var m={sheetName:y.name,isDashboard:!0};l=new a.DashboardImpl(y,e.dashboardZones,m,r,this);break;default:throw new i.TableauError(n.SharedErrorCodes.ServerError,"Invalid SheetType")}return l},e}();t.StoryPointImpl=l},6068:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t,r,n,i,o){this._caption=e,this._index=t,this._storyPointId=r,this._active=n,this._updated=i,this._parentStoryImpl=o}return Object.defineProperty(e.prototype,"caption",{get:function(){return this._caption},set:function(e){this._caption=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"index",{get:function(){return this._index},set:function(e){this._index=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"storyPointId",{get:function(){return this._storyPointId},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"active",{get:function(){return this._active},set:function(e){this._active=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"updated",{get:function(){return this._updated},set:function(e){this._updated=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"parentStory",{get:function(){return this._parentStoryImpl},enumerable:!0,configurable:!0}),e}();t.StoryPointInfoImpl=r},3044:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.WorkbookImpl=function(){}},6500:function(e,t,r){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},n(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var o=r(7419),a=r(7419),s=r(8340),u=r(624),l=r(3483),c=r(3008),p=r(6664),d=r(7480),f=r(2180),y=function(e){function t(t,r,n,i,o){var a=e.call(this,t,r)||this;return a._visualId=n,a._parentDashboardImpl=i,a._parentStoryPointImpl=o,a}return i(t,e),Object.defineProperty(t.prototype,"parentDashboard",{get:function(){return this._parentDashboardImpl},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parentStoryPoint",{get:function(){return this._parentStoryPointImpl},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"visualId",{get:function(){return this._visualId},enumerable:!0,configurable:!0}),t.prototype.getMaxPageRowLimit=function(){return 1e4},t.prototype.applyFilterAsync=function(e,t,r,n){return d.ErrorHelpers.verifyEnumValue(r,o.FilterUpdateType,"Contract.FilterUpdateType"),this.verifyActiveSheet(),c.ApiServiceRegistry.get(this._registryId).getService("filter-service").applyFilterAsync(this.visualId,e,t,r,n)},t.prototype.applyRangeFilterAsync=function(e,t){return d.ErrorHelpers.verifyParameter(e,"fieldName"),d.ErrorHelpers.verifyParameter(t,"filterOptions"),t.nullOption?d.ErrorHelpers.verifyEnumValue(t.nullOption,a.FilterNullOption,"FilterNullOption"):d.ErrorHelpers.verifyRangeParamType(t.min,t.max),this.verifyActiveSheet(),c.ApiServiceRegistry.get(this._registryId).getService("filter-service").applyRangeFilterAsync(this.visualId,e,t)},t.prototype.applyHierarchicalFilterAsync=function(e,t,r,n){if(d.ErrorHelpers.verifyParameter(e,"fieldName"),d.ErrorHelpers.verifyParameter(t,"values"),d.ErrorHelpers.verifyEnumValue(r,o.FilterUpdateType,"Contract.FilterUpdateType"),!Array.isArray(t)&&!t.levels)throw new p.TableauError(a.ErrorCodes.InvalidParameter,"values parameter for applyHierarchicalFilterAsync must be an array or contain a levels key");return this.verifyActiveSheet(),c.ApiServiceRegistry.get(this._registryId).getService("filter-service").applyHierarchicalFilterAsync(this.visualId,e,t,r,n)},t.prototype.clearFilterAsync=function(e){return d.ErrorHelpers.verifyParameter(e,"fieldName"),this.verifyActiveSheet(),c.ApiServiceRegistry.get(this._registryId).getService("filter-service").clearFilterAsync(this.visualId,e)},t.prototype.applyRelativeDateFilterAsync=function(e,t){return d.ErrorHelpers.verifyStringParameter(e,"fieldName"),d.ErrorHelpers.verifyParameter(t,"options"),d.ErrorHelpers.verifyEnumValue(t.periodType,a.PeriodType,"PeriodType"),d.ErrorHelpers.verifyEnumValue(t.rangeType,a.DateRangeType,"DateRangeType"),this.verifyActiveSheet(),c.ApiServiceRegistry.get(this._registryId).getService("filter-service").applyRelativeDateFilterAsync(this.visualId,e,t)},t.prototype.getDataSourcesAsync=function(){var e=this;return this.verifyActiveSheet(),c.ApiServiceRegistry.get(this._registryId).getService("data-source-service").getDataSourcesAsync(this.visualId).then((function(t){var r=t,n=r.worksheetDataSchemaMap[e.name],i=[],o=n.primaryDataSource;i.push(e.createDataSourceFromInfo(r.dataSources[o]));for(var a=0,s=n.referencedDataSourceList;a<s.length;a++){var u=s[a];u!==o&&i.push(e.createDataSourceFromInfo(r.dataSources[u]))}return i}))},t.prototype.getFiltersAsync=function(){return this.verifyActiveSheet(),c.ApiServiceRegistry.get(this._registryId).getService("filter-service").getFiltersAsync(this.visualId)},t.prototype.getSelectedMarksAsync=function(){return this.verifyActiveSheet(),c.ApiServiceRegistry.get(this._registryId).getService("get-data-service").getSelectedMarksAsync(this.visualId)},t.prototype.getHighlightedMarksAsync=function(){return this.verifyActiveSheet(),c.ApiServiceRegistry.get(this._registryId).getService("get-data-service").getHighlightedMarksAsync(this.visualId)},t.prototype.getSummaryDataAsync=function(e){return this.verifyActiveSheet(),e=e||{},c.ApiServiceRegistry.get(this._registryId).getService("get-data-service").getUnderlyingDataAsync(this.visualId,l.GetDataType.Summary,!!e.ignoreAliases,!!e.ignoreSelection,!0,e.columnsToIncludeById||[],e.maxRows||0,e.includeDataValuesOption||a.IncludeDataValuesOption.AllValues)},t.prototype.getSummaryDataReaderAsync=function(e,t){return this.verifyActiveSheet(),t=t||{},c.ApiServiceRegistry.get(this._registryId).getService("get-data-service").getSummaryDataReaderAsync(this.visualId,e||this.getMaxPageRowLimit(),!!t.ignoreAliases,!!t.ignoreSelection,!0,t.columnsToIncludeById||[],t.includeDataValuesOption||a.IncludeDataValuesOption.AllValues)},t.prototype.getVisualSpecificationAsync=function(){return this.verifyActiveSheet(),c.ApiServiceRegistry.get(this._registryId).getService("visual-model-service").getVisualSpecificationAsync(this.visualId)},t.prototype.getSummaryColumnsInfoAsync=function(){return this.verifyActiveSheet(),c.ApiServiceRegistry.get(this._registryId).getService("get-data-service").getSummaryColumnsInfoAsync(this.visualId)},t.prototype.getUnderlyingDataAsync=function(e){return this.verifyActiveSheet(),e=e||{},c.ApiServiceRegistry.get(this._registryId).getService("get-data-service").getUnderlyingDataAsync(this.visualId,l.GetDataType.Underlying,!!e.ignoreAliases,!!e.ignoreSelection,!!e.includeAllColumns,e.columnsToIncludeById||[],e.maxRows||0,e.includeDataValuesOption||a.IncludeDataValuesOption.AllValues)},t.prototype.getUnderlyingTablesAsync=function(){return this.verifyActiveSheet(),c.ApiServiceRegistry.get(this._registryId).getService("data-source-service").getUnderlyingTablesAsync(this.visualId).then((function(e){return e.map((function(e){return new u.LogicalTable(e)}))}))},t.prototype.getUnderlyingTableDataAsync=function(e,t){return this.verifyActiveSheet(),t=t||{},c.ApiServiceRegistry.get(this._registryId).getService("get-data-service").getUnderlyingTableDataAsync(this.visualId,e,!!t.ignoreAliases,!!t.ignoreSelection,!!t.includeAllColumns,t.columnsToIncludeById||[],t.maxRows||0,t.includeDataValuesOption||a.IncludeDataValuesOption.AllValues)},t.prototype.getUnderlyingTableDataReaderAsync=function(e,t,r){return this.verifyActiveSheet(),r=r||{},c.ApiServiceRegistry.get(this._registryId).getService("get-data-service").getUnderlyingTableDataReaderAsync(this.visualId,e,t||this.getMaxPageRowLimit(),!!r.ignoreAliases,!!r.ignoreSelection,!!r.includeAllColumns,r.columnsToIncludeById||[],r.includeDataValuesOption||a.IncludeDataValuesOption.AllValues)},t.prototype.clearSelectedMarksAsync=function(){return this.verifyActiveSheet(),c.ApiServiceRegistry.get(this._registryId).getService("selection-service").clearSelectedMarksAsync(this.visualId)},t.prototype.selectMarksByValueAsync=function(e,t){return d.ErrorHelpers.verifyParameter(e,"fieldName"),d.ErrorHelpers.verifyEnumValue(t,a.SelectionUpdateType,"SelectionUpdateType"),this.verifyActiveSheet(),c.ApiServiceRegistry.get(this._registryId).getService("selection-service").selectMarksByValueAsync(this.visualId,e,t)},t.prototype.selectMarksByIdAsync=function(e,t){return d.ErrorHelpers.verifyParameter(e,"fieldName"),d.ErrorHelpers.verifyEnumValue(t,a.SelectionUpdateType,"SelectionUpdateType"),this.verifyActiveSheet(),c.ApiServiceRegistry.get(this._registryId).getService("selection-service").selectMarksByIdAsync(this.visualId,e,t)},t.prototype.annotateMarkAsync=function(e,t){return d.ErrorHelpers.verifyParameter(e,"mark"),this.verifyActiveSheet(),c.ApiServiceRegistry.get(this._registryId).getService("annotation-service").annotateMarkAsync(this.visualId,e,t)},t.prototype.getAnnotationsAsync=function(){return this.verifyActiveSheet(),c.ApiServiceRegistry.get(this._registryId).getService("annotation-service").getAnnotationsAsync(this.visualId)},t.prototype.removeAnnotationAsync=function(e){return d.ErrorHelpers.verifyParameter(e,"annotation"),this.verifyActiveSheet(),c.ApiServiceRegistry.get(this._registryId).getService("annotation-service").removeAnnotationAsync(this.visualId,e)},t.prototype.appendContextMenuAsync=function(e,t){return this.verifyActiveSheet(),c.ApiServiceRegistry.get(this._registryId).getService("external-context-menu-service").appendContextMenuAsync(this.visualId.worksheet,e,t)},t.prototype.removeContextMenuAsync=function(e,t){return this.verifyActiveSheet(),c.ApiServiceRegistry.get(this._registryId).getService("external-context-menu-service").removeContextMenuAsync(this.visualId.worksheet,e,t)},t.prototype.executeContextMenuAsync=function(e,t){return this.verifyActiveSheet(),c.ApiServiceRegistry.get(this._registryId).getService("external-context-menu-service").executeContextMenuAsync(this.visualId.worksheet,e,t)},t.prototype.renameContextMenuAsync=function(e,t,r){return this.verifyActiveSheet(),c.ApiServiceRegistry.get(this._registryId).getService("external-context-menu-service").renameContextMenuAsync(this.visualId.worksheet,e,t,r)},t.prototype.hoverTupleAsync=function(e,t,r){return this.isInsideDashboardExtension()?Promise.reject(new p.TableauError(o.SharedErrorCodes.ImplementationError,"hoverTupleAsync is not supported in dashboard extensions")):c.ApiServiceRegistry.get(this._registryId).getService("selection-service").hoverTupleAsync(this.visualId,e,t,r)},t.prototype.selectTuplesAsync=function(e,t,r){return this.isInsideDashboardExtension()?Promise.reject(new p.TableauError(o.SharedErrorCodes.ImplementationError,"selectTuplesAsync is not supported in dashboard extensions")):c.ApiServiceRegistry.get(this._registryId).getService("selection-service").selectTuplesAsync(this.visualId,e,t,r)},t.prototype.getTooltipTextAsync=function(e){return this.isInsideDashboardExtension()?Promise.reject(new p.TableauError(o.SharedErrorCodes.ImplementationError,"getTooltipTextAsync is not supported in dashboard extensions")):c.ApiServiceRegistry.get(this._registryId).getService("accessibility").getTooltipTextAsync(this.visualId,e)},t.prototype.leaveMarkNavigationAsync=function(){return this.isInsideDashboardExtension()?Promise.reject(new p.TableauError(o.SharedErrorCodes.ImplementationError,"leaveMarkNavigationAsync is not supported in dashboard extensions")):c.ApiServiceRegistry.get(this._registryId).getService("accessibility").leaveMarkNavigationAsync(this.visualId)},t.prototype.createDataSourceFromInfo=function(e){var t=new f.DataSourceImpl(e,this._registryId),r=new s.DataSource(t);return t.initializeWithPublicInterfaces(r),r},t.prototype.verifyActiveSheet=function(){var e=this.active,t=this.isInsideActiveDashboard(),r=this.isInsideActiveStoryPoint();if(!e&&!t&&!r)throw new p.TableauError(a.SharedErrorCodes.NotActiveSheet,"Operation not allowed on non-active sheet")},t.prototype.isInsideActiveStoryPoint=function(){return this._parentStoryPointImpl&&this._parentStoryPointImpl.active},t.prototype.isInsideActiveDashboard=function(){return this._parentDashboardImpl&&this._parentDashboardImpl.active},t.prototype.isInsideDashboardExtension=function(){return null!==this._parentDashboardImpl},t}(r(8332).SheetImpl);t.WorksheetImpl=y},624:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e){this._logicalTable=e}return Object.defineProperty(e.prototype,"id",{get:function(){return this._logicalTable.id},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"caption",{get:function(){return this._logicalTable.caption},enumerable:!0,configurable:!0}),e}();t.LogicalTable=r},5064:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.TooltipTextRequestModel=function(e,t){this.visualIdPresModel=e,this.tupleId=t}},6296:function(e,t,r){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},n(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var o=r(7419),a=r(3008),s=r(7480),u=function(){function e(e,t,r,n,i){this._worksheetName=e,this._fieldName=t,this._filterType=r,this._fieldId=n,this._registryId=i}return Object.defineProperty(e.prototype,"worksheetName",{get:function(){return this._worksheetName},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"fieldName",{get:function(){return this._fieldName},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"fieldId",{get:function(){return this._fieldId},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"filterType",{get:function(){return this._filterType},enumerable:!0,configurable:!0}),e.prototype.getFieldAsync=function(){return a.ApiServiceRegistry.get(this._registryId).getService("data-source-service").getFieldAsync(this._fieldId)},e.prototype.getAppliedWorksheetsAsync=function(){return a.ApiServiceRegistry.get(this._registryId).getService("filter-service").getAppliedWorksheetsAsync(this._worksheetName,this._fieldId)},e.prototype.setAppliedWorksheetsAsync=function(e){s.ErrorHelpers.verifyParameter(e,"applyToWorksheets");var t=new Set(e);return a.ApiServiceRegistry.get(this._registryId).getService("filter-service").setAppliedWorksheetsAsync(this._worksheetName,this._fieldName,this._fieldId,Array.from(t))},e}();t.Filter=u;var l=function(e){function t(t,r,n,i,o,a,s,u){var l=e.call(this,t,r,i,n,o)||this;return l._appliedValues=a,l._isExcludeMode=s,l._isAllSelected=u,l}return i(t,e),Object.defineProperty(t.prototype,"isAllSelected",{get:function(){return this._isAllSelected},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"appliedValues",{get:function(){return this._appliedValues},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isExcludeMode",{get:function(){return this._isExcludeMode},enumerable:!0,configurable:!0}),t.prototype.getDomainAsync=function(e){return e||(e=o.FilterDomainType.Relevant),s.ErrorHelpers.verifyEnumValue(e,o.FilterDomainType,"FilterDomainType"),a.ApiServiceRegistry.get(this._registryId).getService("filter-service").getCategoricalDomainAsync(this._worksheetName,this._fieldId,e)},t}(u);t.CategoricalFilter=l;var c=function(){function e(e,t,r){this._value=e,this._hierarchicalPath=t,this._level=r}return Object.defineProperty(e.prototype,"value",{get:function(){return this._value},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hierarchicalPath",{get:function(){return this._hierarchicalPath},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"level",{get:function(){return this._level},enumerable:!0,configurable:!0}),e}();t.HierarchicalDataValue=c;var p=function(){function e(e,t){this._name=e,this._levelSelectionState=t}return Object.defineProperty(e.prototype,"name",{get:function(){return this._name},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"levelSelectionState",{get:function(){return this._levelSelectionState},enumerable:!0,configurable:!0}),e}();t.HierarchicalLevelDetail=p;var d=function(e){function t(t,r,n,i,o,a,s,u,l,c,p){var d=e.call(this,t,r,i,n,o)||this;return d._dimensionName=a,d._hierarchyCaption=s,d._numberOfLevels=u,d._levelDetails=l,d._appliedValues=c,d._isAllSelected=p,d}return i(t,e),t.prototype.getDomainAsync=function(e){throw new Error("Method not implemented.")},Object.defineProperty(t.prototype,"dimensionName",{get:function(){return this._dimensionName},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"hierarchyCaption",{get:function(){return this._hierarchyCaption},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"numberOfLevels",{get:function(){return this._numberOfLevels},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"levelDetails",{get:function(){return this._levelDetails},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isAllSelected",{get:function(){return this._isAllSelected},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"appliedValues",{get:function(){return this._appliedValues},enumerable:!0,configurable:!0}),t}(u);t.HierarchicalFilter=d;var f=function(e){function t(t,r,n,i,o,a,s,u){var l=e.call(this,t,r,i,n,o)||this;return l._min=a,l._max=s,l._includeNullValues=u,l}return i(t,e),Object.defineProperty(t.prototype,"minValue",{get:function(){return this._min},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"maxValue",{get:function(){return this._max},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"includeNullValues",{get:function(){return this._includeNullValues},enumerable:!0,configurable:!0}),t.prototype.getDomainAsync=function(e){var t=a.ApiServiceRegistry.get(this._registryId).getService("filter-service");return e||(e=o.FilterDomainType.Relevant),s.ErrorHelpers.verifyEnumValue(e,o.FilterDomainType,"FilterDomainType"),t.getRangeDomainAsync(this._worksheetName,this._fieldId,e)},t}(u);t.RangeFilter=f;var y=function(e){function t(t,r,n,i,o,a,s,u,l){var c=e.call(this,t,r,i,n,o)||this;return c._anchorDate=a,c._periodType=s,c._rangeType=u,c._rangeN=l,c}return i(t,e),Object.defineProperty(t.prototype,"anchorDate",{get:function(){return this._anchorDate},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"periodType",{get:function(){return this._periodType},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"rangeType",{get:function(){return this._rangeType},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"rangeN",{get:function(){return this._rangeN},enumerable:!0,configurable:!0}),t}(u);t.RelativeDateFilter=y;var h=function(){function e(e,t){this._values=e,this._domainType=t}return Object.defineProperty(e.prototype,"values",{get:function(){return this._values},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"type",{get:function(){return this._domainType},enumerable:!0,configurable:!0}),e}();t.CategoricalDomain=h;var m=function(){function e(e,t,r){this._min=e,this._max=t,this._domainType=r}return Object.defineProperty(e.prototype,"type",{get:function(){return this._domainType},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"min",{get:function(){return this._min},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"max",{get:function(){return this._max},enumerable:!0,configurable:!0}),e}();t.RangeDomain=m},5068:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t,r,n,i,o){this._data=e,this._columns=t,this._totalRowCount=r,this._isTotalRowCountLimited=n,this._isSummaryData=i,this._marksInfo=o,this._name=i?"Summary Data Table":"Underlying Data Table"}return Object.defineProperty(e.prototype,"name",{get:function(){return this._name},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"data",{get:function(){return this._data},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"columns",{get:function(){return this._columns},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"marksInfo",{get:function(){return this._marksInfo},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"totalRowCount",{get:function(){return this._totalRowCount},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isTotalRowCountLimited",{get:function(){return this._isTotalRowCountLimited},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isSummaryData",{get:function(){return this._isSummaryData},enumerable:!0,configurable:!0}),e}();t.DataTable=r;var n=function(){function e(e,t,r){this._type=e,this._color=t,this._tupleId=r}return Object.defineProperty(e.prototype,"type",{get:function(){return this._type},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"color",{get:function(){return this._color},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tupleId",{get:function(){return this._tupleId},enumerable:!0,configurable:!0}),e}();t.MarkInfo=n;var i=function(){function e(e,t,r,n,i){this._fieldName=e,this._fieldId=t,this._dataType=r,this._isReferenced=n,this._index=i}return Object.defineProperty(e.prototype,"fieldName",{get:function(){return this._fieldName},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"fieldId",{get:function(){return this._fieldId},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dataType",{get:function(){return this._dataType},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isReferenced",{get:function(){return this._isReferenced},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"index",{get:function(){return this._index},enumerable:!0,configurable:!0}),e}();t.Column=i;var o=function(){function e(e,t,r){this._value=e,this._nativeValue=t,this._formattedValue=r}return Object.defineProperty(e.prototype,"value",{get:function(){return this._value},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"nativeValue",{get:function(){return this._nativeValue},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"formattedValue",{get:function(){return this._formattedValue},enumerable:!0,configurable:!0}),e}();t.DataValue=o},7968:function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{u(n.next(e))}catch(e){o(e)}}function s(e){try{u(n.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}u((n=n.apply(e,t||[])).next())}))},i=this&&this.__generator||function(e,t){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(3008),a=r(7480),s=function(){function e(e,t,r,n){this._id=e,this._totalRowCount=t,this._pageRowCount=r,this._registryId=n,this._pageCount=Math.ceil(t/r)}return Object.defineProperty(e.prototype,"totalRowCount",{get:function(){return this._totalRowCount},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pageCount",{get:function(){return this._pageCount},enumerable:!0,configurable:!0}),e.prototype.getPageAsync=function(e){return a.ErrorHelpers.verifyRange(e,0,this._pageCount),o.ApiServiceRegistry.get(this._registryId).getService("get-data-service").getPageAsync(this._id,e,this._pageRowCount)},e.prototype.getAllPagesAsync=function(e){return n(this,void 0,void 0,(function(){var t,r,n,o,a,s,u,l,c,p;return i(this,(function(i){switch(i.label){case 0:return[4,this.getPageAsync(0)];case 1:t=i.sent(),e=e||this.totalRowCount,r=Math.min(e,this.totalRowCount),n=Math.ceil(r/this._pageRowCount),o=Math.min(n,400),a=o<n,s=[],u=1,i.label=2;case 2:return u<o?[4,this.getPageAsync(u)]:[3,5];case 3:l=i.sent(),s.push(l.data),i.label=4;case 4:return u++,[3,2];case 5:return(c=(p=t.data).concat.apply(p,s)).length=r,[2,{name:t.name,data:c,columns:t.columns,totalRowCount:a?o*this._pageRowCount:r,isTotalRowCountLimited:a,isSummaryData:t.isSummaryData}]}}))}))},e.prototype.releaseAsync=function(){return o.ApiServiceRegistry.get(this._registryId).getService("get-data-service").releaseAsync(this._id)},e}();t.DataTableReader=s},7104:function(e,t){"use strict";var r,n=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},r(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=function(){};t.SelectionModel=i;var o=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.selectValues=[],t}return n(t,e),t}(i);t.ValueSelectionModel=o;var a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t}(o);t.HierarchicalSelectionModel=a;var s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t}(i);t.RangeSelectionModel=s;var u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t}(o);t.DimensionSelectionModel=u;t.TupleSelectionModel=function(){this.objectIds=[]};t.SelectionModelsContainer=function(){this.hierModelArr=[],this.dimModelArr=[],this.quantModelArr=[]};t.SelectTuplesInteractionModel=function(e,t,r,n){void 0===t&&(t=[]),this.visualIdPresModel=e,this.tupleIds=t,this.selectOptions=r,this.tooltipContext=n};t.HoverTupleInteractionModel=function(e,t,r,n){this.visualIdPresModel=e,this.tupleId=t,this.tooltipContext=r,this.allowHoverActions=n}},3987:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){this._x=e,this._y=t}return Object.defineProperty(e.prototype,"x",{get:function(){return this._x},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"y",{get:function(){return this._y},enumerable:!0,configurable:!0}),e}();t.Point=r},3483:(e,t)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),(r=t.GetDataType||(t.GetDataType={})).Summary="summary",r.Underlying="underlying"},8672:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(3008),i=r(3964),o=r(8028),a=r(1384),s=r(9196),u=r(4924),l=r(3851),c=r(8864),p=r(7712),d=r(1288),f=r(7260),y=r(8784),h=r(4109),m=r(6096),g=r(744),v=r(8856);t.registerAllSharedServices=function(e,t,r){n.ApiServiceRegistry.get(t).registerService(new o.AnimationServiceImpl(e,t)),n.ApiServiceRegistry.get(t).registerService(new s.DataSourceServiceImpl(e,t,r)),n.ApiServiceRegistry.get(t).registerService(new u.ExportServiceImpl(e,t)),n.ApiServiceRegistry.get(t).registerService(new p.GetDataServiceImpl(e,t)),n.ApiServiceRegistry.get(t).registerService(new c.FilterServiceImpl(e,t)),n.ApiServiceRegistry.get(t).registerService(new d.NotificationServiceImpl(e)),n.ApiServiceRegistry.get(t).registerService(new f.ParametersServiceImpl(e,t)),n.ApiServiceRegistry.get(t).registerService(new y.SelectionServiceImpl(e,t)),n.ApiServiceRegistry.get(t).registerService(new a.AnnotationServiceImpl(e,t)),n.ApiServiceRegistry.get(t).registerService(new v.ZoneServiceImpl(e,t)),n.ApiServiceRegistry.get(t).registerService(new h.SizeServiceImpl(e,t)),n.ApiServiceRegistry.get(t).registerService(new m.VisualModelServiceImpl(e,t)),n.ApiServiceRegistry.get(t).registerService(new g.VizServiceImpl(e,t)),n.ApiServiceRegistry.get(t).registerService(new l.ExternalContextMenuServiceImpl(e,t)),n.ApiServiceRegistry.get(t).registerService(new i.AccessibilityServiceImpl(e,t))}},3008:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(7419),i=r(6664);window.__tableauApiServiceRegistry=window.__tableauApiServiceRegistry||{};var o=function(){function e(){this._services={}}return e.prototype.registerService=function(e){this._services[e.serviceName]=e},e.prototype.getService=function(e){if(!this._services.hasOwnProperty(e))throw new i.TableauError(n.ErrorCodes.InternalError,"Service not registered: "+e);return this._services[e]},e}(),a=function(){function e(){}return e.get=function(t){if(window.__tableauApiServiceRegistry&&window.__tableauApiServiceRegistry[t]||e.setInstance(t,new o),!window.__tableauApiServiceRegistry[t])throw new i.TableauError(n.ErrorCodes.InternalError,"Service registry failed");return window.__tableauApiServiceRegistry[t]},e.setInstance=function(e,t){window.__tableauApiServiceRegistry||(window.__tableauApiServiceRegistry={}),window.__tableauApiServiceRegistry[e]=t},e.clearRegistry=function(){window.__tableauApiServiceRegistry={}},e}();t.ApiServiceRegistry=a},3964:function(e,t,r){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},n(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var o=r(3448),a=r(5064),s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),Object.defineProperty(t.prototype,"serviceName",{get:function(){return"accessibility"},enumerable:!0,configurable:!0}),t.prototype.getTooltipTextAsync=function(e,t){var r,n=new a.TooltipTextRequestModel(e,t),i=((r={})[o.ParameterId.FunctionName]="getTooltipTextAsync",r[o.ParameterId.TooltipTextRequest]=n,r);return this.execute(o.VerbId.GetTooltipText,i).then((function(e){return e.result}))},t.prototype.leaveMarkNavigationAsync=function(e){var t,r=((t={})[o.ParameterId.FunctionName]="leaveMarkNavigationAsync",t[o.ParameterId.VisualId]=e,t);return this.execute(o.VerbId.RaiseLeaveMarkNavNotification,r).then((function(e){}))},t}(r(1776).ServiceImplBase);t.AccessibilityServiceImpl=s},8028:function(e,t,r){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},n(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var o=r(7419),a=r(3448),s=r(1044),u=r(7480),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),Object.defineProperty(t.prototype,"serviceName",{get:function(){return"animation-service"},enumerable:!0,configurable:!0}),t.prototype.replayAsync=function(e){var t,r=((t={})[a.ParameterId.ReplaySpeed]=1,t);return u.ErrorHelpers.verifyEnumValue(e,o.ReplaySpeedType,"ReplaySpeedType"),r[a.ParameterId.ReplaySpeed]=s.ExternalToInternalEnumMappings.setReplaySpeedType.convert(e),this.execute(a.VerbId.ReplayAnimation,r).then((function(e){}))},t}(r(1776).ServiceImplBase);t.AnimationServiceImpl=l},1384:function(e,t,r){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},n(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var o=r(7419),a=r(3448),s=r(6557),u=r(7104),l=r(6664),c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),Object.defineProperty(t.prototype,"serviceName",{get:function(){return"annotation-service"},enumerable:!0,configurable:!0}),t.prototype.annotateMarkAsync=function(e,t,r){var n,i=this.parseMarkSelectionIds([t]),o="<formatted-text><run>"+r+"</run></formatted-text>",s=((n={})[a.ParameterId.FunctionName]="annotateMarkAsync",n[a.ParameterId.VisualId]=e,n[a.ParameterId.AnnotateEnum]=a.AnnotateEnum.Mark,n[a.ParameterId.TargetPoint]={x:0,y:0},n[a.ParameterId.SelectionList]=[i.selection],n[a.ParameterId.FormattedText]=o,n);return this.execute(a.VerbId.CreateAnnotation,s).then((function(e){}))},t.prototype.getAnnotationsAsync=function(e){var t,r=this,n=((t={})[a.ParameterId.FunctionName]="getAnnotationsAsync",t[a.ParameterId.VisualId]=e,t);return this.execute(a.VerbId.GetAnnotations,n).then((function(e){var t=e.result;return r.annotationFilterMap(t)}))},t.prototype.removeAnnotationAsync=function(e,t){var r,n=this.parseAnnotationSelectionIds([t]),i=((r={})[a.ParameterId.FunctionName]="removeAnnotationAsync",r[a.ParameterId.VisualId]=e,r[a.ParameterId.SelectionList]=[n.selection],r);return this.execute(a.VerbId.RemoveAnnotation,i).then((function(e){}))},t.prototype.parseMarkSelectionIds=function(e){var t=[],r=new u.SelectionModelsContainer;if(e.forEach((function(e){var r=e.tupleId;if(!(null!=r&&r>0))throw new l.TableauError(o.ErrorCodes.InternalError,"invalid tupleId");t.push(r.toString())})),0!==t.length){var n=new u.TupleSelectionModel;n.selectionType="tuples",n.objectIds=t,r.selection=n}return r},t.prototype.parseAnnotationSelectionIds=function(e){var t=[],r=new u.SelectionModelsContainer;if(e.forEach((function(e){var r=e.annotationId;if(!(null!=r&&r>=0))throw new l.TableauError(o.ErrorCodes.InternalError,"invalid annotationId");t.push(r.toString())})),0!==t.length){var n=new u.TupleSelectionModel;n.selectionType="annotations",n.objectIds=t,r.selection=n}return r},t.prototype.mapAnnotation=function(e){return{annotationHTML:e.annotationText,annotationId:e.annotationId,annotationText:e.annotationPlainText,annotationType:s.InternalToExternalEnumMappings.annotationType.convert(e.annotateEnum),tupleId:e.tupleId}},t.prototype.annotationFilterMap=function(e){var t=this;return e.map((function(e){return t.mapAnnotation(e)}))},t}(r(1776).ServiceImplBase);t.AnnotationServiceImpl=c},1832:function(e,t,r){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},n(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var o=r(3448),a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),Object.defineProperty(t.prototype,"serviceName",{get:function(){return"client-info-service"},enumerable:!0,configurable:!0}),t.prototype.getClientInfoAsync=function(){var e,t=o.VerbId.GetEmbeddingClientInfo,r=((e={})[o.ParameterId.FunctionName]="getClientInfoAsync",e);return this.execute(t,r).then((function(e){return e.result}))},t}(r(1776).ServiceImplBase);t.ClientInfoServiceImpl=a},9196:function(e,t,r){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},n(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var o=r(7419),a=r(3448),s=r(3448),u=r(8340),l=r(1072),c=r(2180),p=r(5288),d=r(6664),f=r(1776);t.SENTINEL_LOGICAL_TABLE_INFO={id:a.ApiShowDataTableSentinel.SingleTableId,caption:a.ApiShowDataTableSentinel.SingleTableCaption};var y={major:1,minor:20,fix:1},h=function(e){function r(t,r,n){void 0===n&&(n=y);var i=e.call(this,t,r)||this;return i._platformVersion=n,i}return i(r,e),Object.defineProperty(r.prototype,"serviceName",{get:function(){return"data-source-service"},enumerable:!0,configurable:!0}),r.prototype.refreshAsync=function(e){var t,r=((t={})[s.ParameterId.FunctionName]="refreshAsync",t[s.ParameterId.DeltaTimeMs]=0,t[s.ParameterId.ShouldRefreshDS]=!0,t);return e&&(r[s.ParameterId.DataSourceId]=e),this.execute(s.VerbId.RefreshDataSource,r).then((function(e){}))},r.prototype.getActiveTablesAsync=function(e){var t,r=((t={})[s.ParameterId.FunctionName]="getActiveTablesAsync",t[s.ParameterId.DataSourceId]=e,t);return this.execute(s.VerbId.GetActiveTables,r).then((function(t){var r=t.result;if(0===r.tables.length)throw new d.TableauError(o.ErrorCodes.UnsupportedMethodForDataSourceType,"getActiveTables is not supported for: "+e);return r.tables}))},r.prototype.getDataSourcesAsync=function(e){var t,r=((t={})[s.ParameterId.FunctionName]="getDataSourcesAsync",t[s.ParameterId.VisualId]=e,t);return this.execute(s.VerbId.GetDataSources,r).then((function(e){return e.result}))},r.prototype.getAllDataSourcesAsync=function(){var e,t=((e={})[s.ParameterId.FunctionName]="getAllDataSourcesAsync",e);return this.execute(s.VerbId.GetAllDataSources,t).then((function(e){return e.result}))},r.prototype.getConnectionSummariesAsync=function(e){var t,r=((t={})[s.ParameterId.FunctionName]="getConnectionSummariesAsync",t[s.ParameterId.DataSourceId]=e,t);return this.execute(s.VerbId.GetConnectionDescriptionSummaries,r).then((function(e){return e.result}))},r.prototype.getFieldAsync=function(e){var t,r=this,n=s.VerbId.GetFieldAndDataSource,i=((t={})[s.ParameterId.FunctionName]="getFieldAsync",t[s.ParameterId.FieldId]=e,t);return this.execute(n,i).then((function(e){var t=e.result[s.ParameterId.DataSource],n=e.result[s.ParameterId.Field];return r.convertField(n,r.convertDataSource(t))}))},r.prototype.getLogicalTablesAsync=function(e){var r;if(!this.isObjectModelSupportedByPlatform())return new Promise((function(e){return e([t.SENTINEL_LOGICAL_TABLE_INFO])}));var n=((r={})[s.ParameterId.FunctionName]="getLogicalTablesAsync",r[s.ParameterId.DataSourceId]=e,r);return this.execute(s.VerbId.GetLogicalTables,n).then((function(e){return e.result}))},r.prototype.getUnderlyingTablesAsync=function(e){var r;if(!this.isObjectModelSupportedByPlatform())return new Promise((function(e){return e([t.SENTINEL_LOGICAL_TABLE_INFO])}));var n=((r={})[s.ParameterId.FunctionName]="getUnderlyingTablesAsync",r[s.ParameterId.VisualId]=e,r);return this.execute(s.VerbId.GetUnderlyingTables,n).then((function(e){return e.result}))},r.prototype.convertField=function(e,t){return new l.Field(new p.FieldImpl(e,t))},r.prototype.convertDataSource=function(e){return new u.DataSource(new c.DataSourceImpl(e,this._registryId))},r.prototype.isObjectModelSupportedByPlatform=function(){return a.VersionLessThan({major:1,minor:13,fix:0},this._platformVersion)},r}(f.ServiceImplBase);t.DataSourceServiceImpl=h},4924:function(e,t,r){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},n(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),o=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{u(n.next(e))}catch(e){o(e)}}function s(e){try{u(n.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}u((n=n.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0});var s=r(3448),u=r(7419),l=r(1044),c=r(5044),p=r(7480),d=r(6664),f=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),Object.defineProperty(t.prototype,"serviceName",{get:function(){return"export-service"},enumerable:!0,configurable:!0}),t.prototype.getExportCrosstabSheetMapAsync=function(e){var t,r=s.VerbId.GetExportCrosstabSheetMap,n=((t={})[s.ParameterId.FunctionName]="getExportCrosstabSheetMapAsync",t[s.ParameterId.CurrentSheetType]=l.ExternalToInternalEnumMappings.sheetType.convert(e),t);return this.execute(r,n).then((function(e){return e.result}))},t.prototype.exportCrosstabAsync=function(e,t,r,n){return o(this,void 0,void 0,(function(){var i,o,l,c;return a(this,(function(a){switch(a.label){case 0:return p.ErrorHelpers.verifySheetName(r,e),p.ErrorHelpers.verifyEnumValue(t,u.CrosstabFileFormat,"CrosstabFileFormat"),[4,this.getExportCrosstabSheetMapAsync(n)];case 1:if(!(i=a.sent())[e])throw new d.TableauError(u.SharedErrorCodes.InternalError,"missing sheet doc id from sheetMap");switch((c={})[s.ParameterId.FunctionName]="exportCrosstabAsync",c[s.ParameterId.SheetIdentifier]=i[e],c[s.ParameterId.SendNotifications]=!0,o=c,t){case u.CrosstabFileFormat.CSV:l=s.VerbId.ExportCrosstabCsvDownload,o[s.ParameterId.UseTabDelimiters]=!0;break;case u.CrosstabFileFormat.Excel:l=s.VerbId.ExportCrosstabExcelDownload;break;default:throw new d.TableauError(u.SharedErrorCodes.InternalError,"unsupported Crosstab file format.")}return[2,this.execute(l,o).then((function(e){return e.result})).catch((function(){throw new d.TableauError(u.SharedErrorCodes.CrosstabCreationError,"An unexpected error occurred while generating the document.")}))]}}))}))},t.prototype.exportDataAsync=function(e,t){var r,n;p.ErrorHelpers.verifyExportDataOptions(t);var i=new Set(t.columnsToIncludeById),o=Array.from(i),a=s.VerbId.ExportDataDownload,l=((r={})[s.ParameterId.FunctionName]="exportDataAsync",r[s.ParameterId.VisualId]=e,r[s.ParameterId.IgnoreAliases]=null!=(n=t.ignoreAliases)&&n,r[s.ParameterId.ColumnsToIncludeById]=o,r);return this.execute(a,l).then((function(){})).catch((function(){throw new d.TableauError(u.SharedErrorCodes.DataCreationError,"An unexpected error occurred while generating the document.")}))},t.prototype.exportPowerPointAsync=function(e,t){var r;p.ErrorHelpers.verifySheetNamesForPDFAndPPT(e,t);var n=s.VerbId.ExportPowerpointDownload,i=((r={})[s.ParameterId.FunctionName]="exportPowerPointAsync",r[s.ParameterId.ExportOriginUrl]="",r[s.ParameterId.SelectedSheetNames]=e,r);return this.execute(n,i).then((function(e){return e.result})).catch((function(){throw new d.TableauError(u.SharedErrorCodes.PowerPointCreationError,"An error occured while attempting to generate the PowerPoint file.")}))},t.prototype.exportPDFAsync=function(e,t,r){return o(this,void 0,void 0,(function(){var n,i,o,l;return a(this,(function(a){switch(a.label){case 0:return p.ErrorHelpers.verifyExportPDFOptions(t),p.ErrorHelpers.verifySheetNamesForPDFAndPPT(e,r),[4,this.getExportPDFOptionsAsync()];case 1:return n=a.sent(),c.ExportHelpers.updateInternalExportPDFOptions(n,t,e),i=s.VerbId.ExportPdfDownload,(l={})[s.ParameterId.FunctionName]="exportPDFAsync",l[s.ParameterId.ExportPdfOptions]=n,o=l,[2,this.execute(i,o).then((function(e){return e.result})).catch((function(){throw new d.TableauError(u.SharedErrorCodes.PDFCreationError,"Unable to create PDF because something went wrong. Try again.")}))]}}))}))},t.prototype.getExportPDFOptionsAsync=function(){var e,t=s.VerbId.GetExportPdfOptions,r=((e={})[s.ParameterId.FunctionName]="getExportPdfOptionsAsync",e);return this.execute(t,r).then((function(e){return e.result}))},t}(r(1776).ServiceImplBase);t.ExportServiceImpl=f},3851:function(e,t,r){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},n(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var o=r(3448),a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),Object.defineProperty(t.prototype,"serviceName",{get:function(){return"external-context-menu-service"},enumerable:!0,configurable:!0}),t.prototype.appendContextMenuAsync=function(e,t,r){var n,i=o.VerbId.AppendExternalMenuItem,a=((n={})[o.ParameterId.FunctionName]="appendContextMenuAsync",n[o.ParameterId.WorksheetName]=e,n[o.ParameterId.ExternalMenuItemDisplayName]=r.displayName,n);return this.execute(i,a).then((function(e){return e.result}))},t.prototype.removeContextMenuAsync=function(e,t,r){var n,i=o.VerbId.RemoveExternalMenuItem,a=((n={})[o.ParameterId.FunctionName]="removeContextMenuAsync",n[o.ParameterId.WorksheetName]=e,n[o.ParameterId.ExternalMenuItemId]=r,n);return this.execute(i,a).then((function(e){}))},t.prototype.executeContextMenuAsync=function(e,t,r){var n,i=o.VerbId.ExecuteExternalMenuItem,a=((n={})[o.ParameterId.FunctionName]="executeContextMenuAsync",n[o.ParameterId.WorksheetName]=e,n[o.ParameterId.ExternalMenuItemId]=r,n);return this.execute(i,a).then((function(e){}))},t.prototype.renameContextMenuAsync=function(e,t,r,n){var i,a=o.VerbId.RenameExternalMenu,s=((i={})[o.ParameterId.FunctionName]="renameContextMenuAsync",i[o.ParameterId.WorksheetName]=e,i[o.ParameterId.ExternalMenuHeader]=r,i[o.ParameterId.ExternalMenuDescription]=n,i);return this.execute(a,s).then((function(e){}))},t}(r(1776).ServiceImplBase);t.ExternalContextMenuServiceImpl=a},8864:function(e,t,r){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},n(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),o=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{u(n.next(e))}catch(e){o(e)}}function s(e){try{u(n.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}u((n=n.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0});var s=r(7419),u=r(3448),l=r(3448),c=r(5136),p=r(1044),d=r(6557),f=r(6296),y=r(8052),h=r(1172),m=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),Object.defineProperty(t.prototype,"serviceName",{get:function(){return"filter-service"},enumerable:!0,configurable:!0}),t.prototype.applyFilterAsync=function(e,t,r,n,i){var o,a=l.VerbId.ApplyCategoricalFilter,u=((o={})[l.ParameterId.FunctionName]="applyFilterAsync",o);if(u[l.ParameterId.VisualId]=e,u[l.ParameterId.FieldName]=t,!Array.isArray(r))throw new c.TableauError(s.ErrorCodes.InvalidParameter,"values parameter for applyFilterAsync must be an array");return u[l.ParameterId.FilterValues]=r,u[l.ParameterId.FilterUpdateType]=p.ExternalToInternalEnumMappings.filterUpdateType.convert(n),u[l.ParameterId.IsExcludeMode]=void 0!==i&&void 0!==i.isExcludeMode&&i.isExcludeMode,this.execute(a,u).then((function(e){return t}))},t.prototype.applyRangeFilterAsync=function(e,t,r){var n,i=this,o=l.VerbId.ApplyRangeFilter,a=((n={})[l.ParameterId.FunctionName]="applyRangeFilterAsync",n);if(void 0!==r.min&&null!==r.min){var s;s=r.min instanceof Date?h.Param.serializeDateForPlatform(r.min):r.min,a[l.ParameterId.FilterRangeMin]=s}if(void 0!==r.max&&null!==r.max){var u;u=r.max instanceof Date?h.Param.serializeDateForPlatform(r.max):r.max,a[l.ParameterId.FilterRangeMax]=u}return r.nullOption&&(a[l.ParameterId.FilterRangeNullOption]=p.ExternalToInternalEnumMappings.nullOptions.convert(r.nullOption)),a[l.ParameterId.FieldName]=t,a[l.ParameterId.VisualId]=e,this.execute(o,a).then((function(e){return i.apiFilterHandlerCheckForCommandError(e.result),t}))},t.prototype.applyHierarchicalFilterAsync=function(e,t,r,n,i){var o,a=l.VerbId.HierarchicalFilter,s=((o={})[l.ParameterId.FunctionName]="applyHierarchicalFilterAsync",o);s[l.ParameterId.VisualId]=e,s[l.ParameterId.FieldName]=t;var u=r.levels;return Array.isArray(u)&&u.length>0?s[l.ParameterId.FilterLevels]=u:r.length>0?s[l.ParameterId.FilterValues]=r:s[l.ParameterId.FilterLevels]=[],s[l.ParameterId.FilterUpdateType]=p.ExternalToInternalEnumMappings.filterUpdateType.convert(n),s[l.ParameterId.IsExcludeMode]=i&&!!i.isExcludeMode,this.execute(a,s).then((function(e){return t}))},t.prototype.clearFilterAsync=function(e,t){var r,n=l.VerbId.ClearFilter,i=((r={})[l.ParameterId.FunctionName]="clearFilterAsync",r);return i[l.ParameterId.VisualId]=e,i[l.ParameterId.FieldName]=t,this.execute(n,i).then((function(e){return t}))},t.prototype.applyRelativeDateFilterAsync=function(e,t,r){var n,i=l.VerbId.ApplyRelativeDateFilter,o=((n={})[l.ParameterId.FunctionName]="applyRelativeDateFilterAsync",n);if(o[l.ParameterId.VisualId]=e,o[l.ParameterId.FieldName]=t,o[l.ParameterId.PeriodType]=p.ExternalToInternalEnumMappings.periodType.convert(r.periodType),o[l.ParameterId.DateRangeType]=p.ExternalToInternalEnumMappings.dateRangeType.convert(r.rangeType),r.rangeType===s.DateRangeType.LastN||r.rangeType===s.DateRangeType.NextN){if(void 0===r.rangeN||null===r.rangeN)throw new c.TableauError(s.EmbeddingErrorCodes.MissingRangeNForRelativeDateFilters,"Missing rangeN field for a relative date filter of LASTN or NEXTN.");o[l.ParameterId.RangeN]=r.rangeN}return void 0!==r.anchorDate&&null!==r.anchorDate&&(o[l.ParameterId.AnchorDate]=this.convertAnchorDate(r.anchorDate)),this.execute(i,o).then((function(e){return e.result}))},t.prototype.getFiltersAsync=function(e){var t,r=this,n=l.VerbId.GetFilters,i=((t={})[l.ParameterId.FunctionName]="getFiltersAsync",t);return i[l.ParameterId.VisualId]=e,this.execute(n,i).then((function(e){var t=e.result;return r.convertDomainFilters(t)}))},t.prototype.getCategoricalDomainAsync=function(e,t,r){var n,i=this,o=l.VerbId.GetCategoricalDomain,a=((n={})[l.ParameterId.FunctionName]="getCategoricalDomainAsync",n);return a[l.ParameterId.VisualId]={worksheet:e},a[l.ParameterId.FieldId]=t,a[l.ParameterId.DomainType]=p.ExternalToInternalEnumMappings.filterDomainType.convert(r),this.execute(o,a).then((function(e){var t=e.result;return i.convertCategoricalDomain(t,r)}))},t.prototype.getRangeDomainAsync=function(e,t,r){var n,i=this,o=l.VerbId.GetRangeDomain,a=((n={})[l.ParameterId.FunctionName]="getRangeDomainAsync",n);return a[l.ParameterId.VisualId]={worksheet:e},a[l.ParameterId.FieldId]=t,a[l.ParameterId.DomainType]=p.ExternalToInternalEnumMappings.filterDomainType.convert(r),this.execute(o,a).then((function(e){var t=e.result;return i.convertRangeDomain(t,r)}))},t.prototype.getDashboardFiltersAsync=function(){var e,t=this,r=l.VerbId.GetDashboardFilters,n=((e={})[l.ParameterId.FunctionName]="getDashboardFiltersAsync",e);return this.execute(r,n).then((function(e){var r=e.result;return t.convertDomainFilters(r)}))},t.prototype.applyDashboardFilterAsync=function(e,t,r,n){var i,o=l.VerbId.DashboardCategoricalFilter,a=((i={})[l.ParameterId.FunctionName]="applyDashboardFilterAsync",i);return a[l.ParameterId.FieldName]=e,a[l.ParameterId.FilterValues]=t,a[l.ParameterId.FilterUpdateType]=p.ExternalToInternalEnumMappings.filterUpdateType.convert(r),a[l.ParameterId.IsExcludeMode]=n&&!!n.isExcludeMode,this.execute(o,a).then((function(e){return e.result}))},t.prototype.getAppliedWorksheetsAsync=function(e,t){var r;return o(this,void 0,void 0,(function(){var n,i;return a(this,(function(o){switch(o.label){case 0:return[4,this.executeGetAppliedWorksheets(e,t,"getAppliedWorksheetsAsync")];case 1:return n=o.sent(),i=[],null===(r=n.worksheets)||void 0===r||r.map((function(e){e.isSelected&&i.push(e.worksheetName)})),[2,i]}}))}))},t.prototype.setAppliedWorksheetsAsync=function(e,t,r,n){return o(this,void 0,void 0,(function(){var i,o,u,p,d;return a(this,(function(a){switch(a.label){case 0:return[4,this.executeGetAppliedWorksheets(e,r,"getAppliedWorksheetsAsyncInternal")];case 1:if(!(i=a.sent())||!i.worksheets)throw new c.TableauError(s.SharedErrorCodes.InternalError,"This filter does not apply to multiple worksheets");if(o=[],u="",i.worksheets.forEach((function(e){e.isActive&&(u=e.worksheetName),(e.isSelected||e.isEnabled)&&o.push(e.worksheetName)})),""===u)throw new c.TableauError(s.SharedErrorCodes.InternalError,"No active worksheet");if(!n.includes(u))throw new c.TableauError(s.SharedErrorCodes.InternalError,u+" must be included in the applied worksheets");return n.forEach((function(e){if(!o.includes(e))throw new c.TableauError(s.SharedErrorCodes.InternalError,"The field "+t+" isn't applicable to the worksheet "+e)})),p=l.VerbId.ChangeSharedFilter,(d={})[l.ParameterId.FunctionName]="setAppliedWorksheetsAsync",d[l.ParameterId.VisualId]={worksheet:e},d[l.ParameterId.FieldId]=r,d[l.ParameterId.SharedFilterSheets]=n,[2,this.execute(p,d).then((function(e){return n}))]}}))}))},t.prototype.executeGetAppliedWorksheets=function(e,t,r){var n=l.VerbId.GetSharedFilter,i={};return i[l.ParameterId.FunctionName]=r,i[l.ParameterId.VisualId]={worksheet:e},i[l.ParameterId.FieldId]=t,this.execute(n,i).then((function(e){return e.result}))},t.prototype.convertDomainFilters=function(e){var t=this,r=[];return e.forEach((function(e){switch(e.filterType){case l.FilterType.Categorical:if(!(n=e))throw new Error("Invalid Categorical Filter");r.push(t.convertCategoricalFilter(n));break;case l.FilterType.Hierarchical:if(!(n=e))throw new Error("Invalid Hierarchical Filter");r.push(t.convertHierarchicalFilter(n));break;case l.FilterType.Range:if(!(n=e))throw new Error("Invalid Range Filter");r.push(t.convertRangeFilter(n));break;case l.FilterType.RelativeDate:var n;if(!(n=e))throw new Error("Invalid Relative Date Filter");r.push(t.convertRelativeDateFilter(n))}})),r},t.prototype.convertCategoricalFilter=function(e){var t=e.values.map((function(e){return y.DataValueFactory.MakeFilterDataValue(e)}));return new f.CategoricalFilter(e.visualId.worksheet,e.fieldCaption,e.fieldName,l.FilterType.Categorical,this._registryId,t,e.isExclude,e.isAllSelected)},t.prototype.convertHierarchicalFilter=function(e){var t=e.values.map((function(e){return new f.HierarchicalDataValue(y.DataValueFactory.MakeFilterDataValue(e.value),e.hierarchicalPath,e.level)})),r=e.levelInfo.map((function(e){return new f.HierarchicalLevelDetail(e.name,d.InternalToExternalEnumMappings.hierarchicalLevelSelectionState.convert(e.levelSelectionState))}));return new f.HierarchicalFilter(e.visualId.worksheet,e.fieldCaption,e.fieldName,l.FilterType.Hierarchical,this._registryId,e.dimensionName,e.hierarchyCaption,e.levels,r,t,e.isAllSelected)},t.prototype.convertRangeFilter=function(e){var t=y.DataValueFactory.MakeFilterDataValue(e.min),r=y.DataValueFactory.MakeFilterDataValue(e.max);return new f.RangeFilter(e.visualId.worksheet,e.fieldCaption,e.fieldName,l.FilterType.Range,this._registryId,t,r,e.includeNullValues)},t.prototype.convertRelativeDateFilter=function(e){var t=y.DataValueFactory.MakeFilterDataValue(e.anchorDate);return new f.RelativeDateFilter(e.visualId.worksheet,e.fieldCaption,e.fieldName,s.FilterType.RelativeDate,this._registryId,t,d.InternalToExternalEnumMappings.dateStepPeriod.convert(e.periodType),d.InternalToExternalEnumMappings.dateRangeType.convert(e.rangeType),e.rangeN)},t.prototype.convertCategoricalDomain=function(e,t){var r=e.values.map((function(e){return y.DataValueFactory.MakeFilterDataValue(e)}));return new f.CategoricalDomain(r,t)},t.prototype.convertRangeDomain=function(e,t){var r=y.DataValueFactory.MakeFilterDataValue(e.min),n=y.DataValueFactory.MakeFilterDataValue(e.max);return new f.RangeDomain(r,n,t)},t.prototype.convertAnchorDate=function(e){var t=e.getUTCFullYear(),r=e.getUTCMonth()+1,n=e.getUTCDate(),i=e.getUTCHours(),o=e.getUTCMinutes(),a=e.getUTCSeconds();if(isNaN(t)||isNaN(r)||isNaN(n)||isNaN(i)||isNaN(o)||isNaN(a))throw new c.TableauError(s.EmbeddingErrorCodes.InvalidDateParameter,"Invalid date parameter: anchorDate");return t+"-"+r+"-"+n+" "+i+":"+o+":"+a},t.prototype.apiFilterHandlerCheckForCommandError=function(e){if(e[u.ParameterId.ParameterError]){if(e[u.ParameterId.InvalidFieldCaption])throw new c.TableauError(s.SharedErrorCodes.InvalidFilterFieldName,e[u.ParameterId.InvalidFieldCaption]);if(e[u.ParameterId.InvalidValues])throw new c.TableauError(s.SharedErrorCodes.InvalidFilterFieldValue,e[u.ParameterId.InvalidValues]);if(e[u.ParameterId.InvalidAggFieldName])throw new c.TableauError(s.SharedErrorCodes.InvalidAggregationFieldName,e[u.ParameterId.InvalidAggFieldName]);throw new c.TableauError(s.SharedErrorCodes.ServerError,"Server Error")}},t}(r(1776).ServiceImplBase);t.FilterServiceImpl=m},7712:function(e,t,r){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},n(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var o=r(7419),a=r(3448),s=r(6680),u=r(5136),l=r(1044),c=r(5068),p=r(7968),d=r(8052),f=r(3483),y=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.viewDataTableCacheId=s.v4(),t}return i(t,e),Object.defineProperty(t.prototype,"serviceName",{get:function(){return"get-data-service"},enumerable:!0,configurable:!0}),t.prototype.getMaxRowLimit=function(){return 1e4},t.prototype.getViewDataTableCacheId=function(){return this.viewDataTableCacheId},t.prototype.getLimitedMaxRows=function(e,t){return e>0&&e<t?e:t},t.prototype.getUnderlyingDataAsync=function(e,t,r,n,i,o,s,u){var c,p=this,d=t===f.GetDataType.Summary,y=d?"getSummaryDataAsync":"getUnderlyingDataAsync",h=d?a.VerbId.GetDataSummaryData:a.VerbId.GetUnderlyingData,m=h===a.VerbId.GetUnderlyingData?this.getLimitedMaxRows(s,this.getMaxRowLimit()+1):s,g=((c={})[a.ParameterId.FunctionName]=y,c);return g[a.ParameterId.VisualId]=e,g[a.ParameterId.IgnoreAliases]=r,g[a.ParameterId.IgnoreSelection]=n,g[a.ParameterId.IncludeAllColumns]=i,g[a.ParameterId.ColumnsToIncludeById]=this.verifyIncludeColumnArray(o),g[a.ParameterId.MaxRows]=m,g[a.ParameterId.ShowDataTableFormat]=l.ExternalToInternalEnumMappings.showDataTableFormatType.convert(u),this.execute(h,g).then((function(e){var t=e.result;return p.processResultsTable(t.data,t.isSummary)}))},t.prototype.getSummaryDataReaderAsync=function(e,t,r,n,i,o,s){var u,c=this,d=((u={})[a.ParameterId.FunctionName]="getSummaryDataReaderAsync",u[a.ParameterId.ViewDataTableCacheId]=this.getViewDataTableCacheId(),u[a.ParameterId.VisualId]=e,u[a.ParameterId.PageRowCount]=t,u[a.ParameterId.IgnoreAliases]=r,u[a.ParameterId.IgnoreSelection]=n,u[a.ParameterId.IncludeAllColumns]=i,u[a.ParameterId.ColumnsToIncludeById]=this.verifyIncludeColumnArray(o),u[a.ParameterId.ShowDataTableFormat]=l.ExternalToInternalEnumMappings.showDataTableFormatType.convert(s),u);return this.execute(a.VerbId.GetDataSummaryDataReader,d).then((function(e){var r=e.result;return new p.DataTableReader(r.id,r.totalRowCount,t,c._registryId)}))},t.prototype.getSummaryColumnsInfoAsync=function(e){var t,r=a.VerbId.GetDataSummaryData,n=((t={})[a.ParameterId.FunctionName]="getSummaryColumnsInfoAsync",t[a.ParameterId.VisualId]=e,t[a.ParameterId.IgnoreAliases]=!0,t[a.ParameterId.IgnoreSelection]=!0,t[a.ParameterId.IncludeAllColumns]=!0,t[a.ParameterId.MaxRows]=1,t[a.ParameterId.ShowDataTableFormat]=a.ApiShowDataTableFormat.NativeValuesOnly,t);return this.execute(r,n).then((function(e){return e.result.data.headers.map((function(e){return new c.Column(e.fieldCaption,e.fieldName,e.dataType,e.isReferenced,e.index)}))}))},t.prototype.getSelectedMarksAsync=function(e){var t,r=this,n=((t={})[a.ParameterId.FunctionName]="getSelectedMarksAsync",t[a.ParameterId.VisualId]=e,t);return this.execute(a.VerbId.GetSelectedMarks,n).then((function(e){return{data:e.result.data.map((function(e){return r.processResultsTable(e,!0)}))}}))},t.prototype.getHighlightedMarksAsync=function(e){var t,r=this,n=((t={})[a.ParameterId.FunctionName]="getHighlightedMarksAsync",t[a.ParameterId.VisualId]=e,t);return this.execute(a.VerbId.GetHighlightedMarks,n).then((function(e){return{data:e.result.data.map((function(e){return r.processResultsTable(e,!0)}))}}))},t.prototype.getDataSourceDataAsync=function(e,t,r,n,i,o){var s,u=this,c=((s={})[a.ParameterId.FunctionName]="getDataSourceDataAsync",s[a.ParameterId.DataSourceId]=e,s[a.ParameterId.IgnoreAliases]=t,s[a.ParameterId.MaxRows]=this.getLimitedMaxRows(r,this.getMaxRowLimit()+1),s[a.ParameterId.ColumnsToInclude]=this.verifyIncludeColumnArray(n),s[a.ParameterId.ColumnsToIncludeById]=this.verifyIncludeColumnArray(i),s[a.ParameterId.ShowDataTableFormat]=l.ExternalToInternalEnumMappings.showDataTableFormatType.convert(o),s);return this.execute(a.VerbId.GetDataSourceData,c).then((function(e){var t=e.result;return u.processResultsTable(t.data,!1)}))},t.prototype.getLogicalTableDataAsync=function(e,t,r,n,i,o,s){var u,c=this,p=((u={})[a.ParameterId.FunctionName]="getLogicalTableDataAsync",u[a.ParameterId.ColumnsToInclude]=i,u[a.ParameterId.ColumnsToIncludeById]=this.verifyIncludeColumnArray(o),u[a.ParameterId.DataSourceId]=e,u[a.ParameterId.IgnoreAliases]=r,u[a.ParameterId.LogicalTableId]=t,u[a.ParameterId.MaxRows]=this.getLimitedMaxRows(n,this.getMaxRowLimit()+1),u[a.ParameterId.ShowDataTableFormat]=l.ExternalToInternalEnumMappings.showDataTableFormatType.convert(s),u);return this.execute(a.VerbId.GetLogicalTableData,p).then((function(e){var t=e.result;return c.processResultsTable(t.data,!1)}))},t.prototype.getLogicalTableDataReaderAsync=function(e,t,r,n,i,o){var s,u=this;r=this.getLimitedMaxRows(r,this.getMaxRowLimit());var c=((s={})[a.ParameterId.FunctionName]="getLogicalTableDataReaderAsync",s[a.ParameterId.ViewDataTableCacheId]=this.getViewDataTableCacheId(),s[a.ParameterId.DataSourceId]=e,s[a.ParameterId.LogicalTableId]=t,s[a.ParameterId.PageRowCount]=r,s[a.ParameterId.IgnoreAliases]=n,s[a.ParameterId.ColumnsToIncludeById]=this.verifyIncludeColumnArray(i),s[a.ParameterId.ShowDataTableFormat]=l.ExternalToInternalEnumMappings.showDataTableFormatType.convert(o),s);return this.execute(a.VerbId.GetLogicalTableDataReader,c).then((function(e){var t=e.result;return new p.DataTableReader(t.id,t.totalRowCount,r,u._registryId)}))},t.prototype.getUnderlyingTableDataAsync=function(e,t,r,n,i,o,s,u){var c,p=this,d=((c={})[a.ParameterId.FunctionName]="getUnderlyingTableDataAsync",c[a.ParameterId.VisualId]=e,c[a.ParameterId.LogicalTableId]=t,c[a.ParameterId.IgnoreAliases]=r,c[a.ParameterId.IgnoreSelection]=n,c[a.ParameterId.IncludeAllColumns]=i,c[a.ParameterId.ColumnsToIncludeById]=this.verifyIncludeColumnArray(o),c[a.ParameterId.MaxRows]=this.getLimitedMaxRows(s,this.getMaxRowLimit()+1),c[a.ParameterId.ShowDataTableFormat]=l.ExternalToInternalEnumMappings.showDataTableFormatType.convert(u),c);return this.execute(a.VerbId.GetUnderlyingTableData,d).then((function(e){var t=e.result;return p.processResultsTable(t.data,!1)}))},t.prototype.getUnderlyingTableDataReaderAsync=function(e,t,r,n,i,o,s,u){var c,d=this;r=this.getLimitedMaxRows(r,this.getMaxRowLimit());var f=((c={})[a.ParameterId.FunctionName]="getUnderlyingTableDataReaderAsync",c[a.ParameterId.ViewDataTableCacheId]=this.getViewDataTableCacheId(),c[a.ParameterId.VisualId]=e,c[a.ParameterId.LogicalTableId]=t,c[a.ParameterId.IgnoreAliases]=n,c[a.ParameterId.IgnoreSelection]=i,c[a.ParameterId.IncludeAllColumns]=o,c[a.ParameterId.ColumnsToIncludeById]=this.verifyIncludeColumnArray(s),c[a.ParameterId.ShowDataTableFormat]=l.ExternalToInternalEnumMappings.showDataTableFormatType.convert(u),c[a.ParameterId.PageRowCount]=r,c);return this.execute(a.VerbId.GetUnderlyingTableDataReader,f).then((function(e){var t=e.result;return new p.DataTableReader(t.id,t.totalRowCount,r,d._registryId)}))},t.prototype.getPageAsync=function(e,r,n){var i,o=this,s=((i={})[a.ParameterId.FunctionName]="getPageAsync",i[a.ParameterId.ViewDataTableCacheId]=this.getViewDataTableCacheId(),i[a.ParameterId.ViewDataTableId]=e,i[a.ParameterId.DataRowIndex]=r*n,i);return this.execute(a.VerbId.GetDataTableReaderPage,s).then((function(r){var n=r.result;return o.processResultsPage(n,e===t.summaryTableId)}))},t.prototype.releaseAsync=function(e){var t,r=((t={})[a.ParameterId.FunctionName]="release",t[a.ParameterId.ViewDataTableCacheId]=this.getViewDataTableCacheId(),t[a.ParameterId.ViewDataTableId]=e,t);return this.execute(a.VerbId.ReleaseDataTableReader,r).then((function(e){}))},t.prototype.verifyIncludeColumnArray=function(e){if(!Array.isArray(e))throw new u.TableauError(o.ErrorCodes.InvalidParameter,"columnsToInclude and columnsToIncludeById must be valid arrays");var t=new Set(e);return Array.from(t)},t.prototype.processResultsTable=function(e,t){var r,n=e.headers.map((function(e){return new c.Column(e.fieldCaption,e.fieldName,e.dataType,e.isReferenced,e.index)}));e.marks&&(r=e.marks.map((function(e){return new c.MarkInfo(e.type,e.color,e.tupleId)})));var i=!1===t&&e.dataTable.length===this.getMaxRowLimit()+1;i&&(e.dataTable.length-=1);var o=e.dataTable.map((function(e){return e.map((function(e,t){return d.DataValueFactory.MakeTableDataValue(e,n[t].dataType)}))}));return r?new c.DataTable(o,n,o.length,i,t,r):new c.DataTable(o,n,o.length,i,t)},t.prototype.processResultsPage=function(e,t){var r,n=e.headers.map((function(e){return new c.Column(e.fieldCaption,e.fieldName,e.dataType,e.isReferenced,e.index)}));e.marks&&(r=e.marks.map((function(e){return new c.MarkInfo(e.type,e.color,e.tupleId)})));var i=e.dataTable.map((function(e){return e.map((function(e,t){return d.DataValueFactory.MakeTableDataValue(e,n[t].dataType)}))}));return r?new c.DataTable(i,n,i.length,!1,t,r):new c.DataTable(i,n,i.length,!1,t)},t.summaryTableId="",t}(r(1776).ServiceImplBase);t.GetDataServiceImpl=y},1288:function(e,t,r){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},n(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var o=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),Object.defineProperty(t.prototype,"serviceName",{get:function(){return"notification-service"},enumerable:!0,configurable:!0}),t}(r(6428).NotificationServiceImplBase);t.NotificationServiceImpl=o},6428:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){this._filterFn=e,this._callbackFn=t}return e.prototype.onNotification=function(e){this._filterFn(e)&&this._callbackFn(e)},e}();t.Registration=r;var n=function(){function e(e){this.dispatcher=e,this._handlers={},this.dispatcher.registerNotificationHandler(this.onNotification.bind(this))}return e.prototype.registerHandler=function(e,t,n){var i=this,o=this._handlers[e]||new Array,a=new r(t,n);return o.push(a),this._handlers[e]=o,function(){return i.removeRegistration(e,a)}},e.prototype.hasHandlersForNotificationType=function(e){return this._handlers.hasOwnProperty(e)},e.prototype.onNotification=function(e){this.hasHandlersForNotificationType(e.notificationId)&&this._handlers[e.notificationId].forEach((function(t){return t.onNotification(e.data)}))},e.prototype.removeRegistration=function(e,t){this.hasHandlersForNotificationType(e)&&(this._handlers[e]=this._handlers[e].filter((function(e){return e!==t})))},e}();t.NotificationServiceImplBase=n},7260:function(e,t,r){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},n(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var o=r(7419),a=r(3448),s=r(8552),u=r(6664),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),Object.defineProperty(t.prototype,"serviceName",{get:function(){return"parameters-service"},enumerable:!0,configurable:!0}),t.prototype.getParametersForSheetAsync=function(e){var t,r=((t={})[a.ParameterId.FunctionName]="getParametersForSheetAsync",t[a.ParameterId.SheetPath]=e,t);return this.getParametersAsync(r)},t.prototype.getAllParametersAsync=function(){var e,t=((e={})[a.ParameterId.FunctionName]="getParametersForSheetAsync",e);return this.getParametersAsync(t)},t.prototype.getParametersAsync=function(e){var t=this;return this.execute(a.VerbId.GetParametersForSheet,e).then((function(e){return e.result.map((function(e){return new s.ParameterImpl(e,t._registryId)}))}))},t.prototype.changeParameterValueAsync=function(e,t){var r,n=((r={})[a.ParameterId.FunctionName]="changeParameterValueAsync",r[a.ParameterId.ParameterFieldName]=e,r[a.ParameterId.ParameterValue]=t,r);return this.execute(a.VerbId.ChangeParameterValue,n).then((function(e){return e.result}))},t.prototype.findParameterByNameAsync=function(e){return this.findParameterAsync(e,void 0)},t.prototype.findParameterByGlobalFieldNameAsync=function(e){return this.findParameterAsync(void 0,e)},t.prototype.findParameterAsync=function(e,t){var r,n=this,i=((r={})[a.ParameterId.FunctionName]="findParameterAsync",r);if(void 0!==e)i[a.ParameterId.ParameterCaption]=e;else{if(void 0===t)throw new u.TableauError(o.ErrorCodes.InvalidParameter,"name or fieldName must be provided to find parameter");i[a.ParameterId.ParameterFieldName]=t}return this.execute(a.VerbId.FindParameter,i).then((function(e){if("fieldName"in e.result){var t=e.result;return new s.ParameterImpl(t,n._registryId)}}))},t}(r(1776).ServiceImplBase);t.ParametersServiceImpl=l},8784:function(e,t,r){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},n(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var o=r(7419),a=r(3448),s=r(7104),u=r(6664),l=r(1172),c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),Object.defineProperty(t.prototype,"serviceName",{get:function(){return"selection-service"},enumerable:!0,configurable:!0}),t.prototype.clearSelectedMarksAsync=function(e){var t,r=((t={})[a.ParameterId.FunctionName]="clearSelectedMarksAsync",t[a.ParameterId.VisualId]=e,t);return this.execute(a.VerbId.ClearSelectedMarks,r).then((function(e){}))},t.prototype.selectMarksByValueAsync=function(e,t,r){var n,i=this;if(0===t.length)throw new u.TableauError(o.ErrorCodes.InvalidParameter,"Selection criteria missing for selecting marks by value");var s=this.validateSelectionUpdateType(r),l=this.parseSelectionMarks(t),c=((n={})[a.ParameterId.FunctionName]="selectMarksByValueAsync",n[a.ParameterId.VisualId]=e,n[a.ParameterId.SelectionUpdateType]=s,n);return l.hierModelArr&&l.hierModelArr.length&&(c[a.ParameterId.HierValSelectionModels]=l.hierModelArr),l.quantModelArr&&l.quantModelArr.length&&(c[a.ParameterId.QuantRangeSelectionModels]=l.quantModelArr),l.dimModelArr&&l.dimModelArr.length&&(c[a.ParameterId.DimValSelectionModels]=l.dimModelArr),this.execute(a.VerbId.SelectByValue,c).then((function(e){i.apiFilterHandlerCheckForCommandError(e.result)}))},t.prototype.hoverTupleAsync=function(e,t,r,n){var i,o=new s.HoverTupleInteractionModel(e,this.ensureTupleIDIsNonNegative(t),r,n),u=((i={})[a.ParameterId.FunctionName]="hoverTupleAsync",i[a.ParameterId.HoverTupleInteraction]=o,i);return this.execute(a.VerbId.RaiseHoverTupleNotification,u).then((function(e){}))},t.prototype.selectTuplesAsync=function(e,t,r,n){var i,o=new s.SelectTuplesInteractionModel(e,t,r,n),u=((i={})[a.ParameterId.FunctionName]="selectTuplesAsync",i[a.ParameterId.SelectTuplesInteraction]=o,i);return this.execute(a.VerbId.RaiseSelectTuplesNotification,u).then((function(e){}))},t.prototype.apiFilterHandlerCheckForCommandError=function(e){if(e[a.ParameterId.ParameterError]){if(e[a.ParameterId.InvalidFields])throw new u.TableauError(o.SharedErrorCodes.InvalidSelectionFieldName,e[a.ParameterId.InvalidFields]);if(e[a.ParameterId.InvalidValues])throw new u.TableauError(o.SharedErrorCodes.InvalidSelectionValue,e[a.ParameterId.InvalidValues]);if(e[a.ParameterId.InvalidDates])throw new u.TableauError(o.SharedErrorCodes.InvalidSelectionDate,e[a.ParameterId.InvalidDates])}},t.prototype.selectMarksByIdAsync=function(e,t,r){var n;if(0===t.length)throw new u.TableauError(o.ErrorCodes.InvalidParameter,"Marks info missing for selecting marks by Id");var i=this.validateSelectionUpdateType(r),s=this.parseSelectionIds(t),l=((n={})[a.ParameterId.FunctionName]="selectMarksByIdAsync",n[a.ParameterId.VisualId]=e,n[a.ParameterId.SelectionUpdateType]=i,n[a.ParameterId.Selection]=s.selection,n);return this.execute(a.VerbId.SelectByValue,l).then((function(e){}))},t.prototype.parseSelectionIds=function(e){for(var t=[],r=new s.SelectionModelsContainer,n=0;n<e.length;n++){var i=e[n].tupleId;if(null==i)throw new u.TableauError(o.ErrorCodes.InternalError,"tupleId parsing error");t.push(i.toString())}if(0!==t.length){var a=new s.TupleSelectionModel;a.selectionType="tuples",a.objectIds=t,r.selection=a}return r},t.prototype.parseSelectionMarks=function(e){for(var t=new s.SelectionModelsContainer,r=0;r<e.length;r++){var n=e[r];if(!n.fieldName||void 0===n.value||null===n.value)throw new u.TableauError(o.ErrorCodes.InternalError,"Selection Criteria parsing error");var i=new RegExp("([[A-Za-z0-9]+]).*","g"),a=n.value;if(i.test(n.fieldName)){var l=this.addToParamsList(n.fieldName,n.value);t.hierModelArr.push(l)}else if(void 0!==a.min&&void 0!==a.max){var c=this.addToRangeParamsList(n.fieldName,a);t.quantModelArr.push(c)}else{var p=this.addToParamsList(n.fieldName,n.value);t.dimModelArr.push(p)}}return t},t.prototype.addToParamsList=function(e,t){var r=new s.ValueSelectionModel,n=[];if(t instanceof Array)for(var i=t,o=0;o<i.length;o++)n.push(l.Param.serializeParameterValue(i[o]));else n.push(l.Param.serializeParameterValue(t));return r.qualifiedFieldCaption=e,r.selectValues=n,r},t.prototype.addToRangeParamsList=function(e,t){var r=new s.RangeSelectionModel;return r.qualifiedFieldCaption=e,void 0!==t.max&&null!==t.max&&(r.maxValue=l.Param.serializeParameterValue(t.max)),void 0!==t.min&&null!==t.min&&(r.minValue=l.Param.serializeParameterValue(t.min)),r.included=this.validateNullOptionType(t.nullOption),r},t.prototype.validateSelectionUpdateType=function(e){return e===o.SelectionUpdateType.Replace?a.SelectionUpdateType.Replace:e===o.SelectionUpdateType.Add?a.SelectionUpdateType.Add:e===o.SelectionUpdateType.Remove?a.SelectionUpdateType.Remove:a.SelectionUpdateType.Replace},t.prototype.validateNullOptionType=function(e){if(e){if(e===o.FilterNullOption.NullValues)return a.QuantitativeIncludedValues.IncludeNull;if(e===o.FilterNullOption.NonNullValues)return a.QuantitativeIncludedValues.IncludeNonNull;if(e===o.FilterNullOption.AllValues)return a.QuantitativeIncludedValues.IncludeAll}return a.QuantitativeIncludedValues.IncludeAll},t.prototype.ensureTupleIDIsNonNegative=function(e){return e&&e>0?e:0},t}(r(1776).ServiceImplBase);t.SelectionServiceImpl=c},1776:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(6557),i=r(6664),o=r(5520),a=function(){function e(e,t){this._dispatcher=e,this._registryId=t}return e.prototype.execute=function(e,t){return this._dispatcher.execute(e,t).catch((function(e){var t=e,r=n.InternalToExternalEnumMappings.errorCode.convert(t.errorCode,o.ShouldThrow.No);throw new i.TableauError(r,t.message)}))},e}();t.ServiceImplBase=a},4109:function(e,t,r){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},n(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var o=r(3448),a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),Object.defineProperty(t.prototype,"serviceName",{get:function(){return"size-service"},enumerable:!0,configurable:!0}),t.prototype.changeSizeAsync=function(e,t){var r,n,i,a,s,u=((r={})[o.ParameterId.FunctionName]="changeSizeAsync",r[o.ParameterId.SheetName]=e,r[o.ParameterId.MinHeight]=(null===(n=t.minSize)||void 0===n?void 0:n.height)||0,r[o.ParameterId.MinWidth]=(null===(i=t.minSize)||void 0===i?void 0:i.width)||0,r[o.ParameterId.MaxHeight]=(null===(a=t.maxSize)||void 0===a?void 0:a.height)||0,r[o.ParameterId.MaxWidth]=(null===(s=t.maxSize)||void 0===s?void 0:s.width)||0,r);return this.execute(o.VerbId.SetSheetSize,u).then((function(e){}))},t}(r(1776).ServiceImplBase);t.SizeServiceImpl=a},2248:function(e,t,r){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},n(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var o=r(3448),a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),Object.defineProperty(t.prototype,"serviceName",{get:function(){return"story-activation-service"},enumerable:!0,configurable:!0}),t.prototype.activateNextStoryPointAsync=function(){var e,t=o.VerbId.ActivateNextStoryPoint,r=((e={})[o.ParameterId.FunctionName]="activateNextStoryPointAsync",e);return this.execute(t,r).then((function(e){}))},t.prototype.activatePreviousStoryPointAsync=function(){var e,t=o.VerbId.ActivatePreviousStoryPoint,r=((e={})[o.ParameterId.FunctionName]="activatePreviousStoryPointAsync",e);return this.execute(t,r).then((function(e){}))},t.prototype.activateStoryPointAsync=function(e){var t,r=o.VerbId.ActivateStoryPoint,n=((t={})[o.ParameterId.FunctionName]="activateStoryPointAsync",t);return n[o.ParameterId.StoryPointIndex]=e,this.execute(r,n).then((function(e){}))},t.prototype.revertStoryPointAsync=function(e){var t,r=o.VerbId.RevertStoryPoint,n=((t={})[o.ParameterId.FunctionName]="revertStoryPointAsync",t);return n[o.ParameterId.StoryPointIndex]=e,this.execute(r,n).then((function(e){return e.result}))},t}(r(1776).ServiceImplBase);t.StoryActivationServiceImpl=a},6096:function(e,t,r){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},n(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var o=r(3448),a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),Object.defineProperty(t.prototype,"serviceName",{get:function(){return"visual-model-service"},enumerable:!0,configurable:!0}),t.prototype.getVisualSpecificationAsync=function(e){var t,r=((t={})[o.ParameterId.FunctionName]="getVisualSpecificationAsync",t[o.ParameterId.WorksheetName]=e.worksheet,t);return this.execute(o.VerbId.GetVisualSpecification,r).then((function(e){return e.result}))},t}(r(1776).ServiceImplBase);t.VisualModelServiceImpl=a},744:function(e,t,r){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},n(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var o=r(3448),a=r(2520),s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),Object.defineProperty(t.prototype,"serviceName",{get:function(){return"viz-service"},enumerable:!0,configurable:!0}),t.prototype.createVizImageAsync=function(e){var t,r=((t={})[o.ParameterId.FunctionName]="createVizImageAsync",t[o.ParameterId.VizAPIInputJson]=JSON.stringify(e),t);return this.execute(o.VerbId.VizAPI,r).then((function(e){return e.result}))},t.prototype.activateSheetAsync=function(e){var t,r=((t={})[o.ParameterId.FunctionName]="activateSheetAsync",t[o.ParameterId.SwitchToSheetName]=e,t);return this.execute(o.VerbId.ActivateSheet,r).then((function(){}))},t.prototype.getCustomViewsAsync=function(){var e,t=this,r=((e={})[o.ParameterId.FunctionName]="getCustomViewsAsync",e);return this.execute(o.VerbId.GetCustomViews,r).then((function(e){return e.result.map((function(e){return new a.CustomViewImpl(e,t._registryId)}))}))},t.prototype.showCustomViewAsync=function(e){var t,r=this,n=((t={})[o.ParameterId.FunctionName]="showCustomViewAsync",t[o.ParameterId.CustomViewName]=e||"",t);return this.execute(o.VerbId.ShowCustomView,n).then((function(e){var t,n=e.result;return(null===(t=n)||void 0===t?void 0:t.luid)?new a.CustomViewImpl(n,r._registryId):void 0}))},t.prototype.removeCustomViewAsync=function(e){var t,r=this,n=((t={})[o.ParameterId.FunctionName]="removeCustomViewAsync",t[o.ParameterId.CustomViewName]=e,t);return this.execute(o.VerbId.RemoveCustomView,n).then((function(e){var t=e.result;return new a.CustomViewImpl(t,r._registryId)}))},t.prototype.saveCustomViewAsync=function(e){var t,r=this,n=((t={})[o.ParameterId.FunctionName]="saveCustomViewAsync",t[o.ParameterId.CustomViewName]=e,t[o.ParameterId.CustomViewIsDefault]=!1,t);return this.execute(o.VerbId.SaveWorkbookAsCustomView,n).then((function(e){var t=e.result;return new a.CustomViewImpl(t,r._registryId)}))},t.prototype.setActiveCustomViewAsDefaultAsync=function(){var e,t=((e={})[o.ParameterId.FunctionName]="setActiveCustomViewAsDefaultAsync",e);return this.execute(o.VerbId.SetActiveCustomViewAsDefault,t).then((function(){}))},t.prototype.saveAsync=function(e){var t,r=this,n=((t={})[o.ParameterId.FunctionName]="saveAsync",t[o.ParameterId.CustomViewLuid]=e.luid,t[o.ParameterId.CustomViewName]=e.name,t[o.ParameterId.CustomViewIsDefault]=e.isDefault,t[o.ParameterId.CustomViewIsPublic]=e.shared,t);return this.execute(o.VerbId.UpdateCustomView,n).then((function(e){var t=e.result;return new a.CustomViewImpl(t,r._registryId)}))},t.prototype.getCurrentSrcAsync=function(){var e,t=((e={})[o.ParameterId.FunctionName]="getCurrentSrcAsync",e);return this.execute(o.VerbId.GetCurrentSrc,t).then((function(e){return e.result}))},t}(r(1776).ServiceImplBase);t.VizServiceImpl=s},8856:function(e,t,r){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},n(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var o=r(7419),a=r(3448),s=r(1044),u=r(7480),l=r(1172),c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),Object.defineProperty(t.prototype,"serviceName",{get:function(){return"zone-service"},enumerable:!0,configurable:!0}),t.prototype.setVisibilityAsync=function(e,t,r){var n,i=((n={})[a.ParameterId.FunctionName]="setVisibilityAsync",n[a.ParameterId.Dashboard]=e,n[a.ParameterId.ZoneIdsVisibilityMap]={},n);return l.Param.convertParameterToMap(r,"zoneVisibilityMap").forEach((function(e,r){u.ErrorHelpers.verifyZoneIsValid(t,Number.parseInt(r,10)),u.ErrorHelpers.verifyEnumValue(e,o.DashboardObjectVisibilityType,"DashboardObjectVisibilityType"),i[a.ParameterId.ZoneIdsVisibilityMap][r]=s.ExternalToInternalEnumMappings.setVisibilityType.convert(e)})),this.execute(a.VerbId.SetZoneVisibility,i).then((function(e){}))},t.prototype.moveAndResizeAsync=function(e,t,r){var n,i=((n={})[a.ParameterId.Dashboard]=e,n[a.ParameterId.DashboardObjectPositionAndSizeUpdateList]=r,n);return r.forEach((function(e){u.ErrorHelpers.verifyZoneIsValidAndFloating(t,e.dashboardObjectID),u.ErrorHelpers.verifyWidthAndHeightOfDashboardObjectPositionAndSizeUpdate(e)})),this.execute(a.VerbId.MoveAndResizeZones,i).then((function(e){}))},t}(r(1776).ServiceImplBase);t.ZoneServiceImpl=c},7603:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e){this._tableInfo=e}return Object.defineProperty(e.prototype,"name",{get:function(){return this._tableInfo.name},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"id",{get:function(){return this._tableInfo.id},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"connectionId",{get:function(){return this._tableInfo.connectionId},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"customSQL",{get:function(){return this._tableInfo.customSQL},enumerable:!0,configurable:!0}),e}();t.TableSummary=r},6664:function(e,t){"use strict";var r,n=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},r(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=function(e){function t(r,n){var i=e.call(this,r+": "+n)||this;return i._errorCode=r,Object.setPrototypeOf(i,t.prototype),i}return n(t,e),Object.defineProperty(t.prototype,"errorCode",{get:function(){return this._errorCode},enumerable:!0,configurable:!0}),t}(Error);t.TableauError=i},8052:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(3448),i=r(5068),o=function(){function e(){}return e.MakeParameterDataValue=function(e,t){return new i.DataValue(e.value,n.DataTypeConverter.convertStringValueToNativeValue(e.value,t),e.formattedValue)},e.MakeFilterDataValue=function(e){return new i.DataValue(e.value,e.value,e.formattedValue)},e.MakeTableDataValue=function(e,t){return new i.DataValue(e.value,void 0!==e.value?n.DataTypeConverter.convertValueToNativeValue(e.value,t):void 0,e.formattedValue)},e}();t.DataValueFactory=o},1724:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(){var e=this;this._promise=new Promise((function(t,r){e._resolve=t,e._reject=r}))}return Object.defineProperty(e.prototype,"promise",{get:function(){return this._promise},enumerable:!0,configurable:!0}),e.prototype.resolve=function(e){this._resolve&&this._resolve(e)},e.prototype.reject=function(e){this._reject&&this._reject(e)},e}();t.Deferred=r,t.UnregisterTimeoutInMilliseconds=3e4},5520:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,i=r(7419),o=r(6664),a=function(){function e(e,t){this._mappings=e,this._defaultVal=t}return e.prototype.convert=function(e,t){if(void 0===t&&(t=n.Yes),this._mappings.hasOwnProperty(e))return this._mappings[e];if(void 0!==this._defaultVal&&t!==n.Yes)return this._defaultVal;throw new o.TableauError(i.ErrorCodes.InternalError,"Enum Mapping not found for: "+e)},e}();t.EnumConverter=a,function(e){e.Yes="yes",e.No="no"}(n=t.ShouldThrow||(t.ShouldThrow={}))},7480:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(7419),i=r(6664),o=r(1172),a=function(){function e(){}return e.apiNotImplemented=function(e){return new i.TableauError(n.SharedErrorCodes.InternalError,e+" API not yet implemented.")},e.verifyInternalValue=function(e,t){if(null==e)throw new i.TableauError(n.SharedErrorCodes.InternalError,e+" is invalid value for: "+t)},e.verifyParameter=function(e,t){if(null==e)throw new i.TableauError(n.SharedErrorCodes.InvalidParameter,e+" is invalid value for parameter: "+t)},e.verifyParameterType=function(e,t,r){if(typeof e!==t)throw new i.TableauError(n.SharedErrorCodes.InvalidParameter,e+" has invalid type for parameter: "+r+".")},e.verifyStringParameter=function(e,t){if(null==e||""===e)throw new i.TableauError(n.SharedErrorCodes.InvalidParameter,e+" is invalid value for paramter: "+t)},e.verifyEnumValue=function(e,t,r){var o=!1;if(Object.keys(t).forEach((function(r){t[r]===e.toString()&&(o=!0)})),!o)throw new i.TableauError(n.SharedErrorCodes.InvalidParameter,e+" is invalid value for enum: "+r+".")},e.verifyRange=function(e,t,r){if(!(t<=e&&e<r))throw new i.TableauError(n.SharedErrorCodes.InvalidParameter,e+" is invalid value for range: ["+t+".."+r+")")},e.verifyRangeParamType=function(e,t){if(!e&&!t)throw new i.TableauError(n.SharedErrorCodes.InvalidParameter,"Unexpected invalid param value, at least one of min or max is required.");if(e&&!o.Param.isTypeNumber(e)&&!o.Param.isTypeDate(e))throw new i.TableauError(n.SharedErrorCodes.InvalidParameter,"Unexpected invalid param value, only Date and number are allowed for parameter min.");if(t&&!o.Param.isTypeNumber(t)&&!o.Param.isTypeDate(t))throw new i.TableauError(n.SharedErrorCodes.InvalidParameter,"Unexpected invalid param value, only Date and number are allowed for parameter max.");if(e&&t&&typeof e!=typeof t)throw new i.TableauError(n.SharedErrorCodes.InvalidParameter,"Unexpected invalid param value, parameters min and max should be of the same type.")},e.verifyZoneIsValid=function(e,t){if(!e.has(t))throw new i.TableauError(n.SharedErrorCodes.InvalidParameter,"Unexpected invalid param value, Dashboard Object Id: "+t+" is not present in dashboard.")},e.verifyZoneIsValidAndFloating=function(e,t){if(!e.has(t)||!e.get(t).isFloating)throw new i.TableauError(n.SharedErrorCodes.InvalidParameter,"Unexpected invalid param value, Dashboard Object Id: "+t+" is not present or is a fixed zone in the dashboard.")},e.verifyWidthAndHeightOfDashboardObjectPositionAndSizeUpdate=function(e){if(e.width<0||e.height<0)throw new i.TableauError(n.SharedErrorCodes.InvalidParameter,"Unexpected invalid param value for dashboard object ID "+e.dashboardObjectID+": negative widths and heights are not allowed.")},e.verifySheetName=function(e,t){if(!e.includes(t))throw new i.TableauError(n.SharedErrorCodes.InvalidSelectionSheet,"sheetName parameter must belong to a worksheet within the current view")},e.verifyExportDataOptions=function(e){if(!o.Param.isNullOrUndefined(e.ignoreAliases)&&!o.Param.isTypeBool(e.ignoreAliases)||!o.Param.isNullOrUndefined(e.columnsToIncludeById)&&!Array.isArray(e.columnsToIncludeById))throw new i.TableauError(n.SharedErrorCodes.InvalidParameter,"options paramater must be of type ExportDataOptions")},e.verifySheetNamesForPDFAndPPT=function(e,t){if(!Array.isArray(e))throw new i.TableauError(n.SharedErrorCodes.InvalidParameter,"sheetNames parameter must be an array");if(0===e.length)throw new i.TableauError(n.SharedErrorCodes.InternalError,"sheetNames should not be empty");if(!e.every((function(e){return t.exportableSheetNamesFromDashboard.includes(e)}))&&!(e.every((function(e){return t.exportableSheetNamesFromWorkbook.includes(e)}))||1===e.length&&e[0]===t.currentSheetName))throw new i.TableauError(n.SharedErrorCodes.InvalidSelectionSheet,"sheetNames parameter must have all its entries be exportable sheet names from the dashboard or all its entries be exportable sheet names from the workbook")},e.verifyExportPDFOptions=function(e){try{this.verifyEnumValue(e.orientation,n.PrintOrientation,"PrintOrientation"),this.verifyEnumValue(e.pageSize,n.PrintPageSize,"PrintPageSize"),this.verifyEnumValue(e.scaling,n.PrintScaling,"PrintScaling")}catch(e){throw new i.TableauError(n.SharedErrorCodes.InvalidParameter,"options parameter must be of type ExportPDFOptions")}},e}();t.ErrorHelpers=a},5044:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(3448),i=r(7419),o=r(6664),a=function(){function e(){}return e.updateInternalExportPDFOptions=function(e,t,r){e.currentSheet=r[0],this.updateExportLayoutOptions(e,t),this.updateSheetOptions(e,r)},e.updateExportLayoutOptions=function(e,t){var r=e.exportLayoutOptions;switch(r.imageHeight=this.DefaultLayoutOptions.imageHeight,r.imageWidth=this.DefaultLayoutOptions.imageWidth,t.orientation){case i.PrintOrientation.Landscape:r.pageOrientationOption=n.PageOrientation.Landscape;break;case i.PrintOrientation.Portrait:r.pageOrientationOption=n.PageOrientation.Portrait;break;default:throw new o.TableauError(i.SharedErrorCodes.InternalError,"invalid orientation for ExportPDFOption")}switch(t.pageSize){case i.PrintPageSize.A3:r.pageSizeOption=n.PageSizeOption.A3;break;case i.PrintPageSize.A4:r.pageSizeOption=n.PageSizeOption.A4;break;case i.PrintPageSize.A5:r.pageSizeOption=n.PageSizeOption.A5;break;case i.PrintPageSize.B4:r.pageSizeOption=n.PageSizeOption.B4;break;case i.PrintPageSize.B5:r.pageSizeOption=n.PageSizeOption.B5;break;case i.PrintPageSize.Executive:r.pageSizeOption=n.PageSizeOption.Executive;break;case i.PrintPageSize.Folio:r.pageSizeOption=n.PageSizeOption.Folio;break;case i.PrintPageSize.Ledger:r.pageSizeOption=n.PageSizeOption.Ledger;break;case i.PrintPageSize.Legal:r.pageSizeOption=n.PageSizeOption.Legal;break;case i.PrintPageSize.Letter:r.pageSizeOption=n.PageSizeOption.Letter;break;case i.PrintPageSize.Note:r.pageSizeOption=n.PageSizeOption.Note;break;case i.PrintPageSize.Quarto:r.pageSizeOption=n.PageSizeOption.Quarto;break;case i.PrintPageSize.Statement:r.pageSizeOption=n.PageSizeOption.Statement;break;case i.PrintPageSize.Tabloid:r.pageSizeOption=n.PageSizeOption.Tabloid;break;case i.PrintPageSize.Unspecified:r.pageSizeOption=n.PageSizeOption.Unspecified;break;default:throw new o.TableauError(i.SharedErrorCodes.InternalError,"invalid pageSize for ExportPDFOption")}switch(t.scaling){case i.PrintScaling.AtMost1PageHigh:this.setFitAndScaleValues(r,n.FitPages.FitOneHigh);break;case i.PrintScaling.AtMost1PageWide:this.setFitAndScaleValues(r,n.FitPages.FitOneWide);break;case i.PrintScaling.AtMost2PagesHigh:this.setFitAndScaleValues(r,n.FitPages.FitTwoHigh);break;case i.PrintScaling.AtMost2PagesWide:this.setFitAndScaleValues(r,n.FitPages.FitTwoWide);break;case i.PrintScaling.Automatic:this.setFitAndScaleValues(r,n.PageScalingOption.ScalePctAuto);break;case i.PrintScaling.Perc100:this.setFitAndScaleValues(r,n.PageScalingOption.ScalePct100);break;case i.PrintScaling.Perc200:this.setFitAndScaleValues(r,n.PageScalingOption.ScalePct200);break;case i.PrintScaling.Perc25:this.setFitAndScaleValues(r,n.PageScalingOption.ScalePct25);break;case i.PrintScaling.Perc400:this.setFitAndScaleValues(r,n.PageScalingOption.ScalePct400);break;case i.PrintScaling.Perc50:this.setFitAndScaleValues(r,n.PageScalingOption.ScalePct50);break;case i.PrintScaling.Perc60:this.setFitAndScaleValues(r,n.PageScalingOption.ScalePct60);break;case i.PrintScaling.Perc75:this.setFitAndScaleValues(r,n.PageScalingOption.ScalePct75);break;case i.PrintScaling.Perc80:this.setFitAndScaleValues(r,n.PageScalingOption.ScalePct80);break;case i.PrintScaling.Perc90:this.setFitAndScaleValues(r,n.PageScalingOption.ScalePct90);break;default:throw new o.TableauError(i.SharedErrorCodes.InternalError,"invalid scaling for ExportPDFOption")}},e.updateSheetOptions=function(e,t){for(var r=e.exportLayoutOptions,n=0,i=e.sheetOptions;n<i.length;n++){var o=i[n];o.exportLayoutOptions=r,o.isSelected=t.includes(o.sheet)}},e.setFitAndScaleValues=function(e,t){var r,i=this.DefaultLayoutOptions,o=i.pageFitHorizontal,a=i.pageFitVertical,s=i.pageScaleMode,u=i.pageScalePercent,l=this.fitRegex.exec(t),c=this.pctRegex.exec(t);l?(o=(r=l.slice(1).map((function(e){return Number(e)})))[0],a=r[1],s=n.ScaleMode.ScaleFitPages):c&&(u=c.slice(1).map((function(e){return Number(e)}))[0],s=n.ScaleMode.ScalePercentage),e.pageFitHorizontal=o,e.pageFitVertical=a,e.pageScaleMode=s,e.pageScalePercent=u},e.DefaultDataOptions={ignoreAliases:!1,columnsToIncludeById:[]},e.DefaultPDFOptions={scaling:i.PrintScaling.Automatic,pageSize:i.PrintPageSize.Letter,orientation:i.PrintOrientation.Portrait},e.DefaultLayoutOptions={imageHeight:0,imageWidth:0,pageFitHorizontal:1,pageFitVertical:1,pageOrientationOption:n.PageOrientation.Portrait,pageScaleMode:n.ScaleMode.ScaleAuto,pageScalePercent:100,pageSizeOption:n.PageSizeOption.Letter},e.fitRegex=new RegExp("fit([0-9]+)x([0-9]+)"),e.pctRegex=new RegExp("pct([0-9]+)"),e}();t.ExportHelpers=a},1172:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(7419),i=r(6664),o=r(7480),a=function(){function e(){}return e.serializeDateForPlatform=function(e){return e.getUTCFullYear()+"-"+(e.getUTCMonth()+1)+"-"+e.getUTCDate()+" "+e.getUTCHours()+":"+e.getUTCMinutes()+":"+e.getUTCSeconds()},e.serializeBooleanForPlatform=function(e){return e?"true":"false"},e.serializeNumberForPlatform=function(e){return e.toString(10)},e.isTypeNumber=function(e){return"number"==typeof e||e instanceof Number},e.isTypeDate=function(e){return e instanceof Date},e.isTypeString=function(e){return"string"==typeof e||e instanceof String},e.isTypeBool=function(e){return"boolean"==typeof e||e instanceof Boolean},e.isNullOrUndefined=function(e){return null==e},e.serializeParameterValue=function(t){if(e.isTypeNumber(t))return e.serializeNumberForPlatform(t);if(e.isTypeDate(t))return e.serializeDateForPlatform(t);if(e.isTypeBool(t))return e.serializeBooleanForPlatform(t);if(e.isTypeString(t))return t;throw new i.TableauError(n.ErrorCodes.InternalError,"Unexpected invalid value for: "+t)},e.convertParameterToMap=function(e,t){if(o.ErrorHelpers.verifyParameterType(e,"object",t),Array.isArray(e))throw new i.TableauError(n.ErrorCodes.InvalidParameter,"Expecting object or Map for: "+t+".");return e instanceof Map?e:new Map(Object.entries(e))},e.tryParseNumber=function(t){if(e.isNullOrUndefined(t))return{success:!1};if(e.isTypeNumber(t))return{parsed:t,success:!0};var r=t.toString();if("NaN"===r)return{parsed:NaN,success:!0};var n=parseFloat(r);return isNaN(n)?{success:!1}:{parsed:n,success:!0}},e}();t.Param=a},2780:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(7419),i=r(3448),o=r(6664),a=function(){function e(){}return e.getSheetSizeFromSizeConstraints=function(e){var t=e.minWidth,r=e.minHeight,i=e.maxWidth,o=e.maxHeight;if(0===r&&0===t)return 0===o&&0===i?{behavior:n.SheetSizeBehavior.Automatic}:{behavior:n.SheetSizeBehavior.AtMost,maxSize:{width:i,height:o}};if(0===o&&0===i)return{behavior:n.SheetSizeBehavior.AtLeast,minSize:{width:t,height:r}};if(o===r&&i===t&&t>0)return{behavior:n.SheetSizeBehavior.Exactly,minSize:{width:t,height:r},maxSize:{width:t,height:r}};var a=0===t&&0===i;return{behavior:n.SheetSizeBehavior.Range,minSize:{width:t,height:r},maxSize:{width:a?2147483647:i,height:o}}},e.createAutomaticSize=function(){return{behavior:n.SheetSizeBehavior.Automatic,minSize:{width:0,height:0},maxSize:{width:0,height:0}}},e.getPublishedSheetInfoByName=function(e,t){return t.find((function(t){return t.name===e}))},e.getSheetTypeEnum=function(e){var t;switch(e){case i.SheetType.Worksheet:t=n.SheetType.Worksheet;break;case i.SheetType.Dashboard:t=n.SheetType.Dashboard;break;case i.SheetType.Story:t=n.SheetType.Story;break;default:throw new o.TableauError(n.SharedErrorCodes.ServerError,"Invalid SheetType")}return t},e.isValidSheetSize=function(e){return void 0!==e.behavior},e}();t.SheetUtils=a},3036:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(7419),i=r(6664),o=r(1724),a=function(){function e(e){void 0===e&&(e=o.UnregisterTimeoutInMilliseconds),this._timeoutInMilliseconds=e}return e.prototype.getNewPromiseOrThrowIfBusy=function(){var e=this;if(this._deferred)throw new i.TableauError(n.SharedErrorCodes.ApiExecutionError,"This api cannot be executed till previous call is resolved.");return this._deferred=new o.Deferred,this._timeoutId=setTimeout((function(){var t=new i.TableauError(n.SharedErrorCodes.Timeout,"Api failed to complete in "+e._timeoutInMilliseconds/1e3+" seconds");e.reject(t)}),this._timeoutInMilliseconds),this._deferred.promise},e.prototype.resolve=function(e){this._deferred&&(clearTimeout(this._timeoutId),this._deferred.resolve(e),this._deferred=void 0)},e.prototype.reject=function(e){this._deferred&&(clearTimeout(this._timeoutId),this._deferred.reject(e),this._deferred=void 0)},e}();t.ShortLivedDeferred=a},1576:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(7419),i=r(6664),o=function(){function e(e,t){var r=e.split("-");this.build=this.getBuildNumber(r[1]);var o=(e=r[0]).split(".").map((function(e){return parseInt(e,10)}));if(3!==o.length)throw new i.TableauError(n.ErrorCodes.InternalError,"Invalid version number: "+e);this.major=o[0],this.minor=o[1],this.fix=o[2],this.isAlpha=t}return e.prototype.getBuildNumber=function(e){if(!e)return-1;var t=e.split(".");return t[1]?parseInt(t[1],10):-1},Object.defineProperty(e.prototype,"formattedValue",{get:function(){return this.major+"."+this.minor+"."+this.fix},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"fullFormattedValue",{get:function(){return this.major+"."+this.minor+"."+this.fix+"-pre."+this.build},enumerable:!0,configurable:!0}),e}();t.VersionNumber=o},8648:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(3448),i=function(){function e(e,t){var r=this;this._apiDelegateDispatcher=e,this._versionConverter=n.CreateExternalCompatibleVersionConverter(n.INTERNAL_CONTRACT_VERSION,t),this._notificationHandlers=[],e.registerNotificationHandler((function(e){if(0!==r._notificationHandlers.length){var t=r._versionConverter.upgradeNotification(e);r._notificationHandlers.forEach((function(e){e(t)}))}}))}return e.needsVersionConverter=function(e){return n.VersionLessThan(e,n.INTERNAL_CONTRACT_VERSION)},e.prototype.execute=function(e,t){var r=this;try{var n=this._versionConverter.downgradeExecuteCall(e,t);return this._apiDelegateDispatcher.execute(n.verb,n.parameters).then((function(n){return r._versionConverter.upgradeExecuteReturn(n,e,t)}))}catch(e){return Promise.reject(e)}},e.prototype.registerNotificationHandler=function(e){this._notificationHandlers.push(e)},e.prototype.unregisterNotificationHandler=function(e){this._notificationHandlers=this._notificationHandlers.filter((function(t){return t!==e}))},e}();t.VersionedExternalApiDispatcher=i},6680:(e,t,r)=>{"use strict";var n;r.r(t),r.d(t,{NIL:()=>x,parse:()=>m,stringify:()=>c,v1:()=>h,v3:()=>A,v4:()=>E,v5:()=>D,validate:()=>s,version:()=>F});var i=new Uint8Array(16);function o(){if(!n&&!(n="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return n(i)}const a=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,s=function(e){return"string"==typeof e&&a.test(e)};for(var u=[],l=0;l<256;++l)u.push((l+256).toString(16).substr(1));const c=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=(u[e[t+0]]+u[e[t+1]]+u[e[t+2]]+u[e[t+3]]+"-"+u[e[t+4]]+u[e[t+5]]+"-"+u[e[t+6]]+u[e[t+7]]+"-"+u[e[t+8]]+u[e[t+9]]+"-"+u[e[t+10]]+u[e[t+11]]+u[e[t+12]]+u[e[t+13]]+u[e[t+14]]+u[e[t+15]]).toLowerCase();if(!s(r))throw TypeError("Stringified UUID is invalid");return r};var p,d,f=0,y=0;const h=function(e,t,r){var n=t&&r||0,i=t||new Array(16),a=(e=e||{}).node||p,s=void 0!==e.clockseq?e.clockseq:d;if(null==a||null==s){var u=e.random||(e.rng||o)();null==a&&(a=p=[1|u[0],u[1],u[2],u[3],u[4],u[5]]),null==s&&(s=d=16383&(u[6]<<8|u[7]))}var l=void 0!==e.msecs?e.msecs:Date.now(),h=void 0!==e.nsecs?e.nsecs:y+1,m=l-f+(h-y)/1e4;if(m<0&&void 0===e.clockseq&&(s=s+1&16383),(m<0||l>f)&&void 0===e.nsecs&&(h=0),h>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");f=l,y=h,d=s;var g=(1e4*(268435455&(l+=122192928e5))+h)%4294967296;i[n++]=g>>>24&255,i[n++]=g>>>16&255,i[n++]=g>>>8&255,i[n++]=255&g;var v=l/4294967296*1e4&268435455;i[n++]=v>>>8&255,i[n++]=255&v,i[n++]=v>>>24&15|16,i[n++]=v>>>16&255,i[n++]=s>>>8|128,i[n++]=255&s;for(var b=0;b<6;++b)i[n+b]=a[b];return t||c(i)},m=function(e){if(!s(e))throw TypeError("Invalid UUID");var t,r=new Uint8Array(16);return r[0]=(t=parseInt(e.slice(0,8),16))>>>24,r[1]=t>>>16&255,r[2]=t>>>8&255,r[3]=255&t,r[4]=(t=parseInt(e.slice(9,13),16))>>>8,r[5]=255&t,r[6]=(t=parseInt(e.slice(14,18),16))>>>8,r[7]=255&t,r[8]=(t=parseInt(e.slice(19,23),16))>>>8,r[9]=255&t,r[10]=(t=parseInt(e.slice(24,36),16))/1099511627776&255,r[11]=t/4294967296&255,r[12]=t>>>24&255,r[13]=t>>>16&255,r[14]=t>>>8&255,r[15]=255&t,r};function g(e,t,r){function n(e,n,i,o){if("string"==typeof e&&(e=function(e){e=unescape(encodeURIComponent(e));for(var t=[],r=0;r<e.length;++r)t.push(e.charCodeAt(r));return t}(e)),"string"==typeof n&&(n=m(n)),16!==n.length)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");var a=new Uint8Array(16+e.length);if(a.set(n),a.set(e,n.length),(a=r(a))[6]=15&a[6]|t,a[8]=63&a[8]|128,i){o=o||0;for(var s=0;s<16;++s)i[o+s]=a[s];return i}return c(a)}try{n.name=e}catch(e){}return n.DNS="6ba7b810-9dad-11d1-80b4-00c04fd430c8",n.URL="6ba7b811-9dad-11d1-80b4-00c04fd430c8",n}function v(e){return 14+(e+64>>>9<<4)+1}function b(e,t){var r=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(r>>16)<<16|65535&r}function I(e,t,r,n,i,o){return b((a=b(b(t,e),b(n,o)))<<(s=i)|a>>>32-s,r);var a,s}function S(e,t,r,n,i,o,a){return I(t&r|~t&n,e,t,i,o,a)}function _(e,t,r,n,i,o,a){return I(t&n|r&~n,e,t,i,o,a)}function T(e,t,r,n,i,o,a){return I(t^r^n,e,t,i,o,a)}function P(e,t,r,n,i,o,a){return I(r^(t|~n),e,t,i,o,a)}const A=g("v3",48,(function(e){if("string"==typeof e){var t=unescape(encodeURIComponent(e));e=new Uint8Array(t.length);for(var r=0;r<t.length;++r)e[r]=t.charCodeAt(r)}return function(e){for(var t=[],r=32*e.length,n="0123456789abcdef",i=0;i<r;i+=8){var o=e[i>>5]>>>i%32&255,a=parseInt(n.charAt(o>>>4&15)+n.charAt(15&o),16);t.push(a)}return t}(function(e,t){e[t>>5]|=128<<t%32,e[v(t)-1]=t;for(var r=1732584193,n=-271733879,i=-1732584194,o=271733878,a=0;a<e.length;a+=16){var s=r,u=n,l=i,c=o;r=S(r,n,i,o,e[a],7,-680876936),o=S(o,r,n,i,e[a+1],12,-389564586),i=S(i,o,r,n,e[a+2],17,606105819),n=S(n,i,o,r,e[a+3],22,-1044525330),r=S(r,n,i,o,e[a+4],7,-176418897),o=S(o,r,n,i,e[a+5],12,1200080426),i=S(i,o,r,n,e[a+6],17,-1473231341),n=S(n,i,o,r,e[a+7],22,-45705983),r=S(r,n,i,o,e[a+8],7,1770035416),o=S(o,r,n,i,e[a+9],12,-1958414417),i=S(i,o,r,n,e[a+10],17,-42063),n=S(n,i,o,r,e[a+11],22,-1990404162),r=S(r,n,i,o,e[a+12],7,1804603682),o=S(o,r,n,i,e[a+13],12,-40341101),i=S(i,o,r,n,e[a+14],17,-1502002290),r=_(r,n=S(n,i,o,r,e[a+15],22,1236535329),i,o,e[a+1],5,-165796510),o=_(o,r,n,i,e[a+6],9,-1069501632),i=_(i,o,r,n,e[a+11],14,643717713),n=_(n,i,o,r,e[a],20,-373897302),r=_(r,n,i,o,e[a+5],5,-701558691),o=_(o,r,n,i,e[a+10],9,38016083),i=_(i,o,r,n,e[a+15],14,-660478335),n=_(n,i,o,r,e[a+4],20,-405537848),r=_(r,n,i,o,e[a+9],5,568446438),o=_(o,r,n,i,e[a+14],9,-1019803690),i=_(i,o,r,n,e[a+3],14,-187363961),n=_(n,i,o,r,e[a+8],20,1163531501),r=_(r,n,i,o,e[a+13],5,-1444681467),o=_(o,r,n,i,e[a+2],9,-51403784),i=_(i,o,r,n,e[a+7],14,1735328473),r=T(r,n=_(n,i,o,r,e[a+12],20,-1926607734),i,o,e[a+5],4,-378558),o=T(o,r,n,i,e[a+8],11,-2022574463),i=T(i,o,r,n,e[a+11],16,1839030562),n=T(n,i,o,r,e[a+14],23,-35309556),r=T(r,n,i,o,e[a+1],4,-1530992060),o=T(o,r,n,i,e[a+4],11,1272893353),i=T(i,o,r,n,e[a+7],16,-155497632),n=T(n,i,o,r,e[a+10],23,-1094730640),r=T(r,n,i,o,e[a+13],4,681279174),o=T(o,r,n,i,e[a],11,-358537222),i=T(i,o,r,n,e[a+3],16,-722521979),n=T(n,i,o,r,e[a+6],23,76029189),r=T(r,n,i,o,e[a+9],4,-640364487),o=T(o,r,n,i,e[a+12],11,-421815835),i=T(i,o,r,n,e[a+15],16,530742520),r=P(r,n=T(n,i,o,r,e[a+2],23,-995338651),i,o,e[a],6,-198630844),o=P(o,r,n,i,e[a+7],10,1126891415),i=P(i,o,r,n,e[a+14],15,-1416354905),n=P(n,i,o,r,e[a+5],21,-57434055),r=P(r,n,i,o,e[a+12],6,1700485571),o=P(o,r,n,i,e[a+3],10,-1894986606),i=P(i,o,r,n,e[a+10],15,-1051523),n=P(n,i,o,r,e[a+1],21,-2054922799),r=P(r,n,i,o,e[a+8],6,1873313359),o=P(o,r,n,i,e[a+15],10,-30611744),i=P(i,o,r,n,e[a+6],15,-1560198380),n=P(n,i,o,r,e[a+13],21,1309151649),r=P(r,n,i,o,e[a+4],6,-145523070),o=P(o,r,n,i,e[a+11],10,-1120210379),i=P(i,o,r,n,e[a+2],15,718787259),n=P(n,i,o,r,e[a+9],21,-343485551),r=b(r,s),n=b(n,u),i=b(i,l),o=b(o,c)}return[r,n,i,o]}(function(e){if(0===e.length)return[];for(var t=8*e.length,r=new Uint32Array(v(t)),n=0;n<t;n+=8)r[n>>5]|=(255&e[n/8])<<n%32;return r}(e),8*e.length))})),E=function(e,t,r){var n=(e=e||{}).random||(e.rng||o)();if(n[6]=15&n[6]|64,n[8]=63&n[8]|128,t){r=r||0;for(var i=0;i<16;++i)t[r+i]=n[i];return t}return c(n)};function w(e,t,r,n){switch(e){case 0:return t&r^~t&n;case 1:case 3:return t^r^n;case 2:return t&r^t&n^r&n}}function O(e,t){return e<<t|e>>>32-t}const D=g("v5",80,(function(e){var t=[1518500249,1859775393,2400959708,3395469782],r=[1732584193,4023233417,2562383102,271733878,3285377520];if("string"==typeof e){var n=unescape(encodeURIComponent(e));e=[];for(var i=0;i<n.length;++i)e.push(n.charCodeAt(i))}else Array.isArray(e)||(e=Array.prototype.slice.call(e));e.push(128);for(var o=e.length/4+2,a=Math.ceil(o/16),s=new Array(a),u=0;u<a;++u){for(var l=new Uint32Array(16),c=0;c<16;++c)l[c]=e[64*u+4*c]<<24|e[64*u+4*c+1]<<16|e[64*u+4*c+2]<<8|e[64*u+4*c+3];s[u]=l}s[a-1][14]=8*(e.length-1)/Math.pow(2,32),s[a-1][14]=Math.floor(s[a-1][14]),s[a-1][15]=8*(e.length-1)&4294967295;for(var p=0;p<a;++p){for(var d=new Uint32Array(80),f=0;f<16;++f)d[f]=s[p][f];for(var y=16;y<80;++y)d[y]=O(d[y-3]^d[y-8]^d[y-14]^d[y-16],1);for(var h=r[0],m=r[1],g=r[2],v=r[3],b=r[4],I=0;I<80;++I){var S=Math.floor(I/20),_=O(h,5)+w(S,m,g,v)+b+t[S]+d[I]>>>0;b=v,v=g,g=O(m,30)>>>0,m=h,h=_}r[0]=r[0]+h>>>0,r[1]=r[1]+m>>>0,r[2]=r[2]+g>>>0,r[3]=r[3]+v>>>0,r[4]=r[4]+b>>>0}return[r[0]>>24&255,r[0]>>16&255,r[0]>>8&255,255&r[0],r[1]>>24&255,r[1]>>16&255,r[1]>>8&255,255&r[1],r[2]>>24&255,r[2]>>16&255,r[2]>>8&255,255&r[2],r[3]>>24&255,r[3]>>16&255,r[3]>>8&255,255&r[3],r[4]>>24&255,r[4]>>16&255,r[4]>>8&255,255&r[4]]})),x="00000000-0000-0000-0000-000000000000",F=function(e){if(!s(e))throw TypeError("Invalid UUID");return parseInt(e.substr(14,1),16)}},5892:e=>{"use strict";e.exports=JSON.parse('{"major":1,"minor":162,"fix":0}')}},t={};function r(n){var i=t[n];if(void 0!==i)return i.exports;var o=t[n]={exports:{}};return e[n].call(o.exports,o,o.exports,r),o.exports}r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};(()=>{"use strict";var e=n;Object.defineProperty(e,"__esModule",{value:!0});var t=r(5136);r(3e3),r(8315),r(80),r(5668),r(5816),r(3680),r(9308),r(8824),r(8512),r(9232),r(9336);var i=r(976),o=r(5408),a="undefined"!=typeof VERSION_IS_ALPHA&&VERSION_IS_ALPHA;t.ApiVersion.SetVersionNumber("1.12.0-pre.16",a);var s=new i.ExtensionsImpl;e.extensions=new o.Extensions(s);var u=r(7419);e.AnalyticsObjectType=u.AnalyticsObjectType,e.AnnotationType=u.AnnotationType,e.ClassNameKey=u.ClassNameKey,e.ColumnType=u.ColumnType,e.DashboardLayoutChange=u.DashboardLayoutChange,e.DashboardObjectType=u.DashboardObjectType,e.DashboardObjectVisibilityType=u.DashboardObjectVisibilityType,e.DataType=u.DataType,e.DateRangeType=u.DateRangeType,e.DialogStyle=u.DialogStyle,e.EncodingType=u.EncodingType,e.ErrorCodes=u.ErrorCodes,e.ExtensionContext=u.ExtensionContext,e.ExtensionMode=u.ExtensionMode,e.FieldAggregationType=u.FieldAggregationType,e.FieldRoleType=u.FieldRoleType,e.FilterDomainType=u.FilterDomainType,e.FilterNullOption=u.FilterNullOption,e.FilterType=u.FilterType,e.FilterUpdateType=u.FilterUpdateType,e.HierarchicalLevelSelectionState=u.HierarchicalLevelSelectionState,e.IncludeDataValuesOption=u.IncludeDataValuesOption,e.MarkType=u.MarkType,e.ParameterValueType=u.ParameterValueType,e.PeriodType=u.PeriodType,e.QuickTableCalcType=u.QuickTableCalcType,e.ReplaySpeedType=u.ReplaySpeedType,e.SelectOptions=u.SelectOptions,e.SelectionUpdateType=u.SelectionUpdateType,e.SheetType=u.SheetType,e.SortDirection=u.SortDirection,e.TableauEventType=u.TableauEventType,e.TrendLineModelType=u.TrendLineModelType,e.VizImageEncodingType=u.VizImageEncodingType,e.VizImagePaletteType=u.VizImagePaletteType,e.VizImageSizeSettingAlignmentType=u.VizImageSizeSettingAlignmentType,e.VizImageSizeSettingType=u.VizImageSizeSettingType,e.VizImageSortDirectionType=u.VizImageSortDirectionType,e.ZoneVisibilityType=u.ZoneVisibilityType})(),window.tableau=n})();
//# sourceMappingURL=tableau.extensions.1.12.0-pre.16.min.js.map