define("wml!ContragentsSbisRu/ContractorCard/Company/about",["UI/Executor","i18n!ContragentsSbisRu","wml!ContragentsSbisRu/ContractorCard/Common/marketPresenceStatus","wml!ContragentsSbisRu/ContractorCard/Company/aboutINNKPP","ContragentsSbisRu/ContractorCard/Common/RefferalPopupButton","wml!ContragentsSbisRu/ContractorCard/Common/hintMark","ContragentsSbisRu/ContractorCard/Common/SpoilerWithPreview","Controls/decorator"],function(e,C){function t(){debugger}var w="ContragentsSbisRu/ContractorCard/Company/about",g=e.TClosure,_=Array.prototype.slice.call(arguments),x={},v={},a,o;function b(e){var t=e,_={};return _.__dirtyCheckingVars_32=g.getter(e,["data","aboutCompany"]),_}function k(t,e,_,a,o,n,r){var i=0,c="content";t=g.isolateScope(Object.create(this),t,c);var d=g.validateNodeKey(e&&e.key),s={id:[],def:void 0},l=g.calcParent(this,"undefined"===typeof c?void 0:c,t);if("undefined"===typeof n)n=false;var u=g.createGenerator(a,n,r),p=g.getContext(this),y,f;try{var m=u.joinElements([u.createControlNew("resolver",{library:"Controls/decorator",module:["Markup"]},{},{},{value:g.getter(t,["data","aboutCompany"]),fontColorStyle:"secondary",fontWeight:"bold"},{attr:e,data:t,ctx:this,isVdom:a,defCollection:s,depsLocal:"undefined"!==typeof x?x:{},includedTemplates:v,pName:"undefined"!==typeof c?c:void 0,viewController:l,context:a?_+"part_"+i++:_,compositeAttributes:null,scope:null,key:d+"0_1_0_0_0_",isRootTag:true,internal:a?{}:{},mergeType:"attribute"})],d,s);if(s&&s.def)m=u.chain(m,s,this),s=void 0}catch(e){g.templateError(w,e,t)}return m||u.createText("")}x["wml!ContragentsSbisRu/ContractorCard/Common/marketPresenceStatus"]=_[2],x["wml!ContragentsSbisRu/ContractorCard/Company/aboutINNKPP"]=_[3],x["ContragentsSbisRu/ContractorCard/Common/RefferalPopupButton"]=_[4],x["wml!ContragentsSbisRu/ContractorCard/Common/hintMark"]=_[5],x["ContragentsSbisRu/ContractorCard/Common/SpoilerWithPreview"]=_[6],x["Controls/decorator"]=_[7];var n=function e(_,t,a,o,n,r,i){var c=0,d=g.validateNodeKey(t&&t.key),s={id:[],def:void 0},l=g.calcParent(this,"undefined"===typeof currentPropertyName?void 0:currentPropertyName,_);if("undefined"===typeof r)r=false;var u=g.createGenerator(o,r,i),p=g.getContext(this),y,f;try{var m=u.joinElements([u.createTag("div",{attributes:{class:"cCard__MainReq"},events:"undefined"===typeof window?{}:{},key:d+"0_"},[u.createTag("div",{attributes:{class:"ws-flexbox ws-justify-content-between"},events:"undefined"===typeof window?{}:{},key:d+"0_0_"},[u.createTag("div",{attributes:{class:"cCard__MainReq-LeftSide ws-flexbox ws-flex-column"},events:"undefined"===typeof window?{}:{},key:d+"0_0_0_"},[u.createTag("div",{attributes:{class:"cCard__MainReq-Name-Block"},events:"undefined"===typeof window?{}:{},key:d+"0_0_0_0_"},[g.getter(_,["data","Название"])?[u.createTag("div",{attributes:{itemprop:"name",class:"cCard__MainReq-Name"},events:"undefined"===typeof window?{}:{},key:d+"0_0_0_0_0_0_"},[u.createTag("h1",{attributes:{},events:"undefined"===typeof window?{}:{},key:d+"0_0_0_0_0_0_0_"},[u.createText(""+g.wrapUndef(u.escape(g.getter(_,["data","Название"]))),d+"0_0_0_0_0_0_0_0_")],t?{context:t.context,key:d+"0_0_0_0_0_0_0_"}:{},s,l)],t?{context:t.context,key:d+"0_0_0_0_0_0_"}:{},s,l)]:[u.createTag("div",{attributes:{class:"cCard__MainReq-Name"},events:"undefined"===typeof window?{}:{},key:d+"0_0_0_0_1_0_"},[u.createText(""+C("Нет данных"),d+"0_0_0_0_1_0_0_")],t?{context:t.context,key:d+"0_0_0_0_1_0_"}:{},s,l)],g.getter(_,["data","НазваниеПолное"])?[u.createTag("div",{attributes:{itemprop:"legalName",class:"cCard__MainReq-FullName"},events:"undefined"===typeof window?{}:{},key:d+"0_0_0_0_2_0_"},[u.createText(""+g.wrapUndef(u.escape(g.getter(_,["data","НазваниеПолное"]))),d+"0_0_0_0_2_0_0_")],t?{context:t.context,key:d+"0_0_0_0_2_0_"}:{},s,l)]:[u.createTag("div",{attributes:{class:"cCard__MainReq-FullName"},events:"undefined"===typeof window?{}:{},key:d+"0_0_0_0_3_0_"},[u.createText(""+C("Нет данных об официальном названии"),d+"0_0_0_0_3_0_0_")],t?{context:t.context,key:d+"0_0_0_0_3_0_"}:{},s,l)]],t?{context:t.context,key:d+"0_0_0_0_"}:{},s,l),u.createTag("div",{attributes:{class:"cCard__MainReq-Right-Merged"},events:"undefined"===typeof window?{}:{},key:d+"0_0_0_1_"},[u.createTag("div",{attributes:{class:"cCard__MainReq-Right-Req"},events:"undefined"===typeof window?{}:{},key:d+"0_0_0_1_0_"},[u.createTag("div",{attributes:{class:"cCard__Status-Value"},events:"undefined"===typeof window?{}:{},key:d+"0_0_0_1_0_0_"},[u.createControlNew("template","wml!ContragentsSbisRu/ContractorCard/Common/marketPresenceStatus",{},{},{data:g.getter(_,["data","State","full"])},{attr:t,data:_,ctx:this,isVdom:o,defCollection:s,depsLocal:"undefined"!==typeof x?x:{},includedTemplates:v,pName:"undefined"!==typeof currentPropertyName?currentPropertyName:void 0,viewController:l,context:a,compositeAttributes:null,scope:null,key:d+"0_0_0_1_0_0_0_",isRootTag:false,internal:o?{}:{},mergeType:"context"})],t?{context:t.context,key:d+"0_0_0_1_0_0_"}:{},s,l),u.createControlNew("template","wml!ContragentsSbisRu/ContractorCard/Company/aboutINNKPP",{},{},{data:g.getter(_,["data"])},{attr:t,data:_,ctx:this,isVdom:o,defCollection:s,depsLocal:"undefined"!==typeof x?x:{},includedTemplates:v,pName:"undefined"!==typeof currentPropertyName?currentPropertyName:void 0,viewController:l,context:a,compositeAttributes:null,scope:null,key:d+"0_0_0_1_0_1_",isRootTag:false,internal:o?{}:{},mergeType:"context"})],t?{context:t.context,key:d+"0_0_0_1_0_"}:{},s,l),g.getter(_,["data","Логотип"])?[u.createTag("div",{attributes:{class:"cCard__MainReq-Right-Logo"},events:"undefined"===typeof window?{}:{},key:d+"0_0_0_1_1_0_"},[u.createTag("div",{attributes:{class:"cCard__MainReq-Right-Logo-Base"},events:"undefined"===typeof window?{}:{},key:d+"0_0_0_1_1_0_0_"},[u.createTag("img",{attributes:{class:"cCard__MainReq-Right-Logo-Img",src:"data:image/png;base64,"+g.wrapUndef(u.escape(g.getter(_,["data","Логотип"])))},events:"undefined"===typeof window?{}:{},key:d+"0_0_0_1_1_0_0_0_"},[],t?{context:t.context,key:d+"0_0_0_1_1_0_0_0_"}:{},s,l)],t?{context:t.context,key:d+"0_0_0_1_1_0_0_"}:{},s,l)],t?{context:t.context,key:d+"0_0_0_1_1_0_"}:{},s,l)]:u.createText("")],t?{context:t.context,key:d+"0_0_0_1_"}:{},s,l),u.createTag("div",{attributes:{class:"cCard__MainReq-OKVED"},events:"undefined"===typeof window?{}:{},key:d+"0_0_0_2_"},[g.getter(_,["data","ОсновнойОКВЭДНазвание"])?[u.createTag("div",{attributes:{class:"cCard__OKVED-Name"},events:"undefined"===typeof window?{}:{},key:d+"0_0_0_2_0_0_"},[u.createText(""+g.wrapUndef(u.escape(g.getter(_,["data","ОсновнойОКВЭДНазвание"]))),d+"0_0_0_2_0_0_0_")],t?{context:t.context,key:d+"0_0_0_2_0_0_"}:{},s,l)]:[u.createTag("div",{attributes:{class:"cCard__NoData"},events:"undefined"===typeof window?{}:{},key:d+"0_0_0_2_1_0_"},[u.createText(""+C("Нет данных об основном виде деятельности"),d+"0_0_0_2_1_0_0_")],t?{context:t.context,key:d+"0_0_0_2_1_0_"}:{},s,l)],g.getter(_,["data","КоличествоОКВЭД"])-1>0?[u.createControlNew("wsControl","ws:ContragentsSbisRu/ContractorCard/Common/RefferalPopupButton",{class:"cCard__OKVED-Quantity"},{},{fontSize:"l",caption:g.getter(_,["data","КоличествоОКВЭДТекст"])},{attr:t,data:_,ctx:this,isVdom:o,defCollection:s,depsLocal:"undefined"!==typeof x?x:{},includedTemplates:v,pName:"undefined"!==typeof currentPropertyName?currentPropertyName:void 0,viewController:l,context:a,compositeAttributes:null,scope:null,key:d+"0_0_0_2_2_0_",isRootTag:false,internal:o?{}:{},mergeType:"context"})]:u.createText(""),g.getter(_,["data","КоличествоЛицензий"])?[u.createControlNew("wsControl","ws:ContragentsSbisRu/ContractorCard/Common/RefferalPopupButton",{},{},{fontSize:"l",caption:g.getter(_,["data","КоличествоЛицензийТекст"])},{attr:t,data:_,ctx:this,isVdom:o,defCollection:s,depsLocal:"undefined"!==typeof x?x:{},includedTemplates:v,pName:"undefined"!==typeof currentPropertyName?currentPropertyName:void 0,viewController:l,context:a,compositeAttributes:null,scope:null,key:d+"0_0_0_2_3_0_",isRootTag:false,internal:o?{}:{},mergeType:"context"})]:u.createText("")],t?{context:t.context,key:d+"0_0_0_2_"}:{},s,l),u.createTag("div",{attributes:{class:"cCard__MainReq-Left"},events:"undefined"===typeof window?{}:{},key:d+"0_0_0_3_"},[u.createTag("div",{attributes:{class:"cCard__Director ws-flexbox ws-flex-row ws-flex-wrap ws-justify-content-start ws-align-items-start"},events:"undefined"===typeof window?{}:{},key:d+"0_0_0_3_0_"},[g.getter(_,["data","ФотоРуководителя"])?[u.createTag("div",{attributes:{class:"cCard__Photo"},events:"undefined"===typeof window?{}:{},key:d+"0_0_0_3_0_0_0_"},[u.createTag("img",{attributes:{class:"cCard__Photo-Picture",src:"data:image/png;base64,"+g.wrapUndef(u.escape(g.getter(_,["data","ФотоРуководителя","Данные"])))},events:"undefined"===typeof window?{}:{},key:d+"0_0_0_3_0_0_0_0_"},[],t?{context:t.context,key:d+"0_0_0_3_0_0_0_0_"}:{},s,l)],t?{context:t.context,key:d+"0_0_0_3_0_0_0_"}:{},s,l)]:u.createText(""),g.getter(_,["data","ДиректорФИО"])?[u.createTag("div",{attributes:{class:"cCard__Director-Name"},events:"undefined"===typeof window?{}:{},key:d+"0_0_0_3_0_1_0_"},[u.createTag("span",{attributes:{itemprop:"employee"},events:"undefined"===typeof window?{}:{},key:d+"0_0_0_3_0_1_0_0_"},[u.createText(g.wrapUndef(u.escape(g.getter(_,["data","ДиректорФИО"])))+" ",d+"0_0_0_3_0_1_0_0_0_")],t?{context:t.context,key:d+"0_0_0_3_0_1_0_0_"}:{},s,l),g.getter(_,["data","ДиректорДолжность"])?[u.createTag("div",{attributes:{class:"cCard__Director-Position-Block ws-flexbox ws-align-items-baseline"},events:"undefined"===typeof window?{}:{},key:d+"0_0_0_3_0_1_0_1_0_"},[u.createTag("div",{attributes:{class:"cCard__Director-Position"},events:"undefined"===typeof window?{}:{},key:d+"0_0_0_3_0_1_0_1_0_0_"},[u.createText(""+g.wrapUndef(u.escape(g.getter(_,["data","ДиректорДолжность"]))),d+"0_0_0_3_0_1_0_1_0_0_0_")],t?{context:t.context,key:d+"0_0_0_3_0_1_0_1_0_0_"}:{},s,l),g.getter(_,["data","ВсегоДиректор"])-1>0?[u.createTag("div",{attributes:{class:"cCard__Director-More-Block ws-flexbox ws-flex-row ws-align-items-baseline"},events:"undefined"===typeof window?{}:{},key:d+"0_0_0_3_0_1_0_1_0_1_0_"},[u.createControlNew("wsControl","ws:ContragentsSbisRu/ContractorCard/Common/RefferalPopupButton",{class:"cCard__Director-More"},{},{fontSize:"l",caption:g.getter(_,["data","ВсегоДиректорТекст"])},{attr:t,data:_,ctx:this,isVdom:o,defCollection:s,depsLocal:"undefined"!==typeof x?x:{},includedTemplates:v,pName:"undefined"!==typeof currentPropertyName?currentPropertyName:void 0,viewController:l,context:a,compositeAttributes:null,scope:null,key:d+"0_0_0_3_0_1_0_1_0_1_0_0_",isRootTag:false,internal:o?{}:{},mergeType:"context"}),u.createControlNew("template","wml!ContragentsSbisRu/ContractorCard/Common/hintMark",{},{},{hintTpl:"wml!ContragentsSbisRu/ContractorCard/Common/HintMark/fns"},{attr:t,data:_,ctx:this,isVdom:o,defCollection:s,depsLocal:"undefined"!==typeof x?x:{},includedTemplates:v,pName:"undefined"!==typeof currentPropertyName?currentPropertyName:void 0,viewController:l,context:a,compositeAttributes:null,scope:null,key:d+"0_0_0_3_0_1_0_1_0_1_0_1_",isRootTag:false,internal:o?{}:{},mergeType:"context"})],t?{context:t.context,key:d+"0_0_0_3_0_1_0_1_0_1_0_"}:{},s,l)]:u.createText("")],t?{context:t.context,key:d+"0_0_0_3_0_1_0_1_0_"}:{},s,l)]:[u.createTag("div",{attributes:{class:"cCard__Director-Position-Block ws-flexbox ws-align-items-baseline"},events:"undefined"===typeof window?{}:{},key:d+"0_0_0_3_0_1_0_2_0_"},[u.createTag("span",{attributes:{class:"cCard__NoData cCard__UnknownDirector"},events:"undefined"===typeof window?{}:{},key:d+"0_0_0_3_0_1_0_2_0_0_"},[u.createText(""+C("Нет данных о должности руководителя"),d+"0_0_0_3_0_1_0_2_0_0_0_")],t?{context:t.context,key:d+"0_0_0_3_0_1_0_2_0_0_"}:{},s,l)],t?{context:t.context,key:d+"0_0_0_3_0_1_0_2_0_"}:{},s,l)]],t?{context:t.context,key:d+"0_0_0_3_0_1_0_"}:{},s,l)]:[u.createTag("div",{attributes:{class:"cCard__NoData"},events:"undefined"===typeof window?{}:{},key:d+"0_0_0_3_0_2_0_"},[u.createText(""+C("Нет данных о руководителе"),d+"0_0_0_3_0_2_0_0_")],t?{context:t.context,key:d+"0_0_0_3_0_2_0_"}:{},s,l)]],t?{context:t.context,key:d+"0_0_0_3_0_"}:{},s,l),u.createTag("div",{attributes:{class:"cCard__Status cCard__Wide"},events:"undefined"===typeof window?{}:{},key:d+"0_0_0_3_1_"},[g.getter(_,["data","NumberOfEmployees"])?[u.createTag("div",{attributes:{class:"cCard__Status-Employee"},events:"undefined"===typeof window?{}:{},key:d+"0_0_0_3_1_0_0_"},[u.createTag("span",{attributes:{class:"cCard__Employee-label"},events:"undefined"===typeof window?{}:{},key:d+"0_0_0_3_1_0_0_0_"},[u.createText(C("Сотрудников")+":",d+"0_0_0_3_1_0_0_0_0_")],t?{context:t.context,key:d+"0_0_0_3_1_0_0_0_"}:{},s,l),u.createTag("span",{attributes:{itemprop:"numberOfEmployees",class:"cCard__EmployeeResult"},events:"undefined"===typeof window?{}:{},key:d+"0_0_0_3_1_0_0_1_"},[u.createText(""+g.wrapUndef(u.escape(g.getter(_,["data","NumberOfEmployees"]))),d+"0_0_0_3_1_0_0_1_0_")],t?{context:t.context,key:d+"0_0_0_3_1_0_0_1_"}:{},s,l)],t?{context:t.context,key:d+"0_0_0_3_1_0_0_"}:{},s,l),g.getter(_,["data","КоличествоФилиалов"])?[u.createControlNew("wsControl","ws:ContragentsSbisRu/ContractorCard/Common/RefferalPopupButton",{},{},{fontSize:"l",caption:g.getter(_,["data","КоличествоФилиаловТекст"])},{attr:t,data:_,ctx:this,isVdom:o,defCollection:s,depsLocal:"undefined"!==typeof x?x:{},includedTemplates:v,pName:"undefined"!==typeof currentPropertyName?currentPropertyName:void 0,viewController:l,context:a,compositeAttributes:null,scope:null,key:d+"0_0_0_3_1_0_1_0_",isRootTag:false,internal:o?{}:{},mergeType:"context"})]:u.createText("")]:u.createText("")],t?{context:t.context,key:d+"0_0_0_3_1_"}:{},s,l)],t?{context:t.context,key:d+"0_0_0_3_"}:{},s,l)],t?{context:t.context,key:d+"0_0_0_"}:{},s,l),u.createTag("div",{attributes:{class:"cCard__MainReq-RightSide"},events:"undefined"===typeof window?{}:{},key:d+"0_0_1_"},[u.createTag("div",{attributes:{class:"cCard__MainReq-Right"},events:"undefined"===typeof window?{}:{},key:d+"0_0_1_0_"},[u.createTag("div",{attributes:{class:"cCard__MainReq-Right-Req"},events:"undefined"===typeof window?{}:{},key:d+"0_0_1_0_0_"},[u.createControlNew("template","wml!ContragentsSbisRu/ContractorCard/Common/marketPresenceStatus",{},{},{data:g.getter(_,["data","State","full"])},{attr:t,data:_,ctx:this,isVdom:o,defCollection:s,depsLocal:"undefined"!==typeof x?x:{},includedTemplates:v,pName:"undefined"!==typeof currentPropertyName?currentPropertyName:void 0,viewController:l,context:a,compositeAttributes:null,scope:null,key:d+"0_0_1_0_0_0_",isRootTag:false,internal:o?{}:{},mergeType:"context"}),u.createControlNew("template","wml!ContragentsSbisRu/ContractorCard/Company/aboutINNKPP",{},{},{data:g.getter(_,["data"])},{attr:t,data:_,ctx:this,isVdom:o,defCollection:s,depsLocal:"undefined"!==typeof x?x:{},includedTemplates:v,pName:"undefined"!==typeof currentPropertyName?currentPropertyName:void 0,viewController:l,context:a,compositeAttributes:null,scope:null,key:d+"0_0_1_0_0_1_",isRootTag:false,internal:o?{}:{},mergeType:"context"})],t?{context:t.context,key:d+"0_0_1_0_0_"}:{},s,l),g.getter(_,["data","Логотип"])?[u.createTag("div",{attributes:{class:"cCard__MainReq-Right-Logo"},events:"undefined"===typeof window?{}:{},key:d+"0_0_1_0_1_0_"},[u.createTag("div",{attributes:{class:"cCard__MainReq-Right-Logo-Base"},events:"undefined"===typeof window?{}:{},key:d+"0_0_1_0_1_0_0_"},[u.createTag("img",{attributes:{class:"cCard__MainReq-Right-Logo-Img",src:"data:image/png;base64,"+g.wrapUndef(u.escape(g.getter(_,["data","Логотип"])))},events:"undefined"===typeof window?{}:{},key:d+"0_0_1_0_1_0_0_0_"},[],t?{context:t.context,key:d+"0_0_1_0_1_0_0_0_"}:{},s,l)],t?{context:t.context,key:d+"0_0_1_0_1_0_0_"}:{},s,l)],t?{context:t.context,key:d+"0_0_1_0_1_0_"}:{},s,l)]:u.createText("")],t?{context:t.context,key:d+"0_0_1_0_"}:{},s,l)],t?{context:t.context,key:d+"0_0_1_"}:{},s,l)],t?{context:t.context,key:d+"0_0_"}:{},s,l),g.getter(_,["data","aboutCompany"])?[u.createControlNew("wsControl","ws:ContragentsSbisRu/ContractorCard/Common/SpoilerWithPreview",{class:"cCard__About-Company"},{},{content:g.createDataArray([{func:function(){var e=Object.create(_);e.viewController=l||null;var t=k.bind(e);return t.isWasabyTemplate=true,t}(),internal:o?b(_):{},isWasabyTemplate:true}],w,true),isNeedToShowSpoiler:g.getter(_,["data","isNeedToShowSpoiler"]),captionOpened:C("Свернуть"),captionClosed:C("Читать далее")+"...",esc:false},{attr:t,data:_,ctx:this,isVdom:o,defCollection:s,depsLocal:"undefined"!==typeof x?x:{},includedTemplates:v,pName:"undefined"!==typeof currentPropertyName?currentPropertyName:void 0,viewController:l,context:a,compositeAttributes:null,scope:null,key:d+"0_1_0_",isRootTag:false,internal:o?{}:{},mergeType:"context"})]:u.createText("")],t,s,l)],d,s);if(s&&s.def)m=u.chain(m,s,this),s=void 0}catch(e){g.templateError(w,e,_)}return m||u.createText("")};return n.stable=true,n.reactiveProps=["data"],n.isWasabyTemplate=true,n});