define("wml!ContragentsSbisRu/ContractorCard/Common/trials",["UI/Executor","i18n!ContragentsSbisRu","wml!ContragentsSbisRu/ContractorCard/Common/hintMark","Graphs/HighChartsLight"],function(e,p){function t(){debugger}var x="ContragentsSbisRu/ContractorCard/Common/trials",k=e.TClosure,_=Array.prototype.slice.call(arguments),v={},g={},a,n;v["wml!ContragentsSbisRu/ContractorCard/Common/hintMark"]=_[2],v["Graphs/HighChartsLight"]=_[3];var r=function e(t,_,a,n,r,o,d){var c=0,s=k.validateNodeKey(_&&_.key),i={id:[],def:void 0},u=k.calcParent(this,"undefined"===typeof currentPropertyName?void 0:currentPropertyName,t);if("undefined"===typeof o)o=false;var C=k.createGenerator(n,o,d),y=k.getContext(this),w,l;try{var f=C.joinElements([C.createTag("div",{attributes:{class:"cCard__Owners-CourtStat-block"},events:"undefined"===typeof window?{}:{},key:s+"0_"},[C.createTag("div",{attributes:{class:"cCard__BlockTitle cCard__MiddleTitle-Desktop"},events:"undefined"===typeof window?{}:{},key:s+"0_0_"},[C.createTag("div",{attributes:{class:"cCard__BlockTitle-title"},events:"undefined"===typeof window?{}:{},key:s+"0_0_0_"},[C.createText(""+p("Суды"),s+"0_0_0_0_")],_?{context:_.context,key:s+"0_0_0_"}:{},i,u),C.createControlNew("template","wml!ContragentsSbisRu/ContractorCard/Common/hintMark",{},{},{hintTpl:"wml!ContragentsSbisRu/ContractorCard/Common/HintMark/court"},{attr:_,data:t,ctx:this,isVdom:n,defCollection:i,depsLocal:"undefined"!==typeof v?v:{},includedTemplates:g,pName:"undefined"!==typeof currentPropertyName?currentPropertyName:void 0,viewController:u,context:a,compositeAttributes:null,scope:null,key:s+"0_0_1_",isRootTag:false,internal:n?{}:{},mergeType:"context"})],_?{context:_.context,key:s+"0_0_"}:{},i,u),C.createTag("div",{attributes:{class:"cCard__Owners-CourtStat-Layout ws-flexbox"},events:"undefined"===typeof window?{}:{},key:s+"0_1_"},[C.createTag("div",{attributes:{class:"cCard__Owners-CourtStat-Complain"},events:"undefined"===typeof window?{}:{},key:s+"0_1_0_"},[k.getter(t,["data","ИстецВыиграл"])||k.getter(t,["data","ИстецПроиграл"])||k.getter(t,["data","ИстецНеопределено"])?[C.createTag("div",{attributes:{class:"cCard__BlockTitleLevel2 cCard__MiddleTitle-Desktop"},events:"undefined"===typeof window?{}:{},key:s+"0_1_0_0_0_"},[C.createText(""+p("Истец"),s+"0_1_0_0_0_0_"),k.getter(t,["data","ИстецКоличество"])?[C.createTag("span",{attributes:{class:"cCard__PlaintiffCount cCard__CourtsPadding "+k.wrapUndef(C.escape(k.getter(t,["data","ИстецКоличествоFixed","isHidden"])?"cCard__hidden":""))},events:"undefined"===typeof window?{}:{},key:s+"0_1_0_0_0_1_0_"},[C.createText(""+k.wrapUndef(C.escape(k.getter(t,["data","ИстецКоличествоFixed","value"]))),s+"0_1_0_0_0_1_0_0_")],_?{context:_.context,key:s+"0_1_0_0_0_1_0_"}:{},i,u)]:C.createText("")],_?{context:_.context,key:s+"0_1_0_0_0_"}:{},i,u),C.createTag("div",{attributes:{class:"ContrCardComplainPie"},events:"undefined"===typeof window?{}:{},key:s+"0_1_0_0_1_"},[C.createControlNew("wsControl","ws:Graphs/HighChartsLight",{},{},{name:"ContrCardComplainPie",chartOptions:k.getter(t,["contrCardComplainPie"])},{attr:_,data:t,ctx:this,isVdom:n,defCollection:i,depsLocal:"undefined"!==typeof v?v:{},includedTemplates:g,pName:"undefined"!==typeof currentPropertyName?currentPropertyName:void 0,viewController:u,context:a,compositeAttributes:null,scope:null,key:s+"0_1_0_0_1_0_",isRootTag:false,internal:n?{}:{},mergeType:"context"})],_?{context:_.context,key:s+"0_1_0_0_1_"}:{},i,u),C.createTag("div",{attributes:{class:"cCard__Owners-CourtStat-Complain-Stat"},events:"undefined"===typeof window?{}:{},key:s+"0_1_0_0_2_"},[C.createTag("div",{attributes:{class:"cCard__Owners-CourtStat-Stat-Win"},events:"undefined"===typeof window?{}:{},key:s+"0_1_0_0_2_0_"},[C.createTag("div",{attributes:{class:"cCard__Owners-CourtStat-Stat-Mark cCard__Owners-CourtsStat-Mark-Win"},events:"undefined"===typeof window?{}:{},key:s+"0_1_0_0_2_0_0_"},[],_?{context:_.context,key:s+"0_1_0_0_2_0_0_"}:{},i,u),C.createTag("div",{attributes:{class:"cCard__Owners-CourtStat-Stat-Description"},events:"undefined"===typeof window?{}:{},key:s+"0_1_0_0_2_0_1_"},[C.createText(""+p("Выиграл"),s+"0_1_0_0_2_0_1_0_")],_?{context:_.context,key:s+"0_1_0_0_2_0_1_"}:{},i,u),C.createTag("div",{attributes:{class:"cCard__Owners-CourtStat-Stat-Value"},events:"undefined"===typeof window?{}:{},key:s+"0_1_0_0_2_0_2_"},[k.getter(t,["data","ИстецВыигралОкруглено"])?[C.createText(p("менее")+" 1%",s+"0_1_0_0_2_0_2_0_0_")]:[C.createText(k.wrapUndef(C.escape(k.getter(t,["data","ИстецВыиграл"])))+"%",s+"0_1_0_0_2_0_2_1_0_")]],_?{context:_.context,key:s+"0_1_0_0_2_0_2_"}:{},i,u)],_?{context:_.context,key:s+"0_1_0_0_2_0_"}:{},i,u),C.createTag("div",{attributes:{class:"cCard__Owners-CourtStat-Stat-Loose"},events:"undefined"===typeof window?{}:{},key:s+"0_1_0_0_2_1_"},[C.createTag("div",{attributes:{class:"cCard__Owners-CourtStat-Stat-Mark cCard__Owners-CourtStat-Mark-Loose"},events:"undefined"===typeof window?{}:{},key:s+"0_1_0_0_2_1_0_"},[],_?{context:_.context,key:s+"0_1_0_0_2_1_0_"}:{},i,u),C.createTag("div",{attributes:{class:"cCard__Owners-CourtStat-Stat-Description"},events:"undefined"===typeof window?{}:{},key:s+"0_1_0_0_2_1_1_"},[C.createText(""+p("Проиграл"),s+"0_1_0_0_2_1_1_0_")],_?{context:_.context,key:s+"0_1_0_0_2_1_1_"}:{},i,u),C.createTag("div",{attributes:{class:"cCard__Owners-CourtStat-Stat-Value"},events:"undefined"===typeof window?{}:{},key:s+"0_1_0_0_2_1_2_"},[k.getter(t,["data","ИстецПроигралОкруглено"])?[C.createText(p("менее")+" 1%",s+"0_1_0_0_2_1_2_0_0_")]:[C.createText(k.wrapUndef(C.escape(k.getter(t,["data","ИстецПроиграл"])))+"%",s+"0_1_0_0_2_1_2_1_0_")]],_?{context:_.context,key:s+"0_1_0_0_2_1_2_"}:{},i,u)],_?{context:_.context,key:s+"0_1_0_0_2_1_"}:{},i,u),C.createTag("div",{attributes:{class:"cCard__Owners-CourtStat-Stat-Other"},events:"undefined"===typeof window?{}:{},key:s+"0_1_0_0_2_2_"},[C.createTag("div",{attributes:{class:"cCard__Owners-CourtStat-Stat-Mark cCard__Owners-CourtStat-Mark-Other"},events:"undefined"===typeof window?{}:{},key:s+"0_1_0_0_2_2_0_"},[],_?{context:_.context,key:s+"0_1_0_0_2_2_0_"}:{},i,u),C.createTag("div",{attributes:{class:"cCard__Owners-CourtStat-Stat-Description"},events:"undefined"===typeof window?{}:{},key:s+"0_1_0_0_2_2_1_"},[C.createText(""+p("Прочее"),s+"0_1_0_0_2_2_1_0_")],_?{context:_.context,key:s+"0_1_0_0_2_2_1_"}:{},i,u),C.createTag("div",{attributes:{class:"cCard__Owners-CourtStat-Stat-Value"},events:"undefined"===typeof window?{}:{},key:s+"0_1_0_0_2_2_2_"},[C.createText(k.wrapUndef(C.escape(k.getter(t,["data","ИстецНеопределено"])))+"%",s+"0_1_0_0_2_2_2_0_")],_?{context:_.context,key:s+"0_1_0_0_2_2_2_"}:{},i,u)],_?{context:_.context,key:s+"0_1_0_0_2_2_"}:{},i,u)],_?{context:_.context,key:s+"0_1_0_0_2_"}:{},i,u)]:[C.createTag("div",{attributes:{class:"cCard__CourtsNoData-Desktop cCard__NoData"},events:"undefined"===typeof window?{}:{},key:s+"0_1_0_1_0_"},[C.createText(""+p("Нет данных об участии в качестве истца"),s+"0_1_0_1_0_0_")],_?{context:_.context,key:s+"0_1_0_1_0_"}:{},i,u)],C.createTag("div",{attributes:{class:"cCard__Clean"},events:"undefined"===typeof window?{}:{},key:s+"0_1_0_2_"},[],_?{context:_.context,key:s+"0_1_0_2_"}:{},i,u)],_?{context:_.context,key:s+"0_1_0_"}:{},i,u),C.createTag("div",{attributes:{class:"cCard__Owners-CourtStat-Defend"},events:"undefined"===typeof window?{}:{},key:s+"0_1_1_"},[k.getter(t,["data","ОтветчикВыиграл"])||k.getter(t,["data","ОтветчикПроиграл"])||k.getter(t,["data","ОтветчикНеопределено"])?[C.createTag("div",{attributes:{class:"cCard__BlockTitleLevel2"},events:"undefined"===typeof window?{}:{},key:s+"0_1_1_0_0_"},[C.createText(""+p("Ответчик"),s+"0_1_1_0_0_0_"),k.getter(t,["data","ОтветчикКоличество"])?[C.createTag("span",{attributes:{class:"cCard__PlaintiffCount cCard__CourtsPadding "+k.wrapUndef(C.escape(k.getter(t,["data","ОтветчикКоличествоFixed","isHidden"])?"cCard__hidden":""))},events:"undefined"===typeof window?{}:{},key:s+"0_1_1_0_0_1_0_"},[C.createText(""+k.wrapUndef(C.escape(k.getter(t,["data","ОтветчикКоличествоFixed","value"]))),s+"0_1_1_0_0_1_0_0_")],_?{context:_.context,key:s+"0_1_1_0_0_1_0_"}:{},i,u)]:C.createText("")],_?{context:_.context,key:s+"0_1_1_0_0_"}:{},i,u),C.createTag("div",{attributes:{class:"ContrCardDefendPie"},events:"undefined"===typeof window?{}:{},key:s+"0_1_1_0_1_"},[C.createControlNew("wsControl","ws:Graphs/HighChartsLight",{},{},{name:"ContrCardDefendPie",chartOptions:k.getter(t,["contrCardDefendPie"])},{attr:_,data:t,ctx:this,isVdom:n,defCollection:i,depsLocal:"undefined"!==typeof v?v:{},includedTemplates:g,pName:"undefined"!==typeof currentPropertyName?currentPropertyName:void 0,viewController:u,context:a,compositeAttributes:null,scope:null,key:s+"0_1_1_0_1_0_",isRootTag:false,internal:n?{}:{},mergeType:"context"})],_?{context:_.context,key:s+"0_1_1_0_1_"}:{},i,u),C.createTag("div",{attributes:{class:"cCard__Owners-CourtStat-Defend-Stat"},events:"undefined"===typeof window?{}:{},key:s+"0_1_1_0_2_"},[C.createTag("div",{attributes:{class:"cCard__Owners-CourtStat-Stat-Win"},events:"undefined"===typeof window?{}:{},key:s+"0_1_1_0_2_0_"},[C.createTag("div",{attributes:{class:"cCard__Owners-CourtStat-Stat-Mark cCard__Owners-CourtsStat-Mark-Win"},events:"undefined"===typeof window?{}:{},key:s+"0_1_1_0_2_0_0_"},[],_?{context:_.context,key:s+"0_1_1_0_2_0_0_"}:{},i,u),C.createTag("div",{attributes:{class:"cCard__Owners-CourtStat-Stat-Description"},events:"undefined"===typeof window?{}:{},key:s+"0_1_1_0_2_0_1_"},[C.createText(""+p("Выиграл"),s+"0_1_1_0_2_0_1_0_")],_?{context:_.context,key:s+"0_1_1_0_2_0_1_"}:{},i,u),C.createTag("div",{attributes:{class:"cCard__Owners-CourtStat-Stat-Value"},events:"undefined"===typeof window?{}:{},key:s+"0_1_1_0_2_0_2_"},[k.getter(t,["data","ОтветчикВыигралОкруглено"])?[C.createText(p("менее")+" 1%",s+"0_1_1_0_2_0_2_0_0_")]:[C.createText(k.wrapUndef(C.escape(k.getter(t,["data","ОтветчикВыиграл"])))+"%",s+"0_1_1_0_2_0_2_1_0_")]],_?{context:_.context,key:s+"0_1_1_0_2_0_2_"}:{},i,u)],_?{context:_.context,key:s+"0_1_1_0_2_0_"}:{},i,u),C.createTag("div",{attributes:{class:"cCard__Owners-CourtStat-Stat-Loose"},events:"undefined"===typeof window?{}:{},key:s+"0_1_1_0_2_1_"},[C.createTag("div",{attributes:{class:"cCard__Owners-CourtStat-Stat-Mark cCard__Owners-CourtStat-Mark-Loose"},events:"undefined"===typeof window?{}:{},key:s+"0_1_1_0_2_1_0_"},[],_?{context:_.context,key:s+"0_1_1_0_2_1_0_"}:{},i,u),C.createTag("div",{attributes:{class:"cCard__Owners-CourtStat-Stat-Description"},events:"undefined"===typeof window?{}:{},key:s+"0_1_1_0_2_1_1_"},[C.createText(""+p("Проиграл"),s+"0_1_1_0_2_1_1_0_")],_?{context:_.context,key:s+"0_1_1_0_2_1_1_"}:{},i,u),C.createTag("div",{attributes:{class:"cCard__Owners-CourtStat-Stat-Value"},events:"undefined"===typeof window?{}:{},key:s+"0_1_1_0_2_1_2_"},[k.getter(t,["data","ОтветчикПроигралОкруглено"])?[C.createText(p("менее")+" 1%",s+"0_1_1_0_2_1_2_0_0_")]:[C.createText(k.wrapUndef(C.escape(k.getter(t,["data","ОтветчикПроиграл"])))+"%",s+"0_1_1_0_2_1_2_1_0_")]],_?{context:_.context,key:s+"0_1_1_0_2_1_2_"}:{},i,u)],_?{context:_.context,key:s+"0_1_1_0_2_1_"}:{},i,u),C.createTag("div",{attributes:{class:"cCard__Owners-CourtStat-Stat-Other"},events:"undefined"===typeof window?{}:{},key:s+"0_1_1_0_2_2_"},[C.createTag("div",{attributes:{class:"cCard__Owners-CourtStat-Stat-Mark cCard__Owners-CourtStat-Mark-Other"},events:"undefined"===typeof window?{}:{},key:s+"0_1_1_0_2_2_0_"},[],_?{context:_.context,key:s+"0_1_1_0_2_2_0_"}:{},i,u),C.createTag("div",{attributes:{class:"cCard__Owners-CourtStat-Stat-Description"},events:"undefined"===typeof window?{}:{},key:s+"0_1_1_0_2_2_1_"},[C.createText(""+p("Прочее"),s+"0_1_1_0_2_2_1_0_")],_?{context:_.context,key:s+"0_1_1_0_2_2_1_"}:{},i,u),C.createTag("div",{attributes:{class:"cCard__Owners-CourtStat-Stat-Value"},events:"undefined"===typeof window?{}:{},key:s+"0_1_1_0_2_2_2_"},[C.createText(k.wrapUndef(C.escape(k.getter(t,["data","ОтветчикНеопределено"])))+"%",s+"0_1_1_0_2_2_2_0_")],_?{context:_.context,key:s+"0_1_1_0_2_2_2_"}:{},i,u)],_?{context:_.context,key:s+"0_1_1_0_2_2_"}:{},i,u)],_?{context:_.context,key:s+"0_1_1_0_2_"}:{},i,u)]:[C.createTag("div",{attributes:{class:"cCard__CourtsNoData-Desktop cCard__NoData"},events:"undefined"===typeof window?{}:{},key:s+"0_1_1_1_0_"},[C.createText(""+p("Нет данных об участии в качестве ответчика"),s+"0_1_1_1_0_0_")],_?{context:_.context,key:s+"0_1_1_1_0_"}:{},i,u)]],_?{context:_.context,key:s+"0_1_1_"}:{},i,u)],_?{context:_.context,key:s+"0_1_"}:{},i,u)],_,i,u)],s,i);if(i&&i.def)f=C.chain(f,i,this),i=void 0}catch(e){k.templateError(x,e,t)}return f||C.createText("")};return r.stable=true,r.reactiveProps=["data","contrCardComplainPie","contrCardDefendPie"],r.isWasabyTemplate=true,r});