@mescius/activereportsjs
Version:
ActiveReportsJS
8 lines • 9.55 MB
JavaScript
/*!
* @mescius/activereportsjs 6.0.3
* Description: ActiveReportsJS
* https://www.npmjs.com/package/@mescius/activereportsjs
* Copyright ©️ MESCIUS inc. All rights reserved.
* Licensed under the Commercial license
*/
(function(ko,La){typeof exports=="object"&&typeof module<"u"?La(exports,require("@mescius/ar-js-pagereport")):typeof define=="function"&&define.amd?define(["exports","@mescius/ar-js-pagereport"],La):(ko=typeof globalThis<"u"?globalThis:ko||self,La((ko.MESCIUS=ko.MESCIUS||{},ko.MESCIUS.ActiveReportsJS=ko.MESCIUS.ActiveReportsJS||{},ko.MESCIUS.ActiveReportsJS.ReportDesigner={}),ko.MESCIUS.ActiveReportsJS.Core))})(this,function(ko,La){"use strict";var yWn=Object.defineProperty,mWn=Object.defineProperties;var vWn=Object.getOwnPropertyDescriptors;var tz=Object.getOwnPropertySymbols;var bXe=Object.prototype.hasOwnProperty,CXe=Object.prototype.propertyIsEnumerable;var xue=(ko,La,Bu)=>La in ko?yWn(ko,La,{enumerable:!0,configurable:!0,writable:!0,value:Bu}):ko[La]=Bu,T=(ko,La)=>{for(var Bu in La||(La={}))bXe.call(La,Bu)&&xue(ko,Bu,La[Bu]);if(tz)for(var Bu of tz(La))CXe.call(La,Bu)&&xue(ko,Bu,La[Bu]);return ko},z=(ko,La)=>mWn(ko,vWn(La));var nz=ko=>typeof ko=="symbol"?ko:ko+"",wn=(ko,La)=>{var Bu={};for(var jm in ko)bXe.call(ko,jm)&&La.indexOf(jm)<0&&(Bu[jm]=ko[jm]);if(ko!=null&&tz)for(var jm of tz(ko))La.indexOf(jm)<0&&CXe.call(ko,jm)&&(Bu[jm]=ko[jm]);return Bu};var jn=(ko,La,Bu)=>xue(ko,typeof La!="symbol"?La+"":La,Bu);var GYe,JYe;const Bu=Array.isArray;function jm(a){const u=typeof a;return a!=null&&(u=="object"||u=="function")}function rz(a){return a!=null&&typeof a=="object"}function yD(a,u){if(a===u)return!0;if(a==null||u==null||!rz(a)&&!rz(u))return a!==a&&u!==u;if(typeof a!=typeof u)return!1;switch(typeof a){case"object":return Bu(a)?a.length===u.length&&a.every((o,p)=>yD(o,u[p])):yD(Object.keys(a).sort(),Object.keys(u).sort())&&Object.keys(a).every(o=>yD(a[o],u[o]));default:return!1}}const PXe=Object.freeze(Object.defineProperty({__proto__:null,isArray:Bu,isEqual:yD,isObject:jm,isObjectLike:rz},Symbol.toStringTag,{value:"Module"}));let hL=[];function Mue(){hL=[]}function DXe(){return hL}function sc(a){hL.push(z(T({},a),{context:TXe()}))}function ln(a,u,o,p,...f){switch(arguments.length){case 0:return;case 1:return a;case 2:return u(a);case 3:return o(u(a));case 4:return p(o(u(a)));default:return ln.apply(null,[p(o(u(a))),...f])}}const di=(a,u=[])=>({type:"success",value:a,warnings:u}),yu=a=>({type:"error",reason:a}),xr=a=>a.type==="success"?a.value:void 0,xXe={decode:a=>di(a),encode:a=>a},ri=a=>({decode:()=>di(a),encode:()=>{}}),MXe=a=>({decode:()=>di(a),encode:()=>{}});let fL;function iz(a,u){const o=fL;fL={part:a,next:o};try{return u()}finally{fL=o}}function TXe(){const a=[];for(let u=fL;u!=null&&u.part;u=u.next)a.unshift(u.part);return"".concat(...a)}const EXe=(a,...u)=>u.findIndex(o=>o===a)!==-1,_L=(...a)=>({decode:u=>EXe(u,...a)?di(u):yu(`expected ${a.map(o=>JSON.stringify(o)).join(" | ")}, got: '${u}'`),encode:u=>typeof u=="string"||typeof u=="number"||u===null?u:(sc({type:"error",message:"expected a string value"}),u==null?void 0:u.toString())}),gn={decode:a=>typeof a=="string"?di(a):yu("expected string"),encode:a=>typeof a=="string"?a:(sc({type:"error",message:"expected a string value"}),a==null?void 0:a.toString())},bt={decode:a=>typeof a=="number"&&!Number.isNaN(a)?di(a):yu("expected number"),encode:a=>typeof a=="number"?a:(sc({type:"error",message:"expected a numeric value"}),a==null||Number.isNaN(+a)?void 0:+a)},Ey={decode:a=>typeof a=="boolean"?di(a):yu("expected boolean"),encode:a=>typeof a=="boolean"?a:(sc({type:"error",message:"expected a bool value"}),a==null?void 0:!!a)},or=a=>({decode:u=>u==null?di(void 0):a.decode(u),encode:u=>u===void 0?void 0:a.encode(u)}),Tue=a=>({decode:a.decode,encode:()=>{}}),Ja=a=>({decode:u=>u==null?di(null):a.decode(u),encode:u=>u==null?null:a.encode(u)}),ot=(a,u)=>({decode:o=>o===void 0?di(a):u.decode(o),encode:o=>{if(!(Array.isArray(o)&&o.length===0&&Array.isArray(a)&&a.length===0))return yD(o,a)?void 0:u.encode(o)}}),Lt=(a,u)=>{const o=u.decode(a);if(o.type==="error")throw new Error("Failed to create a default result");const p=Object.freeze(o.value);return{decode:f=>f===void 0?di(p):u.decode(f),encode:f=>{const g=u.encode(f);return yD(g,a)?void 0:g}}},mo=(a,u)=>({decode:o=>o===void 0?di(a):u.decode(o),encode:u.encode}),uc=a=>mo(a,_L(a)),E5=a=>u=>Lt(a,u),jt=a=>({decode:u=>{if(u==null)return yu("non-null expected");const o={};for(const p in a){if(!{}.hasOwnProperty.call(a,p))continue;if(!a[p])return yu(`${p}: missing property`);const f=a[p].decode(u[p]);if(f.type==="error")return yu(`${p}: ${f.reason}`);o[p]=f.value}return di(o)},encode:u=>{if(u==null){sc({type:"error",message:"non-null value is expected"});return}const o={};for(const p in a)({}).hasOwnProperty.call(a,p)&&iz(".",()=>{const f=iz(p,()=>a[p].encode(u[p]));f!==void 0&&(o[p]=f)});return o}}),rn=a=>Lt({},jt(a)),Or=(...a)=>u=>({decode:o=>{const p=a.find(f=>o[f]===void 0);return p!=null&&sc({type:"error",message:`Property ${String(p)} is marked as required, but not provided`}),u.decode(o)},encode:o=>u.encode(o)}),oz=(a,u)=>ln(jt(a),Or(...u)),mD=(a,u,o)=>Lt(u,oz(a,o)),Jm=a=>({decode:u=>{if(!Bu(u))return yu("array expected");const o=u.map(a.decode),p=o.find(f=>f.type==="error");return p&&p.type==="error"?yu(p.reason):di(o.map(xr))},encode:u=>{if(u!=null)return Bu(u)?u.map((o,p)=>iz(`[${p}]`,()=>a.encode(o))):(sc({type:"error",message:"array is expected"}),[])}}),Pn=a=>ot([],Jm(a)),nu=(a,u)=>o=>({decode:p=>{const f=o.decode(p);return f.type==="error"?f:di(a(f.value))},encode:p=>o.encode(u(p))}),AXe=(a,u)=>o=>({decode:p=>o.decode(u(p)),encode:p=>a(o.encode(p))}),Ki=a=>u=>({decode:o=>{const p=u.decode(o);if(p.type==="error")return yu(p.reason);const f=a.decode(o);return f.type==="success"?di(T(T({},p.value),f.value)):yu(f.reason)},encode:o=>T(T({},u.encode(o)),a.encode(o))}),nS=(a,u,o)=>({decode:p=>{const f=a(p)||"",g=o[f];return g==null?yu(`Unknown or unsupported item type "${f}"`):g.decode(p)},encode:p=>{const f=o[u(p)];if(f==null)throw new Error(`unknown item type '${u(p)}'`);return f.encode(p)}}),az=(a,u,o,p)=>({decode:f=>a(f)?o.decode(f):p.decode(f),encode:f=>u(f)?o.encode(f):p.encode(f)}),lz=()=>{const a=()=>{throw new Error("Cannot get here")},u={decode:a,encode:a};return[u,p=>{u.decode=p.decode,u.encode=p.encode}]},Jn=(...a)=>{const u={};a.forEach(p=>{u[p]=p,u[p.toLowerCase()]=p});const o=`expected ${a.map(p=>JSON.stringify(p)).join(" | ")}`;return{decode:p=>{const f=typeof p=="string"?u[p]||u[p.toLowerCase()]:void 0;return f!==void 0?di(f):yu(`${o}, got: '${p}'`)},encode:p=>typeof p=="string"?p:(sc({type:"error",message:"expected a string value"}),p==null?void 0:p.toString())}},An=(a,u)=>({decode:o=>{if(o===void 0)return di(a);const p=u.decode(o);return p.type==="success"?p:(sc({type:"error",message:p.reason}),di(a))},encode:o=>o===a?void 0:u.encode(o)});function sz(a,...u){const o={};for(const p of u)o[p]=a[p];return o}function gL(a,...u){const o={},p=Object.keys(a);for(const f of p)u.find(g=>g===f)||(o[f]=a[f]);return o}function uz(a,u={}){return Object.freeze(xr(a.decode(u)))}const Eue=()=>a=>a,$T=a=>({decode:u=>{Mue();const o=a.decode(u),p=DXe();return o.type==="success"?di(o.value,p):o},encode:u=>(Mue(),a.encode(u))}),LXe=()=>[...hL],Aue=(a,u)=>o=>({decode:p=>{const f=o.decode(p);return f.type==="error"?(sc({type:"warning",message:f.reason}),a.decode(p)):f},encode:p=>u(p)?a.encode(p):o.encode(p)});function Lue(a,u){return{f:a,frev:u}}function VXe(a,u){return{f:f=>{var g=f,{[a]:o}=g,p=wn(g,[nz(a)]);return z(T({},p),{[a]:u.f(o)})},frev:f=>{var g=f,{[a]:o}=g,p=wn(g,[nz(a)]);return z(T({},p),{[a]:u.frev(o)})}}}function OXe(a){return{f:u=>u===null?null:a.f(u),frev:u=>u===null?null:a.frev(u)}}function FXe(a){return{f:u=>u.map(a.f),frev:u=>u.map(a.frev)}}function RXe(a,u){return{f:()=>u,frev:()=>a}}function IXe(a,u){return{f:o=>u.f(a.f(o)),frev:o=>a.frev(u.frev(o))}}function BXe(a,u,o){return{f:p=>o.f(u.f(a.f(p))),frev:p=>a.frev(u.frev(o.frev(p)))}}function NXe(a,u,o,p){return{f:f=>p.f(o.f(u.f(a.f(f)))),frev:f=>a.frev(u.frev(o.frev(p.frev(f))))}}function kXe(a,u,o,p,f){return{f:g=>f.f(p.f(o.f(u.f(a.f(g))))),frev:g=>a.frev(u.frev(o.frev(p.frev(f.frev(g)))))}}function HXe(a,u,o,p){return{f:f=>a(f)?o.f(f):p.f(f),frev:f=>u(f)?o.frev(f):p.frev(f)}}function zXe(a){return nu(a.f,a.frev)}function $Xe(){return{f:a=>a,frev:a=>a}}const cz=Object.freeze(Object.defineProperty({__proto__:null,array:FXe,combine:IXe,combine3:BXe,combine4:NXe,combine5:kXe,identity:$Xe,iif:HXe,make:Lue,mapOfLens:zXe,nullable:OXe,prop:VXe,replace:RXe},Symbol.toStringTag,{value:"Module"})),Vue=Object.freeze(Object.defineProperty({__proto__:null,Const:ri,Default:ot,DefaultOf:Lt,Enum:An,Helpers:PXe,Lenses:cz,Temp:MXe,alt:nS,array:Jm,arrayDef:Pn,boolean:Ey,failure:yu,getLastRecordedFailures:LXe,iif:az,initValue:mo,intersectWith:Ki,justRead:Tue,lazy:lz,literal:_L,literalInit:uc,makeDefaultOf:uz,map:nu,mapInput:AXe,members:Jn,nullable:Ja,number:bt,omit:gL,optional:or,orElse:Aue,pick:sz,pipe:ln,recordFailure:sc,recordFailures:$T,required:Or,resultOf:xr,string:gn,success:di,type:jt,typeDef:rn,typeDefReq:mD,typeReq:oz,unknown:xXe,upcast:Eue,withDefaultOf:E5},Symbol.toStringTag,{value:"Module"})),WXe=_L("ask","override","throw"),UXe=oz({reportType:_L("CPL","FPL","Pageless"),masterReportId:or(gn)},["reportType"]);function Oue(a,u,o){const p=a.decode(u);if(p.type==="error")throw new Error(o(p.reason));return p.value}const GXe=a=>Fue(a)?"":`=${a}`,jXe=a=>a,Fue=a=>a===""||a==="="||a==='=""',vD=()=>({decode:a=>typeof a=="string"?Fue(a)?di(""):di(a):a==null?yu("non-null expected"):di(`${a}`),encode:a=>typeof a=="string"?a:(sc({type:"error",message:"expected a enum/string value"}),a==null?void 0:a.toString())}),ar=vD(),p_=vD(),Hl=vD(),Kl=vD(),Fi=vD(),ia=vD(),en=(...a)=>{const u={};a.forEach(p=>{u[p]=p,u[p.toLowerCase()]=p});const o=`expected ${a.map(p=>JSON.stringify(p)).join(" | ")}`;return{decode:p=>{const f=typeof p=="string"?u[p]||u[p.toLowerCase()]:void 0;return f!==void 0?di(f):yu(`${o}, got: '${p}'`)},encode:p=>typeof p=="string"?p:(sc({type:"error",message:"expected a string value"}),p==null?void 0:p.toString())}},_n=(a,u)=>({decode:o=>{if(o===void 0)return di(a);const p=u.decode(o);return p.type==="success"?p:(sc({type:"error",message:p.reason}),di(a))},encode:o=>o===a?void 0:u.encode(o)}),Ql=(a,u)=>{const o=_n(a,u);return{decode:p=>p===void 0?di(a):typeof p=="string"&&p.startsWith("=")?di(p):o.decode(p),encode:p=>{if(p!==a)return typeof p=="string"&&p.startsWith("=")?p:u.encode(p)}}},JXe=(a,u)=>o=>ln(o,nu(f=>{var p=wn(f,[]);return z(T({},p),{Type:u})},f=>{var p=wn(f,[]);return z(T({},p),{Type:a})})),Rue=(a,u)=>o=>({decode:p=>{const f=o.decode(p);return f.type==="error"?(sc({type:"warning",message:f.reason}),a.decode(p)):f},encode:p=>u(p)?a.encode(p):o.encode(p)}),dz=a=>({decode:u=>typeof u=="string"&&u===""?a.decode(void 0):a.decode(u),encode:a.encode}),yL=a=>u=>({decode:o=>o===null?u.decode(a):u.decode(o),encode:u.encode}),WT=a=>({decode:u=>u===null?a.decode(void 0):a.decode(u),encode:a.encode}),Zm=a=>({decode:u=>a.decode(u===null?void 0:u),encode:u=>{const o=a.encode(u);return o===void 0?null:o}}),Iue=Object.freeze(Object.defineProperty({__proto__:null,AcceptBlankString:dz,Enum:_n,EnumExpr:Ql,StoreUndefinedAsNull:Zm,TreatNullAs:yL,TreatNullAsUndefined:WT,changeType:JXe,members:en,orElse:Rue},Symbol.toStringTag,{value:"Module"})),Ai=gn,Gr={FontStyle:en("Default","Normal","Italic"),FontWeight:en("Default","Lighter","Thin","ExtraLight","Light","Normal","Medium","SemiBold","Bold","ExtraBold","Heavy","Bolder"),BackgroundGradientType:en("None","LeftRight","TopBottom","Center","DiagonalLeft","DiagonalRight","HorizontalCenter","VerticalCenter"),TextDecoration:en("Default","None","Underline","DoubleUnderline","Overline","LineThrough"),TextAlign:en("General","Left","Center","Right","Justify"),VerticalAlign:en("Default","Top","Middle","Bottom"),VerticalImageAlign:en("Top","Middle","Bottom"),HorizontalImageAlign:en("Left","Center","Right"),WrapMode:en("NoWrap","CharWrap","WordWrap"),Direction:en("Default","LTR","RTL"),LayoutDirection:en("LTR","RTL"),WritingMode:en("lr-tb","tb-rl"),Calendar:en("Default","Gregorian","GregorianArabic","GregorianMiddleEastFrench","GregorianTransliteratedEnglish","GregorianTransliteratedFrench","GregorianUSEnglish","Hebrew","Hijri","Japanese","Korean","Taiwan","ThaiBuddhist"),UnicodeBiDi:en("Normal","Embed","BidiOverride"),UprightInVerticalText:en("None","Digits","DigitsAndLatinLetters"),TextJustify:en("Auto","Distribute","DistributeAllLines"),BorderStyle:en("Default","None","Dotted","Dashed","Solid","Double","DashDot","DashDotDot","Groove","Ridge","Inset","WindowInset","Outset"),BorderSideStyle:en("","Default","None","Dotted","Dashed","Solid","Double","DashDot","DashDotDot","Groove","Ridge","Inset","WindowInset","Outset"),BreakLocation:en("Start","End","StartAndEnd","Between","None"),NewPage:en("Next","Odd","Even"),DataElementOutput:en("Auto","Output","NoOutput","ContentsOnly"),DataElementStyle:en("Auto","AttributeNormal","ElementNormal"),ImageSource:en("External","Embedded","Database"),ImageRepeat:en("Repeat","NoRepeat","RepeatX","RepeatY"),ShapeStyle:en("Rectangle","RoundRect","Ellipse"),ApplyValueCmd:en("Set","Reset","Toggle"),ReportPartPropertyType:en("boolean","integer","float","string","color","length","fontFamily","fontSize","fontStyle","fontWeight","textDecoration","lineWidth","borderStyle","lineStyle"),RectangleOverflow:en("Scroll","Clip","Auto","Grow"),BulletLabelFontStyles:en("Regular","Bold","Italic","Underline","Strikeout"),ParagraphTextAlign:en("Left","Center","Right","Justify"),LegendMode:en("None","DataValues","SeriesGroups","Custom")},Ay=rn({Hidden:ot("False",p_),ToggleItem:ot("",gn)}),Bue=ln(jt({Type:ri("parameter"),ParameterName:gn,Value:ot("",Kl),Omit:ot("false",p_)}),Or("ParameterName")),Nue=ln(jt({Name:ot("",gn),Type:_n("Set",Gr.ApplyValueCmd),Value:ot("",Kl)}),Or("Name")),bf=ln(jt({Hyperlink:Lt("",ar),Drillthrough:rn({ReportName:ot("",ar),Parameters:Pn(Bue)}),BookmarkLink:Lt("",ar),ApplyParameters:rn({Parameters:Pn(Nue)})}),E5({}),WT),kue=en("Equal","Like","NotEqual","GreaterThan","GreaterThanOrEqual","LessThan","LessThanOrEqual","TopN","BottomN","TopPercent","BottomPercent","In","Between"),Hue=ln(jt({FilterExpression:mo("",Kl),Operator:mo("Equal",kue),FilterValues:Pn(Kl)}),Or("FilterExpression","Operator","FilterValues")),A5=Pn(Hue),ZXe={encode:()=>({}),decode:a=>{const f=a,{Name:u,Value:o}=f,p=wn(f,["Name","Value"]);return Object.keys(p).length===0?di({}):di({$legacy:p})}},mL=ln(jt({Name:gn,Value:Lt("",Kl)}),Ki(ZXe),Or("Name","Value")),gg=ln(jt({Name:gn,Value:mo("",Kl)}),Or("Name","Value")),vL=rn({Color:Lt("",ia),Style:Ql("",Gr.BorderSideStyle),Width:Lt("",Fi)}),qXe=rn({Source:An("External",Gr.ImageSource),Value:ot("",ar),MIMEType:Lt("",ar),BackgroundRepeat:Ql("Repeat",Gr.ImageRepeat)}),pz={Border:rn({Color:Lt("Black",ia),Style:Ql("None",Gr.BorderStyle),Width:Lt("1pt",Fi)}),TopBorder:vL,RightBorder:vL,BottomBorder:vL,LeftBorder:vL,BackgroundColor:Lt("Transparent",ia),BackgroundGradientEndColor:Lt("Transparent",ia),BackgroundGradientType:Ql("None",Gr.BackgroundGradientType),BackgroundImage:qXe,FontStyle:Ql("Normal",Gr.FontStyle),FontFamily:Lt("Arial",ar),FontSize:Lt("10pt",Fi),FontWeight:Ql("Normal",Gr.FontWeight),LineHeight:ot("1pt",Fi),LineSpacing:Lt("",Fi),CharacterSpacing:Lt("",Fi),Format:Lt("",ar),TextDecoration:Ql("None",Gr.TextDecoration),TextAlign:Ql("General",Gr.TextAlign),VerticalAlign:Ql("Top",Gr.VerticalAlign),WrapMode:Ql("WordWrap",Gr.WrapMode),Color:Lt("Black",ia),PaddingLeft:Lt("0pt",Fi),PaddingRight:Lt("0pt",Fi),PaddingTop:Lt("0pt",Fi),PaddingBottom:Lt("0pt",Fi),Direction:Ql("LTR",Gr.Direction),WritingMode:Ql("lr-tb",Gr.WritingMode),Language:Lt("",ar),Calendar:Ql("Gregorian",Gr.Calendar),NumeralLanguage:Lt("",ar),NumeralVariant:ot("1",Hl),UnicodeBiDi:Ql("Normal",Gr.UnicodeBiDi),UprightInVerticalText:Ql("None",Gr.UprightInVerticalText),TextIndent:Lt("0.5in",Ai),LeadingChar:ot("",ar),MaxLevel:Lt("0",Hl),HeadingLevel:Lt("",Hl),ShrinkToFit:ot("False",p_),TextJustify:Ql("Auto",Gr.TextJustify),Angle:ot("0",Hl),MinCondenseRate:ot("100",Hl),DisplayFillCharacters:ot("True",p_),DisplayPageNumber:ot("True",p_)},YXe=jt(pz),Hi=(...a)=>sz(pz,...a),Wc=Hi("Border","TopBorder","BottomBorder","LeftBorder","RightBorder"),qm=Hi("FontFamily","FontSize","FontStyle","FontWeight"),Uc=Hi("PaddingLeft","PaddingRight","PaddingTop","PaddingBottom"),Xb=T(T(T({},qm),Uc),Hi("Color","Format","LineHeight","TextAlign","TextDecoration","VerticalAlign","Calendar","Direction","Language","NumeralLanguage","NumeralVariant","UnicodeBiDi","UprightInVerticalText","WritingMode")),zue=(a,u)=>{const o={};return Object.keys(u).forEach(p=>{if(u[p]instanceof Object)o[p]=zue(a==null?void 0:a[p],u[p]);else{const f=p in(a??{});o[p]=f?"modified":"default"}}),o},$ue=(a,u,o)=>{const p={};return Object.keys(a).forEach(f=>{if(o[f]instanceof Object){const g=$ue(a[f],u[f],o[f]);g&&(p[f]=g)}else o[f]==="modified"&&(p[f]=u&&u[f]||a[f])}),Object.keys(p).length?p:void 0},Ym=a=>({decode:u=>{const o=a.decode(u);if(o.type==="error")return o;const p=o.value,f=zue(u,p);return di(z(T({},p),{$status:f}))},encode:u=>{const{$status:o}=u;return $ue(u,a.encode(u)??{},o)}}),Wue=a=>{const u={};return Object.keys(a).forEach(o=>{a[o]instanceof Object?u[o]=Wue(a[o]):u[o]=a[o]==="default"?"inherit":a[o]}),u},XXe=(a,u)=>o=>{if(!u(o)||!(a in o))return o;const c=o,{[a]:l}=c,r=l,{$status:p}=r,f=wn(r,["$status"]),g=wn(c,[nz(a)]),e=Wue(p);return T({[a]:T({$status:e},f)},g)},Xm=(a,u)=>nu(XXe(a,u),o=>o),L5=ot(!1,Ey),SD=ot("",gn),bD=en("Auto","True","False"),Uue=mD({DataSetName:gn,ValueField:gn,LabelField:SD},{DataSetName:"",ValueField:""},["DataSetName","ValueField"]),KXe=jt({Value:or(Kl),Label:or(Kl)}),QXe=Lt({},jt({Condition:mo("None",en("None","Label","Value")),Direction:_n("Ascending",en("Ascending","Descending"))})),eKe=Lt({},jt({ParameterValues:Pn(KXe),DataSetReference:Uue,OrderBy:QXe})),tKe=Lt({},jt({Values:Pn(Kl),DataSetReference:Uue})),nKe=ln(_n("Auto",bD),nu(a=>a==="True",a=>a?"True":"Auto")),Gue=ln(jt({Type:ri("reportparameter"),AllowBlank:L5,DataType:mo("String",en("Boolean","Date","DateTime","Integer","Float","String")),DefaultValue:tKe,Hidden:L5,Multiline:L5,MultiValue:L5,EnableEmptyArray:nKe,Name:gn,Nullable:L5,Prompt:ot("",ar),SelectAllValue:Lt("",Kl),UsedInQuery:_n("Auto",bD),ValidValues:eKe,DisplayFormat:ot("",ar)}),Or("Name","DataType")),hz=ln(jt({Name:gn,Transaction:L5,DataSourceReference:SD,ConnectionProperties:mD({DataProvider:gn,ConnectString:ot("",ar),IntegratedSecurity:L5,Prompt:SD},{DataProvider:""},["DataProvider"])})),jue=ln(jt({Name:SD,DataField:SD,Value:Lt("",Kl)}),Or("Name")),fz=ln(jt({Name:gn,Fields:Pn(jue),Query:mD({DataSourceName:gn,CommandType:_n("Text",en("Text","StoredProcedure","TableDirect")),CommandText:WT(Lt("",ar)),QueryParameters:Pn(mL),Timeout:ot(0,bt)},{DataSourceName:""},["DataSourceName"]),Filters:A5,CaseSensitivity:mo("Auto",bD),Collation:SD,KanatypeSensitivity:mo("Auto",bD),AccentSensitivity:mo("Auto",bD),WidthSensitivity:mo("Auto",bD)}),Or("Name")),Cr=ot(!1,Ey),Gc=ot(!0,Ey),zi=ot("",gn),Km=Lt("0in",Ai),_z={Name:gn,ZIndex:ot(0,bt),Visibility:Ay,ToolTip:Lt("",ar),Bookmark:Lt("",ar),DataElementName:ot("",gn),DataElementOutput:ot("Auto",Gr.DataElementOutput),Label:Lt("",ar),LayerName:ot("default",gn),CustomProperties:Pn(gg)},mu=a=>T({Type:uc(a)},_z),CD={NoRowsMessage:Lt("",ar),DataSetName:zi,DataSetParameters:Pn(mL),PageBreak:ot("None",Gr.BreakLocation),NewPage:ot("Next",Gr.NewPage),Filters:A5,PageName:Lt("",ar),NewSection:Cr},Jue={FontFamily:or(ar),FontSize:or(Fi),FontStyle:or(Gr.FontStyle),FontWeight:or(Gr.FontWeight),Color:or(ia),LineSpacing:or(Fi),BackgroundColor:or(ia),TextDecoration:or(Gr.TextDecoration)},rKe=ln(jt({Type:uc("text"),Action:bf,Label:zi,Value:ot("",ar),StyleName:zi,Style:rn(z(T({},Jue),{Subscript:or(p_),Superscript:or(p_)})),ToolTip:ot("",ar)}),Or("Type")),iKe=ln(jt({Type:uc("image"),Action:bf,Label:zi,Source:_n("External",Gr.ImageSource),Value:Lt("",ar),Width:Lt("1in",Fi),Height:Lt("1in",Fi),MIMEType:ln(Lt("",ar),WT),ToolTip:ot("",ar)}),Or("Type")),oKe=nS(a=>a.Type||"text",a=>a.Type,{text:rKe,image:iKe}),aKe=jt({TextRuns:Pn(oKe),LeftIndent:or(Fi),RightIndent:or(Fi),HangingIndent:or(Fi),StyleName:zi,Style:rn(z(T({},Jue),{TextAlign:or(Gr.ParagraphTextAlign)})),ListStyle:_n("None",en("None","Numbered","Bullet")),ListLevel:ot(0,bt),ListItemIndex:ot(0,bt),SpaceBefore:or(Fi),SpaceAfter:or(Fi),ListStyleType:or(_n("None",en("None","Disc","Circle","Square","Decimal","DecimalLeadingZero","CircledNumber","LowerRoman","UpperRoman","LowerLatin","UpperLatin","LowerGreek","UpperGreek","Katakana","KatakanaBrackets","KatakanaIrohaBrackets","KatakanaIroha","KatakanaLower","KatakanaIrohaLower")))}),Zue=ln(jt(z(T({},mu("richtext")),{CanGrow:Cr,DataElementStyle:ot("Auto",Gr.DataElementStyle),KeepTogether:Cr,Style:rn(T(T(T(T({},Wc),qm),Uc),Hi("Color","LineHeight","BackgroundColor","BackgroundImage","VerticalAlign")))})),Or("Name")),gz=nS(a=>a.MarkupType||"None",a=>a.MarkupType,{None:ln(Zue,Ki(jt({MarkupType:ri("None"),Paragraphs:Pn(aKe)}))),HTML:ln(Zue,Ki(jt({MarkupType:uc("HTML"),Value:Kl})))}),UT=_n("None",en("None","Average","Count","CountDistinct","CountOfAll","List","Max","Min","PopulationStandardDeviation","PopulationVariance","Range","StandardDeviation","Sum","Variance")),lKe=_n("Office",en("Aspect","Blue","Blue2","BlueGreen","BlueWarm","Cerulan","Cocoa","Coral","Cyborg","Dark","Darkly","Flatly","Grayscale","Green","GreenYellow","HighContrast","Light","Marquee","Median","Midnight","Modern","Office","Office2010","Orange","OrangeRed","Organic","Paper","Red","RedOrange","RedViolet","Slate","Slipstream","Standard","Superhero","Violet","Violet2","Yellow","YellowOrange","Zen","Custom")),V5=T(T({},qm),Hi("Color","TextDecoration")),que={Hidden:Cr,Orientation:_n("Horizontal",en("Horizontal","Vertical")),Position:_n("Right",en("Left","Right","Top","Bottom")),Style:rn(T(T({},Uc),Hi("BackgroundColor","Border"))),TextStyle:rn(V5),TitleStyle:rn(V5)},Yue={Style:rn(T(T({},Uc),Hi("BackgroundColor","Border"))),TextStyle:rn(V5),Title:Lt("",ar),Height:dz(or(bt)),HAlign:_n("Center",en("Center","Left","Right")),VAlign:_n("Middle",en("Middle","Bottom","Top"))},O5=rn(Hi("Border")),sKe=jt({Type:ri("dvchartaxis"),AxisLine:Gc,AxisType:_n("X",en("X","Y")),DateMode:_n("Default",en("Default","Millisecond","Second","Minute","Hour","Day","Week","Month","Year")),Format:Lt("",ar),LabelAngle:ot(0,bt),LabelField:Lt("",ar),Labels:Gc,LabelStyle:rn(T(T(T({},V5),Uc),Hi("WritingMode"))),LineStyle:O5,LogBase:ot(10,bt),MajorGrid:Cr,MajorGridStyle:O5,MajorTicks:_n("None",en("Inside","Outside","Cross","None")),MajorTickSize:Lt("4pt",Fi),MajorTickStyle:O5,MajorUnit:Lt("",Hl),Max:Lt("",Hl),Min:Lt("",Hl),MinorGrid:Cr,MinorGridStyle:O5,MinorTicks:_n("None",en("Inside","Outside","Cross","None")),MinorTickSize:Lt("2pt",Fi),MinorTickStyle:O5,MinorUnit:Lt("",Hl),Origin:Lt("",Hl),OverlappingLabels:_n("Auto",en("Auto","Show")),Plots:Pn(gn),Position:_n("Near",en("Near","Far","None")),Reversed:Cr,Scale:_n("Linear",en("Linear","Logarithmic","Ordinal","Percentage")),Style:O5,TextStyle:rn(T(T({},V5),Uc)),Title:Lt("",ar),TitleStyle:rn(T(T({},V5),Uc)),MaxHeight:ot(1,bt),MaxWidth:ot(1,bt),Width:ot(null,Ja(bt)),Height:ot(null,Ja(bt)),LabelRowCount:ot(1,bt)}),uKe=jt(z(T({Type:ri("dvchartlegend")},que),{MaxHeight:ot(1,bt),MaxWidth:ot(1,bt),Title:Lt("",ar),LegendType:_n("Color",en("Color","Shape","Size")),IconColor:Lt("",ia),RangeOptions:Pn(jt({Title:zi,To:bt}))})),GT=rn({FieldType:uc("Simple"),Value:Pn(Kl),Captions:ln(gn,yL(""),Pn)}),cKe=rn({FieldType:uc("Complex"),Subfields:Pn(jt({Key:gn,Value:Lt("",Kl),Caption:zi}))}),dKe=az(a=>(a==null?void 0:a.FieldType)==="Complex",a=>a.FieldType==="Complex",cKe,GT),pKe=rn({Type:ri("dvchartcategoryencoding"),Field:GT,Sort:_n("None",en("None","Ascending","Descending")),SortingField:Lt("",Kl),SortingAggregate:UT}),hKe=jt({Type:ri("dvchartdetailsencoding"),Field:GT,Group:_n("None",en("None","Cluster","Stack")),ExcludeNulls:Cr,Sort:_n("None",en("None","Ascending","Descending")),SortingField:Lt("",Kl),SortingAggregate:UT}),yz=rn({Type:ri("dvchartaggregateencoding"),Field:GT,Aggregate:UT,Action:bf}),fKe=jt({Type:ri("dvchartvalueaggregateencoding"),Field:dKe,Aggregate:UT}),_Ke=jt({Type:ri("dvcharttextencoding"),Field:GT,Target:_n("Label",en("Label","ToolTip")),Aggregate:UT}),gKe=jt({Name:mo("",gn),Type:ri("dvchartrule"),Condition:Lt("",ar),RuleProperties:Pn(jt({TargetProperty:_n("BackgroundColor",en("BackgroundColor","LineColor","LineStyle","LineWidth","SymbolBackgroundColor","SymbolLineColor","SymbolLineStyle","SymbolLineWidth","LabelTemplate","TooltipTemplate")),Value:Lt("",Kl)}))}),yKe=jt({Name:gn,Type:ri("dvchartoverlay"),OverlayType:_n("ReferenceLine",en("ReferenceLine","ReferenceBand","LinearTrendline","ExponentialTrendline","PowerTrendline","LogarithmicTrendline","PolynomialTrendline","FourierTrendline","MovingAverageTrendline","CumulativeMovingAverageTrendline","ExponentialMovingAverageTrendline","WeightedMovingAverageTrendline","MovingAnnualTotalTrendline")),Display:_n("Front",en("Front","Back")),Style:rn(Hi("Border","BackgroundColor")),Field:zi,DetailLevel:_n("Total",en("Group","Total")),LegendLabel:zi,Value:zi,Axis:_n("Y",en("X","Y")),AggregateType:_n("Average",en("Sum","Count","Average","Max","Min","Median","Percentile")),Start:ot(0,bt),End:ot(0,bt),Order:ot(2,bt),Period:ot(2,bt),ForwardForecastPeriod:ot(0,bt),BackwardForecastPeriod:ot(0,bt),Intercept:ot(null,Ja(bt))}),mKe=ln(rn({Action:bf,AxisMode:_n("Cartesian",en("Cartesian","Radial","Polygonal")),Bar:rn({BottomWidth:or(bt),NeckHeight:or(bt),Overlap:or(bt),TopWidth:or(bt),Width:or(bt)}),BarLines:Cr,BarLineStyle:rn({Color:Lt("Black",ia),Style:Ql("Solid",Gr.BorderStyle),Width:Lt("1pt",Fi)}),ClippingMode:_n("Clip",en("Clip","Fit","None")),CustomLabels:ln(jt({Type:ri("dvchartplotcustomlabel"),Style:rn(T(T({},Hi("TextDecoration","Color","WritingMode")),qm)),Text:ot("",ar),OffsetX:ot("0in",Ai),OffsetY:ot("0.5in",Ai)}),yL({}),Pn),InnerRadius:ot(0,bt),LineAspect:_n("Default",en("Default","Spline","StepCenter","StepLeft","StepRight")),LineStyle:rn({Color:Lt("",ia),Style:Ql("None",Gr.BorderStyle),Width:Lt("1pt",Fi)}),Offset:ot(0,bt),Opacity:ot(1,bt),Overlays:Pn(yKe),Pointers:ln(jt({Type:ri("dvchartplotpointer"),Style:rn({BackgroundColor:Lt("Black",ia)}),NeedleWidth:ot("0in",Ai),NeedlePinWidth:ot("0in",Ai),End:ot("",ar)}),yL({}),Pn),Radial:Cr,ShowNulls:_n("Gaps",en("Connected","Gaps","Zeros")),StartAngle:ot(0,bt),Style:rn({BackgroundColor:Lt("",ia)}),SwapAxes:Cr,Sweep:ot(360,bt),SymbolOpacity:ot(1,bt),SymbolSize:ot(10,bt),Symbols:Cr,SymbolShape:_n("Auto",en("Auto","Dot","Box","Diamond","Triangle","X","Dash","Plus")),SymbolStyle:rn(T({BackgroundColor:Lt("",ia)},Hi("Border"))),Text:rn({ConnectingLine:O5,LinePosition:_n("Auto",en("Auto","Center")),Offset:ot(0,bt),OverlappingLabels:_n("Auto",en("Auto","Show","Hide")),TextPosition:_n("Auto",en("Auto","Center","Inside","Outside")),Template:zi,Style:rn(T(T({},V5),Hi("BackgroundColor","Border")))}),Tooltip:rn({Template:Lt("",ar)}),Rules:Pn(gKe),UnpivotData:Cr})),vKe=jt({Type:ri("dvchartplot"),PlotType:_n("Bar",en("Bar","Line","Area","Scatter","HighLowOpenClose","Candlestick")),PlotName:ot("p1",gn),Encodings:rn({Values:Pn(fKe),Category:pKe,Details:Pn(hKe),Color:yz,Shape:yz,Size:yz,Texts:Pn(_Ke)}),Config:mKe,PlotChartType:_n("Custom",en("Custom","Column","Bar","Line","Pie","Area","Pyramid","Funnel","Scatter","Bubble","Gantt","Candlestick","HighLowClose","HighLowOpenClose","PolarColumn","PolarBar","RadarArea","RadarBubble","RadarScatter","RadarLine","RangeArea","RangeBar","RangeColumn","Gauge")),PlotChartSubtype:_n("Plain",en("Plain","Clustered","Stacked"))}),mz=ln(jt(z(T(T({},mu("dvchart")),CD),{Style:rn(T(T(T({},Wc),Xb),Hi("BackgroundColor","BackgroundImage","BackgroundGradientType","BackgroundGradientEndColor"))),Bar:rn({BottomWidth:ot(.55,bt),NeckHeight:ot(1,bt),Overlap:ot(0,bt),TopWidth:ot(.55,bt),Width:ot(.55,bt)}),Header:rn(T({Type:ri("dvchartheader")},Yue)),Footer:rn(T({Type:ri("dvchartfooter")},Yue)),Palette:lKe,CustomPalette:Pn(ia),Legend:rn(z(T({Type:ri("dvchartgloballegend")},que),{Wrapping:Gc})),PlotArea:rn({Type:ri("dvchartplotarea"),Axes:Pn(sKe),Legends:Pn(uKe),Style:rn(T(T({},Uc),Hi("BackgroundColor","Border")))}),Plots:Jm(vKe),AccessibleDescription:Lt("",ar)})),Or("Name")),vz=ln(jt(z(T({},mu("textbox")),{Action:bf,CanGrow:Cr,CanShrink:Cr,DataElementStyle:ot("Auto",Gr.DataElementStyle),KeepTogether:Cr,ToggleImage:mD({InitialState:p_},{InitialState:"False"},["InitialState"]),UserSort:mD({SortExpression:ar,SortExpressionScope:zi,SortTarget:zi},{SortExpression:""},["SortExpression"]),Value:Lt("",Kl),Style:ln(rn(T(T(T({},Wc),Xb),Hi("BackgroundColor","BackgroundImage","TextJustify","WrapMode","ShrinkToFit","LineSpacing","LineHeight","CharacterSpacing","Angle","HeadingLevel","MinCondenseRate"))),Ym),StyleName:ot("",gn),CustomCSSClasses:ot("",ar)})),Xm("Style",a=>a.StyleName!==""),Or("Name")),SKe=_n("MiddleLeft",en("TopLeft","TopCenter","TopRight","MiddleLeft","MiddleCenter","MiddleRight","BottomLeft","BottomCenter","BottomRight")),Xue=_n("Never",en("Never","Always","Restricted")),Kue=_n("None",en("None","LeftRight","TopBottom","Center","DiagonalLeft","DiagonalRight","HorizontalCenter","VerticalCenter")),Sz=ln(jt(z(T({},mu("checkbox")),{Action:bf,CheckAlignment:SKe,Text:Lt("",ar),Checked:ot("False",p_),DataElementStyle:Lt("Auto",Gr.DataElementStyle),Style:ln(rn(T(T(T(T({},Wc),Uc),qm),Hi("BackgroundColor","BackgroundImage","Color","WrapMode","TextDecoration"))),Ym),StyleName:ot("",gn),CustomCSSClasses:ot("",ar)})),Xm("Style",a=>a.StyleName!==""),Or("Name")),Que=mo({X:"0in",Y:"0in"},jt({X:mo("0in",Ai),Y:mo("0in",Ai)})),bz=ln(jt(z(T({},gL(mu("line"),"DataElementName","DataElementOutput","ToolTip")),{StartPoint:Que,EndPoint:Que,LineWidth:Lt("1pt",Fi),LineStyle:Ql("Solid",Gr.BorderStyle),LineColor:Lt("Black",ia),AccessibleDescription:Lt("",ar)})),Or("Name")),SL=a=>ln(jt(z(T({},mu("rectangle")),{PageBreak:ot("None",Gr.BreakLocation),NewPage:ot("Next",Gr.NewPage),KeepTogether:Cr,PageName:Lt("",ar),RoundingRadius:rn({Default:Lt("",Fi),TopLeft:Lt("",Fi),TopRight:Lt("",Fi),BottomLeft:Lt("",Fi),BottomRight:Lt("",Fi)}),ConsumeWhiteSpace:Cr,Overflow:_n("Auto",Gr.RectangleOverflow),LinkToChild:zi,Style:rn(T(T({},Wc),Hi("BackgroundColor","BackgroundImage"))),ReportItems:Pn(a)})),Or("Name")),ece=jt({Value:Lt("",Kl),Direction:_n("Ascending",en("Ascending","Descending"))}),Ly=Pn(ece),tce={Name:zi,DocumentMapLabel:ot("",ar),GroupExpressions:Pn(Kl),PageBreak:ot("None",Gr.BreakLocation),PageBreakDisabled:ot("False",p_),NewPage:ot("Next",Gr.NewPage),Filters:A5,ParentGroup:ot("",Kl),DataElementName:zi,DataElementOutput:ot("Output",Gr.DataElementOutput),DataCollectionName:zi,NewSection:Cr,Enabled:ot("True",p_)},Cz=jt(tce),rS=Lt({},Cz),wz=a=>ln(jt(z(T(T({},mu("list")),CD),{Action:bf,SortExpressions:Ly,KeepTogether:Cr,ConsumeWhiteSpace:Cr,DataInstanceName:zi,DataInstanceElementOutput:_n("Output",en("Output","NoOutput")),Group:rS,RowsOrColumnsCount:ot(1,bt),GrowDirection:_n("Column",en("Column","ColumnReverse","Row","RowReverse")),Style:ln(rn(T(T(T({},Wc),Xb),Hi("BackgroundColor","BackgroundImage"))),Ym),StyleName:ot("",gn),ReportItems:Pn(a)})),Xm("Style",u=>u.StyleName!==""),Or("Name")),Pz=a=>{const u=jt({Type:ri("tablecolumn"),Width:Km,FixedHeader:Cr,Visibility:Ay,AutoWidth:_n("None",en("None","Proportional")),CustomProperties:Pn(gg)}),o=ln(jt({Item:a,ColSpan:ot(1,bt),RowSpan:ot(1,bt),AutoMergeMode:Xue}),Or("Item")),p=jt({Action:bf,Type:ri("tablerow"),Height:Km,Visibility:Ay,TableCells:Pn(Ja(o)),CustomProperties:Pn(gg),RepeatAsBlankRow:_n("Auto",en("Auto","True","False"))}),f=jt({Type:ri("tableheader"),FixedHeader:Cr,TableRows:Pn(p),RepeatOnNewPage:Cr}),g=jt({Type:ri("tablefooter"),PrintAtBottom:Cr,TableRows:Pn(p),RepeatOnNewPage:Cr}),e=jt({Type:ri("tabledetails"),TableRows:Pn(p),Group:rS,SortExpressions:Ly,Visibility:Ay}),c=jt({Type:ri("tablegroup"),Group:rS,SortExpressions:Ly,Header:ot(null,Ja(f)),Footer:ot(null,Ja(g)),Visibility:Ay,KeepTogether:Cr,PreventOrphanedHeader:Gc,PreventOrphanedFooter:Gc});return ln(jt(z(T(T({},mu("table")),CD),{KeepTogether:Cr,FillPage:Cr,DetailDataElementName:zi,DetailDataCollectionName:zi,DetailDataElementOutput:ot("Auto",Gr.DataElementOutput),FrozenRows:ot(0,bt),FrozenColumns:ot(0,bt),RepeatToFill:Cr,RepeatBlankRows:_n("None",en("None","FillPage","FillGroup")),PreventOrphanedHeader:Gc,PreventOrphanedFooter:Gc,SortExpressions:Ly,Style:ln(rn(T(T(T({},Wc),Xb),Hi("BackgroundColor","BackgroundImage"))),Ym),StyleName:ot("",gn),TableColumns:Pn(u),Header:ot(null,Ja(f)),TableGroups:Pn(c),Details:ot(null,Ja(e)),Footer:ot(null,Ja(g)),MaxDetailsPerPage:ot("",Hl)})),Xm("Style",l=>l.StyleName!==""),Or("Name"))},bKe=a=>{const[u,o]=lz(),p=ln(a,Ki(jt({Children:Pn(u)})));return o(p),p},nce=a=>{const u=Lue(f=>{var g=f,{Children:o}=g,p=wn(g,["Children"]);return z(T({},a.f(p)),{Children:o.map(u.f)})},f=>{var g=f,{Children:o}=g,p=wn(g,["Children"]);return z(T({},a.frev(p)),{Children:o.map(u.frev)})});return u},bL=a=>{const u=jt({Item:a,LevelCount:ot(0,bt),Visibility:Ay}),o=ln(jt({Header:ot(null,Ja(u)),BodyIndex:ot(-1,bt),BodyCount:ot(1,bt),Visibility:Ay,DataElementName:zi,DataElementOutput:ot("Auto",Gr.DataElementOutput),KeepTogether:Cr,Group:Ja(jt(z(T({},tce),{PrintFooterAtBottom:Cr}))),KeepWithGroup:_n("None",en("None","Before","After")),RepeatOnNewPage:Cr,SortExpressions:Ly}),bKe),p={RowSpan:ot(1,bt),ColSpan:ot(1,bt),Item:ot(null,Ja(a))},f=jt(p),g=jt(z(T({},p),{AutoMergeMode:Xue})),e=jt({Height:Km,Cells:Pn(Ja(g)),CustomProperties:Pn(gg)}),c=rn({LevelSizes:Pn(Ai),CustomProperties:Pn(gg),Members:Pn(o)}),l=Jm(Ja(f));return ln(jt(z(T(T({},mu("tablix")),CD),{SortExpressions:Ly,KeepTogether:Cr,FrozenRows:ot(0,bt),FrozenColumns:ot(0,bt),RepeatColumnHeaders:Cr,RepeatRowHeaders:Cr,GroupsBeforeRowHeaders:ot(0,bt),LayoutDirection:ot("LTR",Gr.LayoutDirection),RowHierarchy:c,ColumnHierarchy:c,Corner:Pn(l),Body:rn({Columns:Pn(Ai),CustomProperties:Pn(gg),Rows:Pn(e)}),Style:ln(rn(T(T(T({},Wc),Xb),Hi("BackgroundColor","BackgroundImage"))),Ym),StyleName:ot("",gn)})),Xm("Style",r=>r.StyleName!==""),Or("Name"))},Dz=a=>{const u={Name:Ja(gn),Action:bf,CanShrink:Cr,CanGrow:Gc,KeepTogether:Gc,Height:Km,Visibility:Ay,PageBreak:ot("None",Gr.BreakLocation),NewPage:ot("Next",Gr.NewPage),CustomProperties:Pn(gg)},o=jt(z(T({Type:ri("bandedlistdetails")},u),{ReportItems:Pn(a)})),p=jt(z(T({Type:ri("bandedlistheader")},u),{RepeatOnNewPage:Cr,ReportItems:Pn(a)})),f=jt(z(T({Type:ri("bandedlistfooter")},u),{RepeatOnNewPage:Cr,PrintAtBottom:Cr,ReportItems:Pn(a)})),g=jt({Type:ri("bandedlistgroup"),Group:rS,SortExpressions:Ly,Visibility:Ay,KeepTogether:Cr,PreventOrphanedHeader:Cr,PreventOrphanedFooter:Cr,Header:ot(null,Ja(p)),Footer:ot(null,Ja(f))});return ln(jt(z(T(T({},mu("bandedlist")),gL(CD,"NoRowsMessage")),{KeepTogether:Cr,ConsumeWhiteSpace:Cr,PreventOrphanedHeader:Cr,PreventOrphanedFooter:Cr,Header:ot(null,Ja(p)),Details:ot(null,Ja(o)),Footer:ot(null,Ja(f)),Groups:Pn(g)})),Or("Name"))},CKe=_n("Office",en("Aspect","Blue","Blue2","BlueGreen","BlueWarm","Cerulan","Cocoa","Coral","Cyborg","Dark","Darkly","Flatly","Grayscale","Green","GreenYellow","HighContrast","Light","Marquee","Median","Midnight","Modern","Office","Office2010","Orange","OrangeRed","Organic","Paper","Red","RedOrange","RedViolet","Slate","Slipstream","Standard","Superhero","Violet","Violet2","Yellow","YellowOrange","Zen","Custom")),F5=T(T({},qm),Hi("Color","TextDecoration")),xz={Hidden:Cr,Orientation:_n("Vertical",en("Horizontal","Vertical")),Position:_n("Right",en("Left","Right","Top","Bottom")),Style:rn(T(T({},Uc),Hi("BackgroundColor","Border"))),TextStyle:rn(F5),TitleStyle:rn(F5),MaxHeight:ot(1,bt),MaxWidth:ot(1,bt),Title:Lt("",ar),Mode:ot("None",Gr.LegendMode)},rce={Style:rn(T(T(T({},Uc),Hi("BackgroundColor","Border")),F5)),Title:Lt("",ar),Height:dz(or(bt)),HAlign:_n("Center",en("Center","Left","Right")),VAlign:_n("Middle",en("Middle","Bottom","Top"))},wD=rn(Hi("Border")),wKe=rn({Type:ri("dvchartaxis"),AxisLine:Gc,AxisType:_n("X",en("X","Y")),DateMode:_n("Default",en("Default","Millisecond","Second","Minute","Hour","Day","Week","Month","Year")),Format:Lt("",ar),LabelAngle:ot(0,bt),LabelLayout:_n("None",en("None","Default","Clip","Ellipsis","Wrap")),Labels:Gc,LabelStyle:rn(T(T(T({},F5),Uc),Hi("WritingMode"))),LineStyle:wD,LogBase:ot(10,bt),MajorGrid:Cr,MajorGridStyle:wD,MajorTicks:_n("None",en("Inside","Outside","Cross","None")),MajorTickSize:Lt("4pt",Fi),MajorTickStyle:wD,MajorUnit:Lt("",Hl),Max:Lt("",Hl),Min:Lt("",Hl),MinorGrid:Cr,MinorGridStyle:wD,MinorTicks:_n("None",en("Inside","Outside","Cross","None")),MinorTickSize:Lt("2pt",Fi),MinorTickStyle:wD,MinorUnit:Lt("",Hl),Origin:Lt("",Hl),OverlappingLabels:_n("Auto",en("Auto","Show")),Plots:Pn(gn),Position:_n("Near",en("Near","Far","None")),Reversed:Cr,Scale:_n("Linear",en("Linear","Logarithmic","Ordinal","Percentage")),Style:wD,TextStyle:rn(T(T({},F5),Uc)),Title:Lt("",ar),TitleStyle:rn(T(T({},F5),Uc)),MaxHeight:ot(1,bt),MaxWidth:ot(1,bt),Width:ot(null,Ja(bt)),Height:ot(null,Ja(bt)),LabelRowCount:ot(1,bt)}),PKe=jt({Name:gn,Type:ri("dvchartoverlay"),OverlayType:_n("ReferenceLine",en("ReferenceLine","ReferenceBand","LinearTrendline","ExponentialTrendline","PowerTrendline","LogarithmicTrendline","PolynomialTrendline","FourierTrendline","MovingAverageTrendline","CumulativeMovingAverageTrendline","ExponentialMovingAverageTrendline","WeightedMovingAverageTrendline","MovingAnnualTotalTrendline")),Display:_n("Front",en("Front","Back")),Style:rn(Hi("Border","BackgroundColor")),Field:zi,DetailLevel:_n("Total",en("Group","Total")),LegendLabel:zi,Value:zi,Axis:_n("Y",en("X","Y")),AggregateType:_n("Average",en("Sum","Count","Average","Max","Min","Median","Percentile")),Start:ot(0,bt),End:ot(0,bt),Order:ot(2,bt),Period:ot(2,bt),ForwardForecastPeriod:ot(0,bt),BackwardForecastPeriod:ot(0,bt),Intercept:ot(null,Ja(bt))}),DKe=rn({Type:ri("chartseriesgrouping"),Grouping:rS,Sorting:Ly}),xKe=rn({Type:ri("chartcategorygrouping"),Grouping:rS,Sorting:Ly,Label:Lt("",ar)}),MKe=rn({Value:Lt("",ar),Offset:ot(0,bt),Style:rn(T(T({},F5),Hi("BackgroundColor","Border","Format"))),TextPosition:_n("Auto",en("Auto","Center","Inside","Outside")),LinePosition:_n("Auto",en("Auto","Center")),ConnectingLineStyle:rn({Color:Lt("",ia),Style:Ql("None",Gr.BorderStyle),Width:Lt("1pt",Fi)})}),TKe=rn({Value:Lt("",ar),Format:Lt("",ar)}),EKe=rn({Value:Lt("",ar),Caption:Lt("",ar)}),AKe=rn({Opacity:ot(1,bt),BorderOpacity:ot(1,bt),Size:ot(10,bt),Visible:Cr,Shape:_n("Auto",en("Auto","Dot","Box","Diamond","Triangle","X","Dash","Plus")),Style:rn(T({BackgroundColor:Lt("",ia)},Hi("Border")))}),LKe=rn({Type:ri("chartdataseries"),Name:zi,Values:Pn(Zm(EKe)),Label:MKe,ToolTip:TKe,Marker:AKe,Style:rn(T({BackgroundColor:Lt("",ia)},Hi("Border"))),Opacity:ot(1,bt),DataElementOutput:ot("Output",Gr.DataElementOutput),DataElementName:zi,Action:bf}),VKe=rn(T({Type:ri("chartcolorlegendseries"),Field:Lt("",ar),Action:bf},xz)),OKe=rn(z(T({Type:ri("chartsizelegendseries"),Field:Lt("",ar),Action:bf},xz),{IconColor:Lt("",ia),RangeOptions:Pn(jt({Title:zi,To:bt}))})),FKe=rn(z(T({Type:ri("chartshapelegendseries"),Field:Lt("",ar),Action:bf},xz),{IconColor:Lt("",ia)})),ice=ln(rn({AxisMode:_n("Cartesian",en("Cartesian","Radial","Polygonal")),Bar:rn({BottomWidth:or(bt),NeckHeight:or(bt),Overlap:or(bt),TopWidth:or(bt),Width:or(bt)}),BarLines:Cr,BarLineStyle:rn({Color:Lt("Black",ia),Style:Ql("Solid",Gr.BorderStyle),Width:Lt("1pt",Fi)}),ClippingMode:_n("Clip",en("Clip","Fit","None")),CustomLabels:ln(jt({Type:ri("dvchartplotcustomlabel"),Style:rn(T(T({},Hi("TextDecoration","Color","WritingMode")),qm)),Text:ot("",ar),OffsetX:ot("0in",Ai),OffsetY:ot("0.5in",Ai)}),E5({}),Zm,Pn),InnerRadius:ot(0,bt),LineAspect:_n("Default",en("Default","Spline","StepCenter","StepLeft","StepRight")),Offset:ot(0,bt),Overlays:Pn(PKe),Pointers:ln(jt({Type:ri("dvchartplotpointer"),Style:rn({BackgroundColor:Lt("Black",ia)}),NeedleWidth:ot("0in",Ai),NeedlePinWidth:ot("0in",Ai),End:ot("",ar)}),E5({}),Zm,Pn),ShowNulls:_n("Gaps",en("Connected","Gaps","Zeros")),StartAngle:ot(0,bt),SwapAxes:Cr,Sweep:ot(360,bt),SeriesArrangement:_n("Cluster",en("Cluster","Stack")),OverlappingLabels:_n("Auto",en("Auto","Show","Hide","Reposition"))})),RKe=rn({Type:ri("dvchartplot"),Name:zi,PlotType:_n("Column",en("Column","Bar","Line","Pie","Area","Pyramid","Funnel","Scatter","Bubble","Gantt","Candlestick","HighLowClose","HighLowOpenClose","PolarColumn","PolarBar","RadarArea","RadarBubble","RadarScatter","RadarLine","RangeArea","RangeBar","RangeColumn","Gauge","Custom")),Config:ice,SeriesGroupings:Pn(Zm(DKe)),CategoryGroupings:Pn(Zm(xKe)),DataSeries:Pn(Zm(LKe)),ColorSeries:VKe,SizeSeries:OKe,ShapeSeries:FKe}),Mz=ln(jt(z(T(T({},mu("chart")),CD),{Style:rn(T(T(T({},Wc),Xb),Hi("BackgroundColor","BackgroundImage","BackgroundGradientType","BackgroundGradientEndColor"))),Bar:rn({BottomWidth:or(bt),NeckHeight:or(bt),Overlap:or(bt),TopWidth:or(bt),Width:or(bt)}),Header:rn(T({Type:ri("dvchartheader")},rce)),Footer:rn(T({Type:ri("dvchartfooter")},rce)),Palette:CKe,CustomPalette:Pn(ia),PlotArea:rn({Type:ri("dvchartplotarea"),Axes:Pn(Zm(wKe)),Style:rn(T(T({},Uc),Hi("BackgroundColor","Border")))}),Plots:Pn(Zm(RKe)),AccessibleDescription:Lt("",ar)})),Or("Name")),Tz=ln(jt(z(T({},mu("sparkline")),{DataSetName:zi,DataSetParameters:Pn(mL),Filters:A5,SortExpressions:Ly,Group:rS,FillColor:ot("Black",ia),GradientStyle:Kue,GradientEndColor:ot("White",ia),LineColor:ot("Black",ia),LineWidth:ot("1pt",Fi),MarkerColor:ot("Black",ia),MarkerVisibility:Gc,MaximumColumnWidth:ot("",Fi),RangeFillColor:ot("Gray",ia),RangeGradientStyle:Kue,RangeGradientEndColor:ot("White",ia),RangeLowerBound:ot("",Hl),RangeUpperBound:ot("",Hl),RangeVisibility:Cr,SparklineType:_n("Line",en("Line","Columns","Whiskers","Area","StackedBar")),SeriesValue:ot("",Hl),AccessibleDescription:Lt("",ar)})),Or("Name")),IKe=jt({ParameterName:zi,Value:Lt("",Kl),Omit:Lt("false",p_)}),Ez=ln(jt(z(T({},mu("subreport")),{ReportName:zi,NoRowsMessage:Lt("",ar),KeepTogether:Cr,MergeTransactions:Cr,SubstituteThemeOnSubreport:Cr,InheritStyleSheet:Gc,Parameters:Pn(IKe),Style:rn(T(T({},Wc),Xb)),PageName:Lt("",ar)})),Or("Name")),Az=ln(jt(z(T({},mu("shape")),{Style:ln(rn(T(T({},Wc),Hi("BackgroundColor","BackgroundImage"))),Ym),StyleName:ot("",gn),RoundingRadius:rn({Default:Lt("",Fi),TopLeft:Lt("",Fi),TopRight:Lt("",Fi),BottomLeft:Lt("",Fi),BottomRight:Lt("",Fi)}),ShapeStyle:Ql("Rectangle",Gr.ShapeStyle),AccessibleDescription:Lt("",ar)})),Xm("Style",a=>a.StyleName!==""),Or("Name")),BKe=ln(jt({Type:ri("tableofcontentslevel"),LevelName:ot("",gn),DataElementName:zi,DisplayFillCharacters:Gc,DisplayPageNumber:Gc,Style:ln(rn(T(T(T({},qm),Uc),Hi("BackgroundColor","Color","TextDecoration","TextAlign","LeadingChar","TextIndent"))),Ym),StyleName:ot("",gn)}),Xm("Style",a=>a.StyleName!=="")),Lz=ln(jt(z(T({},mu("tableofcontents")),{Style:ln(rn(T(T({},Wc),Hi("BackgroundColor","MaxLevel"))),Ym),StyleName:ot("",gn),Levels:Pn(BKe),PageBreak:ot("None",Gr.BreakLocation),NewPage:ot("Next",Gr.NewPage)})),Xm("Style",a=>a.StyleName!==""),Or("Name")),NKe=en("None","Ansi39","Ansi39x","Aztec","BC412","Codabar","Code_11","Code_128_A","Code_128_B","Code_128_C","Code_128auto","Code_2_of_5","Code_93","Code25intlv","Code39","Code39x","Code49","Code93x","DataMatrix","EAN_13","EAN_8","EAN128FNC1","GS1DataMatrix","GS1QRCode","HIBCCode128","HIBCCode39","IATA_2_of_5","IntelligentMail","IntelligentMailPackage","ISBN","ISMN","ISSN","ITF14","JapanesePostal","Matrix_2_of_5","MaxiCode","MicroPDF417","MicroQRCode","MSI","Pdf417","Pharmacode","Plessey","PostNet","PZN","QRCode","RM4SCC","RSS14","RSS14Stacked","RSS14StackedOmnidirectional","RSS14Truncated","RSSExpanded","RSSExpandedStacked","RSSLimited","SSCC_18","Telepen","UCCEAN128","UPC_A","UPC_E0","UPC_E1"),kKe=en("SquareAuto","RectangularAuto","Square10","Square12","Square14","Square16","Square18","Square20","Square22","Square24","Square26","Square32","Square36","Square40","Square44","Square48","Square52","Square64","Square72","Square80","Square88","Square96","Square104","Square120","Square132","Square144","Rectangular8x18","Rectangular8x32","Rectangular12x26","Rectangular12x36","Rectangular16x36","Rectangular16x48"),HKe=en("Auto","Square9","Square11","Square13","Square15","Square17","Square19","Square21","Square23","Square25","Square27","Square29","Square31","Square33","Square35","Square37","Square39","Square41","Square43","Square45","Square47","Square49"),zKe=en("ColumnPriorAuto","RowPriorAuto","Version1X11","Version1X14","Version1X17","Version1X20","Version1X24","Version1X28","Version2X8","Version2X11","Version2X14","Version2X17","Version2X20","Version2X23","Version2X26","Version3X6","Version3X8","Version3X10","Version3X12","Version3X15","Version3X20","Version3X26","Version3X32","Version3X38","Version3X44","Version4X4","Version4X6","Version4X8","Version4X10","Version4X12","Version4X15","Version4X20","Version4X26","Version4X32","Version4X38","Version4X44"),Vz=ln(jt(z(T({},mu("barcode")),{Value:Lt("",Kl),InvalidBarcodeText:Lt("",ar),Symbology:_n("Ansi39",NKe),CheckSum:Gc,BarHeight:Km,CaptionGrouping:Gc,CaptionLocation:_n("None",en("None","Above","Below")),AztecOptions:rn({ErrorCorrection:ot(33,bt),Layers:ot(0,bt),Encoding:ot("65001",gn)}),Code49Options:rn({Grouping:Cr,GroupNumber:ot(0,bt)}),DataMatrixOptions:rn({EccMode:_n("ECC200",en("ECC000","ECC050","ECC080","ECC100","ECC140","ECC200")),Ecc200SymbolSize:_n("SquareAuto",kKe),Ecc200EncodingMode:_n("Auto",en("Auto","ASCII","C40","Text","X12","EDIFACT","Base256")),Ecc000_140SymbolSize:_n("Auto",HKe),StructuredAppend:Cr,StructureNumber:ot(0,bt),FileIdentifier:ot(0,bt),Encoding:ot("65001",gn)}),Ean128Fnc1Options:rn({Resolution:ot(96,bt),ModuleSize:ot(0,bt),BarAdjust:ot(0,bt)}),Gs1CompositeOptions:rn({CompositeType:_n("None",en("None","CCA")),Value:Lt("",ar)}),MaxiCodeOptions:rn({Mode:_n("Mode4",en("Mode2","Mode3","Mode4","Mode5","Mode6"))}),MicroPdf417Options:rn({CompactionMode:_n("Auto",en("Auto","TextCompactionMode","NumericCompactionMode","ByteCompactionMode")),Version:_n("ColumnPriorAuto",zKe),SegmentIndex:ot(0,bt),SegmentCount:ot(0,bt),FileID:ot(0,bt)}),MicroQrCodeOptions:rn({Version:_n("Auto",en("Auto","M1","M2","M3","M4")),ErrorLevel:_n("L",en("L","M","Q")),Mask:_n("Auto",en("Auto","Mask00","Mask01","Mask10","Mask11")),Encoding:ot("65001",gn)}),NarrowBarWidth:ot("",Ai),NWRation:ot(0,bt),Pdf417Options:rn({Columns:ot(-1,bt),Rows:ot(-1,bt),ErrorCorrectionLevel:_n("Level0",en("Level0","Level1","Level2","Level3","Level4","Level5","Level6","Level7","Level8")),Pdf417Type:_n("Normal",en("Normal","Simple"))}),QrCodeOptions:rn({Connection:Cr,ConnectionNumber:ot(0,bt),Version:ot(-1,bt),ErrorLevel:_n("L",en("M","L","H","Q")),Mask:_n("Auto",en("Auto","Mask000","Mask001","Mask010","Mask011","Mask100","Mask101","Mask110","Mask111")),Model:_n("Model2",en("Model1","Model2")),Encoding:ot("65001",gn)}),QuietZone:rn({Left:Km,Right:Km,Top:Km,Bottom:Km}),Rotation:ot("None",gn),RssExpandedStacked:rn({RowCount:ot(2,bt)}),SupplementOptions:rn({Value:zi,BarHeight:Km,CaptionLocation:ot("Above",gn),Spacing:Km}),Style:rn(T(T(T(T({},Wc),qm),Uc),Hi("BackgroundColor","Color","Format","TextAlign","TextDecoration"))),DataElementStyle:ot("Auto",Gr.DataElementStyle),AccessibleDescription:Lt("",ar)})),Or("Name")),Oz=ln(jt(z(T({},gL(mu("image"),"DataElementName","DataElementOutput")),{Action:bf,Source:_n("External",Gr.ImageSource),Value:Lt("",ar),MIMEType:WT(Lt("",ar)),Sizing:_n("AutoSize",en("AutoSize","Fit","FitProportional","Clip")),HorizontalAlignment:Ql("Left",Gr.HorizontalImageAlign),VerticalAlignment:Ql("Top",Gr.VerticalImageAlign),AccessibleDescription:Lt("",ar),ApplyExifOrientation:_n("Auto",en("Auto","True","False")),Style:ln(rn(T(T({},Wc),Uc)),Ym),StyleName:ot("",gn)})),Xm("Style",a=>a.StyleName!==""),Or("Name")),Fz=ln(jt(z(T({},mu("bullet")),{LabelFormat:Lt("",ar),LabelFontFamily:Lt("Arial",ar),LabelFontSize:Lt("10pt",Fi),LabelFontStyle:Ql("Regular",Gr.BulletLabelFontStyles),LabelFontColor:Lt("Black",ia),Orientation:_n("Horizontal",en("Horizontal","Vertical")),ShowLabels:Gc,TargetShape:_n("Line",en("Line","Square","Dot")),TargetLineColor:Lt("Black",ia),TargetLineWidth:Lt("3pt",Fi),TickMarks:_n("Outside",en("None","Inside","Outside")),TicksLineColor:Lt("LightGray",ia),TicksLineWidth:Lt("1pt",Fi),ValueColor:Lt("Black",ia),BestValue:ot("",Hl),Interval:ot("",Hl),Range1Boundary:ot("",Hl),Range2Boundary:ot("",Hl),TargetValue:ot("",Hl),Value:ot("",Hl),WorstValue:ot("",Hl),AccessibleDescription:Lt("",ar)})),Or("Name")),Rz=ln(jt(z(T({},mu("formattedtext")),{EncodeMailMergeFields:Gc,Html:Lt("",ar),MailMergeFields:Pn(jt({Name:gn,Value:Lt("",ar)})),Style:rn(T(T({},Wc),Hi("BackgroundColor","BackgroundImage"))),AccessibleDescription:Lt("",ar)})),Or("Name")),oce=ln(jt(z(T({},mu("inputfield")),{FieldName:zi,Readonly:Cr,Required:Cr,TabIndex:ot(null,Ja(bt))})),Or("Name")),Iz=az(a=>!a.InputType||a.InputType==="Text",a=>a.InputType==="Text",ln(oce,Ki(jt({InputType:ri("Text"),Password:Cr,Multiline:Cr,SpellCheck:Cr,MaxLength:ot(null,Ja(bt)),Value:ot("",ar),Style:rn(T(T(T({},Wc),qm),Hi("BackgroundColor","Color","TextAlign","Format")))}))),ln(oce,Ki(jt({InputType:uc("CheckBox"),Checked:ot("False",p_),CheckStyle:_n("Check",en("Check","Circle","Cross","Diamond","Square","Star")),CheckSize:Lt("10pt",Fi),Style:rn(T(T({},Wc),Hi("BackgroundColor","Color","TextAlign")))})))),$Ke=ln(jt({Name:gn,Value:ot("",Kl)}),Or("Name")),Bz=ln(jt(z(T({},mu("partitem")),{ReportPart:zi,Library:zi,Properties:Pn($Ke)})),Or("Name")),Nz=a=>ln(jt(z(T({},sz(mu("contentplaceholder"),"Type","Name","CustomProperties","ZIndex","LayerName")),{Text:zi,ConsumeWhiteSpace:Cr,ReportItems:Pn(a)})),Or("Name")),kz=ln({encode:({Item:a})=>a,decode:a=>di({Item:a})},Ki(jt(T({Type:ri("unknown")},_z))),Or("Name")),WKe="10.0.7",UKe=Hi("Border","TopBorder","RightBorder","BottomBorder","LeftBorder","BackgroundColor","BackgroundImag