UNPKG

@grapecity/activereports

Version:

ActiveReportsJS

8 lines 8.82 MB
/*! * @grapecity/activereports 5.2.3 * Description: ActiveReportsJS * https://www.npmjs.com/package/@grapecity/activereports * Copyright ©️ Respective Holders. All rights reserved. * Licensed under the Commercial license */ (function(Cr,io){typeof exports=="object"&&typeof module<"u"?io(exports,require("@grapecity/ar-js-pagereport")):typeof define=="function"&&define.amd?define(["exports","@grapecity/ar-js-pagereport"],io):(Cr=typeof globalThis<"u"?globalThis:Cr||self,io((Cr.GC=Cr.GC||{},Cr.GC.ActiveReports=Cr.GC.ActiveReports||{},Cr.GC.ActiveReports.ReportDesigner={}),Cr.GC.ActiveReports.Core))})(this,function(Cr,io){"use strict";var R8n=Object.defineProperty,I8n=Object.defineProperties;var k8n=Object.getOwnPropertyDescriptors;var CI=Object.getOwnPropertySymbols;var rRe=Object.prototype.hasOwnProperty,oRe=Object.prototype.propertyIsEnumerable;var eee=(Cr,io,fl)=>io in Cr?R8n(Cr,io,{enumerable:!0,configurable:!0,writable:!0,value:fl}):Cr[io]=fl,E=(Cr,io)=>{for(var fl in io||(io={}))rRe.call(io,fl)&&eee(Cr,fl,io[fl]);if(CI)for(var fl of CI(io))oRe.call(io,fl)&&eee(Cr,fl,io[fl]);return Cr},N=(Cr,io)=>I8n(Cr,k8n(io));var wI=Cr=>typeof Cr=="symbol"?Cr:Cr+"",zt=(Cr,io)=>{var fl={};for(var Dh in Cr)rRe.call(Cr,Dh)&&io.indexOf(Dh)<0&&(fl[Dh]=Cr[Dh]);if(Cr!=null&&CI)for(var Dh of CI(Cr))io.indexOf(Dh)<0&&oRe.call(Cr,Dh)&&(fl[Dh]=Cr[Dh]);return fl};var ks=(Cr,io,fl)=>eee(Cr,typeof io!="symbol"?io+"":io,fl);var x3e,E3e;const fl=Array.isArray;function Dh(a){const u=typeof a;return a!=null&&(u=="object"||u=="function")}function DI(a){return a!=null&&typeof a=="object"}function Nb(a,u){if(a===u)return!0;if(a==null||u==null||!DI(a)&&!DI(u))return a!==a&&u!==u;if(typeof a!=typeof u)return!1;switch(typeof a){case"object":return fl(a)?a.length===u.length&&a.every((o,d)=>Nb(o,u[d])):Nb(Object.keys(a).sort(),Object.keys(u).sort())&&Object.keys(a).every(o=>Nb(a[o],u[o]));default:return!1}}const lRe=Object.freeze(Object.defineProperty({__proto__:null,isArray:fl,isEqual:Nb,isObject:Dh,isObjectLike:DI},Symbol.toStringTag,{value:"Module"}));let Y6=[];function tee(){Y6=[]}function sRe(){return Y6}function Bs(a){Y6.push(N(E({},a),{context:pRe()}))}function Et(a,u,o,d,..._){switch(arguments.length){case 0:return;case 1:return a;case 2:return u(a);case 3:return o(u(a));case 4:return d(o(u(a)));default:return Et.apply(null,[d(o(u(a))),..._])}}const Wi=(a,u=[])=>({type:"success",value:a,warnings:u}),Qa=a=>({type:"error",reason:a}),$n=a=>a.type==="success"?a.value:void 0,uRe={decode:a=>Wi(a),encode:a=>a},di=a=>({decode:()=>Wi(a),encode:()=>{}}),cRe=a=>({decode:()=>Wi(a),encode:()=>{}});let K6;function PI(a,u){const o=K6;K6={part:a,next:o};try{return u()}finally{K6=o}}function pRe(){const a=[];for(let u=K6;u!=null&&u.part;u=u.next)a.unshift(u.part);return"".concat(...a)}const dRe=(a,...u)=>u.findIndex(o=>o===a)!==-1,Q6=(...a)=>({decode:u=>dRe(u,...a)?Wi(u):Qa(`expected ${a.map(o=>JSON.stringify(o)).join(" | ")}, got: '${u}'`),encode:u=>typeof u=="string"||typeof u=="number"||u===null?u:(Bs({type:"error",message:"expected a string value"}),u==null?void 0:u.toString())}),Lt={decode:a=>typeof a=="string"?Wi(a):Qa("expected string"),encode:a=>typeof a=="string"?a:(Bs({type:"error",message:"expected a string value"}),a==null?void 0:a.toString())},Ye={decode:a=>typeof a=="number"&&!Number.isNaN(a)?Wi(a):Qa("expected number"),encode:a=>typeof a=="number"?a:(Bs({type:"error",message:"expected a numeric value"}),a==null||Number.isNaN(+a)?void 0:+a)},dd={decode:a=>typeof a=="boolean"?Wi(a):Qa("expected boolean"),encode:a=>typeof a=="boolean"?a:(Bs({type:"error",message:"expected a bool value"}),a==null?void 0:!!a)},fn=a=>({decode:u=>u==null?Wi(void 0):a.decode(u),encode:u=>u===void 0?void 0:a.encode(u)}),nee=a=>({decode:a.decode,encode:()=>{}}),uo=a=>({decode:u=>u==null?Wi(null):a.decode(u),encode:u=>u==null?null:a.encode(u)}),ke=(a,u)=>({decode:o=>o===void 0?Wi(a):u.decode(o),encode:o=>{if(!(Array.isArray(o)&&o.length===0&&Array.isArray(a)&&a.length===0))return Nb(o,a)?void 0:u.encode(o)}}),st=(a,u)=>{const o=u.decode(a);if(o.type==="error")throw new Error("Failed to create a default result");const d=Object.freeze(o.value);return{decode:_=>_===void 0?Wi(d):u.decode(_),encode:_=>{const g=u.encode(_);return Nb(g,a)?void 0:g}}},ar=(a,u)=>({decode:o=>o===void 0?Wi(a):u.decode(o),encode:u.encode}),Ml=a=>ar(a,Q6(a)),I0=a=>u=>st(a,u),gt=a=>({decode:u=>{if(u==null)return Qa("non-null expected");const o={};for(const d in a){if(!{}.hasOwnProperty.call(a,d))continue;if(!a[d])return Qa(`${d}: missing property`);const _=a[d].decode(u[d]);if(_.type==="error")return Qa(`${d}: ${_.reason}`);o[d]=_.value}return Wi(o)},encode:u=>{if(u==null){Bs({type:"error",message:"non-null value is expected"});return}const o={};for(const d in a)({}).hasOwnProperty.call(a,d)&&PI(".",()=>{const _=PI(d,()=>a[d].encode(u[d]));_!==void 0&&(o[d]=_)});return o}}),wt=a=>st({},gt(a)),Un=(...a)=>u=>({decode:o=>{const d=a.find(_=>o[_]===void 0);return d!=null&&Bs({type:"error",message:`Property ${String(d)} is marked as required, but not provided`}),u.decode(o)},encode:o=>u.encode(o)}),xI=(a,u)=>Et(gt(a),Un(...u)),Hb=(a,u,o)=>st(u,xI(a,o)),Ph=a=>({decode:u=>{if(!fl(u))return Qa("array expected");const o=u.map(a.decode),d=o.find(_=>_.type==="error");return d&&d.type==="error"?Qa(d.reason):Wi(o.map($n))},encode:u=>{if(u!=null)return fl(u)?u.map((o,d)=>PI(`[${d}]`,()=>a.encode(o))):(Bs({type:"error",message:"array is expected"}),[])}}),jt=a=>ke([],Ph(a)),Ba=(a,u)=>o=>({decode:d=>{const _=o.decode(d);return _.type==="error"?_:Wi(a(_.value))},encode:d=>o.encode(u(d))}),hRe=(a,u)=>o=>({decode:d=>o.decode(u(d)),encode:d=>a(o.encode(d))}),Xi=a=>u=>({decode:o=>{const d=u.decode(o);if(d.type==="error")return Qa(d.reason);const _=a.decode(o);return _.type==="success"?Wi(E(E({},d.value),_.value)):Qa(_.reason)},encode:o=>E(E({},u.encode(o)),a.encode(o))}),gg=(a,u,o)=>({decode:d=>{const _=a(d)||"",g=o[_];return g==null?Qa(`Unknown or unsupported item type "${_}"`):g.decode(d)},encode:d=>{const _=o[u(d)];if(_==null)throw new Error(`unknown item type '${u(d)}'`);return _.encode(d)}}),TI=(a,u,o,d)=>({decode:_=>a(_)?o.decode(_):d.decode(_),encode:_=>u(_)?o.encode(_):d.encode(_)}),EI=()=>{const a=()=>{throw new Error("Cannot get here")},u={decode:a,encode:a};return[u,d=>{u.decode=d.decode,u.encode=d.encode}]},an=(...a)=>{const u={};a.forEach(d=>{u[d]=d,u[d.toLowerCase()]=d});const o=`expected ${a.map(d=>JSON.stringify(d)).join(" | ")}`;return{decode:d=>{const _=typeof d=="string"?u[d]||u[d.toLowerCase()]:void 0;return _!==void 0?Wi(_):Qa(`${o}, got: '${d}'`)},encode:d=>typeof d=="string"?d:(Bs({type:"error",message:"expected a string value"}),d==null?void 0:d.toString())}},Jt=(a,u)=>({decode:o=>{if(o===void 0)return Wi(a);const d=u.decode(o);return d.type==="success"?d:(Bs({type:"error",message:d.reason}),Wi(a))},encode:o=>o===a?void 0:u.encode(o)});function VI(a,...u){const o={};for(const d of u)o[d]=a[d];return o}function eV(a,...u){const o={},d=Object.keys(a);for(const _ of d)u.find(g=>g===_)||(o[_]=a[_]);return o}function AI(a,u={}){return Object.freeze($n(a.decode(u)))}const iee=()=>a=>a,RD=a=>({decode:u=>{tee();const o=a.decode(u),d=sRe();return o.type==="success"?Wi(o.value,d):o},encode:u=>(tee(),a.encode(u))}),fRe=()=>[...Y6],ree=(a,u)=>o=>({decode:d=>{const _=o.decode(d);return _.type==="error"?(Bs({type:"warning",message:_.reason}),a.decode(d)):_},encode:d=>u(d)?a.encode(d):o.encode(d)});function oee(a,u){return{f:a,frev:u}}function _Re(a,u){return{f:_=>{var g=_,{[a]:o}=g,d=zt(g,[wI(a)]);return N(E({},d),{[a]:u.f(o)})},frev:_=>{var g=_,{[a]:o}=g,d=zt(g,[wI(a)]);return N(E({},d),{[a]:u.frev(o)})}}}function gRe(a){return{f:u=>u===null?null:a.f(u),frev:u=>u===null?null:a.frev(u)}}function yRe(a){return{f:u=>u.map(a.f),frev:u=>u.map(a.frev)}}function mRe(a,u){return{f:()=>u,frev:()=>a}}function vRe(a,u){return{f:o=>u.f(a.f(o)),frev:o=>a.frev(u.frev(o))}}function SRe(a,u,o){return{f:d=>o.f(u.f(a.f(d))),frev:d=>a.frev(u.frev(o.frev(d)))}}function bRe(a,u,o,d){return{f:_=>d.f(o.f(u.f(a.f(_)))),frev:_=>a.frev(u.frev(o.frev(d.frev(_))))}}function CRe(a,u,o,d,_){return{f:g=>_.f(d.f(o.f(u.f(a.f(g))))),frev:g=>a.frev(u.frev(o.frev(d.frev(_.frev(g)))))}}function wRe(a,u,o,d){return{f:_=>a(_)?o.f(_):d.f(_),frev:_=>u(_)?o.frev(_):d.frev(_)}}function DRe(a){return Ba(a.f,a.frev)}function PRe(){return{f:a=>a,frev:a=>a}}const MI=Object.freeze(Object.defineProperty({__proto__:null,array:yRe,combine:vRe,combine3:SRe,combine4:bRe,combine5:CRe,identity:PRe,iif:wRe,make:oee,mapOfLens:DRe,nullable:gRe,prop:_Re,replace:mRe},Symbol.toStringTag,{value:"Module"})),aee=Object.freeze(Object.defineProperty({__proto__:null,Const:di,Default:ke,DefaultOf:st,Enum:Jt,Helpers:lRe,Lenses:MI,Temp:cRe,alt:gg,array:Ph,arrayDef:jt,boolean:dd,failure:Qa,getLastRecordedFailures:fRe,iif:TI,initValue:ar,intersectWith:Xi,justRead:nee,lazy:EI,literal:Q6,literalInit:Ml,makeDefaultOf:AI,map:Ba,mapInput:hRe,members:an,nullable:uo,number:Ye,omit:eV,optional:fn,orElse:ree,pick:VI,pipe:Et,recordFailure:Bs,recordFailures:RD,required:Un,resultOf:$n,string:Lt,success:Wi,type:gt,typeDef:wt,typeDefReq:Hb,typeReq:xI,unknown:uRe,upcast:iee,withDefaultOf:I0},Symbol.toStringTag,{value:"Module"})),xRe=Q6("ask","override","throw"),TRe=xI({reportType:Q6("CPL","FPL","Pageless"),masterReportId:fn(Lt)},["reportType"]);function lee(a,u,o){const d=a.decode(u);if(d.type==="error")throw new Error(o(d.reason));return d.value}const ERe=a=>see(a)?"":`=${a}`,VRe=a=>a,see=a=>a===""||a==="="||a==='=""',zb=()=>({decode:a=>typeof a=="string"?see(a)?Wi(""):Wi(a):a==null?Qa("non-null expected"):Wi(`${a}`),encode:a=>typeof a=="string"?a:(Bs({type:"error",message:"expected a enum/string value"}),a==null?void 0:a.toString())}),_n=zb(),bc=zb(),Ho=zb(),ta=zb(),Ri=zb(),Br=zb(),bt=(...a)=>{const u={};a.forEach(d=>{u[d]=d,u[d.toLowerCase()]=d});const o=`expected ${a.map(d=>JSON.stringify(d)).join(" | ")}`;return{decode:d=>{const _=typeof d=="string"?u[d]||u[d.toLowerCase()]:void 0;return _!==void 0?Wi(_):Qa(`${o}, got: '${d}'`)},encode:d=>typeof d=="string"?d:(Bs({type:"error",message:"expected a string value"}),d==null?void 0:d.toString())}},Ot=(a,u)=>({decode:o=>{if(o===void 0)return Wi(a);const d=u.decode(o);return d.type==="success"?d:(Bs({type:"error",message:d.reason}),Wi(a))},encode:o=>o===a?void 0:u.encode(o)}),na=(a,u)=>{const o=Ot(a,u);return{decode:d=>d===void 0?Wi(a):typeof d=="string"&&d.startsWith("=")?Wi(d):o.decode(d),encode:d=>{if(d!==a)return typeof d=="string"&&d.startsWith("=")?d:u.encode(d)}}},ARe=(a,u)=>o=>Et(o,Ba(_=>{var d=zt(_,[]);return N(E({},d),{Type:u})},_=>{var d=zt(_,[]);return N(E({},d),{Type:a})})),uee=(a,u)=>o=>({decode:d=>{const _=o.decode(d);return _.type==="error"?(Bs({type:"warning",message:_.reason}),a.decode(d)):_},encode:d=>u(d)?a.encode(d):o.encode(d)}),LI=a=>({decode:u=>typeof u=="string"&&u===""?a.decode(void 0):a.decode(u),encode:a.encode}),tV=a=>u=>({decode:o=>o===null?u.decode(a):u.decode(o),encode:u.encode}),ID=a=>({decode:u=>u===null?a.decode(void 0):a.decode(u),encode:a.encode}),xh=a=>({decode:u=>a.decode(u===null?void 0:u),encode:u=>{const o=a.encode(u);return o===void 0?null:o}}),cee=Object.freeze(Object.defineProperty({__proto__:null,AcceptBlankString:LI,Enum:Ot,EnumExpr:na,StoreUndefinedAsNull:xh,TreatNullAs:tV,TreatNullAsUndefined:ID,changeType:ARe,members:bt,orElse:uee},Symbol.toStringTag,{value:"Module"})),Fi=Lt,ei={FontStyle:bt("Default","Normal","Italic"),FontWeight:bt("Default","Lighter","Thin","ExtraLight","Light","Normal","Medium","SemiBold","Bold","ExtraBold","Heavy","Bolder"),BackgroundGradientType:bt("None","LeftRight","TopBottom","Center","DiagonalLeft","DiagonalRight","HorizontalCenter","VerticalCenter"),TextDecoration:bt("Default","None","Underline","DoubleUnderline","Overline","LineThrough"),TextAlign:bt("General","Left","Center","Right","Justify"),VerticalAlign:bt("Default","Top","Middle","Bottom"),VerticalImageAlign:bt("Top","Middle","Bottom"),HorizontalImageAlign:bt("Left","Center","Right"),WrapMode:bt("NoWrap","CharWrap","WordWrap"),Direction:bt("Default","LTR","RTL"),LayoutDirection:bt("LTR","RTL"),WritingMode:bt("lr-tb","tb-rl"),Calendar:bt("Default","Gregorian","GregorianArabic","GregorianMiddleEastFrench","GregorianTransliteratedEnglish","GregorianTransliteratedFrench","GregorianUSEnglish","Hebrew","Hijri","Japanese","Korean","Taiwan","ThaiBuddhist"),UnicodeBiDi:bt("Normal","Embed","BidiOverride"),UprightInVerticalText:bt("None","Digits","DigitsAndLatinLetters"),TextJustify:bt("Auto","Distribute","DistributeAllLines"),BorderStyle:bt("Default","None","Dotted","Dashed","Solid","Double","DashDot","DashDotDot","Groove","Ridge","Inset","WindowInset","Outset"),BorderSideStyle:bt("","Default","None","Dotted","Dashed","Solid","Double","DashDot","DashDotDot","Groove","Ridge","Inset","WindowInset","Outset"),BreakLocation:bt("Start","End","StartAndEnd","Between","None"),NewPage:bt("Next","Odd","Even"),DataElementOutput:bt("Auto","Output","NoOutput","ContentsOnly"),DataElementStyle:bt("Auto","AttributeNormal","ElementNormal"),ImageSource:bt("External","Embedded","Database"),ImageRepeat:bt("Repeat","NoRepeat","RepeatX","RepeatY"),ShapeStyle:bt("Rectangle","RoundRect","Ellipse"),ApplyValueCmd:bt("Set","Reset","Toggle"),ReportPartPropertyType:bt("boolean","integer","float","string","color","length","fontFamily","fontSize","fontStyle","fontWeight","textDecoration","lineWidth","borderStyle","lineStyle"),RectangleOverflow:bt("Scroll","Clip","Auto","Grow"),BulletLabelFontStyles:bt("Regular","Bold","Italic","Underline","Strikeout"),ParagraphTextAlign:bt("Left","Center","Right","Justify"),LegendMode:bt("None","DataValues","SeriesGroups","Custom")},hd=wt({Hidden:ke("False",bc),ToggleItem:ke("",Lt)}),pee=Et(gt({Type:di("parameter"),ParameterName:Lt,Value:ke("",ta),Omit:ke("false",bc)}),Un("ParameterName")),dee=Et(gt({Name:ke("",Lt),Type:Ot("Set",ei.ApplyValueCmd),Value:ke("",ta)}),Un("Name")),Hu=Et(gt({Hyperlink:st("",_n),Drillthrough:wt({ReportName:ke("",_n),Parameters:jt(pee)}),BookmarkLink:st("",_n),ApplyParameters:wt({Parameters:jt(dee)})}),I0({}),ID),hee=bt("Equal","Like","NotEqual","GreaterThan","GreaterThanOrEqual","LessThan","LessThanOrEqual","TopN","BottomN","TopPercent","BottomPercent","In","Between"),fee=Et(gt({FilterExpression:ar("",ta),Operator:ar("Equal",hee),FilterValues:jt(ta)}),Un("FilterExpression","Operator","FilterValues")),k0=jt(fee),MRe={encode:()=>({}),decode:a=>{const _=a,{Name:u,Value:o}=_,d=zt(_,["Name","Value"]);return Object.keys(d).length===0?Wi({}):Wi({$legacy:d})}},nV=Et(gt({Name:Lt,Value:st("",ta)}),Xi(MRe),Un("Name","Value")),iV=Et(gt({Name:Lt,Value:ar("",ta)}),Un("Name","Value")),rV=wt({Color:st("",Br),Style:na("",ei.BorderSideStyle),Width:st("",Ri)}),LRe=wt({Source:Jt("External",ei.ImageSource),Value:ke("",_n),MIMEType:st("",_n),BackgroundRepeat:na("Repeat",ei.ImageRepeat)}),FI={Border:wt({Color:st("Black",Br),Style:na("None",ei.BorderStyle),Width:st("1pt",Ri)}),TopBorder:rV,RightBorder:rV,BottomBorder:rV,LeftBorder:rV,BackgroundColor:st("Transparent",Br),BackgroundGradientEndColor:st("Transparent",Br),BackgroundGradientType:na("None",ei.BackgroundGradientType),BackgroundImage:LRe,FontStyle:na("Normal",ei.FontStyle),FontFamily:st("Arial",_n),FontSize:st("10pt",Ri),FontWeight:na("Normal",ei.FontWeight),LineHeight:ke("1pt",Ri),LineSpacing:st("",Ri),CharacterSpacing:st("",Ri),Format:st("",_n),TextDecoration:na("None",ei.TextDecoration),TextAlign:na("General",ei.TextAlign),VerticalAlign:na("Top",ei.VerticalAlign),WrapMode:na("WordWrap",ei.WrapMode),Color:st("Black",Br),PaddingLeft:st("0pt",Ri),PaddingRight:st("0pt",Ri),PaddingTop:st("0pt",Ri),PaddingBottom:st("0pt",Ri),Direction:na("LTR",ei.Direction),WritingMode:na("lr-tb",ei.WritingMode),Language:st("",_n),Calendar:na("Gregorian",ei.Calendar),NumeralLanguage:st("",_n),NumeralVariant:ke("1",Ho),UnicodeBiDi:na("Normal",ei.UnicodeBiDi),UprightInVerticalText:na("None",ei.UprightInVerticalText),TextIndent:st("0.5in",Fi),LeadingChar:ke("",_n),MaxLevel:st("0",Ho),HeadingLevel:st("",Ho),ShrinkToFit:ke("False",bc),TextJustify:na("Auto",ei.TextJustify),Angle:ke("0",Ho),MinCondenseRate:ke("100",Ho),DisplayFillCharacters:ke("True",bc),DisplayPageNumber:ke("True",bc)},FRe=gt(FI),Ni=(...a)=>VI(FI,...a),Jl=Ni("Border","TopBorder","BottomBorder","LeftBorder","RightBorder"),Th=Ni("FontFamily","FontSize","FontStyle","FontWeight"),Zl=Ni("PaddingLeft","PaddingRight","PaddingTop","PaddingBottom"),cm=E(E(E({},Th),Zl),Ni("Color","Format","LineHeight","TextAlign","TextDecoration","VerticalAlign","Calendar","Direction","Language","NumeralLanguage","NumeralVariant","UnicodeBiDi","UprightInVerticalText","WritingMode")),_ee=(a,u)=>{const o={};return Object.keys(u).forEach(d=>{if(u[d]instanceof Object)o[d]=_ee(a==null?void 0:a[d],u[d]);else{const _=d in(a??{});o[d]=_?"modified":"default"}}),o},gee=(a,u,o)=>{const d={};return Object.keys(a).forEach(_=>{if(o[_]instanceof Object){const g=gee(a[_],u[_],o[_]);g&&(d[_]=g)}else o[_]==="modified"&&(d[_]=u&&u[_]||a[_])}),Object.keys(d).length?d:void 0},Eh=a=>({decode:u=>{const o=a.decode(u);if(o.type==="error")return o;const d=o.value,_=_ee(u,d);return Wi(N(E({},d),{$status:_}))},encode:u=>{const{$status:o}=u;return gee(u,a.encode(u)??{},o)}}),yee=a=>{const u={};return Object.keys(a).forEach(o=>{a[o]instanceof Object?u[o]=yee(a[o]):u[o]=a[o]==="default"?"inherit":a[o]}),u},ORe=(a,u)=>o=>{if(!u(o)||!(a in o))return o;const c=o,{[a]:s}=c,i=s,{$status:d}=i,_=zt(i,["$status"]),g=zt(c,[wI(a)]),e=yee(d);return E({[a]:E({$status:e},_)},g)},Vh=(a,u)=>Ba(ORe(a,u),o=>o),B0=ke(!1,dd),$b=ke("",Lt),Wb=bt("Auto","True","False"),mee=Hb({DataSetName:Lt,ValueField:Lt,LabelField:$b},{DataSetName:"",ValueField:""},["DataSetName","ValueField"]),RRe=gt({Value:fn(ta),Label:fn(ta)}),IRe=st({},gt({Condition:ar("None",bt("None","Label","Value")),Direction:Ot("Ascending",bt("Ascending","Descending"))})),kRe=st({},gt({ParameterValues:jt(RRe),DataSetReference:mee,OrderBy:IRe})),BRe=st({},gt({Values:jt(ta),DataSetReference:mee})),NRe=Et(Ot("Auto",Wb),Ba(a=>a==="True",a=>a?"True":"Auto")),vee=Et(gt({Type:di("reportparameter"),AllowBlank:B0,DataType:ar("String",bt("Boolean","Date","DateTime","Integer","Float","String")),DefaultValue:BRe,Hidden:B0,Multiline:B0,MultiValue:B0,EnableEmptyArray:NRe,Name:Lt,Nullable:B0,Prompt:ke("",_n),SelectAllValue:st("",ta),UsedInQuery:Ot("Auto",Wb),ValidValues:kRe,DisplayFormat:ke("",_n)}),Un("Name","DataType")),OI=Et(gt({Name:Lt,Transaction:B0,DataSourceReference:$b,ConnectionProperties:Hb({DataProvider:Lt,ConnectString:ke("",_n),IntegratedSecurity:B0,Prompt:$b},{DataProvider:""},["DataProvider"])})),See=Et(gt({Name:$b,DataField:$b,Value:st("",ta)}),Un("Name")),RI=Et(gt({Name:Lt,Fields:jt(See),Query:Hb({DataSourceName:Lt,CommandType:Ot("Text",bt("Text","StoredProcedure","TableDirect")),CommandText:ID(st("",_n)),QueryParameters:jt(nV),Timeout:ke(0,Ye)},{DataSourceName:""},["DataSourceName"]),Filters:k0,CaseSensitivity:ar("Auto",Wb),Collation:$b,KanatypeSensitivity:ar("Auto",Wb),AccentSensitivity:ar("Auto",Wb),WidthSensitivity:ar("Auto",Wb)}),Un("Name")),kn=ke(!1,dd),ql=ke(!0,dd),Hi=ke("",Lt),Ah=st("0in",Fi),oV={Name:Lt,ZIndex:ke(0,Ye),Visibility:hd,ToolTip:st("",_n),Bookmark:st("",_n),DataElementName:ke("",Lt),DataElementOutput:ke("Auto",ei.DataElementOutput),Label:st("",_n),LayerName:ke("default",Lt),CustomProperties:jt(iV)},el=a=>E({Type:Ml(a)},oV),Gb={NoRowsMessage:st("",_n),DataSetName:Hi,DataSetParameters:jt(nV),PageBreak:ke("None",ei.BreakLocation),NewPage:ke("Next",ei.NewPage),Filters:k0,PageName:st("",_n),NewSection:kn},bee={FontFamily:fn(_n),FontSize:fn(Ri),FontStyle:fn(ei.FontStyle),FontWeight:fn(ei.FontWeight),Color:fn(Br),LineSpacing:fn(Ri),BackgroundColor:fn(Br),TextDecoration:fn(ei.TextDecoration)},HRe=Et(gt({Type:Ml("text"),Action:Hu,Label:Hi,Value:ke("",_n),StyleName:Hi,Style:wt(N(E({},bee),{Subscript:fn(bc),Superscript:fn(bc)})),ToolTip:ke("",_n)}),Un("Type")),zRe=Et(gt({Type:Ml("image"),Action:Hu,Label:Hi,Source:Ot("External",ei.ImageSource),Value:st("",_n),Width:st("1in",Ri),Height:st("1in",Ri),MIMEType:Et(st("",_n),ID),ToolTip:ke("",_n)}),Un("Type")),$Re=gg(a=>a.Type||"text",a=>a.Type,{text:HRe,image:zRe}),WRe=gt({TextRuns:jt($Re),LeftIndent:fn(Ri),RightIndent:fn(Ri),HangingIndent:fn(Ri),StyleName:Hi,Style:wt(N(E({},bee),{TextAlign:fn(ei.ParagraphTextAlign)})),ListStyle:Ot("None",bt("None","Numbered","Bullet")),ListLevel:ke(0,Ye),ListItemIndex:ke(0,Ye),SpaceBefore:fn(Ri),SpaceAfter:fn(Ri),ListStyleType:fn(Ot("None",bt("None","Disc","Circle","Square","Decimal","DecimalLeadingZero","CircledNumber","LowerRoman","UpperRoman","LowerLatin","UpperLatin","LowerGreek","UpperGreek","Katakana","KatakanaBrackets","KatakanaIrohaBrackets","KatakanaIroha","KatakanaLower","KatakanaIrohaLower")))}),Cee=Et(gt(N(E({},el("richtext")),{CanGrow:kn,DataElementStyle:ke("Auto",ei.DataElementStyle),KeepTogether:kn,Style:wt(E(E(E(E({},Jl),Th),Zl),Ni("Color","LineHeight","BackgroundColor","BackgroundImage","VerticalAlign")))})),Un("Name")),II=gg(a=>a.MarkupType||"None",a=>a.MarkupType,{None:Et(Cee,Xi(gt({MarkupType:di("None"),Paragraphs:jt(WRe)}))),HTML:Et(Cee,Xi(gt({MarkupType:Ml("HTML"),Value:ta})))}),kD=Ot("None",bt("None","Average","Count","CountDistinct","CountOfAll","List","Max","Min","PopulationStandardDeviation","PopulationVariance","Range","StandardDeviation","Sum","Variance")),GRe=Ot("Office",bt("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")),N0=E(E({},Th),Ni("Color","TextDecoration")),wee={Hidden:kn,Orientation:Ot("Horizontal",bt("Horizontal","Vertical")),Position:Ot("Right",bt("Left","Right","Top","Bottom")),Style:wt(E(E({},Zl),Ni("BackgroundColor","Border"))),TextStyle:wt(N0),TitleStyle:wt(N0)},Dee={Style:wt(E(E({},Zl),Ni("BackgroundColor","Border"))),TextStyle:wt(N0),Title:st("",_n),Height:LI(fn(Ye)),HAlign:Ot("Center",bt("Center","Left","Right")),VAlign:Ot("Middle",bt("Middle","Bottom","Top"))},H0=wt(Ni("Border")),URe=gt({Type:di("dvchartaxis"),AxisLine:ql,AxisType:Ot("X",bt("X","Y")),DateMode:Ot("Default",bt("Default","Millisecond","Second","Minute","Hour","Day","Week","Month","Year")),Format:st("",_n),LabelAngle:ke(0,Ye),LabelField:st("",_n),Labels:ql,LabelStyle:wt(E(E(E({},N0),Zl),Ni("WritingMode"))),LineStyle:H0,LogBase:ke(10,Ye),MajorGrid:kn,MajorGridStyle:H0,MajorTicks:Ot("None",bt("Inside","Outside","Cross","None")),MajorTickSize:st("4pt",Ri),MajorTickStyle:H0,MajorUnit:st("",Ho),Max:st("",Ho),Min:st("",Ho),MinorGrid:kn,MinorGridStyle:H0,MinorTicks:Ot("None",bt("Inside","Outside","Cross","None")),MinorTickSize:st("2pt",Ri),MinorTickStyle:H0,MinorUnit:st("",Ho),Origin:st("",Ho),OverlappingLabels:Ot("Auto",bt("Auto","Show")),Plots:jt(Lt),Position:Ot("Near",bt("Near","Far","None")),Reversed:kn,Scale:Ot("Linear",bt("Linear","Logarithmic","Ordinal","Percentage")),Style:H0,TextStyle:wt(E(E({},N0),Zl)),Title:st("",_n),TitleStyle:wt(E(E({},N0),Zl)),MaxHeight:ke(1,Ye),MaxWidth:ke(1,Ye),Width:ke(null,uo(Ye)),Height:ke(null,uo(Ye)),LabelRowCount:ke(1,Ye)}),jRe=gt(N(E({Type:di("dvchartlegend")},wee),{MaxHeight:ke(1,Ye),MaxWidth:ke(1,Ye),Title:st("",_n),LegendType:Ot("Color",bt("Color","Shape","Size")),IconColor:st("",Br),RangeOptions:jt(gt({Title:Hi,To:Ye}))})),BD=wt({FieldType:Ml("Simple"),Value:jt(ta),Captions:Et(Lt,tV(""),jt)}),JRe=wt({FieldType:Ml("Complex"),Subfields:jt(gt({Key:Lt,Value:st("",ta),Caption:Hi}))}),ZRe=TI(a=>(a==null?void 0:a.FieldType)==="Complex",a=>a.FieldType==="Complex",JRe,BD),qRe=wt({Type:di("dvchartcategoryencoding"),Field:BD,Sort:Ot("None",bt("None","Ascending","Descending")),SortingField:st("",ta),SortingAggregate:kD}),XRe=gt({Type:di("dvchartdetailsencoding"),Field:BD,Group:Ot("None",bt("None","Cluster","Stack")),ExcludeNulls:kn,Sort:Ot("None",bt("None","Ascending","Descending")),SortingField:st("",ta),SortingAggregate:kD}),kI=wt({Type:di("dvchartaggregateencoding"),Field:BD,Aggregate:kD,Action:Hu}),YRe=gt({Type:di("dvchartvalueaggregateencoding"),Field:ZRe,Aggregate:kD}),KRe=gt({Type:di("dvcharttextencoding"),Field:BD,Target:Ot("Label",bt("Label","ToolTip")),Aggregate:kD}),QRe=gt({Name:ar("",Lt),Type:di("dvchartrule"),Condition:st("",_n),RuleProperties:jt(gt({TargetProperty:Ot("BackgroundColor",bt("BackgroundColor","LineColor","LineStyle","LineWidth","SymbolBackgroundColor","SymbolLineColor","SymbolLineStyle","SymbolLineWidth","LabelTemplate","TooltipTemplate")),Value:st("",ta)}))}),eIe=gt({Name:Lt,Type:di("dvchartoverlay"),OverlayType:Ot("ReferenceLine",bt("ReferenceLine","ReferenceBand","LinearTrendline","ExponentialTrendline","PowerTrendline","LogarithmicTrendline","PolynomialTrendline","FourierTrendline","MovingAverageTrendline","CumulativeMovingAverageTrendline","ExponentialMovingAverageTrendline","WeightedMovingAverageTrendline","MovingAnnualTotalTrendline")),Display:Ot("Front",bt("Front","Back")),Style:wt(Ni("Border","BackgroundColor")),Field:Hi,DetailLevel:Ot("Total",bt("Group","Total")),LegendLabel:Hi,Value:Hi,Axis:Ot("Y",bt("X","Y")),AggregateType:Ot("Average",bt("Sum","Count","Average","Max","Min","Median","Percentile")),Start:ke(0,Ye),End:ke(0,Ye),Order:ke(2,Ye),Period:ke(2,Ye),ForwardForecastPeriod:ke(0,Ye),BackwardForecastPeriod:ke(0,Ye),Intercept:ke(null,uo(Ye))}),tIe=Et(wt({Action:Hu,AxisMode:Ot("Cartesian",bt("Cartesian","Radial","Polygonal")),Bar:wt({BottomWidth:fn(Ye),NeckHeight:fn(Ye),Overlap:fn(Ye),TopWidth:fn(Ye),Width:fn(Ye)}),BarLines:kn,BarLineStyle:wt({Color:st("Black",Br),Style:na("Solid",ei.BorderStyle),Width:st("1pt",Ri)}),ClippingMode:Ot("Clip",bt("Clip","Fit","None")),CustomLabels:Et(gt({Type:di("dvchartplotcustomlabel"),Style:wt(E(E({},Ni("TextDecoration","Color","WritingMode")),Th)),Text:ke("",_n),OffsetX:ke("0in",Fi),OffsetY:ke("0.5in",Fi)}),tV({}),jt),InnerRadius:ke(0,Ye),LineAspect:Ot("Default",bt("Default","Spline","StepCenter","StepLeft","StepRight")),LineStyle:wt({Color:st("",Br),Style:na("None",ei.BorderStyle),Width:st("1pt",Ri)}),Offset:ke(0,Ye),Opacity:ke(1,Ye),Overlays:jt(eIe),Pointers:Et(gt({Type:di("dvchartplotpointer"),Style:wt({BackgroundColor:st("Black",Br)}),NeedleWidth:ke("0in",Fi),NeedlePinWidth:ke("0in",Fi),End:ke("",_n)}),tV({}),jt),Radial:kn,ShowNulls:Ot("Gaps",bt("Connected","Gaps","Zeros")),StartAngle:ke(0,Ye),Style:wt({BackgroundColor:st("",Br)}),SwapAxes:kn,Sweep:ke(360,Ye),SymbolOpacity:ke(1,Ye),SymbolSize:ke(10,Ye),Symbols:kn,SymbolShape:Ot("Auto",bt("Auto","Dot","Box","Diamond","Triangle","X","Dash","Plus")),SymbolStyle:wt(E({BackgroundColor:st("",Br)},Ni("Border"))),Text:wt({ConnectingLine:H0,LinePosition:Ot("Auto",bt("Auto","Center")),Offset:ke(0,Ye),OverlappingLabels:Ot("Auto",bt("Auto","Show","Hide")),TextPosition:Ot("Auto",bt("Auto","Center","Inside","Outside")),Template:Hi,Style:wt(E(E({},N0),Ni("BackgroundColor","Border")))}),Tooltip:wt({Template:st("",_n)}),Rules:jt(QRe),UnpivotData:kn})),nIe=gt({Type:di("dvchartplot"),PlotType:Ot("Bar",bt("Bar","Line","Area","Scatter","HighLowOpenClose","Candlestick")),PlotName:ke("p1",Lt),Encodings:wt({Values:jt(YRe),Category:qRe,Details:jt(XRe),Color:kI,Shape:kI,Size:kI,Texts:jt(KRe)}),Config:tIe,PlotChartType:Ot("Custom",bt("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:Ot("Plain",bt("Plain","Clustered","Stacked"))}),BI=Et(gt(N(E(E({},el("dvchart")),Gb),{Style:wt(E(E(E({},Jl),cm),Ni("BackgroundColor","BackgroundImage","BackgroundGradientType","BackgroundGradientEndColor"))),Bar:wt({BottomWidth:ke(.55,Ye),NeckHeight:ke(1,Ye),Overlap:ke(0,Ye),TopWidth:ke(.55,Ye),Width:ke(.55,Ye)}),Header:wt(E({Type:di("dvchartheader")},Dee)),Footer:wt(E({Type:di("dvchartfooter")},Dee)),Palette:GRe,CustomPalette:jt(Br),Legend:wt(N(E({Type:di("dvchartgloballegend")},wee),{Wrapping:ql})),PlotArea:wt({Type:di("dvchartplotarea"),Axes:jt(URe),Legends:jt(jRe),Style:wt(E(E({},Zl),Ni("BackgroundColor","Border")))}),Plots:Ph(nIe),AccessibleDescription:st("",_n)})),Un("Name")),NI=Et(gt(N(E({},el("textbox")),{Action:Hu,CanGrow:kn,CanShrink:kn,DataElementStyle:ke("Auto",ei.DataElementStyle),KeepTogether:kn,ToggleImage:Hb({InitialState:bc},{InitialState:"False"},["InitialState"]),UserSort:Hb({SortExpression:_n,SortExpressionScope:Hi,SortTarget:Hi},{SortExpression:""},["SortExpression"]),Value:st("",ta),Style:Et(wt(E(E(E({},Jl),cm),Ni("BackgroundColor","BackgroundImage","TextJustify","WrapMode","ShrinkToFit","LineSpacing","LineHeight","CharacterSpacing","Angle","HeadingLevel","MinCondenseRate"))),Eh),StyleName:ke("",Lt),CustomCSSClasses:ke("",_n)})),Vh("Style",a=>a.StyleName!==""),Un("Name")),iIe=Ot("MiddleLeft",bt("TopLeft","TopCenter","TopRight","MiddleLeft","MiddleCenter","MiddleRight","BottomLeft","BottomCenter","BottomRight")),Pee=Ot("Never",bt("Never","Always","Restricted")),xee=Ot("None",bt("None","LeftRight","TopBottom","Center","DiagonalLeft","DiagonalRight","HorizontalCenter","VerticalCenter")),HI=Et(gt(N(E({},el("checkbox")),{Action:Hu,CheckAlignment:iIe,Text:st("",_n),Checked:ke("False",bc),DataElementStyle:st("Auto",ei.DataElementStyle),Style:Et(wt(E(E(E(E({},Jl),Zl),Th),Ni("BackgroundColor","BackgroundImage","Color","WrapMode","TextDecoration"))),Eh),StyleName:ke("",Lt),CustomCSSClasses:ke("",_n)})),Vh("Style",a=>a.StyleName!==""),Un("Name")),Tee=ar({X:"0in",Y:"0in"},gt({X:ar("0in",Fi),Y:ar("0in",Fi)})),zI=Et(gt(N(E({},eV(el("line"),"DataElementName","DataElementOutput","ToolTip")),{StartPoint:Tee,EndPoint:Tee,LineWidth:st("1pt",Ri),LineStyle:na("Solid",ei.BorderStyle),LineColor:st("Black",Br),AccessibleDescription:st("",_n)})),Un("Name")),aV=a=>Et(gt(N(E({},el("rectangle")),{PageBreak:ke("None",ei.BreakLocation),NewPage:ke("Next",ei.NewPage),KeepTogether:kn,PageName:st("",_n),RoundingRadius:wt({Default:st("",Ri),TopLeft:st("",Ri),TopRight:st("",Ri),BottomLeft:st("",Ri),BottomRight:st("",Ri)}),ConsumeWhiteSpace:kn,Overflow:Ot("Auto",ei.RectangleOverflow),LinkToChild:Hi,Style:wt(E(E({},Jl),Ni("BackgroundColor","BackgroundImage"))),ReportItems:jt(a)})),Un("Name")),Eee=gt({Value:st("",ta),Direction:Ot("Ascending",bt("Ascending","Descending"))}),fd=jt(Eee),Vee={Name:Hi,DocumentMapLabel:ke("",_n),GroupExpressions:jt(ta),PageBreak:ke("None",ei.BreakLocation),PageBreakDisabled:ke("False",bc),NewPage:ke("Next",ei.NewPage),Filters:k0,ParentGroup:ke("",ta),DataElementName:Hi,DataElementOutput:ke("Output",ei.DataElementOutput),DataCollectionName:Hi,NewSection:kn,Enabled:ke("True",bc)},$I=gt(Vee),yg=st({},$I),WI=a=>Et(gt(N(E(E({},el("list")),Gb),{Action:Hu,SortExpressions:fd,KeepTogether:kn,ConsumeWhiteSpace:kn,DataInstanceName:Hi,DataInstanceElementOutput:Ot("Output",bt("Output","NoOutput")),Group:yg,RowsOrColumnsCount:ke(1,Ye),GrowDirection:Ot("Column",bt("Column","ColumnReverse","Row","RowReverse")),Style:Et(wt(E(E(E({},Jl),cm),Ni("BackgroundColor","BackgroundImage"))),Eh),StyleName:ke("",Lt),ReportItems:jt(a)})),Vh("Style",u=>u.StyleName!==""),Un("Name")),GI=a=>{const u=gt({Type:di("tablecolumn"),Width:Ah,FixedHeader:kn,Visibility:hd,AutoWidth:Ot("None",bt("None","Proportional"))}),o=Et(gt({Item:a,ColSpan:ke(1,Ye),RowSpan:ke(1,Ye),AutoMergeMode:Pee}),Un("Item")),d=gt({Action:Hu,Type:di("tablerow"),Height:Ah,Visibility:hd,TableCells:jt(uo(o))}),_=gt({Type:di("tableheader"),FixedHeader:kn,TableRows:jt(d),RepeatOnNewPage:kn}),g=gt({Type:di("tablefooter"),PrintAtBottom:kn,TableRows:jt(d),RepeatOnNewPage:kn}),e=gt({Type:di("tabledetails"),TableRows:jt(d),Group:yg,SortExpressions:fd,Visibility:hd}),c=gt({Type:di("tablegroup"),Group:yg,SortExpressions:fd,Header:ke(null,uo(_)),Footer:ke(null,uo(g)),Visibility:hd,KeepTogether:kn,PreventOrphanedHeader:ql,PreventOrphanedFooter:ql});return Et(gt(N(E(E({},el("table")),Gb),{KeepTogether:kn,FillPage:kn,DetailDataElementName:Hi,DetailDataCollectionName:Hi,DetailDataElementOutput:ke("Auto",ei.DataElementOutput),FrozenRows:ke(0,Ye),FrozenColumns:ke(0,Ye),RepeatToFill:kn,RepeatBlankRows:Ot("None",bt("None","FillPage","FillGroup")),PreventOrphanedHeader:ql,PreventOrphanedFooter:ql,SortExpressions:fd,Style:Et(wt(E(E(E({},Jl),cm),Ni("BackgroundColor","BackgroundImage"))),Eh),StyleName:ke("",Lt),TableColumns:jt(u),Header:ke(null,uo(_)),TableGroups:jt(c),Details:ke(null,uo(e)),Footer:ke(null,uo(g)),MaxDetailsPerPage:ke("",Ho)})),Vh("Style",s=>s.StyleName!==""),Un("Name"))},rIe=a=>{const[u,o]=EI(),d=Et(a,Xi(gt({Children:jt(u)})));return o(d),d},Aee=a=>{const u=oee(_=>{var g=_,{Children:o}=g,d=zt(g,["Children"]);return N(E({},a.f(d)),{Children:o.map(u.f)})},_=>{var g=_,{Children:o}=g,d=zt(g,["Children"]);return N(E({},a.frev(d)),{Children:o.map(u.frev)})});return u},lV=a=>{const u=gt({Item:a,LevelCount:ke(0,Ye),Visibility:hd}),o=Et(gt({Header:ke(null,uo(u)),BodyIndex:ke(-1,Ye),BodyCount:ke(1,Ye),Visibility:hd,DataElementName:Hi,DataElementOutput:ke("Auto",ei.DataElementOutput),KeepTogether:kn,Group:uo(gt(N(E({},Vee),{PrintFooterAtBottom:kn}))),KeepWithGroup:Ot("None",bt("None","Before","After")),RepeatOnNewPage:kn,SortExpressions:fd}),rIe),d={RowSpan:ke(1,Ye),ColSpan:ke(1,Ye),Item:ke(null,uo(a))},_=gt(d),g=gt(N(E({},d),{AutoMergeMode:Pee})),e=gt({Height:Ah,Cells:jt(uo(g))}),c=wt({LevelSizes:jt(Fi),Members:jt(o)}),s=Ph(uo(_));return Et(gt(N(E(E({},el("tablix")),Gb),{SortExpressions:fd,KeepTogether:kn,FrozenRows:ke(0,Ye),FrozenColumns:ke(0,Ye),RepeatColumnHeaders:kn,RepeatRowHeaders:kn,GroupsBeforeRowHeaders:ke(0,Ye),LayoutDirection:ke("LTR",ei.LayoutDirection),RowHierarchy:c,ColumnHierarchy:c,Corner:jt(s),Body:wt({Columns:jt(Fi),Rows:jt(e)}),Style:Et(wt(E(E(E({},Jl),cm),Ni("BackgroundColor","BackgroundImage"))),Eh),StyleName:ke("",Lt)})),Vh("Style",i=>i.StyleName!==""),Un("Name"))},UI=a=>{const u={Name:uo(Lt),Action:Hu,CanShrink:kn,CanGrow:ql,KeepTogether:ql,Height:Ah,Visibility:hd,PageBreak:ke("None",ei.BreakLocation),NewPage:ke("Next",ei.NewPage)},o=gt(N(E({Type:di("bandedlistdetails")},u),{ReportItems:jt(a)})),d=gt(N(E({Type:di("bandedlistheader")},u),{RepeatOnNewPage:kn,ReportItems:jt(a)})),_=gt(N(E({Type:di("bandedlistfooter")},u),{RepeatOnNewPage:kn,PrintAtBottom:kn,ReportItems:jt(a)})),g=gt({Type:di("bandedlistgroup"),Group:yg,SortExpressions:fd,Visibility:hd,KeepTogether:kn,PreventOrphanedHeader:kn,PreventOrphanedFooter:kn,Header:ke(null,uo(d)),Footer:ke(null,uo(_))});return Et(gt(N(E(E({},el("bandedlist")),eV(Gb,"NoRowsMessage")),{KeepTogether:kn,ConsumeWhiteSpace:kn,PreventOrphanedHeader:kn,PreventOrphanedFooter:kn,Header:ke(null,uo(d)),Details:ke(null,uo(o)),Footer:ke(null,uo(_)),Groups:jt(g)})),Un("Name"))},oIe=Ot("Office",bt("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")),z0=E(E({},Th),Ni("Color","TextDecoration")),jI={Hidden:kn,Orientation:Ot("Vertical",bt("Horizontal","Vertical")),Position:Ot("Right",bt("Left","Right","Top","Bottom")),Style:wt(E(E({},Zl),Ni("BackgroundColor","Border"))),TextStyle:wt(z0),TitleStyle:wt(z0),MaxHeight:ke(1,Ye),MaxWidth:ke(1,Ye),Title:st("",_n),Mode:ke("None",ei.LegendMode)},Mee={Style:wt(E(E(E({},Zl),Ni("BackgroundColor","Border")),z0)),Title:st("",_n),Height:LI(fn(Ye)),HAlign:Ot("Center",bt("Center","Left","Right")),VAlign:Ot("Middle",bt("Middle","Bottom","Top"))},Ub=wt(Ni("Border")),aIe=wt({Type:di("dvchartaxis"),AxisLine:ql,AxisType:Ot("X",bt("X","Y")),DateMode:Ot("Default",bt("Default","Millisecond","Second","Minute","Hour","Day","Week","Month","Year")),Format:st("",_n),LabelAngle:ke(0,Ye),LabelLayout:Ot("None",bt("None","Default","Clip","Ellipsis","Wrap")),Labels:ql,LabelStyle:wt(E(E(E({},z0),Zl),Ni("WritingMode"))),LineStyle:Ub,LogBase:ke(10,Ye),MajorGrid:kn,MajorGridStyle:Ub,MajorTicks:Ot("None",bt("Inside","Outside","Cross","None")),MajorTickSize:st("4pt",Ri),MajorTickStyle:Ub,MajorUnit:st("",Ho),Max:st("",Ho),Min:st("",Ho),MinorGrid:kn,MinorGridStyle:Ub,MinorTicks:Ot("None",bt("Inside","Outside","Cross","None")),MinorTickSize:st("2pt",Ri),MinorTickStyle:Ub,MinorUnit:st("",Ho),Origin:st("",Ho),OverlappingLabels:Ot("Auto",bt("Auto","Show")),Plots:jt(Lt),Position:Ot("Near",bt("Near","Far","None")),Reversed:kn,Scale:Ot("Linear",bt("Linear","Logarithmic","Ordinal","Percentage")),Style:Ub,TextStyle:wt(E(E({},z0),Zl)),Title:st("",_n),TitleStyle:wt(E(E({},z0),Zl)),MaxHeight:ke(1,Ye),MaxWidth:ke(1,Ye),Width:ke(null,uo(Ye)),Height:ke(null,uo(Ye)),LabelRowCount:ke(1,Ye)}),lIe=gt({Name:Lt,Type:di("dvchartoverlay"),OverlayType:Ot("ReferenceLine",bt("ReferenceLine","ReferenceBand","LinearTrendline","ExponentialTrendline","PowerTrendline","LogarithmicTrendline","PolynomialTrendline","FourierTrendline","MovingAverageTrendline","CumulativeMovingAverageTrendline","ExponentialMovingAverageTrendline","WeightedMovingAverageTrendline","MovingAnnualTotalTrendline")),Display:Ot("Front",bt("Front","Back")),Style:wt(Ni("Border","BackgroundColor")),Field:Hi,DetailLevel:Ot("Total",bt("Group","Total")),LegendLabel:Hi,Value:Hi,Axis:Ot("Y",bt("X","Y")),AggregateType:Ot("Average",bt("Sum","Count","Average","Max","Min","Median","Percentile")),Start:ke(0,Ye),End:ke(0,Ye),Order:ke(2,Ye),Period:ke(2,Ye),ForwardForecastPeriod:ke(0,Ye),BackwardForecastPeriod:ke(0,Ye),Intercept:ke(null,uo(Ye))}),sIe=wt({Type:di("chartseriesgrouping"),Grouping:yg,Sorting:fd}),uIe=wt({Type:di("chartcategorygrouping"),Grouping:yg,Sorting:fd,Label:st("",_n)}),cIe=wt({Value:st("",_n),Offset:ke(0,Ye),Style:wt(E(E({},z0),Ni("BackgroundColor","Border","Format"))),TextPosition:Ot("Auto",bt("Auto","Center","Inside","Outside")),LinePosition:Ot("Auto",bt("Auto","Center")),ConnectingLineStyle:wt({Color:st("",Br),Style:na("None",ei.BorderStyle),Width:st("1pt",Ri)})}),pIe=wt({Value:st("",_n),Format:st("",_n)}),dIe=wt({Value:st("",_n),Caption:st("",_n)}),hIe=wt({Opacity:ke(1,Ye),BorderOpacity:ke(1,Ye),Size:ke(10,Ye),Visible:kn,Shape:Ot("Auto",bt("Auto","Dot","Box","Diamond","Triangle","X","Dash","Plus")),Style:wt(E({BackgroundColor:st("",Br)},Ni("Border")))}),fIe=wt({Type:di("chartdataseries"),Name:Hi,Values:jt(xh(dIe)),Label:cIe,ToolTip:pIe,Marker:hIe,Style:wt(E({BackgroundColor:st("",Br)},Ni("Border"))),Opacity:ke(1,Ye),DataElementOutput:ke("Output",ei.DataElementOutput),DataElementName:Hi,Action:Hu}),_Ie=wt(E({Type:di("chartcolorlegendseries"),Field:st("",_n),Action:Hu},jI)),gIe=wt(N(E({Type:di("chartsizelegendseries"),Field:st("",_n),Action:Hu},jI),{IconColor:st("",Br),RangeOptions:jt(gt({Title:Hi,To:Ye}))})),yIe=wt(N(E({Type:di("chartshapelegendseries"),Field:st("",_n),Action:Hu},jI),{IconColor:st("",Br)})),Lee=Et(wt({AxisMode:Ot("Cartesian",bt("Cartesian","Radial","Polygonal")),Bar:wt({BottomWidth:fn(Ye),NeckHeight:fn(Ye),Overlap:fn(Ye),TopWidth:fn(Ye),Width:fn(Ye)}),BarLines:kn,BarLineStyle:wt({Color:st("Black",Br),Style:na("Solid",ei.BorderStyle),Width:st("1pt",Ri)}),ClippingMode:Ot("Clip",bt("Clip","Fit","None")),CustomLabels:Et(gt({Type:di("dvchartplotcustomlabel"),Style:wt(E(E({},Ni("TextDecoration","Color","WritingMode")),Th)),Text:ke("",_n),OffsetX:ke("0in",Fi),OffsetY:ke("0.5in",Fi)}),I0({}),xh,jt),InnerRadius:ke(0,Ye),LineAspect:Ot("Default",bt("Default","Spline","StepCenter","StepLeft","StepRight")),Offset:ke(0,Ye),Overlays:jt(lIe),Pointers:Et(gt({Type:di("dvchartplotpointer"),Style:wt({BackgroundColor:st("Black",Br)}),NeedleWidth:ke("0in",Fi),NeedlePinWidth:ke("0in",Fi),End:ke("",_n)}),I0({}),xh,jt),ShowNulls:Ot("Gaps",bt("Connected","Gaps","Zeros")),StartAngle:ke(0,Ye),SwapAxes:kn,Sweep:ke(360,Ye),SeriesArrangement:Ot("Cluster",bt("Cluster","Stack")),OverlappingLabels:Ot("Auto",bt("Auto","Show","Hide","Reposition"))})),mIe=wt({Type:di("dvchartplot"),Name:Hi,PlotType:Ot("Column",bt("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:Lee,SeriesGroupings:jt(xh(sIe)),CategoryGroupings:jt(xh(uIe)),DataSeries:jt(xh(fIe)),ColorSeries:_Ie,SizeSeries:gIe,ShapeSeries:yIe}),JI=Et(gt(N(E(E({},el("chart")),Gb),{Style:wt(E(E(E({},Jl),cm),Ni("BackgroundColor","BackgroundImage","BackgroundGradientType","BackgroundGradientEndColor"))),Bar:wt({BottomWidth:fn(Ye),NeckHeight:fn(Ye),Overlap:fn(Ye),TopWidth:fn(Ye),Width:fn(Ye)}),Header:wt(E({Type:di("dvchartheader")},Mee)),Footer:wt(E({Type:di("dvchartfooter")},Mee)),Palette:oIe,CustomPalette:jt(Br),PlotArea:wt({Type:di("dvchartplotarea"),Axes:jt(xh(aIe)),Style:wt(E(E({},Zl),Ni("BackgroundColor","Border")))}),Plots:jt(xh(mIe)),AccessibleDescription:st("",_n)})),Un("Name")),ZI=Et(gt(N(E({},el("sparkline")),{DataSetName:Hi,DataSetParameters:jt(nV),Filters:k0,SortExpressions:fd,Group:yg,FillColor:ke("Black",Br),GradientStyle:xee,GradientEndColor:ke("White",Br),LineColor:ke("Black",Br),LineWidth:ke("1pt",Ri),MarkerColor:ke("Black",Br),MarkerVisibility:ql,MaximumColumnWidth:ke("",Ri),RangeFillColor:ke("Gray",Br),RangeGradientStyle:xee,RangeGradientEndColor:ke("White",Br),RangeLowerBound:ke("",Ho),RangeUpperBound:ke("",Ho),RangeVisibility:kn,SparklineType:Ot("Line",bt("Line","Columns","Whiskers","Area","StackedBar")),SeriesValue:ke("",Ho),AccessibleDescription:st("",_n)})),Un("Name")),vIe=gt({ParameterName:Hi,Value:st("",ta),Omit:st("false",bc)}),qI=Et(gt(N(E({},el("subreport")),{ReportName:Hi,NoRowsMessage:st("",_n),KeepTogether:kn,MergeTransactions:kn,SubstituteThemeOnSubreport:kn,InheritStyleSheet:ql,Parameters:jt(vIe),Style:wt(E(E({},Jl),cm)),PageName:st("",_n)})),Un("Name")),XI=Et(gt(N(E({},el("shape")),{Style:Et(wt(E(E({},Jl),Ni("BackgroundColor","BackgroundImage"))),Eh),StyleName:ke("",Lt),RoundingRadius:wt({Default:st("",Ri),TopLeft:st("",Ri),TopRight:st("",Ri),BottomLeft:st("",Ri),BottomRight:st("",Ri)}),ShapeStyle:na("Rectangle",ei.ShapeStyle),AccessibleDescription:st("",_n)})),Vh("Style",a=>a.StyleName!==""),Un("Name")),SIe=Et(gt({Type:di("tableofcontentslevel"),LevelName:ke("",Lt),DataElementName:Hi,DisplayFillCharacters:ql,DisplayPageNumber:ql,Style:Et(wt(E(E(E({},Th),Zl),Ni("BackgroundColor","Color","TextDecoration","TextAlign","LeadingChar","TextIndent"))),Eh),StyleName:ke("",Lt)}),Vh("Style",a=>a.StyleName!=="")),YI=Et(gt(N(E({},el("tableofcontents")),{Style:Et(wt(E(E({},Jl),Ni("BackgroundColor","MaxLevel"))),Eh),StyleName:ke("",Lt),Levels:jt(SIe),PageBreak:ke("None",ei.BreakLocation),NewPage:ke("Next",ei.NewPage)})),Vh("Style",a=>a.StyleName!==""),Un("Name")),bIe=bt("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"),CIe=bt("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"),wIe=bt("Auto","Square9","Square11","Square13","Square15","Square17","Square19","Square21","Square23","Square25","Square27","Square29","Square31","Square33","Square35","Square37","Square39","Square41","Square43","Square45","Square47","Square49"),DIe=bt("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"),KI=Et(gt(N(E({},el("barcode")),{Value:st("",ta),InvalidBarcodeText:st("",_n),Symbology:Ot("Ansi39",bIe),CheckSum:ql,BarHeight:Ah,CaptionGrouping:ql,CaptionLocation:Ot("None",bt("None","Above","Below")),AztecOptions:wt({ErrorCorrection:ke(33,Ye),Layers:ke(0,Ye),Encoding:ke("65001",Lt)}),Code49Options:wt({Grouping:kn,GroupNumber:ke(0,Ye)}),DataMatrixOptions:wt({EccMode:Ot("ECC200",bt("ECC000","ECC050","ECC080","ECC100","ECC140","ECC200")),Ecc200SymbolSize:Ot("SquareAuto",CIe),Ecc200EncodingMode:Ot("Auto",bt("Auto","ASCII","C40","Text","X12","EDIFACT","Base256")),Ecc000_140SymbolSize:Ot("Auto",wIe),StructuredAppend:kn,StructureNumber:ke(0,Ye),FileIdentifier:ke(0,Ye),Encoding:ke("65001",Lt)}),Ean128Fnc1Options:wt({Resolution:ke(96,Ye),ModuleSize:ke(0,Ye),BarAdjust:ke(0,Ye)}),Gs1CompositeOptions:wt({CompositeType:Ot("None",bt("None","CCA")),Value:st("",_n)}),MaxiCodeOptions:wt({Mode:Ot("Mode4",bt("Mode2","Mode3","Mode4","Mode5","Mode6"))}),MicroPdf417Options:wt({CompactionMode:Ot("Auto",bt("Auto","TextCompactionMode","NumericCompactionMode","ByteCompactionMode")),Version:Ot("ColumnPriorAuto",DIe),SegmentIndex:ke(0,Ye),SegmentCount:ke(0,Ye),FileID:ke(0,Ye)}),MicroQrCodeOptions:wt({Version:Ot("Auto",bt("Auto","M1","M2","M3","M4")),ErrorLevel:Ot("L",bt("L","M","Q")),Mask:Ot("Auto",bt("Auto","Mask00","Mask01","Mask10","Mask11")),Encoding:ke("65001",Lt)}),NarrowBarWidth:ke("",Fi),NWRation:ke(0,Ye),Pdf417Options:wt({Columns:ke(-1,Ye),Rows:ke(-1,Ye),ErrorCorrectionLevel:Ot("Level0",bt("Level0","Level1","Level2","Level3","Level4","Level5","Level6","Level7","Level8")),Pdf417Type:Ot("Normal",bt("Normal","Simple"))}),QrCodeOptions:wt({Connection:kn,ConnectionNumber:ke(0,Ye),Version:ke(-1,Ye),ErrorLevel:Ot("L",bt("M","L","H","Q")),Mask:Ot("Auto",bt("Auto","Mask000","Mask001","Mask010","Mask011","Mask100","Mask101","Mask110","Mask111")),Model:Ot("Model2",bt("Model1","Model2")),Encoding:ke("65001",Lt)}),QuietZone:wt({Left:Ah,Right:Ah,Top:Ah,Bottom:Ah}),Rotation:ke("None",Lt),RssExpandedStacked:wt({RowCount:ke(2,Ye)}),SupplementOptions:wt({Value:Hi,BarHeight:Ah,CaptionLocation:ke("Above",Lt),Spacing:Ah}),Style:wt(E(E(E(E({},Jl),Th),Zl),Ni("BackgroundColor","Color","Format","TextAlign","TextDecoration"))),DataElementStyle:ke("Auto",ei.DataElementStyle),AccessibleDescription:st("",_n)})),Un("Name")),QI=Et(gt(N(E({},eV(el("image"),"DataElementName","DataElementOutput")),{Action:Hu,Source:Ot("External",ei.ImageSource),Value:st("",_n),MIMEType:ID(st("",_n)),Sizing:Ot("AutoSize",bt("AutoSize","Fit","FitProportional","Clip")),HorizontalAlignment:na("Left",ei.HorizontalImageAlign),VerticalAlignment:na("Top",ei.VerticalImageAlign),AccessibleDescription:st("",_n),Style:Et(wt(E(E({},Jl),Zl)),Eh),StyleName:ke("",Lt)})),Vh("Style",a=>a.StyleName!==""),Un("Name")),ek=Et(gt(N(E({},el("bullet")),{LabelFormat:st("",_n),LabelFontFamily:st("Arial",_n),LabelFontSize:st("10pt",Ri),LabelFontStyle:na("Regular",ei.BulletLabelFontStyles),LabelFontColor:st("Black",Br),Orientation:Ot("Horizontal",bt("Horizontal","Vertical")),ShowLabels:ql,TargetShape:Ot("Line",bt("Line","Square","Dot")),TargetLineColor:st("Black",Br),TargetLineWidth:st("3pt",Ri),TickMarks:Ot("Outside",bt("None","Inside","Outside")),TicksLineColor:st("LightGray",Br),TicksLineWidth:st("1pt",Ri),ValueColor:st("Black",Br),BestValue:ke("",Ho),Interval:ke("",Ho),Range1Boundary:ke("",Ho),Range2Boundary:ke("",Ho),TargetValue:ke("",Ho),Value:ke("",Ho),WorstValue:ke("",Ho),AccessibleDescription:st("",_n)})),Un("Name")),tk=Et(gt(N(E({},el("formattedtext")),{EncodeMailMergeFields:ql,Html:st("",_n),MailMergeFields:jt(gt({Name:Lt,Value:st("",_n)})),Style:wt(E(E({},Jl),Ni("BackgroundColor","BackgroundImage"))),AccessibleDescription:st("",_n)})),Un("Name")),Fee=Et(gt(N(E({},el("inputfield")),{FieldName:Hi,Readonly:kn,Required:kn,TabIndex:ke(null,uo(Ye))})),Un("Name")),nk=TI(a=>!a.InputType||a.InputType==="Text",a=>a.InputType==="Text",Et(Fee,Xi(gt({InputType:di("Text"),Password:kn,Multiline:kn,SpellCheck:kn,MaxLength:ke(null,uo(Ye)),Value:ke("",_n),Style:wt(E(E(E({},Jl),Th),Ni("BackgroundColor","Color","TextAlign","Format")))}))),Et(Fee,Xi(gt({InputType:Ml("CheckBox"),Checked:ke("False",bc),CheckStyle:Ot("Check",bt("Check","Circle","Cross","Diamond","Square","Star")),CheckSize:st("10pt",Ri),Style:wt(E(E({},Jl),Ni("BackgroundColor","Color","TextAlign")))})))),PIe=Et(gt({Name:Lt,Value:ke("",ta)}),Un("Name")),ik=Et(gt(N(E({},el("partitem")),{ReportPart:Hi,Library:Hi,Properties:jt(PIe)})),Un("Name")),rk=a=>Et(gt(N(E({},VI(el("contentplaceholder"),"Type","Name","CustomProperties","ZIndex","LayerName")),{Text:Hi,ConsumeWhiteSpace:kn,ReportItems:jt(a)})),Un("Name")),ok=Et({encode:({Item:a})=>a,decode:a=>Wi({Item:a})},Xi(gt(E({Type:di("unknown")},oV))),Un("Name")),xIe="10.0.2",TIe=Ni("Border","TopBorder","RightBorder","BottomBorder","LeftBorder","BackgroundColor","BackgroundImage","Color","FontFamily","FontSize","FontStyle","FontWeight","Format","LineSpacing","PaddingLeft","PaddingRight","PaddingTop","PaddingBottom","TextAlign","TextDecoration","VerticalAlign","Angle","Calendar","CharacterSpacing","Direction","HeadingLevel","Language","MinCondenseRate","Nu