PageSourceSearch

https://app.accounto.ch/chunk-DHGFXKLO.js

js accounto.ch collected 2026-10-05 03:42:09 UTC 6,724 bytes, 52 lines download raw bytes

1import{a as dt,b as Tt}from"./chunk-5YNCPQUX.js";import{$k as rt,Er as ct,Fr as Et,Fw as pt,Gw as bt,Ir as st,Jr as It,Q as L,R as X,U as ut,_l as at,al as ot,am as St,hb as Z,jb as ht,nj as it,og as et,oj as nt,pg as wt,qb as tt,ra as Y,rb as Ct,ta as yt}from"./chunk-YGEYZW7N.js";import{$b as P,Ad as Q,Da as E,Dc as U,Ec as W,Gc as h,Ja as A,Kb as u,Mb as d,Nc as l,Ob as O,Oc as m,Pc as J,Qd as _t,Sa as I,Ta as b,Yb as e,Zb as i,_b as f,ac as z,cc as k,fc as F,fe as $,ge as vt,hc as x,id as q,jb as T,kb as V,m as y,n as S,o as ft,pb as o,qb as H,td as G,uc as t,ud as K,va as xt,vc as g,wc as R,ya as j,z as M}from"./chunk-SKBIXBKI.js";import"./chunk-BLAF2TTW.js";import{e as w}from"./chunk-ZOSK7UEV.js";var _,lt=w(()=>{ft();ut();vt();Ct();_=class extends tt{};y([L({serializedName:"contract_item_id"}),S("design:type",String)],_.prototype,"contractItemId",void 0);y([L({serializedName:"tenant_id"}),S("design:type",String)],_.prototype,"tenantId",void 0);_=y([X({baseUrl:`${$.endpoints.api}/${$.endpoints.version}`,type:"redirect_logs"})],_)});var C,N=w(()=>{xt();nt();Tt();wt();lt();ot();q();nt();ot();C=(()=>{let r=class r extends dt{prepareUrl(a){let c=a.url,p=this.currentTenantRegister.tenant.email_token;return c.includes("?")?c+=`&accounto=${p}+approovd-${a.id}`:c+=`?accounto=${p}+approovd-${a.id}`,c}constructor(a,c){super({data:[]}),this.datastore=a,this.currentTenantRegister=c,this.load=this.loadEffect(()=>{let p={sorting:{field:"id",direction:"asc"},include:"contract_items"};return this.datastore.findAll(et,p).pipe(M(v=>{let B=v.getModels();return B.forEach(gt=>{gt.contract_items?.map(D=>D.url=this.prepareUrl(D))}),B}))}),this.addRedirectLog=this.processEffect(p=>{let v=this.datastore.createRecord(_);return v.contractItemId=p,v.tenantId=this.currentTenantRegister.tenant.id,v.save()})}};r.\u0275fac=function(c){return new(c||r)(E(it),E(rt))},r.\u0275prov=j({token:r,factory:r.\u0275fac});let n=r;return n})()});function $t(n,r){if(n&1){let s=k();e(0,"div",21),t(1,`
2            `),e(2,"div",17),t(3,`
3              `),e(4,"div"),t(5,`
4                `),e(6,"h3"),t(7),i(),t(8,`
5                `),e(9,"div",22),t(10),i(),t(11,`
6              `),i(),t(12,`
7              `),e(13,"a",23),F("click",function(){let c=I(s).$implicit,p=x(4);return b(p.addRedirectLog(c.id))}),t(14,`
8                `),f(15,"fa-icon",20),t(16),l(17,"translate"),i(),t(18,`
9            `),i(),t(19,`
10          `),i()}if(n&2){let s=r.$implicit;o(7),g(s.name),o(3),g(s.description),o(3),d("href",s.url,V),o(2),d("icon",h(7,mt)),o(),R(`
11                `,m(17,5,"contracts.create_contract"),`
12              `)}}function Lt(n,r){if(n&1&&(e(0,"div",14),t(1,`
13          `),u(2,$t,20,8,"div",15),t(3,`
14
15          `),e(4,"div",16),t(5,`
16            `),e(6,"div",17),t(7,`
17              `),e(8,"h3"),t(9),l(10,"translate"),i(),t(11,`
18              `),f(12,"div",18),l(13,"translate"),t(14,`
19              `),e(15,"a",19),t(16,`
20                `),f(17,"fa-icon",20),t(18,`
21                Approovd
22              `),i(),t(19,`
23            `),i(),t(20,`
24          `),i(),t(21,`
25        `),i()),n&2){let s=x(2).$implicit;o(2),d("ngForOf",s.contract_items),o(7),g(m(10,4,"contracts.find_more_title")),o(3),d("innerHTML",m(13,6,"contracts.find_more"),T),o(5),d("icon",h(8,mt))}}function Nt(n,r){if(n&1){let s=k();P(0),t(1,`
26        `),e(2,"h3",10),F("click",function(){I(s);let c=x().$implicit,p=x();return b(p.toggleCategory(c))}),t(3),e(4,"button",11),t(5,`
27            `),f(6,"fa-icon",12),t(7,`
28          `),i(),t(8,`
29        `),i(),t(9,`
30        `),u(10,Lt,22,9,"div",13),t(11,`
31      `),z()}if(n&2){let s=x().$implicit;o(3),R(`
32          `,s.name,`
33          `),o(),O("open",s.open),o(2),d("icon",h(6,Rt))("fixedWidth",!0),o(4),d("ngIf",s.open)}}function Bt(n,r){if(n&1&&(e(0,"div",8),t(1,`
34      `),u(2,Nt,12,7,"ng-container",9),t(3,`
35    `),i()),n&2){let s=r.$implicit;o(2),d("ngIf",s.contract_items==null?null:s.contract_items.length)}}var Rt,mt,ae,Dt=w(()=>{bt();N();q();N();_t();ht();St();Et();It();yt();Rt=()=>["fas","chevron-down"],mt=()=>["fas","external-link"];ae=(()=>{let r=class r{ngOnInit(){this.store.load({})}addRedirectLog(a){this.store.addRedirectLog(a)}toggleCategory(a){a.open=!a.open}constructor(a){this.store=a,this.contractCategories=this.store.data,this.loading=this.store.loading,this.noData=this.store.noData,this.hasData=this.store.hasData}};r.\u0275fac=function(c){return new(c||r)(H(C))},r.\u0275cmp=A({type:r,selectors:[["app-contract-new"]],standalone:!0,features:[U([C]),W],decls:35,vars:19,consts:[["title",""],[3,"loading"],[1,"app-page-title"],[1,"cards-container"],[1,"main-container"],[1,"alert","alert-warning"],[3,"innerHtml"],["class","mt-4",4,"ngFor","ngForOf"],[1,"mt-4"],[4,"ngIf"],[1,"contract-category",3,"click"],[1,"btn","btn-icon","contract-category-toggle"],[3,"icon","fixedWidth"],["class","contract-items mt-3",4,"ngIf"],[1,"contract-items","mt-3"],["class","card contract-item",4,"ngFor","ngForOf"],[1,"card"],[1,"card-body"],[1,"mb-3",3,"innerHTML"],["href","https://www.approovd.com/de/registrierung/","target","_blank",1,"btn","btn-xs","btn-outline-dark"],[3,"icon"],[1,"card","contract-item"],[1,"contract-item-description"],["target","_blank",1,"btn","btn-xs","btn-outline-dark","mt-3",3,"click","href"]],template:function(c,p){c&1&&(e(0,"app-page-title",1),l(1,"async"),t(2,`
36  `),e(3,"h3",2,0),t(5),l(6,"translate"),i(),t(7,`
37`),i(),t(8,`
38`),e(9,"div",3),t(10,`
39  `),e(11,"div",4),t(12,`
40    `),e(13,"div"),t(14,`
41      `),e(15,"div",5),t(16,`
42        `),e(17,"h3"),t(18),l(19,"translate"),i(),t(20,`
43        `),e(21,"div"),t(22),l(23,"translate"),i(),t(24,`
44      `),i(),t(25,`
45      `),f(26,"div",6),l(27,"translate"),t(28,`
46    `),i(),t(29,`
47
48    `),u(30,Bt,4,1,"div",7),l(31,"async"),t(32,`
49  `),i(),t(33,`
50`),i(),t(34,`
51`)),c&2&&(d("loading",m(1,6,p.loading)),o(5),g(J(6,8,"model_title.contract","{ count: 1 }")),o(13),g(m(19,11,"contracts.german_warning_title")),o(4),g(m(23,13,"contracts.german_warning")),o(4),d("innerHtml",m(27,15,"contracts.description"),T),o(4),d("ngForOf",m(31,17,p.contractCategories)))},dependencies:[pt,G,K,Z,at,ct,st,Q,Y],styles:[`.contract-category{display:inline;cursor:pointer}.contract-category .contract-category-toggle{border:none;transform:rotate(-90deg)}.contract-category .contract-category-toggle.open{transform:none}.contract-items{display:flex;flex-wrap:wrap;justify-content:space-between}.contract-items .contract-item{width:calc(50% - .5rem)}.contract-items .contract-item .card-body{display:flex;flex-direction:column;justify-content:space-between;align-items:baseline}.contract-items .contract-item .contract-item-description{white-space:pre-wrap}
52`],encapsulation:2});let n=r;return n})()});Dt();export{ae as default};

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.