1import{c as Z,d as ee,e as te}from"./chunk-JPNGREPQ.js";import"./chunk-PMB6YCDB.js";import{a as D}from"./chunk-2H3NM7IF.js";import{a as Y}from"./chunk-3DFMFY4V.js";import"./chunk-QSSIR4QY.js";import{Be as S}from"./chunk-OYWHHPTD.js";import{d as J,g as Q,k as U,v as X}from"./chunk-XDRSKTVV.js";import"./chunk-BXP7M62U.js";import{h as K,l as $,r as G}from"./chunk-D6QXS2B6.js";import"./chunk-RZM75C6V.js";import{l as A,m as N,t as W,x as q}from"./chunk-BYVB43HZ.js";import{$c as B,Bc as k,Fa as u,Ga as x,Gc as C,Jc as s,Ob as T,Pb as z,Tc as H,Ub as g,Vc as w,Yc as l,Zc as h,_c as _,bd as E,cd as M,dd as P,od as O,qd as L,rc as c,rd as j,sc as n,ta as V,tc as o,uc as m,vb as r,xa as b,yc as v,zc as f}from"./chunk-RLFCBRIJ.js";import{a as I,b as R,k as y}from"./chunk-VJTDQWBS.js";function re(t,d){if(t&1&&(n(0,"div",27)(1,"div"),l(2),o(),n(3,"div"),l(4),o(),n(5,"div"),l(6),o(),n(7,"div"),l(8),o()()),t&2){let e=d.ngIf,i=s(2);r(2),_("\u724C\u7EC4 ID: ",e.deck_id),r(2),_("\u603B\u8BB0\u5F55\u6570\uFF1A",e.total_record_count),r(2),_("\u603B\u7248\u672C\u6570\uFF1A",e.total_version_count),r(2),_(" ",i.searchedKeyword.length?"\u5F53\u524D\u641C\u7D22\u7248\u672C\u53F7\uFF1A"+i.searchedKeyword:"\u5F53\u524D\u641C\u7D22\uFF1A\u5168\u90E8\u7248\u672C"," ")}}function ae(t,d){if(t&1&&m(0,"nz-option",28),t&2){let e=d.$implicit;c("nzValue",e.value)("nzLabel",e.label)}}function de(t,d){if(t&1&&m(0,"nz-option",28),t&2){let e=d.$implicit;c("nzValue",e.value)("nzLabel",e.label)}}function le(t,d){t&1&&(n(0,"div",29),l(1," \u6CA1\u6709\u5339\u914D\u5230\u7248\u672C\u8BB0\u5F55\uFF0C\u8BF7\u8C03\u6574\u641C\u7D22\u8BCD\u6216\u7B5B\u9009\u6761\u4EF6\u3002 "),o())}function ce(t,d){t&1&&(n(0,"div",31)(1,"div",32)(2,"div"),m(3,"div",33)(4,"div",34),o(),m(5,"div",35),o(),n(6,"div",36),m(7,"div",37)(8,"div",38),o(),m(9,"div",39),o())}function se(t,d){if(t&1&&(v(0),g(1,ce,10,0,"div",30),f()),t&2){let e=s(2);r(),c("ngForOf",e.emptyVersionList)}}function pe(t,d){if(t&1&&(n(0,"div"),l(1),o()),t&2){let e=d.$implicit;r(),_(" ",e.label," ")}}function ge(t,d){if(t&1){let e=k();n(0,"div",40),C("click",function(){let a=u(e).$implicit,p=s(2);return x(p.onVersionClick(a.deck_revision))}),n(1,"div",41)(2,"div",42),l(3),o(),n(4,"div",43),l(5),o()(),n(6,"div",43),l(7),O(8,"date"),o(),n(9,"div",36),l(10),o(),n(11,"div",44),g(12,pe,2,1,"div",45),o()()}if(t&2){let e=d.$implicit,i=s(2);w("active-item",e.deck_revision===i.activedRevision),r(3),_("\u7248\u672C ",e.deck_revision),r(2),_("",e.entry_count," \u6761"),r(2),_(" ",L(8,7,e.created_time,"yyyy-MM-dd HH:mm:ss")," "),r(3),_(" ",e.summary," "),r(2),c("ngForOf",e.object_types)}}function me(t,d){t&1&&(n(0,"div",46),l(1,"\u6B63\u5728\u52A0\u8F7D\u4E2D..."),o())}function _e(t,d){t&1&&(n(0,"div",47),l(1," \u8BF7\u5148\u9009\u62E9\u5DE6\u4FA7\u7248\u672C\u3002 "),o())}function ue(t,d){t&1&&(n(0,"div",31)(1,"div",48),m(2,"div",49)(3,"div",50),o(),n(4,"div",36),m(5,"div",51)(6,"div",38),o(),n(7,"div"),m(8,"div",52)(9,"div",38),o()())}function xe(t,d){if(t&1&&(v(0),g(1,ue,10,0,"div",30),f()),t&2){let e=s(2);r(),c("ngForOf",e.emptyRecordList)}}function he(t,d){if(t&1){let e=k();n(0,"div",53),C("click",function(){let a=u(e).$implicit,p=s(2);return x(p.onRecordClick(a.snapshot_id))}),n(1,"div",44)(2,"div",54),l(3),o(),n(4,"div"),l(5),o()(),n(6,"div",55),l(7),o(),n(8,"div",56),l(9),o(),n(10,"div",57),l(11),o()()}if(t&2){let e=d.$implicit,i=s(2);w("active-item",e.snapshot_id===i.activedSnapshotId),r(3),h(e.operation_label+e.object_type_label),r(2),h(e.object_type_label),r(2),_(" ",e.title," "),r(2),_(" ",e.subtitle," "),r(2),h(e.description)}}function ve(t,d){t&1&&(n(0,"div",46),l(1,"\u6B63\u5728\u52A0\u8F7D\u4E2D..."),o())}function fe(t,d){t&1&&(n(0,"div",58),l(1," \u8BF7\u9009\u62E9\u4E00\u6761\u4FEE\u6539\u8BB0\u5F55\uFF0C\u8FD9\u91CC\u4F1A\u663E\u793A\u5B57\u6BB5\u53D8\u5316\u548C\u4FEE\u6539\u524D\u540E\u6570\u636E\u3002 "),o())}function Ce(t,d){if(t&1&&(v(0),l(1),f()),t&2){let e=s(3);r(),B(" ",e.recordDetail.object_type_label," id: ",e.recordDetail.object_id," ")}}function ye(t,d){if(t&1&&(v(0),l(1),f()),t&2){let e=s(3);r(),_(" \u7248\u672C\u53F7: ",e.recordDetail.deck_revision," ")}}function be(t,d){t&1&&(n(0,"div"),m(1,"div",69),n(2,"div",70),m(3,"div",71)(4,"div",71),o()())}function ke(t,d){if(t&1&&(v(0),g(1,be,5,0,"div",45),f()),t&2){let e=s(3);r(),c("ngForOf",e.emptyFieldList)}}function we(t,d){if(t&1&&(n(0,"div")(1,"div",73),l(2),o(),n(3,"div",70)(4,"div",74),l(5),o(),n(6,"div",75),l(7),o()()()),t&2){let e=d.$implicit;r(2),h(e.field),r(3),h(e.before),r(2),h(e.after)}}function Ee(t,d){t&1&&(n(0,"div",76),l(1,"\u5B57\u6BB5\u65E0\u4FEE\u6539"),o())}function Me(t,d){if(t&1&&(v(0),g(1,we,8,3,"div",45)(2,Ee,2,0,"div",72),f()),t&2){let e=s(3);r(),c("ngForOf",e.recordDetail.changes),r(),c("ngIf",!(e.recordDetail.changes!=null&&e.recordDetail.changes.length))}}function Pe(t,d){t&1&&(n(0,"div",77),m(1,"div",69),n(2,"div",70),m(3,"div",71)(4,"div",71),o()())}function De(t,d){t&1&&(n(0,"div",76),l(1," \u5361\u7247\u76F8\u5173\u5185\u5BB9\u65E0\u4FEE\u6539 "),o())}function Oe(t,d){if(t&1&&(n(0,"div",79)(1,"div")(2,"div"),l(3,"\u4FEE\u6539\u524D\u539F\u59CB\u6570\u636E"),o(),n(4,"pre",74),l(5),o()(),n(6,"div")(7,"div"),l(8,"\u4FEE\u6539\u540E\u539F\u59CB\u6570\u636E"),o(),n(9,"pre",75),l(10),o()()()),t&2){let e=s(4);r(5),h(e.recordDetail.before_raw||"\u65E0"),r(5),h(e.recordDetail.after_raw||"\u65E0")}}function Le(t,d){if(t&1&&(v(0),g(1,De,2,0,"div",72)(2,Oe,11,2,"div",78),f()),t&2){let e=s(3);r(),c("ngIf",!e.recordDetail.before_raw&&!e.recordDetail.after_raw),r(),c("ngIf",e.re
1cordDetail.before_raw||e.recordDetail.after_raw)}}function Se(t,d){if(t&1&&(n(0,"div",59)(1,"div",60),l(2),o(),n(3,"div",61),l(4),o(),n(5,"div",62)(6,"div")(7,"div"),l(8,"\u4FEE\u6539\u5BF9\u8C61"),o(),n(9,"div",63),g(10,Ce,2,2,"ng-container",2),o()(),n(11,"div")(12,"div"),l(13,"\u724C\u7EC4\u7248\u672C"),o(),n(14,"div"),g(15,ye,2,1,"ng-container",2),o()(),n(16,"div")(17,"div"),l(18,"\u4FEE\u6539\u65F6\u95F4"),o(),n(19,"div"),l(20),O(21,"date"),o()()()(),n(22,"div",64)(23,"div",65),l(24,"\u5B57\u6BB5\u53D8\u5316"),o(),n(25,"div",66),g(26,ke,2,1,"ng-container",2)(27,Me,3,2,"ng-container",2),o(),n(28,"div",67),l(29,"\u4FEE\u6539\u524D/\u4FEE\u6539\u540E"),o(),g(30,Pe,5,0,"div",68)(31,Le,3,2,"ng-container",2),o()),t&2){let e=s(2);w("skeleton-animation-box",e.isRecordDetailLoading),r(2),_(" ",e.recordDetail==null?null:e.recordDetail.title," "),r(2),_(" ",e.recordDetail==null?null:e.recordDetail.description," "),r(6),c("ngIf",e.recordDetail),r(5),c("ngIf",e.recordDetail),r(5),h(L(21,11,e.recordDetail==null?null:e.recordDetail.created_time,"yyyy-MM-dd HH:mm:ss")),r(6),c("ngIf",e.isRecordDetailLoading),r(),c("ngIf",e.recordDetail),r(3),c("ngIf",e.isRecordDetailLoading),r(),c("ngIf",e.recordDetail)}}function Fe(t,d){if(t&1){let e=k();v(0),n(1,"div",3)(2,"markji-icon",4),C("click",function(){u(e);let a=s();return x(a.goBack())}),o(),g(3,re,9,4,"div",5),n(4,"div",6)(5,"div",7),m(6,"span",8),n(7,"input",9,0),P("ngModelChange",function(a){u(e);let p=s();return M(p.filterCondition.keyword,a)||(p.filterCondition.keyword=a),x(a)}),C("keydown.enter",function(){u(e);let a=s();return x(a.onSearch())}),o()(),n(9,"nz-select",10),P("ngModelChange",function(a){u(e);let p=s();return M(p.filterCondition.operation,a)||(p.filterCondition.operation=a),x(a)}),C("ngModelChange",function(){u(e);let a=s();return x(a.onFilterChange())}),m(10,"nz-option",11),g(11,ae,1,2,"nz-option",12),o(),n(12,"nz-select",10),P("ngModelChange",function(a){u(e);let p=s();return M(p.filterCondition.object_class,a)||(p.filterCondition.object_class=a),x(a)}),C("ngModelChange",function(){u(e);let a=s();return x(a.onFilterChange())}),m(13,"nz-option",13),g(14,de,1,2,"nz-option",12),o()()(),n(15,"div",14)(16,"div",15)(17,"div",16)(18,"div"),l(19,"\u7248\u672C\u5217\u8868"),o(),n(20,"div"),l(21,"\u5148\u9009\u7248\u672C\uFF0C\u518D\u770B\u8FD9\u4E2A\u7248\u672C\u91CC\u5177\u4F53\u6539\u52A8\u4E86\u54EA\u4E9B\u5185\u5BB9"),o()(),n(22,"div",17),C("scroll",function(a){u(e);let p=s();return x(p.onVersionListScroll(a))}),g(23,le,2,0,"div",18)(24,se,2,1,"ng-container",2)(25,ge,13,10,"div",19)(26,me,2,0,"div",20),o()(),n(27,"div",21)(28,"div",22)(29,"div",16)(30,"div"),l(31,"\u672C\u7248\u672C\u4FEE\u6539\u8BB0\u5F55"),o(),n(32,"div"),l(33,"\u540C\u4E00\u4E2A\u7248\u672C\u91CC\uFF0C\u53EF\u80FD\u540C\u65F6\u5305\u542B\u724C\u7EC4\u3001\u7AE0\u8282\u3001\u5361\u7247\u6216\u5FEB\u7167\u7684\u591A\u6761\u4FEE\u6539\u8BB0\u5F55"),o()(),n(34,"div",17),C("scroll",function(a){u(e);let p=s();return x(p.onRecordListScroll(a))}),g(35,_e,2,0,"div",23)(36,xe,2,1,"ng-container",2)(37,he,12,7,"div",24)(38,ve,2,0,"div",20),o()(),n(39,"div",25),g(40,fe,2,0,"div",26)(41,Se,32,14,"ng-template",null,1,j),o()()(),f()}if(t&2){let e=H(42),i=s();r(3),c("ngIf",i.deckHistorySummary.stats),r(4),E("ngModel",i.filterCondition.keyword),r(2),c("nzOptionHeightPx",40),E("ngModel",i.filterCondition.operation),r(2),c("ngForOf",i.deckHistorySummary.filters.operations),r(),c("nzOptionHeightPx",40),E("ngModel",i.filterCondition.object_class),r(2),c("ngForOf",i.deckHistorySummary.filters.object_classes),r(9),c("ngIf",i.isPageEmpty),r(),c("ngIf",i.isVersionListLoading&&!i.versionList.length),r(),c("ngForOf",i.versionList),r(),c("ngIf",i.isVersionListLoading&&i.versionList.length),r(9),c("ngIf",!i.isRecordListLoading&&i.isPageEmpty),r(),c("ngIf",i.isRecordListLoading),r(),c("ngForOf",i.recordList),r(),c("ngIf",i.isRecordListLoading&&i.recordList.length),r(2),c("ngIf",!i.isRecordDetailLoading&&i.isPageEmpty)("ngIfElse",e)}}var ie=(()=>{let d=class d{constructor(){this.pageSize=20,this.scrollBottomThreshold=32,this.deckId="",this.emptyVersionList=new Array(4),this.versionList=[],this.versionsTotal=0,this.nextVersionPageToken=void 0,this.isVersionListLoading=!1,this.emptyRecordList=new Array(3),this.recordList=[],this.nextRecordPageToken=void 0,this.isRecordListLoading=!1,this.recordDetail=null,this.emptyFieldList=new Array(2),this.isRecordDetailLoa
1ding=!1,this.filterCondition={keyword:"",operation:"",object_class:""},this.searchedKeyword="",this.activedRevision=null,this.activedSnapshotId="",this.route=b(K),this.router=b($),this.network=b(Y)}get isPageEmpty(){return this.hasVersionListLoaded&&!this.isVersionListLoading&&!this.versionList.length}get hasVersionListLoaded(){return this.nextVersionPageToken!==void 0}get canLoadMoreVersions(){return!this.isVersionListLoading&&this.nextVersionPageToken!==null}get canLoadMoreRecords(){return this.activedRevision!==null&&!this.isRecordListLoading&&this.nextRecordPageToken!==null}get hasPendingRequest(){return this.isVersionListLoading||this.isRecordListLoading||this.isRecordDetailLoading}ngOnInit(){return y(this,null,function*(){this.deckId=this.route.snapshot.params.id;let i=yield this.network.getDeckHistorySummary(this.deckId).toPromise();this.deckHistorySummary=i.data,yield this.refreshMainAreaData()})}refreshMainAreaData(){return y(this,null,function*(){if(this.resetVersionState(),this.resetRecordState(),this.isRecordListLoading=!0,this.isRecordDetailLoading=!0,!(yield this.getVersionList())){this.isRecordListLoading=!1,this.isRecordDetailLoading=!1;return}yield this.getRecordList(this.versionList[0].deck_revision)})}getVersionList(){return y(this,null,function*(){this.isVersionListLoading=!0;try{let i=yield this.network.getDeckHistoryVersions(this.deckId,S(R(I({},this.filterCondition),{page_token:this.nextVersionPageToken,limit:this.pageSize}))).toPromise();this.versionsTotal=i.data.hit_version_count,this.nextVersionPageToken=i.data.next_page_token||null;let a=i.data.versions||[];return this.versionList=[...this.versionList,...a],a.length>0}catch(i){return console.error("\u83B7\u53D6\u7248\u672C\u5217\u8868\u5931\u8D25",i),!1}finally{this.isVersionListLoading=!1}})}getRecordList(i){return y(this,null,function*(){if(i!==void 0){if(this.activedRevision===i)return;this.activedRevision=i,this.resetRecordState(),this.isRecordListLoading=!0,this.isRecordDetailLoading=!0}this.isRecordListLoading=!0;try{let{operation:a,object_class:p}=this.filterCondition,F=yield this.network.getDeckHistoryRecords(this.deckId,this.activedRevision,S({operation:a,object_class:p,page_token:this.nextRecordPageToken,limit:this.pageSize})).toPromise();this.nextRecordPageToken=F.data.next_page_token||null;let ne=F.data.records||[];this.recordList=[...this.recordList,...ne],i!==void 0&&(this.recordList.length?this.getRecordDetail(this.recordList[0].snapshot_id):this.isRecordDetailLoading=!1)}catch(a){this.isRecordDetailLoading=!1,console.error("\u83B7\u53D6\u4FEE\u6539\u8BB0\u5F55\u5217\u8868\u5931\u8D25",a)}finally{this.isRecordListLoading=!1}})}getRecordDetail(i){return y(this,null,function*(){if(this.activedSnapshotId!==i){this.activedSnapshotId=i,this.recordDetail=null,this.isRecordDetailLoading=!0;try{let a=yield this.network.getDeckHistoryRecordDetail(this.deckId,i).toPromise();this.recordDetail=a.data.detail}catch(a){console.error("\u83B7\u53D6\u4FEE\u6539\u8BB0\u5F55\u8BE6\u60C5\u5931\u8D25",a);return}finally{this.isRecordDetailLoading=!1}}})}onSearch(){if(this.hasPendingRequest){console.error("\u5F53\u524D\u9875\u9762\u4ECD\u6709\u8BF7\u6C42\u672A\u5B8C\u6210\uFF0C\u5FFD\u7565\u672C\u6B21\u641C\u7D22");return}this.searchedKeyword=this.filterCondition.keyword,this.refreshMainAreaData()}onFilterChange(){if(this.hasPendingRequest){console.error("\u5F53\u524D\u9875\u9762\u4ECD\u6709\u8BF7\u6C42\u672A\u5B8C\u6210\uFF0C\u5FFD\u7565\u672C\u6B21\u7B5B\u9009");return}this.refreshMainAreaData()}onVersionClick(i){if(this.hasPendingRequest){console.error("\u5F53\u524D\u9875\u9762\u4ECD\u6709\u8BF7\u6C42\u672A\u5B8C\u6210\uFF0C\u5FFD\u7565\u672C\u6B21\u7248\u672C\u5207\u6362");return}this.getRecordList(i)}onRecordClick(i){if(this.hasPendingRequest){console.error("\u5F53\u524D\u9875\u9762\u4ECD\u6709\u8BF7\u6C42\u672A\u5B8C\u6210\uFF0C\u5FFD\u7565\u672C\u6B21\u8BE6\u60C5\u5207\u6362");return}this.getRecordDetail(i)}onVersionListScroll(i){this.isNearBottom(i)&&this.canLoadMoreVersions&&this.getVersionList()}onRecordListScroll(i){this.isNearBottom(i)&&this.canLoadMoreRecords&&this.getRecordList()}isNearBottom(i){let a=i.target;return a?a.scrollTop+a.clientHeight>=a.scrollHeight-this.scrollBottomThreshold:!1}goBack(){this.router.navigate([`/deck/editor/${this.deckId}`])}resetVersionState(){this.versionList=[],this.versionsTotal=0,this.nextVersionPageToken=void 0,this.isVersionListLoading=!1,this.activedRevision=null}resetRecordState(){this.recordList=[],this.nextRecordPageToken=void 0,this.isRecordListLoading=!1,this.activedSnapshotId="",this.recordDetail=null,this.isRecordDetailLoa
vendor: 4,247 bytes, line 1
1ding=!1}};d.\u0275fac=function(a){return new(a||d)},d.\u0275cmp=T({type:d,selectors:[["app-deck-history"]],standalone:!1,decls:1,vars:1,consts:[["searchInput",""],["detailTemplate",""],[4,"ngIf"],[1,"top-box"],["name","close",3,"click"],["class","status-box",4,"ngIf"],[1,"filter-box"],[1,"search","user-select"],[1,"iconfont","icondeck_search","search-deck-icon"],["type","text","placeholder","\u641C\u7D22\u7248\u672C\u53F7\uFF0C\u4F8B\u5982 15\u3001256",1,"search-input","ios-input-appearance",3,"ngModelChange","keydown.enter","ngModel"],[3,"ngModelChange","nzOptionHeightPx","ngModel"],["nzValue","","nzLabel","\u5168\u90E8\u64CD\u4F5C"],[3,"nzValue","nzLabel",4,"ngFor","ngForOf"],["nzValue","","nzLabel","\u5168\u90E8\u5BF9\u8C61"],[1,"main"],[1,"versions-area","list-area"],[1,"area-header"],[1,"list",3,"scroll"],["class","empty-tip","style","margin-top: -35px",4,"ngIf"],["class","version-item item",3,"active-item","click",4,"ngFor","ngForOf"],["class","load-more-tip",4,"ngIf"],[1,"right-area"],[1,"records-area","list-area"],["class","empty-tip","style","margin-top: -37px",4,"ngIf"],["class","record-item item",3,"active-item","click",4,"ngFor","ngForOf"],[1,"detail-area"],["class","empty-tip","style","padding-top: 48px",4,"ngIf","ngIfElse"],[1,"status-box"],[3,"nzValue","nzLabel"],[1,"empty-tip",2,"margin-top","-35px"],["class","loading-item",4,"ngFor","ngForOf"],[1,"loading-item"],[1,"display-flex","flex-justify-content"],[1,"skeleton-animation",2,"width","72px","height","20px"],[1,"skeleton-animation",2,"width","150px","height","16px","margin-top","4px"],[1,"skeleton-animation",2,"width","48px","height","16px"],[2,"margin","8px 0"],[1,"skeleton-animation",2,"width","224px","height","16px"],[1,"skeleton-animation",2,"width","72px","height","16px","margin-top","4px"],[1,"skeleton-animation",2,"width","56px","height","24px","border-radius","16px"],[1,"version-item","item",3,"click"],[1,"flex-vertical-center","flex-justify-content"],[2,"font-size","15px","font-weight","bold"],[2,"color","var(--color-secondary-text)"],[1,"tags"],[4,"ngFor","ngForOf"],[1,"load-more-tip"],[1,"empty-tip",2,"margin-top","-37px"],[1,"display-flex"],[1,"skeleton-animation",2,"width","56px","height","24px","border-radius","12px"],[1,"skeleton-animation",2,"width","56px","height","24px","border-radius","12px","margin-left","8px"],[1,"skeleton-animation",2,"width","100%","height","20px"],[1,"skeleton-animation",2,"width","100%","height","16px"],[1,"record-item","item",3,"click"],[1,"operation-tag"],[1,"text-ellipsis",2,"margin-top","8px","font-size","13px","font-weight","bold"],[1,"text-ellipsis",2,"color","var(--color-secondary-text)","margin-bottom","8px"],[1,"text-ellipsis"],[1,"empty-tip",2,"padding-top","48px"],[1,"detail-header"],[1,"detail-title"],[1,"detail-subtitle"],[1,"detail-basic-infos"],[1,"overflow-ellipsis"],[1,"detail-main"],[1,"detail-main-title"],[1,"field-list"],[1,"detail-main-title",2,"margin-top","32px"],["class","field-box",4,"ngIf"],[1,"field-title","skeleton-animation"],[1,"field-change-box"],[1,"skeleton-animation"],["class","no-change",4,"ngIf"],[1,"field-title"],[1,"before-data"],[1,"after-data"],[1,"no-change"],[1,"field-box"],["class","data-change-box",4,"ngIf"],[1,"data-change-box"]],template:function(a,p){a&1&&g(0,Fe,43,18,"ng-container",2),a&2&&c("ngIf",p.deckHistorySummary)},dependencies:[A,N,J,Q,U,Z,ee,D,W],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;width:100%;height:100%;overflow:hidden;color:var(--color-primary-text-2)}.top-box[_ngcontent-%COMP%]{position:relative;padding:18px 24px 16px;border-bottom:1px solid var(--color-divider)}.top-box[_ngcontent-%COMP%] markji-icon[_ngcontent-%COMP%]{position:absolute;top:20px;right:24px;width:24px;height:24px;cursor:pointer}.status-box[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;gap:8px;padding-right:56px}.status-box[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{padding:6px 12px;background:var(--color-body-background-2);border-radius:16px;color:var(--color-secondary-text);font-size:12px;white-space:nowrap}.filter-box[_ngcontent-%COMP%]{display:flex;align-items:center;margin-top:18px}.search[_ngcontent-%COMP%]{position:relative;width:55%;height:36px}.search-deck-icon[_ngcontent-%COMP%]{position:absolute;
1left:12px;top:10px;font-size:13px;color:var(--font-color2)}.search-input[_ngcontent-%COMP%]{width:100%;height:100%;padding:0 12px 0 36px;background:var(--color-body-background-2);border-radius:8px;border:1px solid var(--color-divider);outline:none;font-size:15px}.search-input[_ngcontent-%COMP%]::placeholder{font-size:15px;color:var(--font-disabled-color)}.search-input[_ngcontent-%COMP%]:focus{border-color:var(--core-line-color)} .filter-box nz-select{width:168px;margin-left:16px} .filter-box .ant-select:not(.ant-select-customize-input) .ant-select-selector{height:36px;border-radius:8px} .filter-box .ant-select-single .ant-select-selector .ant-select-selection-item{line-height:36px;font-weight:700;color:var(--color-primary-text-2)}.main[_ngcontent-%COMP%]{flex-grow:1;display:flex;width:100%;background:var(--color-body-background-2);overflow:hidden}.list-area[_ngcontent-%COMP%]{display:flex;flex-direction:column}.versions-area[_ngcontent-%COMP%]{width:280px;min-width:280px;height:100%;background:var(--color-body-background);border-right:1px solid var(--color-divider)}.right-area[_ngcontent-%COMP%]{flex-grow:1;display:flex;overflow:hidden;margin:16px;border-radius:16px;border:1px solid var(--color-divider);box-shadow:0 4px 8px #a6a6a640}.records-area[_ngcontent-%COMP%]{flex:0 0 272px;max-width:272px;height:100%}.detail-area[_ngcontent-%COMP%]{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;height:100%;padding-top:16px;border-radius:16px;background:var(--color-body-background);border-left:1px solid var(--color-divider)}.area-header[_ngcontent-%COMP%]{padding:16px;border-bottom:1px solid var(--color-divider)}.area-header[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{margin-bottom:2px;font-size:16px;font-weight:700}.area-header[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:last-child{font-size:12px;color:var(--color-secondary-text)}.list[_ngcontent-%COMP%]{flex-grow:1;overflow-y:scroll;width:100%;height:calc(100% - 95px);padding:16px 10px 16px 16px}.empty-tip[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;width:100%;height:100%;padding:24px;border:1px dashed var(--color-divider);border-radius:8px;text-align:center;color:var(--color-secondary-text)}.loading-item[_ngcontent-%COMP%]{padding:12px;border-radius:8px;border:1px solid var(--color-divider);margin-bottom:8px}.loading-item[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{border-radius:2px}.item[_ngcontent-%COMP%]{padding:12px;margin-bottom:8px;border:1px solid var(--color-divider);border-radius:8px;font-size:12px;-webkit-user-select:none;user-select:none;cursor:pointer}.active-item[_ngcontent-%COMP%]{border-color:var(--color-theme);box-shadow:0 0 0 1px var(--color-theme)}.version-item.active-item[_ngcontent-%COMP%]{background:rgba(var(--green-level-1),.1)}.tags[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;gap:8px}.tags[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{padding:3.5px 8px;background:rgba(var(--black-level-1),.03);border-radius:23px;white-space:nowrap}.tags[_ngcontent-%COMP%] .operation-tag[_ngcontent-%COMP%]{background:var(--color-secondary-text);color:var(--white-color)}.load-more-tip[_ngcontent-%COMP%]{padding-top:8px;font-size:12px;color:var(--color-secondary-text);text-align:center}.record-item[_ngcontent-%COMP%]{background:var(--color-body-background);box-shadow:none!important}.detail-header[_ngcontent-%COMP%]{padding:8px 16px 16px;border-bottom:1px solid var(--color-divider)}.detail-title[_ngcontent-%COMP%]{min-height:26px;font-size:18px;font-weight:700;line-height:26px;word-break:break-all}.skeleton-animation-box[_ngcontent-%COMP%] .detail-title[_ngcontent-%COMP%]{width:min(100%,240px)}.detail-subtitle[_ngcontent-%COMP%]{min-height:17px;margin:2px 0 18px;font-size:12px;color:var(--color-secondary-text);line-height:17px;word-break:break-all}.skeleton-animation-box[_ngcontent-%COMP%] .detail-subtitle[_ngcontent-%COMP%]{width:min(100%,960px)}.detail-basic-infos[_ngcontent-%COMP%]{display:flex;gap:12px}.detail-basic-infos[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:calc(100% / 3);padding:8px 12px;border:1px solid var(--color-divider);border-radius:8px;font-weight:700}.detail-basic-infos[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{margin-bottom:2px;font-size:12px;color:var(--color-secondary-text)}.detail-basic-infos[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:last-child{height:20px}.skeleton-animation-box[_ngcontent-%COMP%] .detail-title[_ngcontent-%COMP%], .skeleton-animation-box[_ngcontent-%COMP%] .detail-subtitle[_ngcontent-%COMP%], .skeleton-animation-box[_ngcontent-%COMP%] .detail-basic-infos[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:last-child{background:linear-gradient(90deg,#0000000a 25%,#00000014 37%,#0000000a 63%);background-size:400% 100%;animation:move-gradient 1.4s cubic-bezier(.4,0,.6,1) infinite;-webkit-mask-image:linear-gradient(to right,black 0%,rgba(0,0,0,.5) 70%,transparent 100%);mask-image:linear-gradient(to right,black 0%,rgba(0,0,0,.5) 70%,transparent 100%);border-radius:2px}.detail-main[_ngcontent-%COMP%]{flex-grow:1;overflow-y:scroll;padding:24px 10px 16px 16px}.detail-main-title[_ngcontent-%COMP%]{padding-bottom:16px;border-bottom:1px solid var(--color-divider);margin-bottom:16px;font-size:18px;font-weight:700}.field-title[_ngcontent-%COMP%]{width:240px;height:21px;margin:16px 0 12px;border-radius:2px;font-size:15px;font-weight:700}.field-change-box[_ngcontent-%COMP%]{display:flex;gap:12px;min-height:46px;border-radius:8px}.field-change-box[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{width:calc((100% - 12px)/2);border-radius:2px}.field-change-box[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:not(.skeleton-animation){padding:12px 16px;border-radius:8px;font-size:15px;line-height:22px}.before-data[_ngcontent-%COMP%]{background:#e461351a;word-break:break-all}.after-data[_ngcontent-%COMP%]{background:#36b59d1a;word-break:break-all}.no-change[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;width:100%;height:69px;background:rgba(var(--black-level-1),.02);border-radius:8px;border:1px dashed var(--color-divider);color:var(--color-secondary-text)}.data-change-box[_ngcontent-%COMP%]{display:flex;gap:12px}.data-change-box[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:calc((100% - 12px)/2)}
1.data-change-box[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{margin-bottom:12px;font-size:15px;font-weight:700}.data-change-box[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > pre[_ngcontent-%COMP%]{min-height:316px;padding:12px 16px;border-radius:8px;white-space:pre-wrap;word-break:break-all;font-size:15px}@media screen and (max-width:1280px){.main[_ngcontent-%COMP%]{display:grid;grid-template-columns:280px minmax(0,1fr);grid-template-rows:100% 100%;gap:16px;padding:16px 10px 16px 16px;overflow-y:scroll}.versions-area[_ngcontent-%COMP%]{grid-column:1;grid-row:1;height:100%;border-radius:16px;border:1px solid var(--color-divider)}.right-area[_ngcontent-%COMP%]{display:contents}.records-area[_ngcontent-%COMP%]{grid-column:2;grid-row:1;min-width:0;height:100%;overflow:hidden;border:1px solid var(--color-divider);border-radius:16px;background:var(--color-body-background);box-shadow:0 4px 8px #a6a6a640}.detail-area[_ngcontent-%COMP%]{grid-column:1 / -1;grid-row:2;min-width:0;height:100%;overflow:hidden;border:1px solid var(--color-divider);border-left:1px solid var(--color-divider);border-radius:16px;box-shadow:0 4px 8px #a6a6a640}}"]});let t=d;return t})();var Ie=[{path:"",component:ie}],Xe=(()=>{let d=class d{};d.\u0275fac=function(a){return new(a||d)},d.\u0275mod=z({type:d}),d.\u0275inj=V({imports:[q,X,G.forChild(Ie),te,D]});let t=d;return t})();export{Xe as DeckHistoryModule}; 2//# sourceMappingURL=chunk-C65N47F3.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.