webpackJsonp([17],{101:function(e,t,n){"use strict";n.d(t,"a",function(){return i});n(0);var i=function(){return function(e){this.element=e,this.textPosition="right"}}()},1054:function(e,t,n){function i(e){return n(s(e))}function s(e){var t=r[e];if(!(t+1))throw new Error("Cannot find module '"+e+"'.");return t}var r={"./af":527,"./af.js":527,"./ar":528,"./ar-dz":529,"./ar-dz.js":529,"./ar-kw":530,"./ar-kw.js":530,"./ar-ly":531,"./ar-ly.js":531,"./ar-ma":532,"./ar-ma.js":532,"./ar-sa":533,"./ar-sa.js":533,"./ar-tn":534,"./ar-tn.js":534,"./ar.js":528,"./az":535,"./az.js":535,"./be":536,"./be.js":536,"./bg":537,"./bg.js":537,"./bm":538,"./bm.js":538,"./bn":539,"./bn.js":539,"./bo":540,"./bo.js":540,"./br":294,"./br.js":294,"./bs":541,"./bs.js":541,"./ca":542,"./ca.js":542,"./cs":295,"./cs.js":295,"./cv":543,"./cv.js":543,"./cy":544,"./cy.js":544,"./da":545,"./da.js":545,"./de":546,"./de-at":547,"./de-at.js":547,"./de-ch":548,"./de-ch.js":548,"./de.js":546,"./dv":549,"./dv.js":549,"./el":550,"./el.js":550,"./en-SG":551,"./en-SG.js":551,"./en-au":552,"./en-au.js":552,"./en-ca":553,"./en-ca.js":553,"./en-gb":554,"./en-gb.js":554,"./en-ie":555,"./en-ie.js":555,"./en-il":556,"./en-il.js":556,"./en-nz":557,"./en-nz.js":557,"./eo":558,"./eo.js":558,"./es":559,"./es-do":560,"./es-do.js":560,"./es-us":561,"./es-us.js":561,"./es.js":559,"./et":562,"./et.js":562,"./eu":563,"./eu.js":563,"./fa":564,"./fa.js":564,"./fi":565,"./fi.js":565,"./fo":566,"./fo.js":566,"./fr":567,"./fr-ca":568,"./fr-ca.js":568,"./fr-ch":569,"./fr-ch.js":569,"./fr.js":567,"./fy":570,"./fy.js":570,"./ga":571,"./ga.js":571,"./gd":572,"./gd.js":572,"./gl":573,"./gl.js":573,"./gom-latn":574,"./gom-latn.js":574,"./gu":575,"./gu.js":575,"./he":296,"./he.js":296,"./hi":576,"./hi.js":576,"./hr":577,"./hr.js":577,"./hu":578,"./hu.js":578,"./hy-am":579,"./hy-am.js":579,"./id":580,"./id.js":580,"./is":581,"./is.js":581,"./it":582,"./it-ch":583,"./it-ch.js":583,"./it.js":582,"./ja":584,"./ja.js":584,"./jv":585,"./jv.js":585,"./ka":586,"./ka.js":586,"./kk":587,"./kk.js":587,"./km":588,"./km.js":588,"./kn":589,"./kn.js":589,"./ko":590,"./ko.js":590,"./ku":591,"./ku.js":591,"./ky":592,"./ky.js":592,"./lb":593,"./lb.js":593,"./lo":594,"./lo.js":594,"./lt":595,"./lt.js":595,"./lv":596,"./lv.js":596,"./me":597,"./me.js":597,"./mi":598,"./mi.js":598,"./mk":599,"./mk.js":599,"./ml":600,"./ml.js":600,"./mn":297,"./mn.js":297,"./mr":601,"./mr.js":601,"./ms":602,"./ms-my":603,"./ms-my.js":603,"./ms.js":602,"./mt":604,"./mt.js":604,"./my":605,"./my.js":605,"./nb":606,"./nb.js":606,"./ne":607,"./ne.js":607,"./nl":608,"./nl-be":609,"./nl-be.js":609,"./nl.js":608,"./nn":610,"./nn.js":610,"./pa-in":611,"./pa-in.js":611,"./pl":298,"./pl.js":298,"./pt":299,"./pt-br":612,"./pt-br.js":612,"./pt.js":299,"./ro":613,"./ro.js":613,"./ru":614,"./ru.js":614,"./sd":615,"./sd.js":615,"./se":616,"./se.js":616,"./si":617,"./si.js":617,"./sk":300,"./sk.js":300,"./sl":618,"./sl.js":618,"./sq":619,"./sq.js":619,"./sr":620,"./sr-cyrl":621,"./sr-cyrl.js":621,"./sr.js":620,"./ss":622,"./ss.js":622,"./sv":623,"./sv.js":623,"./sw":624,"./sw.js":624,"./ta":625,"./ta.js":625,"./te":626,"./te.js":626,"./tet":627,"./tet.js":627,"./tg":628,"./tg.js":628,"./th":301,"./th.js":301,"./tl-ph":629,"./tl-ph.js":629,"./tlh":630,"./tlh.js":630,"./tr":631,"./tr.js":631,"./tzl":632,"./tzl.js":632,"./tzm":633,"./tzm-latn":634,"./tzm-latn.js":634,"./tzm.js":633,"./ug-cn":635,"./ug-cn.js":635,"./uk":636,"./uk.js":636,"./ur":637,"./ur.js":637,"./uz":638,"./uz-latn":639,"./uz-latn.js":639,"./uz.js":638,"./vi":640,"./vi.js":640,"./x-pseudo":641,"./x-pseudo.js":641,"./yo":642,"./yo.js":642,"./zh-cn":643,"./zh-cn.js":643,"./zh-hk":644,"./zh-hk.js":644,"./zh-tw":645,"./zh-tw.js":645};i.keys=function(){return Object.keys(r)},i.resolve=s,e.exports=i,i.id=1054},1058:function(e,t){e.exports={"@angular-devkit/build-optimizer@0.0.35":{licenses:"MIT",repository:"https://github.com/angular/devkit",licenseUrl:"https://github.com/angular/devkit/raw/master/LICENSE",parents:"signosoft"},"@angular/animations@4.4.4":{licenses:"MIT",repository:"https://github.com/angular/angular",licenseUrl:"https://github.com/angular/angular",parents:"signosoft"},"@angular/common@4.4.4":{licenses:"MIT",repository:"https://github.com/angular/angular",licenseUrl:"https://github.com/angular/angular",parents:"signosoft"},"@angular/compiler-cli@4.4.4":{licenses:"MIT",repository:"https://github.com/angular/angular",licenseUrl:"https://github.com/angular/angular",parents:"signosoft"},"@angular/compiler@4.4.4":{licenses:"MIT",repository:"https://github.com/angular/angular",licenseUrl:"https://github.com/angular/angular",parents:"signosoft"},"@angular/core@4.4.4":{licenses:"MIT",repository:"https://github.com/angular/angular",licenseUrl:"https://github.com/angular/angular",parents:"signosoft"},"@angular/forms@4.4.4":{licenses:"MIT",repository:"https://github.com/angular/angular",licenseUrl:"https://github.com/angular/angular",parents:"signosoft"},"@angular/http@4.4.4":{licenses:"MIT",repository:"https://github.com/angular/angular",licenseUrl:"https://github.com/angular/angular",parents:"signosoft"},"@angular/platform-browser-dynamic@4.4.4":{licenses:"MIT",repository:"https://github.com/angular/angular",licenseUrl:"https://github.com/angular/angular",parents:"signosoft"},"@angular/platform-browser@4.4.4":{licenses:"MIT",repository:"https://github.com/angular/angular",licenseUrl:"https://github.com/angular/angular",parents:"signosoft"},"@angular/tsc-wrapped@4.4.4":{licenses:"MIT",repository:"https://github.com/angular/angular",licenseUrl:"https://github.com/angular/angular",parents:"signosoft"},"@ionic-native/app-version@4.3.3":{licenses:"MIT",repository:"https://github.com/ionic-team/ionic-native",licenseUrl:"https://github.com/ionic-team/ionic-native",parents:"signosoft"},"@ionic-native/core@4.4.2":{licenses:"MIT",repository:"https://github.com/ionic-team/ionic-native",licenseUrl:"https://github.com/ionic-team/ionic-native",parents:"signosoft"},"@ionic-native/device@4.4.2":{licenses:"MIT",repository:"https://github.com/ionic-team/ionic-native",licenseUrl:"https://github.com/ionic-team/ionic-native",parents:"signosoft"},"@ionic-native/file-chooser@4.4.2":{licenses:"MIT",repository:"https://github.com/ionic-team/ionic-native",licenseUrl:"https://github.com/ionic-team/ionic-native",parents:"signosoft"},"@ionic-native/file-opener@4.4.2":{licenses:"MIT",repository:"https://github.com/ionic-team/ionic-native",licenseUrl:"https://github.com/ionic-team/ionic-native",parents:"signosoft"},"@ionic-native/file-path@4.4.2":{licenses:"MIT",repository:"https://github.com/ionic-team/ionic-native",licenseUrl:"https://github.com/ionic-team/ionic-native",parents:"signosoft"},"@ionic-native/file@4.4.2":{licenses:"MIT",repository:"https://github.com/ionic-team/ionic-native",licenseUrl:"https://github.com/ionic-team/ionic-native",parents:"signosoft"},"@ionic-native/in-app-purchase@4.5.3":{licenses:"MIT",repository:"https://github.com/ionic-team/ionic-native",licenseUrl:"https://github.com/ionic-team/ionic-native",parents:"signosoft"},"@ionic-native/keychain-touch-id@4.4.2":{licenses:"MIT",repository:"https://github.com/ionic-team/ionic-native",licenseUrl:"https://github.com/ionic-team/ionic-native",parents:"signosoft"},"@ionic-native/network@4.4.2":{licenses:"MIT",repository:"https://github.com/ionic-team/ionic-native",licenseUrl:"https://github.com/ionic-team/ionic-native",parents:"signosoft"},"@ionic-native/screen-orientation@4.4.2":{licenses:"MIT",repository:"https://github.com/ionic-team/ionic-native",licenseUrl:"https://github.com/ionic-team/ionic-native",parents:"signosoft"},"@ionic-native/splash-screen@4.4.2":{licenses:"MIT",repository:"https://github.com/ionic-team/ionic-native",licenseUrl:"https://github.com/ionic-team/ionic-native",parents:"signosoft"},"@ionic-native/status-bar@4.4.2":{licenses:"MIT",repository:"https://github.com/ionic-team/ionic-native",licenseUrl:"https://github.com/ionic-team/ionic-native",parents:"signosoft"},"@ionic-native/web-intent@4.10.1":{licenses:"MIT",repository:"https://github.com/ionic-team/ionic-native",licenseUrl:"https://github.com/ionic-team/ionic-native",parents:"signosoft"},"@ionic/app-scripts@3.1.11":{licenses:"MIT",repository:"https://github.com/ionic-team/ionic-app-scripts",licenseUrl:"https://github.com/ionic-team/ionic-app-scripts/raw/master/LICENSE",parents:"signosoft"},"@ionic/cli-framework@0.1.3":{licenses:"MIT",licenseUrl:"https://ionicframework.com/",parents:"signosoft"},"@ionic/cli-utils@1.19.2":{licenses:"MIT",repository:"https://github.com/ionic-team/ionic-cli",licenseUrl:"https://github.com/ionic-team/ionic-cli",parents:"signosoft"},"@ionic/discover@0.4.0":{licenses:"MIT",repository:"https://github.com/ionic-team/ionic-discover",licenseUrl:"https://github.com/ionic-team/ionic-discover/raw/master/LICENSE",parents:"signosoft"},"@ionic/storage@2.0.1":{licenses:"MIT",repository:"https://github.com/driftyco/ionic-storage",licenseUrl:"https://github.com/driftyco/ionic-storage",parents:"signosoft"},"@ngx-translate/core@8.0.0":{licenses:"MIT",repository:"https://github.com/ngx-translate/core",licenseUrl:"https://github.com/ngx-translate/core/raw/master/LICENSE",parents:"signosoft"},"@ngx-translate/http-loader@2.0.1":{licenses:"MIT",repository:"https://github.com/ngx-translate/http-loader",licenseUrl:"https://github.com/ngx-translate/http-loader/raw/master/LICENSE",parents:"signosoft"},"@types/hammerjs@2.0.35":{licenses:"MIT",repository:"https://wwwhub.com/DefinitelyTyped/DefinitelyTyped",licenseUrl:"https://wwwhub.com/DefinitelyTyped/DefinitelyTyped",parents:"signosoft"},"@types/localforage@0.0.30":{licenses:"MIT",repository:"https://wwwhub.com/DefinitelyTyped/DefinitelyTyped",licenseUrl:"https://wwwhub.com/DefinitelyTyped/DefinitelyTyped",parents:"signosoft"},"JSONStream@1.3.1":{licenses:"(MIT OR Apache-2.0)",repository:"https://github.com/dominictarr/JSONStream",licenseUrl:"https://github.com/dominictarr/JSONStream/raw/master/LICENSE.APACHE2",parents:"npm:signosoft"},"abbrev@1.0.7":{licenses:"ISC",repository:"https://github.com/isaacs/abbrev-js",licenseUrl:"https://github.com/isaacs/abbrev-js/raw/master/LICENSE",parents:"nopt:cordova-android:signosoft"},"abbrev@1.1.1":{licenses:"ISC",repository:"https://github.com/isaacs/abbrev-js",licenseUrl:"https://github.com/isaacs/abbrev-js/raw/master/LICENSE",parents:"cordova-browser:signosoft"},"accepts@1.3.4":{licenses:"MIT",repository:"https://github.com/jshttp/accepts",licenseUrl:"https://github.com/jshttp/accepts/raw/master/LICENSE",parents:"cordova-browser:signosoft"},"accepts@1.3.5":{licenses:"MIT",repository:"https://github.com/jshttp/accepts",licenseUrl:"https://github.com/jshttp/accepts/raw/master/LICENSE",parents:"signosoft"},"acorn-dynamic-import@2.0.2":{licenses:"MIT",repository:"https://github.com/kesne/acorn-dynamic-import",licenseUrl:"https://github.com/kesne/acorn-dynamic-import/raw/master/LICENSE",parents:"signosoft"},"acorn@1.2.2":{licenses:"MIT",repository:"https://github.com/marijnh/acorn",licenseUrl:"https://github.com/marijnh/acorn/raw/master/LICENSE",parents:"signosoft"},"acorn@3.3.0":{licenses:"MIT",repository:"https://github.com/ternjs/acorn",licenseUrl:"https://github.com/ternjs/acorn/raw/master/LICENSE",parents:"webpack:signosoft"},"acorn@4.0.13":{licenses:"MIT",repository:"https://github.com/ternjs/acorn",licenseUrl:"https://github.com/ternjs/acorn/raw/master/LICENSE",parents:"acorn-dynamic-import:signosoft"},"acorn@5.7.1":{licenses:"MIT",repository:"https://github.com/acornjs/acorn",licenseUrl:"https://github.com/acornjs/acorn/raw/master/LICENSE",parents:"rollup-plugin-commonjs:signosoft"},"agent-base@4.1.1":{licenses:"MIT",repository:"https://github.com/TooTallNate/node-agent-base",licenseUrl:"https://github.com/TooTallNate/node-agent-base",parents:"http-proxy-agent:make-fetch-happen:npm-profile:npm:signosoft"},"agentkeepalive@3.3.0":{licenses:"MIT",repository:"https://github.com/node-modules/agentkeepalive",licenseUrl:"https://github.com/node-modules/agentkeepalive",parents:"make-fetch-happen:npm-profile:npm:signosoft"},"ajv-keywords@2.1.1":{licenses:"MIT",repository:"https://github.com/epoberezkin/ajv-keywords",licenseUrl:"https://github.com/epoberezkin/ajv-keywords/raw/master/LICENSE",parents:"signosoft"},"ajv@5.2.3":{licenses:"MIT",repository:"https://github.com/epoberezkin/ajv",licenseUrl:"https://github.com/epoberezkin/ajv/raw/master/LICENSE",parents:"har-validator:request:npm:signosoft"},"ajv@5.5.2":{licenses:"MIT",repository:"https://github.com/epoberezkin/ajv",licenseUrl:"https://github.com/epoberezkin/ajv/raw/master/LICENSE",parents:"signosoft"},"align-text@0.1.4":{licenses:"MIT",repository:"https://github.com/jonschlinkert/align-text",licenseUrl:"https://github.com/jonschlinkert/align-text/raw/master/LICENSE",parents:"signosoft"},"amdefine@1.0.1":{licenses:"BSD-3-Clause OR MIT",repository:"https://github.com/jrburke/amdefine",licenseUrl:"https://github.com/jrburke/amdefine/raw/master/LICENSE",parents:"signosoft"},"android-versions@1.3.0":{licenses:"MIT",repository:"https://github.com/dvoiss/android-versions",licenseUrl:"https://github.com/dvoiss/android-versions",parents:"signosoft"},"ansi-align@2.0.0":{licenses:"ISC",repository:"https://github.com/nexdrew/ansi-align",licenseUrl:"https://github.com/nexdrew/ansi-align/raw/master/LICENSE",parents:"boxen:update-notifier:npm:signosoft"},"ansi-escapes@3.1.0":{licenses:"MIT",repository:"https://github.com/sindresorhus/ansi-escapes",licenseUrl:"https://github.com/sindresorhus/ansi-escapes/raw/master/license",parents:"signosoft"},"ansi-regex@2.1.1":{licenses:"MIT",repository:"https://github.com/chalk/ansi-regex",licenseUrl:"https://github.com/chalk/ansi-regex/raw/master/license",parents:"cordova-browser:signosoft"},"ansi-regex@3.0.0":{licenses:"MIT",repository:"https://github.com/chalk/ansi-regex",licenseUrl:"https://github.com/chalk/ansi-regex/raw/master/license",parents:"npm:signosoft"},"ansi-styles@2.2.1":{licenses:"MIT",repository:"https://github.com/chalk/ansi-styles",licenseUrl:"https://github.com/chalk/ansi-styles/raw/master/license",parents:"cordova-browser:signosoft"},"ansi-styles@3.2.1":{licenses:"MIT",repository:"https://github.com/chalk/ansi-styles",licenseUrl:"https://github.com/chalk/ansi-styles/raw/master/license",parents:"signosoft"},"ansi@0.3.1":{licenses:"MIT",repository:"https://github.com/TooTallNate/ansi.js",licenseUrl:"https://github.com/TooTallNate/ansi.js/raw/master/LICENSE",parents:"cordova-browser:signosoft"},"ansicolors@0.3.2":{licenses:"MIT",repository:"https://github.com/thlorenz/ansicolors",licenseUrl:"https://github.com/thlorenz/ansicolors/raw/master/LICENSE",parents:"npm:signosoft"},"ansistyles@0.1.3":{licenses:"MIT",repository:"https://github.com/thlorenz/ansistyles",licenseUrl:"https://github.com/thlorenz/ansistyles/raw/master/LICENSE",parents:"npm:signosoft"},"anymatch@1.3.2":{licenses:"ISC",repository:"https://github.com/es128/anymatch",licenseUrl:"https://github.com/es128/anymatch/raw/master/LICENSE",parents:"signosoft"},"anymatch@2.0.0":{licenses:"ISC",repository:"https://github.com/micromatch/anymatch",licenseUrl:"https://github.com/micromatch/anymatch/raw/master/LICENSE",parents:"@ionic/app-scripts:signosoft"},"aproba@1.2.0":{licenses:"ISC",repository:"https://github.com/iarna/aproba",licenseUrl:"https://github.com/iarna/aproba/raw/master/LICENSE",parents:"npm:signosoft"},"archiver-utils@1.3.0":{licenses:"MIT",repository:"https://github.com/archiverjs/archiver-utils",licenseUrl:"https://github.com/archiverjs/archiver-utils/raw/master/LICENSE",parents:"signosoft"},"archiver@2.1.1":{licenses:"MIT",repository:"https://github.com/archiverjs/node-archiver",licenseUrl:"https://github.com/archiverjs/node-archiver/raw/master/LICENSE",parents:"signosoft"},"archy@1.0.0":{licenses:"MIT",repository:"https://github.com/substack/node-archy",licenseUrl:"https://github.com/substack/node-archy/raw/master/LICENSE",parents:"npm:signosoft"},"are-we-there-yet@1.1.4":{licenses:"ISC",repository:"https://github.com/iarna/are-we-there-yet",licenseUrl:"https://github.com/iarna/are-we-there-yet/raw/master/LICENSE",parents:"npmlog:npm:signosoft"},"are-we-there-yet@1.1.5":{licenses:"ISC",repository:"https://github.com/iarna/are-we-there-yet",licenseUrl:"https://github.com/iarna/are-we-there-yet/raw/master/LICENSE",parents:"signosoft"},"argparse@1.0.10":{licenses:"MIT",repository:"https://github.com/nodeca/argparse",licenseUrl:"https://github.com/nodeca/argparse/raw/master/LICENSE",parents:"signosoft"},"arr-diff@2.0.0":{licenses:"MIT",repository:"https://github.com/jonschlinkert/arr-diff",licenseUrl:"https://github.com/jonschlinkert/arr-diff/raw/master/LICENSE",parents:"signosoft"},"arr-diff@4.0.0":{licenses:"MIT",repository:"https://github.com/jonschlinkert/arr-diff",licenseUrl:"https://github.com/jonschlinkert/arr-diff/raw/master/LICENSE",parents:"nanomatch:signosoft"},"arr-flatten@1.1.0":{licenses:"MIT",repository:"https://github.com/jonschlinkert/arr-flatten",licenseUrl:"https://github.com/jonschlinkert/arr-flatten/raw/master/LICENSE",parents:"signosoft"},"arr-union@3.1.0":{licenses:"MIT",repository:"https://github.com/jonschlinkert/arr-union",licenseUrl:"https://github.com/jonschlinkert/arr-union/raw/master/LICENSE",parents:"signosoft"},"array-find-index@1.0.2":{licenses:"MIT",repository:"https://github.com/sindresorhus/array-find-index",licenseUrl:"https://github.com/sindresorhus/array-find-index/raw/master/license",parents:"signosoft"},"array-flatten@1.1.1":{licenses:"MIT",repository:"https://github.com/blakeembrey/array-flatten",licenseUrl:"https://github.com/blakeembrey/array-flatten/raw/master/LICENSE",parents:"cordova-browser:signosoft"},"array-unique@0.2.1":{licenses:"MIT",repository:"https://github.com/jonschlinkert/array-unique",licenseUrl:"https://github.com/jonschlinkert/array-unique/blob/master/LICENSE",parents:"signosoft"},"array-unique@0.3.2":{licenses:"MIT",repository:"https://github.com/jonschlinkert/array-unique",licenseUrl:"https://github.com/jonschlinkert/array-unique/raw/master/LICENSE",parents:"nanomatch:signosoft"},"asap@2.0.5":{licenses:"MIT",repository:"https://github.com/kriskowal/asap",licenseUrl:"https://github.com/kriskowal/asap/raw/master/LICENSE.md",parents:"dezalgo:npm:signosoft"},"asn1.js@4.10.1":{licenses:"MIT",repository:"https://github.com/indutny/asn1.js",licenseUrl:"https://github.com/indutny/asn1.js",parents:"signosoft"},"asn1@0.2.3":{licenses:"MIT",repository:"https://github.com/mcavage/node-asn1",licenseUrl:"https://github.com/mcavage/node-asn1/raw/master/LICENSE",parents:"sshpk:http-signature:request:npm:signosoft"},"asn1@0.2.4":{licenses:"MIT",repository:"https://github.com/joyent/node-asn1",licenseUrl:"https://github.com/joyent/node-asn1/raw/master/LICENSE",parents:"signosoft"},"assert-plus@0.2.0":{licenses:"MIT",repository:"https://github.com/mcavage/node-assert-plus",licenseUrl:"https://github.com/mcavage/node-assert-plus",parents:"request:signosoft"},"assert-plus@1.0.0":{licenses:"MIT",repository:"https://github.com/mcavage/node-assert-plus",licenseUrl:"https://github.com/mcavage/node-assert-plus",parents:"http-signature:request:npm:signosoft"},"assert@1.4.1":{licenses:"MIT",repository:"https://github.com/defunctzombie/commonjs-assert",licenseUrl:"https://github.com/defunctzombie/commonjs-assert/raw/master/LICENSE",parents:"signosoft"},"assign-symbols@1.0.0":{licenses:"MIT",repository:"https://github.com/jonschlinkert/assign-symbols",licenseUrl:"https://github.com/jonschlinkert/assign-symbols/raw/master/LICENSE",parents:"signosoft"},"ast-types@0.8.15":{licenses:"MIT",repository:"https://github.com/benjamn/ast-types",licenseUrl:"https://github.com/benjamn/ast-types/raw/master/LICENSE",parents:"signosoft"},"async-each@1.0.1":{licenses:"MIT",repository:"https://github.com/paulmillr/async-each",licenseUrl:"https://github.com/paulmillr/async-each",parents:"signosoft"},"async-foreach@0.1.3":{licenses:"MIT*",repository:"https://github.com/cowboy/javascript-sync-async-foreach",licenseUrl:"https://github.com/cowboy/javascript-sync-async-foreach/raw/master/LICENSE-MIT",parents:"signosoft"},"async-limiter@1.0.0":{licenses:"MIT",repository:"https://github.com/strml/async-limiter",licenseUrl:"https://github.com/strml/async-limiter/raw/master/LICENSE",parents:"signosoft"},"async@0.2.10":{licenses:"MIT",repository:"https://github.com/caolan/async",licenseUrl:"https://github.com/caolan/async/raw/master/LICENSE",parents:"uglify-js:webpack:signosoft"},"async@0.9.2":{licenses:"MIT",repository:"https://github.com/caolan/async",licenseUrl:"https://github.com/caolan/async/raw/master/LICENSE",parents:"watchpack:signosoft"},"async@1.5.2":{licenses:"MIT",repository:"https://github.com/caolan/async",licenseUrl:"https://github.com/caolan/async/raw/master/LICENSE",parents:"signosoft"},"async@2.6.1":{licenses:"MIT",repository:"https://github.com/caolan/async",licenseUrl:"https://github.com/caolan/async/raw/master/LICENSE",parents:"archiver:signosoft"},"asynckit@0.4.0":{licenses:"MIT",repository:"https://github.com/alexindigo/asynckit",licenseUrl:"https://github.com/alexindigo/asynckit/raw/master/LICENSE",parents:"form-data:request:npm:signosoft"},"atob@2.1.1":{licenses:"(MIT OR Apache-2.0)",repository:"git://git.coolaj86.com/coolaj86/atob.js",licenseUrl:"https://git.coolaj86.com/coolaj86/atob.js",parents:"signosoft"},"autoprefixer@7.2.6":{licenses:"MIT",repository:"https://github.com/postcss/autoprefixer",licenseUrl:"https://github.com/postcss/autoprefixer/raw/master/LICENSE",parents:"signosoft"},"aws-sign2@0.6.0":{licenses:"Apache-2.0",repository:"https://github.com/mikeal/aws-sign",licenseUrl:"https://github.com/mikeal/aws-sign/raw/master/LICENSE",parents:"request:signosoft"},"aws-sign2@0.7.0":{licenses:"Apache-2.0",repository:"https://github.com/mikeal/aws-sign",licenseUrl:"https://github.com/mikeal/aws-sign/raw/master/LICENSE",parents:"request:npm:signosoft"},"aws4@1.6.0":{licenses:"MIT",repository:"https://github.com/mhart/aws4",licenseUrl:"https://github.com/mhart/aws4/raw/master/LICENSE",parents:"request:npm:signosoft"},"aws4@1.8.0":{licenses:"MIT",repository:"https://github.com/mhart/aws4",licenseUrl:"https://github.com/mhart/aws4/raw/master/LICENSE",parents:"signosoft"},"babel-code-frame@6.26.0":{licenses:"MIT",repository:"https://github.com/babel/babel/tree/master/packages/babel-code-frame",licenseUrl:"https://github.com/babel/babel/tree/master/packages/babel-code-frame",parents:"signosoft"},"balanced-match@0.2.1":{licenses:"MIT",repository:"https://github.com/juliangruber/balanced-match",licenseUrl:"https://github.com/juliangruber/balanced-match/raw/master/LICENSE.md",parents:"brace-expansion:minimatch:glob:cordova-common:cordova-android:signosoft"},"balanced-match@1.0.0":{licenses:"MIT",repository:"https://github.com/juliangruber/balanced-match",licenseUrl:"https://github.com/juliangruber/balanced-match/raw/master/LICENSE.md",parents:"cordova-universal-links-plugin"},"base62@0.1.1":{licenses:"UNKNOWN",repository:"https://github.com/andrew/base62.js",licenseUrl:"https://github.com/andrew/base62.js/raw/master/LICENSE",parents:"signosoft"},"base64-js@0.0.6":{licenses:"MIT",repository:"https://github.com/beatgammit/base64-js",licenseUrl:"https://github.com/beatgammit/base64-js/raw/master/LICENSE.MIT",parents:"plist:cordova-common:cordova-android:signosoft"},"base64-js@0.0.8":{licenses:"MIT",repository:"https://github.com/beatgammit/base64-js",licenseUrl:"https://github.com/beatgammit/base64-js/raw/master/LICENSE.MIT",parents:"cordova-browser:signosoft"},"base64-js@1.1.2":{licenses:"MIT",repository:"https://github.com/beatgammit/base64-js",licenseUrl:"https://github.com/beatgammit/base64-js/raw/master/LICENSE.MIT",parents:"simple-plist:cordova-ios:signosoft"},"base64-js@1.3.0":{licenses:"MIT",repository:"https://github.com/beatgammit/base64-js",licenseUrl:"https://github.com/beatgammit/base64-js/raw/master/LICENSE",parents:"cordova-universal-links-plugin"},"base@0.11.2":{licenses:"MIT",repository:"https://github.com/node-base/base",licenseUrl:"https://github.com/node-base/base/raw/master/LICENSE",parents:"signosoft"},"basic-auth@1.1.0":{licenses:"MIT",repository:"https://github.com/jshttp/basic-auth",licenseUrl:"https://github.com/jshttp/basic-auth/raw/master/LICENSE",parents:"signosoft"},"bcrypt-pbkdf@1.0.1":{licenses:"BSD-3-Clause",parents:"sshpk:http-signature:request:npm:signosoft"},"bcrypt-pbkdf@1.0.2":{licenses:"BSD-3-Clause",repository:"https://github.com/joyent/node-bcrypt-pbkdf",licenseUrl:"https://github.com/joyent/node-bcrypt-pbkdf/raw/master/LICENSE",parents:"signosoft"},"big-integer@1.6.25":{licenses:"Unlicense",repository:"https://github.com/peterolson/BigInteger.js",licenseUrl:"https://github.com/peterolson/BigInteger.js/raw/master/LICENSE",parents:"cordova-ios:signosoft"},"big-integer@1.6.26":{licenses:"Unlicense",repository:"https://github.com/peterolson/BigInteger.js",licenseUrl:"https://github.com/peterolson/BigInteger.js/raw/master/LICENSE",parents:"cordova-browser:signosoft"},"big.js@3.2.0":{licenses:"MIT",repository:"https://github.com/MikeMcl/big.js",licenseUrl:"https://github.com/MikeMcl/big.js/raw/master/LICENCE",parents:"signosoft"},"binary-extensions@1.11.0":{licenses:"MIT",repository:"https://github.com/sindresorhus/binary-extensions",licenseUrl:"https://github.com/sindresorhus/binary-extensions/raw/master/license",parents:"signosoft"},"bl@1.2.2":{licenses:"MIT",repository:"https://github.com/rvagg/bl",licenseUrl:"https://github.com/rvagg/bl/raw/master/LICENSE.md",parents:"signosoft"},"block-stream@0.0.9":{licenses:"ISC",repository:"https://github.com/isaacs/block-stream",licenseUrl:"https://github.com/isaacs/block-stream/raw/master/LICENCE",parents:"tar:node-gyp:npm:signosoft"},"bluebird@3.5.0":{licenses:"MIT",repository:"https://github.com/petkaantonov/bluebird",licenseUrl:"https://github.com/petkaantonov/bluebird/raw/master/LICENSE",parents:"npm:signosoft"},"bluebird@3.5.1":{licenses:"MIT",repository:"https://github.com/petkaantonov/bluebird",licenseUrl:"https://github.com/petkaantonov/bluebird/raw/master/LICENSE",parents:"signosoft"},"bn.js@4.11.8":{licenses:"MIT",repository:"https://github.com/indutny/bn.js",licenseUrl:"https://github.com/indutny/bn.js",parents:"signosoft"},"body-parser@1.18.2":{licenses:"MIT",repository:"https://github.com/expressjs/body-parser",licenseUrl:"https://github.com/expressjs/body-parser/raw/master/LICENSE",parents:"cordova-browser:signosoft"},"body@5.1.0":{licenses:"MIT",repository:"https://github.com/Raynos/body",licenseUrl:"http://github.com/Raynos/body/raw/master/LICENSE",parents:"signosoft"},"boolbase@1.0.0":{licenses:"ISC",repository:"https://github.com/fb55/boolbase",licenseUrl:"https://github.com/fb55/boolbase",parents:"signosoft"},"boom@2.10.1":{licenses:"BSD-3-Clause",repository:"https://github.com/hapijs/boom",licenseUrl:"https://github.com/hapijs/boom/raw/master/LICENSE",parents:"signosoft"},"boom@4.3.1":{licenses:"BSD-3-Clause",repository:"https://github.com/hapijs/boom",licenseUrl:"https://github.com/hapijs/boom/raw/master/LICENSE",parents:"hawk:request:npm:signosoft"},"boom@5.2.0":{licenses:"BSD-3-Clause",repository:"https://github.com/hapijs/boom",licenseUrl:"https://github.com/hapijs/boom/raw/master/LICENSE",parents:"cryptiles:hawk:request:npm:signosoft"},"boxen@1.1.0":{licenses:"MIT",repository:"https://github.com/sindresorhus/boxen",licenseUrl:"https://github.com/sindresorhus/boxen/raw/master/license",parents:"update-notifier:npm:signosoft"},"bplist-creator@0.0.7":{licenses:"MIT",repository:"https://github.com/nearinfinity/node-bplist-creator",licenseUrl:"https://github.com/nearinfinity/node-bplist-creator",parents:"cordova-ios:signosoft"},"bplist-parser@0.0.6":{licenses:"MIT",repository:"https://github.com/nearinfinity/node-bplist-parser",licenseUrl:"https://github.com/nearinfinity/node-bplist-parser",parents:"ios-sim:cordova-ios:signosoft"},"bplist-parser@0.1.0":{licenses:"MIT",repository:"https://github.com/nearinfinity/node-bplist-parser",licenseUrl:"https://github.com/nearinfinity/node-bplist-parser",parents:"cordova-common:cordova-android:signosoft"},"bplist-parser@0.1.1":{licenses:"MIT",repository:"https://github.com/nearinfinity/node-bplist-parser",licenseUrl:"https://github.com/nearinfinity/node-bplist-parser",parents:"cordova-browser:signosoft"},"brace-expansion@1.1.1":{licenses:"MIT",repository:"https://github.com/juliangruber/brace-expansion",licenseUrl:"https://github.com/juliangruber/brace-expansion",parents:"minimatch:glob:cordova-common:cordova-android:signosoft"},"brace-expansion@1.1.11":{licenses:"MIT",repository:"https://github.com/juliangruber/brace-expansion",licenseUrl:"https://github.com/juliangruber/brace-expansion/raw/master/LICENSE",parents:"cordova-universal-links-plugin"},"brace-expansion@1.1.8":{licenses:"MIT",repository:"https://github.com/juliangruber/brace-expansion",licenseUrl:"https://github.com/juliangruber/brace-expansion",parents:"cordova-browser:signosoft"},"braces@1.8.5":{licenses:"MIT",repository:"https://github.com/jonschlinkert/braces",licenseUrl:"https://github.com/jonschlinkert/braces/raw/master/LICENSE",parents:"signosoft"},"braces@2.3.2":{licenses:"MIT",repository:"https://github.com/micromatch/braces",licenseUrl:"https://github.com/micromatch/braces/raw/master/LICENSE",parents:"@ionic/app-scripts:signosoft"},"brorand@1.1.0":{licenses:"MIT",repository:"https://github.com/indutny/brorand",licenseUrl:"https://github.com/indutny/brorand",parents:"signosoft"},"browser-detect@0.2.28":{licenses:"MIT",repository:"https://github.com/KennethanCeyer/browser-detect",licenseUrl:"https://github.com/KennethanCeyer/browser-detect/raw/master/LICENSE",parents:"signosoft"},"browser-resolve@1.11.3":{licenses:"MIT",repository:"https://github.com/shtylman/node-browser-resolve",licenseUrl:"https://github.com/shtylman/node-browser-resolve/raw/master/LICENSE",parents:"signosoft"},"browserify-aes@0.4.0":{licenses:"MIT",repository:"https://github.com/calvinmetcalf/browserify-aes",licenseUrl:"https://github.com/calvinmetcalf/browserify-aes",parents:"signosoft"},"browserify-aes@1.2.0":{licenses:"MIT",repository:"https://github.com/crypto-browserify/browserify-aes",licenseUrl:"https://github.com/crypto-browserify/browserify-aes/raw/master/LICENSE",parents:"parse-asn1:signosoft"},"browserify-cipher@1.0.1":{licenses:"MIT",repository:"https://github.com/crypto-browserify/browserify-cipher",licenseUrl:"https://github.com/crypto-browserify/browserify-cipher/raw/master/LICENSE",parents:"signosoft"},"browserify-des@1.0.2":{licenses:"MIT",repository:"https://github.com/crypto-browserify/browserify-des",licenseUrl:"https://github.com/crypto-browserify/browserify-des/raw/master/license",parents:"signosoft"},"browserify-rsa@4.0.1":{licenses:"MIT",repository:"https://github.com/crypto-browserify/browserify-rsa",licenseUrl:"https://github.com/crypto-browserify/browserify-rsa/raw/master/LICENSE",parents:"signosoft"},"browserify-sign@4.0.4":{licenses:"ISC",repository:"https://github.com/crypto-browserify/browserify-sign",licenseUrl:"https://github.com/crypto-browserify/browserify-sign/raw/master/LICENSE",parents:"signosoft"},"browserify-zlib@0.1.4":{licenses:"MIT",repository:"https://github.com/devongovett/browserify-zlib",licenseUrl:"https://github.com/devongovett/browserify-zlib",parents:"signosoft"},"browserify-zlib@0.2.0":{licenses:"MIT",repository:"https://github.com/devongovett/browserify-zlib",licenseUrl:"https://github.com/devongovett/browserify-zlib/raw/master/LICENSE",parents:"@ionic/app-scripts:signosoft"},"browserslist@2.11.3":{licenses:"MIT",repository:"https://github.com/ai/browserslist",licenseUrl:"https://github.com/ai/browserslist/raw/master/LICENSE",parents:"signosoft"},"buffer-alloc-unsafe@1.1.0":{licenses:"MIT",repository:"https://github.com/LinusU/buffer-alloc-unsafe",licenseUrl:"https://github.com/LinusU/buffer-alloc-unsafe",parents:"signosoft"},"buffer-alloc@1.2.0":{licenses:"MIT",repository:"https://github.com/LinusU/buffer-alloc",licenseUrl:"https://github.com/LinusU/buffer-alloc",parents:"signosoft"},"buffer-crc32@0.2.13":{licenses:"MIT",repository:"https://github.com/brianloveswords/buffer-crc32",licenseUrl:"https://github.com/brianloveswords/buffer-crc32/raw/master/LICENSE",parents:"signosoft"},"buffer-fill@1.0.0":{licenses:"MIT",repository:"https://github.com/linusu/buffer-fill",licenseUrl:"https://github.com/linusu/buffer-fill",parents:"signosoft"},"buffer-xor@1.0.3":{licenses:"MIT",repository:"https://github.com/crypto-browserify/buffer-xor",licenseUrl:"https://github.com/crypto-browserify/buffer-xor/raw/master/LICENSE",parents:"signosoft"},"buffer@4.9.1":{licenses:"MIT",repository:"https://github.com/feross/buffer",licenseUrl:"https://github.com/feross/buffer/raw/master/LICENSE",parents:"signosoft"},"buffer@5.2.0":{licenses:"MIT",repository:"https://github.com/feross/buffer",licenseUrl:"https://github.com/feross/buffer/raw/master/LICENSE",parents:"crc:signosoft"},"builtin-modules@1.1.1":{licenses:"MIT",repository:"https://github.com/sindresorhus/builtin-modules",licenseUrl:"https://github.com/sindresorhus/builtin-modules/raw/master/license",parents:"is-builtin-module:normalize-package-data:npm:signosoft"},"builtin-status-codes@3.0.0":{licenses:"MIT",repository:"https://github.com/bendrucker/builtin-status-codes",licenseUrl:"https://github.com/bendrucker/builtin-status-codes/raw/master/license",parents:"signosoft"},"builtins@1.0.3":{licenses:"MIT",repository:"https://github.com/juliangruber/builtins",licenseUrl:"https://github.com/juliangruber/builtins/raw/master/License",parents:"validate-npm-package-name:npm:signosoft"},"bytes@1.0.0":{licenses:"UNKNOWN",repository:"https://github.com/visionmedia/bytes.js",licenseUrl:"https://github.com/visionmedia/bytes.js",parents:"body:signosoft"},"bytes@3.0.0":{licenses:"MIT",repository:"https://github.com/visionmedia/bytes.js",licenseUrl:"https://github.com/visionmedia/bytes.js/raw/master/LICENSE",parents:"cordova-browser:signosoft"},"cacache@9.2.9":{licenses:"CC0-1.0",repository:"https://github.com/zkat/cacache",licenseUrl:"https://github.com/zkat/cacache/raw/master/LICENSE.md",parents:"npm:signosoft"},"cache-base@1.0.1":{licenses:"MIT",repository:"https://github.com/jonschlinkert/cache-base",licenseUrl:"https://github.com/jonschlinkert/cache-base/raw/master/LICENSE",parents:"signosoft"},"call-limit@1.1.0":{licenses:"ISC",repository:"https://github.com/iarna/call-limit",licenseUrl:"https://github.com/iarna/call-limit",parents:"npm:signosoft"},"camel-case@3.0.0":{licenses:"MIT",repository:"https://github.com/blakeembrey/camel-case",licenseUrl:"https://github.com/blakeembrey/camel-case/raw/master/LICENSE",parents:"signosoft"},"camelcase-keys@2.1.0":{licenses:"MIT",repository:"https://github.com/sindresorhus/camelcase-keys",licenseUrl:"https://github.com/sindresorhus/camelcase-keys/raw/master/license",parents:"signosoft"},"camelcase@1.2.1":{licenses:"MIT",repository:"https://github.com/sindresorhus/camelcase",licenseUrl:"https://github.com/sindresorhus/camelcase/raw/master/license",parents:"signosoft"},"camelcase@2.1.1":{licenses:"MIT",repository:"https://github.com/sindresorhus/camelcase",licenseUrl:"https://github.com/sindresorhus/camelcase/raw/master/license",parents:"camelcase-keys:signosoft"},"camelcase@3.0.0":{licenses:"MIT",repository:"https://github.com/sindresorhus/camelcase",licenseUrl:"https://github.com/sindresorhus/camelcase/raw/master/license",parents:"yargs-parser:signosoft"},"camelcase@4.1.0":{licenses:"MIT",repository:"https://github.com/sindresorhus/camelcase",licenseUrl:"https://github.com/sindresorhus/camelcase/raw/master/license",parents:"boxen:update-notifier:npm:signosoft"},"caniuse-lite@1.0.30000874":{licenses:"CC-BY-4.0",repository:"https://github.com/ben-eb/caniuse-lite",licenseUrl:"https://github.com/ben-eb/caniuse-lite/raw/master/LICENSE",parents:"signosoft"},"capture-stack-trace@1.0.0":{licenses:"MIT",repository:"https://github.com/floatdrop/capture-stack-trace",licenseUrl:"https://github.com/floatdrop/capture-stack-trace",parents:"create-error-class:got:package-json:latest-version:update-notifier:npm:signosoft"},"caseless@0.11.0":{licenses:"Apache-2.0",repository:"https://github.com/mikeal/caseless",licenseUrl:"https://github.com/mikeal/caseless/raw/master/LICENSE",parents:"request:signosoft"},"caseless@0.12.0":{licenses:"Apache-2.0",repository:"https://github.com/mikeal/caseless",licenseUrl:"https://github.com/mikeal/caseless/raw/master/LICENSE",parents:"request:npm:signosoft"},"center-align@0.1.3":{licenses:"MIT",repository:"https://github.com/jonschlinkert/center-align",licenseUrl:"https://github.com/jonschlinkert/center-align/raw/master/LICENSE",parents:"signosoft"},"chalk@1.1.3":{licenses:"MIT",repository:"https://github.com/chalk/chalk",licenseUrl:"https://github.com/chalk/chalk/raw/master/license",parents:"cordova-browser:signosoft"},"chalk@2.4.1":{licenses:"MIT",repository:"https://github.com/chalk/chalk",licenseUrl:"https://github.com/chalk/chalk/raw/master/license",parents:"signosoft"},"chardet@0.4.2":{licenses:"MIT",repository:"https://github.com/runk/node-chardet",licenseUrl:"https://github.com/runk/node-chardet/raw/master/LICENSE",parents:"signosoft"},"charenc@0.0.2":{licenses:"BSD-3-Clause",repository:"https://github.com/pvorb/node-charenc",licenseUrl:"https://github.com/pvorb/node-charenc/raw/master/LICENSE.mkd",parents:"signosoft"},"chokidar@1.7.0":{licenses:"MIT",repository:"https://github.com/paulmillr/chokidar",licenseUrl:"https://github.com/paulmillr/chokidar",parents:"signosoft"},"chokidar@2.0.4":{licenses:"MIT",repository:"https://github.com/paulmillr/chokidar",licenseUrl:"https://github.com/paulmillr/chokidar",parents:"watchpack:@ionic/app-scripts:signosoft"},"chownr@1.0.1":{licenses:"ISC",repository:"https://github.com/isaacs/chownr",licenseUrl:"https://github.com/isaacs/chownr/raw/master/LICENSE",parents:"npm:signosoft"},"ci-info@1.1.3":{licenses:"MIT",repository:"https://github.com/watson/ci-info",licenseUrl:"https://github.com/watson/ci-info/raw/master/LICENSE",parents:"signosoft"},"cidr-regex@1.0.6":{licenses:"MIT",repository:"https://github.com/flipjs/cidr-regex",licenseUrl:"https://github.com/flipjs/cidr-regex",parents:"is-cidr:npm:signosoft"},"cipher-base@1.0.4":{licenses:"MIT",repository:"https://github.com/crypto-browserify/cipher-base",licenseUrl:"https://github.com/crypto-browserify/cipher-base/raw/master/LICENSE",parents:"signosoft"},"class-utils@0.3.6":{licenses:"MIT",repository:"https://github.com/jonschlinkert/class-utils",licenseUrl:"https://github.com/jonschlinkert/class-utils/raw/master/LICENSE",parents:"signosoft"},"clean-css@4.1.11":{licenses:"MIT",repository:"https://github.com/jakubpawlowicz/clean-css",licenseUrl:"https://github.com/jakubpawlowicz/clean-css/raw/master/LICENSE",parents:"signosoft"},"cli-boxes@1.0.0":{licenses:"MIT",repository:"https://github.com/sindresorhus/cli-boxes",licenseUrl:"https://github.com/sindresorhus/cli-boxes/raw/master/license",parents:"boxen:update-notifier:npm:signosoft"},"cli-cursor@2.1.0":{licenses:"MIT",repository:"https://github.com/sindresorhus/cli-cursor",licenseUrl:"https://github.com/sindresorhus/cli-cursor/raw/master/license",parents:"signosoft"},"cli-table2@0.2.0":{licenses:"MIT",repository:"https://github.com/jamestalmage/cli-table2",licenseUrl:"https://github.com/jamestalmage/cli-table2",parents:"npm:signosoft"},"cli-width@2.2.0":{licenses:"ISC",repository:"https://github.com/knownasilya/cli-width",licenseUrl:"https://github.com/knownasilya/cli-width/raw/master/LICENSE",parents:"signosoft"},"cliui@2.1.0":{licenses:"ISC",repository:"https://github.com/bcoe/cliui",licenseUrl:"https://github.com/bcoe/cliui/raw/master/LICENSE.txt",parents:"signosoft"},"cliui@3.2.0":{licenses:"UNKNOWN",parents:"yargs:libnpx:npm:signosoft"},"clone@1.0.2":{licenses:"MIT",repository:"https://github.com/pvorb/node-clone",licenseUrl:"https://github.com/pvorb/node-clone/raw/master/LICENSE",parents:"defaults:wcwidth:columnify:npm:signosoft"},"clone@1.0.4":{licenses:"MIT",repository:"https://github.com/pvorb/node-clone",licenseUrl:"https://github.com/pvorb/node-clone/raw/master/LICENSE",parents:"signosoft"},"cmd-shim@2.0.2":{licenses:"BSD-2-Clause",repository:"https://github.com/ForbesLindesay/cmd-shim",licenseUrl:"https://github.com/ForbesLindesay/cmd-shim/raw/master/LICENSE",parents:"npm:signosoft"},"co@4.6.0":{licenses:"MIT",repository:"https://github.com/tj/co",licenseUrl:"https://github.com/tj/co/raw/master/LICENSE",parents:"ajv:har-validator:request:npm:signosoft"},"code-point-at@1.1.0":{licenses:"MIT",repository:"https://github.com/sindresorhus/code-point-at",licenseUrl:"https://github.com/sindresorhus/code-point-at/raw/master/license",parents:"string-width:cli-table2:npm:signosoft"},"collection-visit@1.0.0":{licenses:"MIT",repository:"https://github.com/jonschlinkert/collection-visit",licenseUrl:"https://github.com/jonschlinkert/collection-visit/raw/master/LICENSE",parents:"signosoft"},"color-convert@1.9.1":{licenses:"MIT",repository:"https://github.com/Qix-/color-convert",licenseUrl:"https://github.com/Qix-/color-convert/raw/master/LICENSE",parents:"signosoft"},"color-name@1.1.3":{licenses:"MIT",repository:"https://github.com/dfcreative/color-name",licenseUrl:"https://github.com/dfcreative/color-name/raw/master/LICENSE",parents:"signosoft"},"colors@1.1.2":{licenses:"MIT",repository:"https://github.com/Marak/colors.js",licenseUrl:"https://github.com/Marak/colors.js/raw/master/LICENSE",parents:"cli-table2:npm:signosoft"},"columnify@1.5.4":{licenses:"MIT",repository:"https://github.com/timoxley/columnify",licenseUrl:"https://github.com/timoxley/columnify/raw/master/LICENSE",parents:"npm:signosoft"},"com-darryncampbell-cordova-plugin-intent@1.0.2":{licenses:"MIT",repository:"https://github.com/darryncampbell/darryncampbell-cordova-plugin-intent",licenseUrl:"https://github.com/darryncampbell/darryncampbell-cordova-plugin-intent/raw/master/LICENSE",parents:"signosoft"},"combined-stream@1.0.5":{licenses:"MIT",repository:"https://github.com/felixge/node-combined-stream",licenseUrl:"https://github.com/felixge/node-combined-stream/raw/master/License",parents:"request:npm:signosoft"},"combined-stream@1.0.6":{licenses:"MIT",repository:"https://github.com/felixge/node-combined-stream",licenseUrl:"https://github.com/felixge/node-combined-stream/raw/master/License",parents:"signosoft"},"commander@2.12.2":{licenses:"MIT",repository:"https://github.com/tj/commander.js",licenseUrl:"https://github.com/tj/commander.js/raw/master/LICENSE",parents:"@ionic/app-scripts:signosoft"},"commander@2.15.1":{licenses:"MIT",repository:"https://github.com/tj/commander.js",licenseUrl:"https://github.com/tj/commander.js/raw/master/LICENSE",parents:"signosoft"},"component-emitter@1.2.1":{licenses:"MIT",repository:"https://github.com/component/emitter",licenseUrl:"https://github.com/component/emitter/raw/master/LICENSE",parents:"signosoft"},"compress-commons@1.2.2":{licenses:"MIT",repository:"https://github.com/archiverjs/node-compress-commons",licenseUrl:"https://github.com/archiverjs/node-compress-commons/raw/master/LICENSE",parents:"signosoft"},"compressible@2.0.12":{licenses:"MIT",repository:"https://github.com/jshttp/compressible",licenseUrl:"https://github.com/jshttp/compressible/raw/master/LICENSE",parents:"cordova-browser:signosoft"},"compression@1.7.1":{licenses:"MIT",repository:"https://github.com/expressjs/compression",licenseUrl:"https://github.com/expressjs/compression/raw/master/LICENSE",parents:"cordova-browser:signosoft"},"concat-map@0.0.1":{licenses:"MIT",repository:"https://github.com/substack/node-concat-map",licenseUrl:"https://github.com/substack/node-concat-map/raw/master/LICENSE",parents:"cordova-universal-links-plugin"},"concat-stream@1.6.0":{licenses:"MIT",repository:"https://github.com/maxogden/concat-stream",licenseUrl:"https://github.com/maxogden/concat-stream/raw/master/LICENSE",parents:"mississippi:npm:signosoft"},"config-chain@1.1.11":{licenses:"MIT",repository:"https://github.com/dominictarr/config-chain",licenseUrl:"https://raw.githubusercontent.com/dominictarr/config-chain/master/LICENCE",parents:"npm:signosoft"},"configstore@3.1.0":{licenses:"BSD-2-Clause",repository:"https://github.com/yeoman/configstore",licenseUrl:"https://github.com/yeoman/configstore",parents:"update-notifier:npm:signosoft"},"console-browserify@1.1.0":{licenses:"MIT",repository:"https://github.com/Raynos/console-browserify",licenseUrl:"http://github.com/Raynos/console-browserify/raw/master/LICENSE",parents:"signosoft"},"console-control-strings@1.1.0":{licenses:"ISC",repository:"https://github.com/iarna/console-control-strings",licenseUrl:"https://github.com/iarna/console-control-strings/raw/master/LICENSE",parents:"npmlog:npm:signosoft"},"constants-browserify@1.0.0":{licenses:"MIT",repository:"https://github.com/juliangruber/constants-browserify",licenseUrl:"https://github.com/juliangruber/constants-browserify",parents:"signosoft"},"content-disposition@0.5.2":{licenses:"MIT",repository:"https://github.com/jshttp/content-disposition",licenseUrl:"https://github.com/jshttp/content-disposition/raw/master/LICENSE",parents:"cordova-browser:signosoft"},"content-type@1.0.4":{licenses:"MIT",repository:"https://github.com/jshttp/content-type",licenseUrl:"https://github.com/jshttp/content-type/raw/master/LICENSE",parents:"cordova-browser:signosoft"},"continuable-cache@0.3.1":{licenses:"MIT",repository:"https://github.com/Raynos/continuable-cache",licenseUrl:"http://github.com/Raynos/continuable-cache/raw/master/LICENSE",parents:"signosoft"},"cookie-signature@1.0.6":{licenses:"MIT",repository:"https://github.com/visionmedia/node-cookie-signature",licenseUrl:"https://github.com/visionmedia/node-cookie-signature",parents:"cordova-browser:signosoft"},"cookie@0.3.1":{licenses:"MIT",repository:"https://github.com/jshttp/cookie",licenseUrl:"https://github.com/jshttp/cookie/raw/master/LICENSE",parents:"cordova-browser:signosoft"},"cookiejar@2.1.2":{licenses:"MIT",repository:"https://github.com/bmeck/node-cookiejar",licenseUrl:"https://github.com/bmeck/node-cookiejar/raw/master/LICENSE",parents:"signosoft"},"copy-concurrently@1.0.3":{licenses:"ISC",repository:"https://github.com/npm/copy-concurrently",licenseUrl:"https://github.com/npm/copy-concurrently/raw/master/LICENSE",parents:"move-concurrently:npm:signosoft"},"copy-descriptor@0.1.1":{licenses:"MIT",repository:"https://github.com/jonschlinkert/copy-descriptor",licenseUrl:"https://github.com/jonschlinkert/copy-descriptor/raw/master/LICENSE",parents:"signosoft"},"cordova-android@5.0.0":{licenses:"Apache-2.0",repository:"https://git-wip-us.apache.org/repos/asf/cordova-android",licenseUrl:"https://git-wip-us.apache.org/repos/asf/cordova-android",parents:"signosoft"},"cordova-browser@5.0.3":{licenses:"Apache-2.0",repository:"https://github.com/apache/cordova-browser",licenseUrl:"https://github.com/apache/cordova-browser/raw/master/LICENSE",parents:"signosoft"},"cordova-common@1.0.0":{licenses:"Apache-2.0",repository:"git://git-wip-us.apache.org/repos/asf/cordova-common",licenseUrl:"https://git-wip-us.apache.org/repos/asf/cordova-common",parents:"cordova-android:signosoft"},"cordova-common@2.1.0":{licenses:"Apache-2.0",repository:"https://github.com/apache/cordova-lib",licenseUrl:"https://github.com/apache/cordova-lib",parents:"cordova-ios:signosoft"},"cordova-common@2.2.0":{licenses:"Apache-2.0",repository:"https://github.com/apache/cordova-lib",licenseUrl:"https://github.com/apache/cordova-lib",parents:"cordova-browser:signosoft"},"cordova-ios@4.5.4":{licenses:"Apache-2.0",repository:"https://github.com/apache/cordova-ios",licenseUrl:"https://github.com/apache/cordova-ios/raw/master/LICENSE",parents:"signosoft"},"cordova-plugin-compat@1.2.0":{licenses:"Apache-2.0",repository:"https://github.com/apache/cordova-plugin-compat",licenseUrl:"https://github.com/apache/cordova-plugin-compat",parents:"signosoft"},"cordova-plugin-customurlscheme@4.3.0":{licenses:"MIT",repository:"https://github.com/EddyVerbruggen/Custom-URL-scheme",licenseUrl:"https://github.com/EddyVerbruggen/Custom-URL-scheme",parents:"signosoft"},"cordova-plugin-device@1.1.7":{licenses:"Apache-2.0",repository:"https://github.com/apache/cordova-plugin-device",licenseUrl:"https://github.com/apache/cordova-plugin-device/raw/master/LICENSE",parents:"signosoft"},"cordova-plugin-file-opener2@2.0.19":{licenses:"MIT",repository:"https://github.com/pwlin/cordova-plugin-file-opener2",licenseUrl:"https://github.com/pwlin/cordova-plugin-file-opener2/raw/master/LICENSE",parents:"signosoft"},"cordova-plugin-file@6.0.1":{licenses:"Apache-2.0",repository:"https://github.com/apache/cordova-plugin-file",licenseUrl:"https://github.com/apache/cordova-plugin-file/raw/master/LICENSE",parents:"signosoft"},"cordova-plugin-filechooser@1.0.1":{licenses:"ISC",repository:"https://github.com/ihadeed/cordova-filechooser",licenseUrl:"https://github.com/ihadeed/cordova-filechooser/raw/master/LICENSE.txt",parents:"signosoft"},"cordova-plugin-filepath@1.4.2":{licenses:"Apache 2.0",repository:"https://github.com/hiddentao/cordova-plugin-filepath",licenseUrl:"https://github.com/hiddentao/cordova-plugin-filepath/raw/master/LICENSE.md",parents:"signosoft"},"cordova-plugin-inapppurchase@1.2.0":{licenses:"MIT",repository:"https://github.com/AlexDisler/cordova-plugin-inapppurchase",licenseUrl:"https://github.com/AlexDisler/cordova-plugin-inapppurchase",parents:"signosoft"},"cordova-plugin-ionic-webview@1.2.1":{licenses:"Apache-2.0",repository:"https://github.com/ionic-team/cordova-plugin-ionic-webview",licenseUrl:"https://github.com/ionic-team/cordova-plugin-ionic-webview/raw/master/LICENSE",parents:"signosoft"},"cordova-plugin-ios-filechooser@0.0.1":{licenses:"All rights reserved.",repository:"https://github.com/signosoft/cordova-plugin-ios-filechooser",licenseUrl:"https://github.com/signosoft/cordova-plugin-ios-filechooser",parents:"signosoft"},"cordova-plugin-keychain-touch-id@3.3.0":{licenses:"Apache-2.0",repository:"https://github.com/sjhoeksma/cordova-plugin-keychain-touch-id",licenseUrl:"https://github.com/sjhoeksma/cordova-plugin-keychain-touch-id",parents:"signosoft"},"cordova-plugin-network-information@1.3.4":{licenses:"Apache-2.0",repository:"https://github.com/apache/cordova-plugin-network-information",licenseUrl:"https://github.com/apache/cordova-plugin-network-information/raw/master/LICENSE",parents:"signosoft"},"cordova-plugin-openin@0.0.1":{licenses:"ISC",repository:"https://github.com/lhdmulder/cordova-plugins-OpenIn",licenseUrl:"https://github.com/lhdmulder/cordova-plugins-OpenIn",parents:"signosoft"},"cordova-plugin-signosoft@0.2.0":{licenses:"All rights reserved.",repository:"https://github.com/janbrandejs/cordova-plugin-signosoft",licenseUrl:"https://github.com/janbrandejs/cordova-plugin-signosoft",parents:"signosoft"},"cordova-plugin-splashscreen@4.1.0":{licenses:"Apache-2.0",repository:"https://github.com/apache/cordova-plugin-splashscreen",licenseUrl:"https://github.com/apache/cordova-plugin-splashscreen/raw/master/LICENSE",parents:"signosoft"},"cordova-plugin-statusbar@2.3.0":{licenses:"Apache-2.0",repository:"https://github.com/apache/cordova-plugin-statusbar",licenseUrl:"https://github.com/apache/cordova-plugin-statusbar/raw/master/LICENSE",parents:"signosoft"},"cordova-plugin-whitelist@1.3.3":{licenses:"Apache-2.0",repository:"https://github.com/apache/cordova-plugin-whitelist",licenseUrl:"https://github.com/apache/cordova-plugin-whitelist/raw/master/LICENSE",parents:"signosoft"},"cordova-registry-mapper@1.1.15":{licenses:"Apache version 2.0",repository:"https://github.com/stevengill/cordova-registry-mapper",licenseUrl:"https://github.com/stevengill/cordova-registry-mapper",parents:"signosoft"},"cordova-serve@2.0.0":{licenses:"Apache-2.0",repository:"https://github.com/apache/cordova-lib",licenseUrl:"https://github.com/apache/cordova-lib/raw/master/LICENSE",parents:"cordova-browser:signosoft"},"cordova-universal-links-plugin@1.2.1":{licenses:"MIT",repository:"https://github.com/nordnet/cordova-universal-links-plugin",licenseUrl:"https://github.com/nordnet/cordova-universal-links-plugin/raw/master/LICENSE",parents:"signosoft"},"core-js@2.5.7":{licenses:"MIT",repository:"https://github.com/zloirock/core-js",licenseUrl:"https://github.com/zloirock/core-js/raw/master/LICENSE",parents:"signosoft"},"core-util-is@1.0.2":{licenses:"MIT",repository:"https://github.com/isaacs/core-util-is",licenseUrl:"https://github.com/isaacs/core-util-is/raw/master/LICENSE",parents:"signosoft"},"crc32-stream@2.0.0":{licenses:"MIT",repository:"https://github.com/archiverjs/node-crc32-stream",licenseUrl:"https://github.com/archiverjs/node-crc32-stream/raw/master/LICENSE",parents:"signosoft"},"crc@3.8.0":{licenses:"MIT",repository:"https://github.com/alexgorbatchev/node-crc",licenseUrl:"https://github.com/alexgorbatchev/node-crc/raw/master/LICENSE",parents:"signosoft"},"create-ecdh@4.0.3":{licenses:"MIT",repository:"https://github.com/crypto-browserify/createECDH",licenseUrl:"https://github.com/crypto-browserify/createECDH/raw/master/LICENSE",parents:"signosoft"},"create-error-class@3.0.2":{licenses:"MIT",repository:"https://github.com/floatdrop/create-error-class",licenseUrl:"https://github.com/floatdrop/create-error-class/raw/master/license",parents:"got:package-json:latest-version:update-notifier:npm:signosoft"},"create-hash@1.2.0":{licenses:"MIT",repository:"https://github.com/crypto-browserify/createHash",licenseUrl:"https://github.com/crypto-browserify/createHash/raw/master/LICENSE",parents:"signosoft"},"create-hmac@1.1.7":{licenses:"MIT",repository:"https://github.com/crypto-browserify/createHmac",licenseUrl:"https://github.com/crypto-browserify/createHmac/raw/master/LICENSE",parents:"signosoft"},"cross-spawn-async@2.2.5":{licenses:"MIT",repository:"https://github.com/IndigoUnited/node-cross-spawn-async",licenseUrl:"https://github.com/IndigoUnited/node-cross-spawn-async/raw/master/LICENSE",parents:"execa:term-size:boxen:update-notifier:npm:signosoft"},"cross-spawn@3.0.1":{licenses:"MIT",repository:"https://github.com/IndigoUnited/node-cross-spawn",licenseUrl:"https://github.com/IndigoUnited/node-cross-spawn/raw/master/LICENSE",parents:"node-sass:signosoft"},"cross-spawn@5.1.0":{licenses:"MIT",repository:"https://github.com/IndigoUnited/node-cross-spawn",licenseUrl:"https://github.com/IndigoUnited/node-cross-spawn/raw/master/LICENSE",parents:"execa:os-locale:yargs:libnpx:npm:signosoft"},"cross-tab-channel@1.1.0":{licenses:"MIT",repository:"git+https://stutrek@github.com/stutrek/cross-tab-channel",licenseUrl:"git+https://stutrek@github.com/stutrek/cross-tab-channel",parents:"signosoft"},"crypt@0.0.2":{licenses:"BSD-3-Clause",repository:"https://github.com/pvorb/node-crypt",licenseUrl:"https://github.com/pvorb/node-crypt/raw/master/LICENSE.mkd",parents:"signosoft"},"cryptiles@2.0.5":{licenses:"BSD-3-Clause",repository:"https://github.com/hapijs/cryptiles",licenseUrl:"https://github.com/hapijs/cryptiles/raw/master/LICENSE",parents:"signosoft"},"cryptiles@3.1.2":{licenses:"BSD-3-Clause",repository:"https://github.com/hapijs/cryptiles",licenseUrl:"https://github.com/hapijs/cryptiles/raw/master/LICENSE",parents:"hawk:request:npm:signosoft"},"crypto-browserify@3.12.0":{licenses:"MIT",repository:"https://github.com/crypto-browserify/crypto-browserify",licenseUrl:"https://github.com/crypto-browserify/crypto-browserify/raw/master/LICENSE",parents:"@ionic/app-scripts:signosoft"},"crypto-browserify@3.3.0":{licenses:"MIT",repository:"https://github.com/dominictarr/crypto-browserify",licenseUrl:"https://github.com/dominictarr/crypto-browserify/raw/master/LICENSE",parents:"signosoft"},"crypto-js@3.1.9-1":{licenses:"MIT",repository:"https://github.com/brix/crypto-js",licenseUrl:"https://github.com/brix/crypto-js/raw/master/LICENSE",parents:"signosoft"},"crypto-random-string@1.0.0":{licenses:"MIT",repository:"https://github.com/sindresorhus/crypto-random-string",licenseUrl:"https://github.com/sindresorhus/crypto-random-string/raw/master/license",parents:"unique-string:configstore:update-notifier:npm:signosoft"},"css-select@1.2.0":{licenses:"BSD-like",repository:"https://github.com/fb55/css-select",licenseUrl:"https://github.com/fb55/css-select/raw/master/LICENSE",parents:"signosoft"},"css-what@2.1.0":{licenses:"BSD-like",repository:"https://github.com/fb55/css-what",licenseUrl:"https://github.com/fb55/css-what/raw/master/LICENSE",parents:"signosoft"},"currently-unhandled@0.4.1":{licenses:"MIT",repository:"https://github.com/jamestalmage/currently-unhandled",licenseUrl:"https://github.com/jamestalmage/currently-unhandled/raw/master/license",parents:"signosoft"},"cyclist@0.2.2":{licenses:"MIT*",repository:"https://github.com/mafintosh/cyclist",licenseUrl:"https://github.com/mafintosh/cyclist/raw/master/README.md",parents:"parallel-transform:mississippi:npm:signosoft"},"d@1.0.0":{licenses:"MIT",repository:"https://github.com/medikoo/d",licenseUrl:"https://github.com/medikoo/d/raw/master/LICENSE",parents:"signosoft"},"dargs@5.1.0":{licenses:"MIT",repository:"https://github.com/sindresorhus/dargs",licenseUrl:"https://github.com/sindresorhus/dargs/raw/master/license",parents:"signosoft"},"dashdash@1.14.1":{licenses:"MIT",repository:"https://github.com/trentm/node-dashdash",licenseUrl:"https://github.com/trentm/node-dashdash/raw/master/LICENSE.txt",parents:"sshpk:http-signature:request:npm:signosoft"},"date-now@0.1.4":{licenses:"MIT",repository:"https://github.com/Colingo/date-now",licenseUrl:"http://github.com/Colingo/date-now/raw/master/LICENSE",parents:"signosoft"},"debug@2.2.0":{licenses:"MIT",repository:"https://github.com/visionmedia/debug",licenseUrl:"https://github.com/visionmedia/debug",parents:"send:signosoft"},"debug@2.6.9":{licenses:"MIT",repository:"https://github.com/visionmedia/debug",licenseUrl:"https://github.com/visionmedia/debug/raw/master/LICENSE",parents:"cordova-browser:signosoft"},"debug@3.1.0":{licenses:"MIT",repository:"https://github.com/visionmedia/debug",licenseUrl:"https://github.com/visionmedia/debug/raw/master/LICENSE",parents:"follow-redirects:signosoft"},"debuglog@1.0.1":{licenses:"MIT",repository:"https://github.com/sam-github/node-debuglog",licenseUrl:"https://github.com/sam-github/node-debuglog/raw/master/LICENSE",parents:"npm:signosoft"},"decamelize@1.2.0":{licenses:"MIT",repository:"https://github.com/sindresorhus/decamelize",licenseUrl:"https://github.com/sindresorhus/decamelize/raw/master/license",parents:"signosoft"},"decode-uri-component@0.2.0":{licenses:"MIT",repository:"https://github.com/SamVerschueren/decode-uri-component",licenseUrl:"https://github.com/SamVerschueren/decode-uri-component/raw/master/license",parents:"query-string:npm:signosoft"},"deep-equal@1.0.1":{licenses:"MIT",repository:"https://github.com/substack/node-deep-equal",licenseUrl:"https://github.com/substack/node-deep-equal/raw/master/LICENSE",parents:"signosoft"},"deep-extend@0.4.2":{licenses:"MIT",repository:"https://github.com/unclechu/node-deep-extend",licenseUrl:"https://github.com/unclechu/node-deep-extend/raw/master/LICENSE",parents:"rc:registry-auth-token:package-json:latest-version:update-notifier:npm:signosoft"},"defaults@1.0.3":{licenses:"MIT",repository:"https://github.com/tmpvar/defaults",licenseUrl:"https://github.com/tmpvar/defaults/raw/master/LICENSE",parents:"wcwidth:columnify:npm:signosoft"},"define-properties@1.1.2":{licenses:"MIT",repository:"https://github.com/ljharb/define-properties",licenseUrl:"https://github.com/ljharb/define-properties/raw/master/LICENSE",parents:"signosoft"},"define-property@0.2.5":{licenses:"MIT",repository:"https://github.com/jonschlinkert/define-property",licenseUrl:"https://github.com/jonschlinkert/define-property/raw/master/LICENSE",parents:"class-utils:signosoft"},"define-property@1.0.0":{licenses:"MIT",repository:"https://github.com/jonschlinkert/define-property",licenseUrl:"https://github.com/jonschlinkert/define-property/raw/master/LICENSE",parents:"base:signosoft"},"define-property@2.0.2":{licenses:"MIT",repository:"https://github.com/jonschlinkert/define-property",licenseUrl:"https://github.com/jonschlinkert/define-property/raw/master/LICENSE",parents:"signosoft"},"defined@1.0.0":{licenses:"MIT",repository:"https://github.com/substack/defined",licenseUrl:"https://github.com/substack/defined/raw/master/LICENSE",parents:"signosoft"},"delayed-stream@1.0.0":{licenses:"MIT",repository:"https://github.com/felixge/node-delayed-stream",licenseUrl:"https://github.com/felixge/node-delayed-stream/raw/master/License",parents:"combined-stream:request:npm:signosoft"},"delegates@1.0.0":{licenses:"MIT",repository:"https://github.com/visionmedia/node-delegates",licenseUrl:"https://github.com/visionmedia/node-delegates/raw/master/License",parents:"are-we-there-yet:npmlog:npm:signosoft"},"depd@1.1.1":{licenses:"MIT",repository:"https://github.com/dougwilson/nodejs-depd",licenseUrl:"https://github.com/dougwilson/nodejs-depd/raw/master/LICENSE",parents:"cordova-browser:signosoft"},"depd@1.1.2":{licenses:"MIT",repository:"https://github.com/dougwilson/nodejs-depd",licenseUrl:"https://github.com/dougwilson/nodejs-depd/raw/master/LICENSE",parents:"signosoft"},"des.js@1.0.0":{licenses:"MIT",repository:"https://github.com/indutny/des.js",licenseUrl:"https://github.com/indutny/des.js",parents:"signosoft"},"destroy@1.0.4":{licenses:"MIT",repository:"https://github.com/stream-utils/destroy",licenseUrl:"https://github.com/stream-utils/destroy/raw/master/LICENSE",parents:"cordova-browser:signosoft"},"detect-browser@2.0.0":{licenses:"MIT",repository:"https://github.com/DamonOehlman/detect-browser",licenseUrl:"https://github.com/DamonOehlman/detect-browser/raw/master/LICENSE",parents:"signosoft"},"detect-indent@5.0.0":{licenses:"MIT",repository:"https://github.com/sindresorhus/detect-indent",licenseUrl:"https://github.com/sindresorhus/detect-indent/raw/master/license",parents:"npm:signosoft"},"detect-passive-events@1.0.4":{licenses:"MIT",repository:"https://github.com/rafrex/detect-passive-events",licenseUrl:"https://github.com/rafrex/detect-passive-events/raw/master/LICENSE",parents:"signosoft"},"dezalgo@1.0.3":{licenses:"ISC",repository:"https://github.com/npm/dezalgo",licenseUrl:"https://github.com/npm/dezalgo/raw/master/LICENSE",parents:"npm:signosoft"},"diff@3.5.0":{licenses:"BSD-3-Clause",repository:"https://github.com/kpdecker/jsdiff",licenseUrl:"https://github.com/kpdecker/jsdiff/raw/master/LICENSE",parents:"signosoft"},"diffie-hellman@5.0.3":{licenses:"MIT",repository:"https://github.com/crypto-browserify/diffie-hellman",licenseUrl:"https://github.com/crypto-browserify/diffie-hellman/raw/master/LICENSE",parents:"signosoft"},"doctrine@0.7.2":{licenses:"BSD",repository:"https://github.com/eslint/doctrine",licenseUrl:"http://github.com/eslint/doctrine/raw/master/LICENSE.BSD",parents:"signosoft"},"dom-converter@0.1.4":{licenses:"MIT",repository:"https://github.com/AriaMinaei/dom-converter",licenseUrl:"https://github.com/AriaMinaei/dom-converter/raw/master/LICENSE",parents:"signosoft"},"dom-serializer@0.1.0":{licenses:"MIT",repository:"https://github.com/cheeriojs/dom-renderer",licenseUrl:"https://github.com/cheeriojs/dom-renderer/raw/master/LICENSE",parents:"signosoft"},"domain-browser@1.2.0":{licenses:"MIT",repository:"https://github.com/bevry/domain-browser",licenseUrl:"https://github.com/bevry/domain-browser/raw/master/LICENSE.md",parents:"signosoft"},"domelementtype@1.1.3":{licenses:"UNKNOWN",repository:"https://github.com/FB55/domelementtype",licenseUrl:"https://github.com/FB55/domelementtype/raw/master/LICENSE",parents:"dom-serializer:signosoft"},"domelementtype@1.3.0":{licenses:"UNKNOWN",repository:"https://github.com/FB55/domelementtype",licenseUrl:"https://github.com/FB55/domelementtype/raw/master/LICENSE",parents:"signosoft"},"domhandler@2.1.0":{licenses:"UNKNOWN",repository:"https://github.com/fb55/domhandler",licenseUrl:"https://github.com/fb55/domhandler/raw/master/LICENSE",parents:"signosoft"},"domutils@1.1.6":{licenses:"UNKNOWN",repository:"https://github.com/FB55/domutils",licenseUrl:"https://github.com/FB55/domutils/raw/master/LICENSE",parents:"htmlparser2:signosoft"},"domutils@1.5.1":{licenses:"UNKNOWN",repository:"https://github.com/FB55/domutils",licenseUrl:"https://github.com/FB55/domutils/raw/master/LICENSE",parents:"signosoft"},"dot-prop@4.1.1":{licenses:"MIT",repository:"https://github.com/sindresorhus/dot-prop",licenseUrl:"https://github.com/sindresorhus/dot-prop/raw/master/license",parents:"configstore:update-notifier:npm:signosoft"},"dotenv@4.0.0":{licenses:"BSD-2-Clause",repository:"https://github.com/motdotla/dotenv",licenseUrl:"https://github.com/motdotla/dotenv/raw/master/LICENSE",parents:"libnpx:npm:signosoft"},"duplexer3@0.1.4":{licenses:"BSD-3-Clause",repository:"https://github.com/floatdrop/duplexer3",licenseUrl:"https://github.com/floatdrop/duplexer3/raw/master/LICENSE.md",parents:"got:package-json:latest-version:update-notifier:npm:signosoft"},"duplexify@3.5.0":{licenses:"MIT",repository:"https://github.com/mafintosh/duplexify",licenseUrl:"https://github.com/mafintosh/duplexify/raw/master/LICENSE",parents:"mississippi:npm:signosoft"},"ecc-jsbn@0.1.1":{licenses:"MIT",repository:"https://github.com/quartzjer/ecc-jsbn",licenseUrl:"https://github.com/quartzjer/ecc-jsbn/raw/master/LICENSE",parents:"sshpk:http-signature:request:npm:signosoft"},"ecc-jsbn@0.1.2":{licenses:"MIT",repository:"https://github.com/quartzjer/ecc-jsbn",licenseUrl:"https://github.com/quartzjer/ecc-jsbn/raw/master/LICENSE",parents:"signosoft"},"editor@1.0.0":{licenses:"MIT",repository:"https://github.com/substack/node-editor",licenseUrl:"https://github.com/substack/node-editor/raw/master/LICENSE",parents:"npm:signosoft"},"ee-first@1.1.1":{licenses:"MIT",repository:"https://github.com/jonathanong/ee-first",licenseUrl:"https://github.com/jonathanong/ee-first/raw/master/LICENSE",parents:"cordova-browser:signosoft"},"electron-to-chromium@1.3.56":{licenses:"ISC",repository:"https://github.com/kilian/electron-to-chromium/",licenseUrl:"https://github.com/kilian/electron-to-chromium//raw/master/LICENSE",parents:"signosoft"},"elementtree@0.1.6":{licenses:"Apache",repository:"https://github.com/racker/node-elementtree",licenseUrl:"http://www.apache.org/licenses/LICENSE-2.0.html",parents:"cordova-android:signosoft"},"elementtree@0.1.7":{licenses:"Apache-2.0",repository:"https://github.com/racker/node-elementtree",licenseUrl:"https://github.com/racker/node-elementtree/raw/master/LICENSE.txt",parents:"signosoft"},"elliptic@6.4.1":{licenses:"MIT",repository:"https://github.com/indutny/elliptic",licenseUrl:"https://github.com/indutny/elliptic",parents:"signosoft"},"emojis-list@2.1.0":{licenses:"MIT",repository:"https://github.com/kikobeats/emojis-list",licenseUrl:"https://github.com/kikobeats/emojis-list/raw/master/LICENSE.md",parents:"signosoft"},"encodeurl@1.0.1":{licenses:"MIT",repository:"https://github.com/pillarjs/encodeurl",licenseUrl:"https://github.com/pillarjs/encodeurl/raw/master/LICENSE",parents:"cordova-browser:signosoft"},"encodeurl@1.0.2":{licenses:"MIT",repository:"https://github.com/pillarjs/encodeurl",licenseUrl:"https://github.com/pillarjs/encodeurl/raw/master/LICENSE",parents:"signosoft"},"encoding@0.1.12":{licenses:"MIT",repository:"https://github.com/andris9/encoding",licenseUrl:"https://github.com/andris9/encoding/raw/master/LICENSE",parents:"node-fetch-npm:make-fetch-happen:npm-profile:npm:signosoft"},"end-of-stream@1.0.0":{licenses:"MIT",repository:"https://github.com/mafintosh/end-of-stream",licenseUrl:"https://github.com/mafintosh/end-of-stream",parents:"duplexify:mississippi:npm:signosoft"},"end-of-stream@1.4.0":{licenses:"MIT",repository:"https://github.com/mafintosh/end-of-stream",licenseUrl:"https://github.com/mafintosh/end-of-stream/raw/master/LICENSE",parents:"mississippi:npm:signosoft"},"end-of-stream@1.4.1":{licenses:"MIT",repository:"https://github.com/mafintosh/end-of-stream",licenseUrl:"https://github.com/mafintosh/end-of-stream/raw/master/LICENSE",parents:"signosoft"},"enhanced-resolve@0.9.1":{licenses:"MIT",repository:"https://github.com/webpack/enhanced-resolve",licenseUrl:"http://www.opensource.org/licenses/mit-license.php",parents:"signosoft"},"enhanced-resolve@3.4.1":{licenses:"MIT",repository:"https://github.com/webpack/enhanced-resolve",licenseUrl:"http://www.opensource.org/licenses/mit-license.php",parents:"@ionic/app-scripts:signosoft"},"entities@1.1.1":{licenses:"BSD-like",repository:"https://github.com/fb55/node-entities",licenseUrl:"https://github.com/fb55/node-entities/raw/master/LICENSE",parents:"signosoft"},"err-code@1.1.2":{licenses:"MIT",repository:"https://github.com/IndigoUnited/js-err-code",licenseUrl:"https://github.com/IndigoUnited/js-err-code",parents:"promise-retry:make-fetch-happen:npm-profile:npm:signosoft"},"errno@0.1.4":{licenses:"MIT",repository:"https://github.com/rvagg/node-errno",licenseUrl:"https://github.com/rvagg/node-errno",parents:"worker-farm:npm:signosoft"},"errno@0.1.7":{licenses:"MIT",repository:"https://github.com/rvagg/node-errno",licenseUrl:"https://github.com/rvagg/node-errno",parents:"signosoft"},"error-ex@1.3.1":{licenses:"MIT*",parents:"parse-json:load-json-file:read-pkg:read-pkg-up:yargs:libnpx:npm:signosoft"},"error-ex@1.3.2":{licenses:"MIT",repository:"https://github.com/qix-/node-error-ex",licenseUrl:"https://github.com/qix-/node-error-ex/raw/master/LICENSE",parents:"signosoft"},"error@7.0.2":{licenses:"MIT",repository:"https://github.com/Raynos/error",licenseUrl:"http://github.com/Raynos/error/raw/master/LICENSE",parents:"signosoft"},"es-abstract@1.11.0":{licenses:"MIT",repository:"https://github.com/ljharb/es-abstract",licenseUrl:"https://github.com/ljharb/es-abstract/raw/master/LICENSE",parents:"signosoft"},"es-to-primitive@1.1.1":{licenses:"MIT",repository:"https://github.com/ljharb/es-to-primitive",licenseUrl:"https://github.com/ljharb/es-to-primitive/raw/master/LICENSE",parents:"signosoft"},"es3ify@0.1.4":{licenses:"MIT",repository:"https://github.com/spicyj/es3ify",licenseUrl:"https://github.com/spicyj/es3ify/raw/master/LICENSE",parents:"signosoft"},"es5-ext@0.10.42":{licenses:"ISC",repository:"https://github.com/medikoo/es5-ext",licenseUrl:"https://github.com/medikoo/es5-ext/raw/master/LICENSE",parents:"signosoft"},"es6-iterator@2.0.3":{licenses:"MIT",repository:"https://github.com/medikoo/es6-iterator",licenseUrl:"https://github.com/medikoo/es6-iterator/raw/master/LICENSE",parents:"signosoft"},"es6-map@0.1.5":{licenses:"MIT",repository:"https://github.com/medikoo/es6-map",licenseUrl:"https://github.com/medikoo/es6-map/raw/master/LICENSE",parents:"signosoft"},"es6-promise@4.1.1":{licenses:"MIT",repository:"https://github.com/stefanpenner/es6-promise",licenseUrl:"https://github.com/stefanpenner/es6-promise/raw/master/LICENSE",parents:"es6-promisify:agent-base:http-proxy-agent:make-fetch-happen:npm-profile:npm:signosoft"},"es6-promisify@5.0.0":{licenses:"MIT",repository:"https://github.com/digitaldesignlabs/es6-promisify",licenseUrl:"https://github.com/digitaldesignlabs/es6-promisify",parents:"agent-base:http-proxy-agent:make-fetch-happen:npm-profile:npm:signosoft"},"es6-set@0.1.5":{licenses:"MIT",repository:"https://github.com/medikoo/es6-set",licenseUrl:"https://github.com/medikoo/es6-set/raw/master/LICENSE",parents:"signosoft"},"es6-symbol@3.1.1":{licenses:"MIT",repository:"https://github.com/medikoo/es6-symbol",licenseUrl:"https://github.com/medikoo/es6-symbol/raw/master/LICENSE",parents:"signosoft"},"es6-weak-map@2.0.2":{licenses:"MIT",repository:"https://github.com/medikoo/es6-weak-map",licenseUrl:"https://github.com/medikoo/es6-weak-map/raw/master/LICENSE",parents:"signosoft"},"escape-html@1.0.3":{licenses:"MIT",repository:"https://github.com/component/escape-html",licenseUrl:"https://github.com/component/escape-html/raw/master/LICENSE",parents:"cordova-browser:signosoft"},"escape-string-regexp@1.0.5":{licenses:"MIT",repository:"https://github.com/sindresorhus/escape-string-regexp",licenseUrl:"https://github.com/sindresorhus/escape-string-regexp/raw/master/license",parents:"cordova-browser:signosoft"},"escope@3.6.0":{licenses:"BSD-2-Clause",repository:"https://github.com/estools/escope",licenseUrl:"https://github.com/estools/escope/raw/master/LICENSE.BSD",parents:"signosoft"},"esmangle-evaluator@1.0.1":{licenses:"MIT",repository:"https://github.com/zertosh/esmangle-evaluator",licenseUrl:"https://github.com/zertosh/esmangle-evaluator",parents:"signosoft"},"esprima-fb@15001.1001.0-dev-harmony-fb":{licenses:"BSD",repository:"https://github.com/facebook/esprima",licenseUrl:"http://github.com/facebook/esprima/raw/master/LICENSE.BSD",parents:"recast:signosoft"},"esprima-fb@3001.1.0-dev-harmony-fb":{licenses:"BSD",repository:"https://github.com/facebook/esprima",licenseUrl:"http://github.com/facebook/esprima/raw/master/LICENSE.BSD",parents:"signosoft"},"esprima@4.0.1":{licenses:"BSD-2-Clause",repository:"https://github.com/jquery/esprima",licenseUrl:"https://github.com/jquery/esprima/raw/master/LICENSE.BSD",parents:"js-yaml:signosoft"},"esrecurse@4.2.1":{licenses:"BSD-2-Clause",repository:"https://github.com/estools/esrecurse",licenseUrl:"https://github.com/estools/esrecurse",parents:"signosoft"},"estraverse@4.2.0":{licenses:"BSD-2-Clause",repository:"https://github.com/estools/estraverse",licenseUrl:"https://github.com/estools/estraverse/raw/master/LICENSE.BSD",parents:"signosoft"},"estree-walker@0.5.2":{licenses:"MIT",repository:"https://github.com/Rich-Harris/estree-walker",licenseUrl:"https://github.com/Rich-Harris/estree-walker",parents:"signosoft"},"esutils@1.1.6":{licenses:"BSD",repository:"https://github.com/Constellation/esutils",licenseUrl:"http://github.com/Constellation/esutils/raw/master/LICENSE.BSD",parents:"doctrine:signosoft"},"esutils@2.0.2":{licenses:"BSD",repository:"https://github.com/estools/esutils",licenseUrl:"http://github.com/estools/esutils/raw/master/LICENSE.BSD",parents:"signosoft"},"etag@1.7.0":{licenses:"MIT",repository:"https://github.com/jshttp/etag",licenseUrl:"https://github.com/jshttp/etag/raw/master/LICENSE",parents:"send:signosoft"},"etag@1.8.1":{licenses:"MIT",repository:"https://github.com/jshttp/etag",licenseUrl:"https://github.com/jshttp/etag/raw/master/LICENSE",parents:"cordova-browser:signosoft"},"event-emitter@0.3.5":{licenses:"MIT",repository:"https://github.com/medikoo/event-emitter",licenseUrl:"https://github.com/medikoo/event-emitter/raw/master/LICENSE",parents:"signosoft"},"eventemitter3@3.1.0":{licenses:"MIT",repository:"https://github.com/primus/eventemitter3",licenseUrl:"https://github.com/primus/eventemitter3/raw/master/LICENSE",parents:"signosoft"},"events-polyfill@2.0.5":{licenses:"MIT",repository:"https://github.com/lifaon74/events-polyfill",licenseUrl:"https://github.com/lifaon74/events-polyfill",parents:"signosoft"},"events@1.1.1":{licenses:"MIT",repository:"https://github.com/Gozala/events",licenseUrl:"https://github.com/Gozala/events/raw/master/LICENSE",parents:"signosoft"},"evp_bytestokey@1.0.3":{licenses:"MIT",repository:"https://github.com/crypto-browserify/EVP_BytesToKey",licenseUrl:"https://github.com/crypto-browserify/EVP_BytesToKey/raw/master/LICENSE",parents:"signosoft"},"execa@0.4.0":{licenses:"MIT",repository:"https://github.com/sindresorhus/execa",licenseUrl:"https://github.com/sindresorhus/execa/raw/master/license",parents:"term-size:boxen:update-notifier:npm:signosoft"},"execa@0.7.0":{licenses:"MIT",repository:"https://github.com/sindresorhus/execa",licenseUrl:"https://github.com/sindresorhus/execa/raw/master/license",parents:"os-locale:yargs:libnpx:npm:signosoft"},"expand-brackets@0.1.5":{licenses:"MIT",repository:"https://github.com/jonschlinkert/expand-brackets",licenseUrl:"https://github.com/jonschlinkert/expand-brackets/raw/master/LICENSE",parents:"signosoft"},"expand-brackets@2.1.4":{licenses:"MIT",repository:"https://github.com/jonschlinkert/expand-brackets",licenseUrl:"https://github.com/jonschlinkert/expand-brackets/raw/master/LICENSE",parents:"@ionic/app-scripts:signosoft"},"expand-range@1.8.2":{licenses:"MIT",repository:"https://github.com/jonschlinkert/expand-range",licenseUrl:"https://github.com/jonschlinkert/expand-range/raw/master/LICENSE",parents:"signosoft"},"express@4.16.2":{licenses:"MIT",repository:"https://github.com/expressjs/express",licenseUrl:"https://github.com/expressjs/express/raw/master/LICENSE",parents:"cordova-browser:signosoft"},"express@4.16.3":{licenses:"MIT",repository:"https://github.com/expressjs/express",licenseUrl:"https://github.com/expressjs/express/raw/master/LICENSE",parents:"signosoft"},"extend-shallow@2.0.1":{licenses:"MIT",repository:"https://github.com/jonschlinkert/extend-shallow",licenseUrl:"https://github.com/jonschlinkert/extend-shallow/raw/master/LICENSE",parents:"set-value:signosoft"},"extend-shallow@3.0.2":{licenses:"MIT",repository:"https://github.com/jonschlinkert/extend-shallow",licenseUrl:"https://github.com/jonschlinkert/extend-shallow/raw/master/LICENSE",parents:"signosoft"},"extend@3.0.1":{licenses:"MIT",repository:"https://github.com/justmoon/node-extend",licenseUrl:"https://github.com/justmoon/node-extend/raw/master/LICENSE",parents:"request:npm:signosoft"},"external-editor@2.2.0":{licenses:"MIT",repository:"https://github.com/mrkmg/node-external-editor",licenseUrl:"https://github.com/mrkmg/node-external-editor/raw/master/LICENSE",parents:"signosoft"},"extglob@0.3.2":{licenses:"MIT",repository:"https://github.com/jonschlinkert/extglob",licenseUrl:"https://github.com/jonschlinkert/extglob/raw/master/LICENSE",parents:"signosoft"},"extglob@2.0.4":{licenses:"MIT",repository:"https://github.com/micromatch/extglob",licenseUrl:"https://github.com/micromatch/extglob/raw/master/LICENSE",parents:"@ionic/app-scripts:signosoft"},"extsprintf@1.3.0":{licenses:"MIT",repository:"https://github.com/davepacheco/node-extsprintf",licenseUrl:"https://github.com/davepacheco/node-extsprintf/raw/master/LICENSE",parents:"jsprim:http-signature:request:npm:signosoft"},"falafel@1.2.0":{licenses:"MIT",repository:"https://github.com/substack/node-falafel",licenseUrl:"https://github.com/substack/node-falafel",parents:"signosoft"},"fast-deep-equal@1.0.0":{licenses:"MIT",repository:"https://github.com/epoberezkin/fast-deep-equal",licenseUrl:"https://github.com/epoberezkin/fast-deep-equal/raw/master/LICENSE",parents:"ajv:har-validator:request:npm:signosoft"},"fast-deep-equal@1.1.0":{licenses:"MIT",repository:"https://github.com/epoberezkin/fast-deep-equal",licenseUrl:"https://github.com/epoberezkin/fast-deep-equal/raw/master/LICENSE",parents:"signosoft"},"fast-json-stable-stringify@2.0.0":{licenses:"MIT",repository:"https://github.com/epoberezkin/fast-json-stable-stringify",licenseUrl:"https://github.com/epoberezkin/fast-json-stable-stringify/raw/master/LICENSE",parents:"signosoft"},"faye-websocket@0.10.0":{licenses:"MIT",repository:"https://github.com/faye/faye-websocket-node",licenseUrl:"https://github.com/faye/faye-websocket-node",parents:"signosoft"},"figures@2.0.0":{licenses:"MIT",repository:"https://github.com/sindresorhus/figures",licenseUrl:"https://github.com/sindresorhus/figures/raw/master/license",parents:"signosoft"},"file-saver@1.3.8":{licenses:"MIT",repository:"https://github.com/eligrey/FileSaver.js",licenseUrl:"https://github.com/eligrey/FileSaver.js/raw/master/LICENSE.md",parents:"signosoft"},"filename-regex@2.0.1":{licenses:"MIT",repository:"https://github.com/regexhq/filename-regex",licenseUrl:"https://github.com/regexhq/filename-regex/raw/master/LICENSE",parents:"signosoft"},"fill-range@2.2.4":{licenses:"MIT",repository:"https://github.com/jonschlinkert/fill-range",licenseUrl:"https://github.com/jonschlinkert/fill-range/raw/master/LICENSE",parents:"signosoft"},"fill-range@4.0.0":{licenses:"MIT",repository:"https://github.com/jonschlinkert/fill-range",licenseUrl:"https://github.com/jonschlinkert/fill-range/raw/master/LICENSE",parents:"@ionic/app-scripts:signosoft"},"finalhandler@1.1.0":{licenses:"MIT",repository:"https://github.com/pillarjs/finalhandler",licenseUrl:"https://github.com/pillarjs/finalhandler/raw/master/LICENSE",parents:"cordova-browser:signosoft"},"finalhandler@1.1.1":{licenses:"MIT",repository:"https://github.com/pillarjs/finalhandler",licenseUrl:"https://github.com/pillarjs/finalhandler/raw/master/LICENSE",parents:"signosoft"},"find-up@1.1.2":{licenses:"MIT",repository:"https://github.com/sindresorhus/find-up",licenseUrl:"https://github.com/sindresorhus/find-up/raw/master/license",parents:"signosoft"},"find-up@2.1.0":{licenses:"MIT*",parents:"read-pkg-up:yargs:libnpx:npm:signosoft"},"flush-write-stream@1.0.2":{licenses:"MIT",repository:"https://github.com/mafintosh/flush-write-stream",licenseUrl:"https://github.com/mafintosh/flush-write-stream/raw/master/LICENSE",parents:"mississippi:npm:signosoft"},"follow-redirects@1.4.1":{licenses:"MIT",repository:"https://github.com/olalonde/follow-redirects",licenseUrl:"https://github.com/olalonde/follow-redirects/raw/master/LICENSE",parents:"signosoft"},"for-each@0.3.2":{licenses:"MIT",repository:"https://github.com/Raynos/for-each",licenseUrl:"http://github.com/Raynos/for-each/raw/master/LICENSE",parents:"signosoft"},"for-in@1.0.2":{licenses:"MIT",repository:"https://github.com/jonschlinkert/for-in",licenseUrl:"https://github.com/jonschlinkert/for-in/raw/master/LICENSE",parents:"signosoft"},"for-own@0.1.5":{licenses:"MIT",repository:"https://github.com/jonschlinkert/for-own",licenseUrl:"https://github.com/jonschlinkert/for-own/raw/master/LICENSE",parents:"signosoft"},"foreach@2.0.5":{licenses:"MIT",repository:"https://github.com/manuelstofer/foreach",licenseUrl:"https://github.com/manuelstofer/foreach/raw/master/LICENSE",parents:"signosoft"},"forever-agent@0.6.1":{licenses:"Apache-2.0",repository:"https://github.com/mikeal/forever-agent",licenseUrl:"https://github.com/mikeal/forever-agent/raw/master/LICENSE",parents:"request:npm:signosoft"},"form-data@2.1.4":{licenses:"MIT",repository:"https://github.com/form-data/form-data",licenseUrl:"https://github.com/form-data/form-data/raw/master/License",parents:"request:signosoft"},"form-data@2.3.1":{licenses:"MIT",repository:"https://github.com/form-data/form-data",licenseUrl:"https://github.com/form-data/form-data/raw/master/License",parents:"request:npm:signosoft"},"form-data@2.3.2":{licenses:"MIT",repository:"https://github.com/form-data/form-data",licenseUrl:"https://github.com/form-data/form-data/raw/master/License",parents:"signosoft"},"formidable@1.2.1":{licenses:"MIT",repository:"https://github.com/felixge/node-formidable",licenseUrl:"https://github.com/felixge/node-formidable/raw/master/LICENSE",parents:"signosoft"},"forwarded@0.1.2":{licenses:"MIT",repository:"https://github.com/jshttp/forwarded",licenseUrl:"https://github.com/jshttp/forwarded/raw/master/LICENSE",parents:"cordova-browser:signosoft"},"fragment-cache@0.2.1":{licenses:"MIT",repository:"https://github.com/jonschlinkert/fragment-cache",licenseUrl:"https://github.com/jonschlinkert/fragment-cache/raw/master/LICENSE",parents:"signosoft"},"fresh@0.3.0":{licenses:"MIT",repository:"https://github.com/jshttp/fresh",licenseUrl:"https://github.com/jshttp/fresh/raw/master/LICENSE",parents:"send:signosoft"},"fresh@0.5.2":{licenses:"MIT",repository:"https://github.com/jshttp/fresh",licenseUrl:"https://github.com/jshttp/fresh/raw/master/LICENSE",parents:"cordova-browser:signosoft"},"from2@1.3.0":{licenses:"MIT",repository:"https://github.com/hughsk/from2",licenseUrl:"https://github.com/hughsk/from2/raw/master/LICENSE.md",parents:"sorted-union-stream:npm:signosoft"},"from2@2.3.0":{licenses:"MIT",repository:"https://github.com/hughsk/from2",licenseUrl:"https://github.com/hughsk/from2/raw/master/LICENSE.md",parents:"mississippi:npm:signosoft"},"fs-constants@1.0.0":{licenses:"MIT",repository:"https://github.com/mafintosh/fs-constants",licenseUrl:"https://github.com/mafintosh/fs-constants/raw/master/LICENSE",parents:"signosoft"},"fs-extra@4.0.3":{licenses:"MIT",repository:"https://github.com/jprichardson/node-fs-extra",licenseUrl:"https://github.com/jprichardson/node-fs-extra/raw/master/LICENSE",parents:"signosoft"},"fs-minipass@1.2.5":{licenses:"ISC",repository:"https://github.com/npm/fs-minipass",licenseUrl:"https://github.com/npm/fs-minipass/raw/master/LICENSE",parents:"signosoft"},"fs-vacuum@1.2.10":{licenses:"ISC",repository:"https://github.com/npm/fs-vacuum",licenseUrl:"https://github.com/npm/fs-vacuum/raw/master/LICENSE",parents:"npm:signosoft"},"fs-write-stream-atomic@1.0.10":{licenses:"ISC",repository:"https://github.com/npm/fs-write-stream-atomic",licenseUrl:"https://github.com/npm/fs-write-stream-atomic/raw/master/LICENSE",parents:"npm:signosoft"},"fs.realpath@1.0.0":{licenses:"ISC",repository:"https://github.com/isaacs/fs.realpath",licenseUrl:"https://github.com/isaacs/fs.realpath/raw/master/LICENSE",parents:"cordova-universal-links-plugin"},"fstream@1.0.11":{licenses:"ISC",repository:"https://github.com/npm/fstream",licenseUrl:"https://github.com/npm/fstream/raw/master/LICENSE",parents:"node-gyp:npm:signosoft"},"function-bind@1.1.1":{licenses:"MIT",repository:"https://github.com/Raynos/function-bind",licenseUrl:"https://github.com/Raynos/function-bind/raw/master/LICENSE",parents:"signosoft"},"gauge@2.7.4":{licenses:"ISC",repository:"https://github.com/iarna/gauge",licenseUrl:"https://github.com/iarna/gauge/raw/master/LICENSE",parents:"npmlog:npm:signosoft"},"gaze@1.1.3":{licenses:"MIT",repository:"https://github.com/shama/gaze",licenseUrl:"https://github.com/shama/gaze/raw/master/LICENSE-MIT",parents:"signosoft"},"generate-function@2.0.0":{licenses:"MIT",repository:"https://github.com/mafintosh/generate-function",licenseUrl:"https://github.com/mafintosh/generate-function",parents:"signosoft"},"generate-object-property@1.2.0":{licenses:"MIT",repository:"https://github.com/mafintosh/generate-object-property",licenseUrl:"https://github.com/mafintosh/generate-object-property/raw/master/LICENSE",parents:"signosoft"},"genfun@4.0.1":{licenses:"CC0-1.0",repository:"https://github.com/zkat/genfun",licenseUrl:"https://github.com/zkat/genfun",parents:"protoduck:pacote:npm:signosoft"},"get-caller-file@1.0.2":{licenses:"UNKNOWN",parents:"yargs:libnpx:npm:signosoft"},"get-caller-file@1.0.3":{licenses:"ISC",repository:"https://github.com/stefanpenner/get-caller-file",licenseUrl:"https://github.com/stefanpenner/get-caller-file/raw/master/LICENSE.md",parents:"signosoft"},"get-stdin@4.0.1":{licenses:"MIT",repository:"https://github.com/sindresorhus/get-stdin",licenseUrl:"https://github.com/sindresorhus/get-stdin",parents:"signosoft"},"get-stream@3.0.0":{licenses:"MIT",repository:"https://github.com/sindresorhus/get-stream",licenseUrl:"https://github.com/sindresorhus/get-stream/raw/master/license",parents:"got:package-json:latest-version:update-notifier:npm:signosoft"},"get-value@2.0.6":{licenses:"MIT",repository:"https://github.com/jonschlinkert/get-value",licenseUrl:"https://github.com/jonschlinkert/get-value/raw/master/LICENSE",parents:"signosoft"},"getpass@0.1.7":{licenses:"MIT",repository:"https://github.com/arekinath/node-getpass",licenseUrl:"https://github.com/arekinath/node-getpass/raw/master/LICENSE",parents:"sshpk:http-signature:request:npm:signosoft"},"glob-base@0.3.0":{licenses:"MIT",repository:"https://github.com/jonschlinkert/glob-base",licenseUrl:"https://github.com/jonschlinkert/glob-base/blob/master/LICENSE",parents:"signosoft"},"glob-parent@2.0.0":{licenses:"ISC",repository:"https://github.com/es128/glob-parent",licenseUrl:"https://github.com/es128/glob-parent/raw/master/LICENSE",parents:"signosoft"},"glob-parent@3.1.0":{licenses:"ISC",repository:"https://github.com/es128/glob-parent",licenseUrl:"https://github.com/es128/glob-parent/raw/master/LICENSE",parents:"@ionic/app-scripts:signosoft"},"glob@5.0.15":{licenses:"ISC",repository:"https://github.com/isaacs/node-glob",licenseUrl:"https://github.com/isaacs/node-glob/raw/master/LICENSE",parents:"cordova-common:cordova-android:signosoft"},"glob@6.0.4":{licenses:"ISC",repository:"https://github.com/isaacs/node-glob",licenseUrl:"https://github.com/isaacs/node-glob/raw/master/LICENSE",parents:"true-case-path:signosoft"},"glob@7.1.2":{licenses:"ISC",repository:"https://github.com/isaacs/node-glob",licenseUrl:"https://github.com/isaacs/node-glob/raw/master/LICENSE",parents:"cordova-universal-links-plugin"},"globule@1.2.1":{licenses:"MIT",repository:"https://github.com/cowboy/node-globule",licenseUrl:"https://github.com/cowboy/node-globule/raw/master/LICENSE",parents:"signosoft"},"got@6.7.1":{licenses:"MIT",repository:"https://github.com/sindresorhus/got",licenseUrl:"https://github.com/sindresorhus/got/raw/master/license",parents:"package-json:latest-version:update-notifier:npm:signosoft"},"graceful-fs@4.1.11":{licenses:"ISC",repository:"https://github.com/isaacs/node-graceful-fs",licenseUrl:"https://github.com/isaacs/node-graceful-fs/raw/master/LICENSE",parents:"signosoft"},"har-schema@2.0.0":{licenses:"ISC",repository:"https://github.com/ahmadnassri/har-schema",licenseUrl:"https://github.com/ahmadnassri/har-schema/raw/master/LICENSE",parents:"har-validator:request:npm:signosoft"},"har-validator@2.0.6":{licenses:"ISC",repository:"https://github.com/ahmadnassri/har-validator",licenseUrl:"https://github.com/ahmadnassri/har-validator/raw/master/LICENSE",parents:"request:signosoft"},"har-validator@5.0.3":{licenses:"ISC",repository:"https://github.com/ahmadnassri/har-validator",licenseUrl:"https://github.com/ahmadnassri/har-validator/raw/master/LICENSE",parents:"request:npm:signosoft"},"has-ansi@2.0.0":{licenses:"MIT",repository:"https://github.com/sindresorhus/has-ansi",licenseUrl:"https://github.com/sindresorhus/has-ansi/raw/master/license",parents:"cordova-browser:signosoft"},"has-flag@1.0.0":{licenses:"MIT",repository:"https://github.com/sindresorhus/has-flag",licenseUrl:"https://github.com/sindresorhus/has-flag/raw/master/license",parents:"signosoft"},"has-flag@2.0.0":{licenses:"MIT",repository:"https://github.com/sindresorhus/has-flag",licenseUrl:"https://github.com/sindresorhus/has-flag/raw/master/license",parents:"@ionic/app-scripts:signosoft"},"has-flag@3.0.0":{licenses:"MIT",repository:"https://github.com/sindresorhus/has-flag",licenseUrl:"https://github.com/sindresorhus/has-flag/raw/master/license",parents:"chalk:signosoft"},"has-unicode@2.0.1":{licenses:"ISC",repository:"https://github.com/iarna/has-unicode",licenseUrl:"https://github.com/iarna/has-unicode/raw/master/LICENSE",parents:"npm:signosoft"},"has-value@0.3.1":{licenses:"MIT",repository:"https://github.com/jonschlinkert/has-value",licenseUrl:"https://github.com/jonschlinkert/has-value/raw/master/LICENSE",parents:"unset-value:signosoft"},"has-value@1.0.0":{licenses:"MIT",repository:"https://github.com/jonschlinkert/has-value",licenseUrl:"https://github.com/jonschlinkert/has-value/raw/master/LICENSE",parents:"signosoft"},"has-values@0.1.4":{licenses:"MIT",repository:"https://github.com/jonschlinkert/has-values",licenseUrl:"https://github.com/jonschlinkert/has-values/raw/master/LICENSE",parents:"unset-value:signosoft"},"has-values@1.0.0":{licenses:"MIT",repository:"https://github.com/jonschlinkert/has-values",licenseUrl:"https://github.com/jonschlinkert/has-values/raw/master/LICENSE",parents:"signosoft"},"has@1.0.1":{licenses:"MIT",repository:"https://github.com/tarruda/has",licenseUrl:"https://github.com/tarruda/has/blob/master/LICENSE-MIT",parents:"signosoft"},"hash-base@3.0.4":{licenses:"MIT",repository:"https://github.com/crypto-browserify/hash-base",licenseUrl:"https://github.com/crypto-browserify/hash-base/raw/master/LICENSE",parents:"signosoft"},"hash.js@1.1.5":{licenses:"MIT",repository:"https://github.com/indutny/hash.js",licenseUrl:"https://github.com/indutny/hash.js",parents:"signosoft"},"hawk@3.1.3":{licenses:"BSD-3-Clause",repository:"https://github.com/hueniverse/hawk",licenseUrl:"https://github.com/hueniverse/hawk/raw/master/LICENSE",parents:"signosoft"},"hawk@6.0.2":{licenses:"BSD-3-Clause",repository:"https://github.com/hueniverse/hawk",licenseUrl:"https://github.com/hueniverse/hawk/raw/master/LICENSE",parents:"request:npm:signosoft"},"he@1.1.1":{licenses:"MIT",repository:"https://github.com/mathiasbynens/he",licenseUrl:"https://github.com/mathiasbynens/he/raw/master/LICENSE-MIT.txt",parents:"signosoft"},"hmac-drbg@1.0.1":{licenses:"MIT",repository:"https://github.com/indutny/hmac-drbg",licenseUrl:"https://github.com/indutny/hmac-drbg",parents:"signosoft"},"hoek@2.16.3":{licenses:"BSD-3-Clause",repository:"https://github.com/hapijs/hoek",licenseUrl:"https://github.com/hapijs/hoek/raw/master/LICENSE",parents:"signosoft"},"hoek@4.2.0":{licenses:"BSD-3-Clause",repository:"https://github.com/hapijs/hoek",licenseUrl:"https://github.com/hapijs/hoek/raw/master/LICENSE",parents:"hawk:request:npm:signosoft"},"hosted-git-info@2.5.0":{licenses:"ISC",repository:"https://github.com/npm/hosted-git-info",licenseUrl:"https://github.com/npm/hosted-git-info/raw/master/LICENSE",parents:"npm:signosoft"},"hosted-git-info@2.7.1":{licenses:"ISC",repository:"https://github.com/npm/hosted-git-info",licenseUrl:"https://github.com/npm/hosted-git-info/raw/master/LICENSE",parents:"signosoft"},"html-minifier@3.5.15":{licenses:"MIT",repository:"https://github.com/kangax/html-minifier",licenseUrl:"https://github.com/kangax/html-minifier/raw/master/LICENSE",parents:"signosoft"},"html-webpack-inline-source-plugin@0.0.8":{licenses:"MIT",repository:"https://github.com/dustinjackson/html-webpack-inline-source-plugin",licenseUrl:"https://github.com/dustinjackson/html-webpack-inline-source-plugin/raw/master/LICENSE",parents:"signosoft"},"html-webpack-plugin@2.30.1":{licenses:"MIT",repository:"https://github.com/jantimon/html-webpack-plugin",licenseUrl:"https://github.com/jantimon/html-webpack-plugin/raw/master/LICENSE",parents:"signosoft"},"htmlparser2@3.3.0":{licenses:"MIT",repository:"https://github.com/fb55/htmlparser2",licenseUrl:"http://github.com/fb55/htmlparser2/raw/master/LICENSE",parents:"signosoft"},"http-cache-semantics@3.7.3":{licenses:"BSD-2-Clause",repository:"https://github.com/pornel/http-cache-semantics",licenseUrl:"https://github.com/pornel/http-cache-semantics",parents:"make-fetch-happen:npm-profile:npm:signosoft"},"http-errors@1.3.1":{licenses:"MIT",repository:"https://github.com/jshttp/http-errors",licenseUrl:"https://github.com/jshttp/http-errors/raw/master/LICENSE",parents:"send:signosoft"},"http-errors@1.6.2":{licenses:"MIT",repository:"https://github.com/jshttp/http-errors",licenseUrl:"https://github.com/jshttp/http-errors/raw/master/LICENSE",parents:"cordova-browser:signosoft"},"http-errors@1.6.3":{licenses:"MIT",repository:"https://github.com/jshttp/http-errors",licenseUrl:"https://github.com/jshttp/http-errors/raw/master/LICENSE",parents:"signosoft"},"http-parser-js@0.4.12":{licenses:"MIT",repository:"https://github.com/creationix/http-parser-js",licenseUrl:"https://github.com/creationix/http-parser-js/raw/master/LICENSE.md",parents:"signosoft"},"http-proxy-agent@2.0.0":{licenses:"MIT",repository:"https://github.com/TooTallNate/node-http-proxy-agent",licenseUrl:"https://github.com/TooTallNate/node-http-proxy-agent",parents:"make-fetch-happen:npm-profile:npm:signosoft"},"http-proxy-middleware@0.17.4":{licenses:"MIT",repository:"https://github.com/chimurai/http-proxy-middleware",licenseUrl:"https://github.com/chimurai/http-proxy-middleware/raw/master/LICENSE",parents:"signosoft"},"http-proxy@1.17.0":{licenses:"MIT",repository:"https://github.com/nodejitsu/node-http-proxy",licenseUrl:"https://github.com/nodejitsu/node-http-proxy/raw/master/LICENSE",parents:"signosoft"},"http-signature@1.1.1":{licenses:"MIT",repository:"https://github.com/joyent/node-http-signature",licenseUrl:"https://github.com/joyent/node-http-signature/raw/master/LICENSE",parents:"request:signosoft"},"http-signature@1.2.0":{licenses:"MIT",repository:"https://github.com/joyent/node-http-signature",licenseUrl:"https://github.com/joyent/node-http-signature/raw/master/LICENSE",parents:"request:npm:signosoft"},"https-browserify@0.0.1":{licenses:"MIT",repository:"https://github.com/substack/https-browserify",licenseUrl:"https://github.com/substack/https-browserify/raw/master/LICENSE",parents:"signosoft"},"https-browserify@1.0.0":{licenses:"MIT",repository:"https://github.com/substack/https-browserify",licenseUrl:"https://github.com/substack/https-browserify/raw/master/LICENSE",parents:"@ionic/app-scripts:signosoft"},"https-proxy-agent@2.1.0":{licenses:"MIT",repository:"https://github.com/TooTallNate/node-https-proxy-agent",licenseUrl:"https://github.com/TooTallNate/node-https-proxy-agent",parents:"make-fetch-happen:npm-profile:npm:signosoft"},"humanize-ms@1.2.1":{licenses:"MIT",repository:"https://github.com/node-modules/humanize-ms",licenseUrl:"https://github.com/node-modules/humanize-ms/raw/master/LICENSE",parents:"agentkeepalive:make-fetch-happen:npm-profile:npm:signosoft"},"iconv-lite@0.4.19":{licenses:"MIT",repository:"https://github.com/ashtuchkin/iconv-lite",licenseUrl:"https://github.com/ashtuchkin/iconv-lite/raw/master/LICENSE",parents:"cordova-browser:signosoft"},"ieee754@1.1.11":{licenses:"BSD-3-Clause",repository:"https://github.com/feross/ieee754",licenseUrl:"https://github.com/feross/ieee754/raw/master/LICENSE",parents:"signosoft"},"iferr@0.1.5":{licenses:"MIT",repository:"https://github.com/shesek/iferr",licenseUrl:"https://github.com/shesek/iferr/raw/master/LICENSE",parents:"npm:signosoft"},"ignore-walk@3.0.0":{licenses:"ISC",repository:"https://github.com/isaacs/ignore-walk",licenseUrl:"https://github.com/isaacs/ignore-walk/raw/master/LICENSE",parents:"npm-packlist:npm:signosoft"},"immediate@3.0.6":{licenses:"MIT",repository:"https://github.com/calvinmetcalf/immediate",licenseUrl:"https://github.com/calvinmetcalf/immediate/raw/master/LICENSE.txt",parents:"signosoft"},"import-lazy@2.1.0":{licenses:"MIT",repository:"https://github.com/sindresorhus/import-lazy",licenseUrl:"https://github.com/sindresorhus/import-lazy/raw/master/license",parents:"update-notifier:npm:signosoft"},"imurmurhash@0.1.4":{licenses:"MIT",repository:"https://github.com/jensyt/imurmurhash-js",licenseUrl:"https://github.com/jensyt/imurmurhash-js",parents:"npm:signosoft"},"in-publish@2.0.0":{licenses:"ISC",repository:"https://github.com/iarna/in-publish",licenseUrl:"https://github.com/iarna/in-publish/raw/master/LICENSE",parents:"signosoft"},"indent-string@2.1.0":{licenses:"MIT",repository:"https://github.com/sindresorhus/indent-string",licenseUrl:"https://github.com/sindresorhus/indent-string/raw/master/license",parents:"signosoft"},"indexof@0.0.1":{licenses:"UNKNOWN",parents:"signosoft"},"inflight@1.0.4":{licenses:"ISC",repository:"https://github.com/isaacs/inflight",licenseUrl:"https://github.com/isaacs/inflight/raw/master/LICENSE",parents:"glob:cordova-common:cordova-android:signosoft"},"inflight@1.0.6":{licenses:"ISC",repository:"https://github.com/npm/inflight",licenseUrl:"https://github.com/npm/inflight/raw/master/LICENSE",parents:"cordova-universal-links-plugin"},"inherits@2.0.1":{licenses:"ISC",repository:"https://github.com/isaacs/inherits",licenseUrl:"https://github.com/isaacs/inherits/raw/master/LICENSE",parents:"glob:cordova-common:cordova-android:signosoft"},"inherits@2.0.3":{licenses:"ISC",repository:"https://github.com/isaacs/inherits",licenseUrl:"https://github.com/isaacs/inherits/raw/master/LICENSE",parents:"cordova-universal-links-plugin"},"ini@1.3.4":{licenses:"ISC",repository:"https://github.com/isaacs/ini",licenseUrl:"https://github.com/isaacs/ini/raw/master/LICENSE",parents:"npm:signosoft"},"init-package-json@1.10.1":{licenses:"ISC",repository:"https://github.com/npm/init-package-json",licenseUrl:"https://github.com/npm/init-package-json/raw/master/LICENSE",parents:"npm:signosoft"},"inline-process-browser@1.0.0":{licenses:"MIT",repository:"https://github.com/calvinmetcalf/inline-process-browser",licenseUrl:"https://github.com/calvinmetcalf/inline-process-browser",parents:"signosoft"},"inquirer@3.3.0":{licenses:"MIT",repository:"https://github.com/SBoudrias/Inquirer.js",licenseUrl:"https://github.com/SBoudrias/Inquirer.js",parents:"signosoft"},"install@0.10.4":{licenses:"MIT",repository:"https://github.com/benjamn/install",licenseUrl:"https://github.com/benjamn/install/raw/master/LICENSE",parents:"signosoft"},"interpret@0.6.6":{licenses:"MIT",repository:"https://github.com/tkellen/node-interpret",licenseUrl:"https://github.com/tkellen/node-interpret/raw/master/LICENSE",parents:"signosoft"},"interpret@1.1.0":{licenses:"MIT",repository:"https://github.com/tkellen/node-interpret",licenseUrl:"https://github.com/tkellen/node-interpret/raw/master/LICENSE",parents:"@ionic/app-scripts:signosoft"},"invert-kv@1.0.0":{licenses:"MIT*",parents:"lcid:os-locale:yargs:libnpx:npm:signosoft"},"ionic-angular@3.8.0":{licenses:"MIT",repository:"https://github.com/ionic-team/ionic",licenseUrl:"https://github.com/ionic-team/ionic",parents:"signosoft"},"ionic-plugin-keyboard@2.2.1":{licenses:"Apache 2.0",repository:"https://github.com/driftyco/ionic-plugin-keyboard",licenseUrl:"https://github.com/driftyco/ionic-plugin-keyboard/raw/master/LICENSE",parents:"signosoft"},"ionic@3.20.0":{licenses:"MIT",repository:"https://github.com/ionic-team/ionic-cli",licenseUrl:"https://github.com/ionic-team/ionic-cli",parents:"signosoft"},"ionicons@3.0.0":{licenses:"MIT",repository:"https://github.com/driftyco/ionicons",licenseUrl:"https://github.com/driftyco/ionicons/raw/master/LICENSE",parents:"signosoft"},"ios-sim@6.1.2":{licenses:"MIT",repository:"https://github.com/phonegap/ios-sim",licenseUrl:"https://github.com/phonegap/ios-sim/raw/master/LICENSE",parents:"cordova-ios:signosoft"},"ip@1.1.5":{licenses:"MIT",repository:"https://github.com/indutny/node-ip",licenseUrl:"https://github.com/indutny/node-ip",parents:"socks:socks-proxy-agent:make-fetch-happen:npm-profile:npm:signosoft"},"ipaddr.js@1.5.2":{licenses:"MIT",repository:"https://github.com/whitequark/ipaddr.js",licenseUrl:"https://github.com/whitequark/ipaddr.js/raw/master/LICENSE",parents:"cordova-browser:signosoft"},"ipaddr.js@1.6.0":{licenses:"MIT",repository:"https://github.com/whitequark/ipaddr.js",licenseUrl:"https://github.com/whitequark/ipaddr.js/raw/master/LICENSE",parents:"signosoft"},"is-accessor-descriptor@0.1.6":{licenses:"MIT",repository:"https://github.com/jonschlinkert/is-accessor-descriptor",licenseUrl:"https://github.com/jonschlinkert/is-accessor-descriptor/raw/master/LICENSE",parents:"signosoft"},"is-accessor-descriptor@1.0.0":{licenses:"MIT",repository:"https://github.com/jonschlinkert/is-accessor-descriptor",licenseUrl:"https://github.com/jonschlinkert/is-accessor-descriptor/raw/master/LICENSE",parents:"define-property:signosoft"},"is-arrayish@0.2.1":{licenses:"MIT*",parents:"error-ex:parse-json:load-json-file:read-pkg:read-pkg-up:yargs:libnpx:npm:signosoft"},"is-binary-path@1.0.1":{licenses:"MIT",repository:"https://github.com/sindresorhus/is-binary-path",licenseUrl:"https://github.com/sindresorhus/is-binary-path/raw/master/license",parents:"signosoft"},"is-buffer@1.1.6":{licenses:"MIT",repository:"https://github.com/feross/is-buffer",licenseUrl:"https://github.com/feross/is-buffer/raw/master/LICENSE",parents:"signosoft"},"is-builtin-module@1.0.0":{licenses:"MIT",repository:"https://github.com/sindresorhus/is-builtin-module",licenseUrl:"https://github.com/sindresorhus/is-builtin-module/raw/master/license",parents:"normalize-package-data:npm:signosoft"},"is-callable@1.1.3":{licenses:"MIT",repository:"https://github.com/ljharb/is-callable",licenseUrl:"https://github.com/ljharb/is-callable/raw/master/LICENSE",parents:"signosoft"},"is-cidr@1.0.0":{licenses:"MIT",repository:"https://github.com/flipjs/is-cidr",licenseUrl:"https://github.com/flipjs/is-cidr",parents:"npm:signosoft"},"is-data-descriptor@0.1.4":{licenses:"MIT",repository:"https://github.com/jonschlinkert/is-data-descriptor",licenseUrl:"https://github.com/jonschlinkert/is-data-descriptor/raw/master/LICENSE",parents:"signosoft"},"is-data-descriptor@1.0.0":{licenses:"MIT",repository:"https://github.com/jonschlinkert/is-data-descriptor",licenseUrl:"https://github.com/jonschlinkert/is-data-descriptor/raw/master/LICENSE",parents:"define-property:signosoft"},"is-date-object@1.0.1":{licenses:"MIT",repository:"https://github.com/ljharb/is-date-object",licenseUrl:"https://github.com/ljharb/is-date-object/raw/master/LICENSE",parents:"signosoft"},"is-descriptor@0.1.6":{licenses:"MIT",repository:"https://github.com/jonschlinkert/is-descriptor",licenseUrl:"https://github.com/jonschlinkert/is-descriptor/raw/master/LICENSE",parents:"signosoft"},"is-descriptor@1.0.2":{licenses:"MIT",repository:"https://github.com/jonschlinkert/is-descriptor",licenseUrl:"https://github.com/jonschlinkert/is-descriptor/raw/master/LICENSE",parents:"define-property:signosoft"},"is-dotfile@1.0.3":{licenses:"MIT",repository:"https://github.com/jonschlinkert/is-dotfile",licenseUrl:"https://github.com/jonschlinkert/is-dotfile/raw/master/LICENSE",parents:"signosoft"},"is-equal-shallow@0.1.3":{licenses:"MIT",repository:"https://github.com/jonschlinkert/is-equal-shallow",licenseUrl:"https://github.com/jonschlinkert/is-equal-shallow/raw/master/LICENSE",parents:"signosoft"},"is-extendable@0.1.1":{licenses:"MIT",repository:"https://github.com/jonschlinkert/is-extendable",licenseUrl:"https://github.com/jonschlinkert/is-extendable/raw/master/LICENSE",parents:"signosoft"},"is-extendable@1.0.1":{licenses:"MIT",repository:"https://github.com/jonschlinkert/is-extendable",licenseUrl:"https://github.com/jonschlinkert/is-extendable/raw/master/LICENSE",parents:"extend-shallow:signosoft"},"is-extglob@1.0.0":{licenses:"MIT",repository:"https://github.com/jonschlinkert/is-extglob",licenseUrl:"https://github.com/jonschlinkert/is-extglob/raw/master/LICENSE",parents:"signosoft"},"is-extglob@2.1.1":{licenses:"MIT",repository:"https://github.com/jonschlinkert/is-extglob",licenseUrl:"https://github.com/jonschlinkert/is-extglob/raw/master/LICENSE",parents:"http-proxy-middleware:signosoft"},"is-finite@1.0.2":{licenses:"MIT",repository:"https://github.com/sindresorhus/is-finite",licenseUrl:"https://github.com/sindresorhus/is-finite/raw/master/license",parents:"signosoft"},"is-fullwidth-code-point@1.0.0":{licenses:"MIT",repository:"https://github.com/sindresorhus/is-fullwidth-code-point",licenseUrl:"https://github.com/sindresorhus/is-fullwidth-code-point/raw/master/license",parents:"string-width:cli-table2:npm:signosoft"},"is-fullwidth-code-point@2.0.0":{licenses:"MIT",repository:"https://github.com/sindresorhus/is-fullwidth-code-point",licenseUrl:"https://github.com/sindresorhus/is-fullwidth-code-point/raw/master/license",parents:"string-width:boxen:update-notifier:npm:signosoft"},"is-function@1.0.1":{licenses:"MIT",repository:"https://github.com/grncdr/js-is-function",licenseUrl:"https://github.com/grncdr/js-is-function/raw/master/LICENSE",parents:"signosoft"},"is-glob@2.0.1":{licenses:"MIT",repository:"https://github.com/jonschlinkert/is-glob",licenseUrl:"https://github.com/jonschlinkert/is-glob/raw/master/LICENSE",parents:"signosoft"},"is-glob@3.1.0":{licenses:"MIT",repository:"https://github.com/jonschlinkert/is-glob",licenseUrl:"https://github.com/jonschlinkert/is-glob/raw/master/LICENSE",parents:"http-proxy-middleware:signosoft"},"is-glob@4.0.0":{licenses:"MIT",repository:"https://github.com/jonschlinkert/is-glob",licenseUrl:"https://github.com/jonschlinkert/is-glob/raw/master/LICENSE",parents:"@ionic/app-scripts:signosoft"},"is-module@1.0.0":{licenses:"MIT",repository:"https://github.com/component/is-module",licenseUrl:"https://github.com/component/is-module",parents:"signosoft"},"is-my-ip-valid@1.0.0":{licenses:"MIT",repository:"https://github.com/LinusU/is-my-ip-valid",licenseUrl:"https://github.com/LinusU/is-my-ip-valid",parents:"signosoft"},"is-my-json-valid@2.17.2":{licenses:"MIT",repository:"https://github.com/mafintosh/is-my-json-valid",licenseUrl:"https://github.com/mafintosh/is-my-json-valid/raw/master/LICENSE",parents:"signosoft"},"is-npm@1.0.0":{licenses:"MIT",repository:"https://github.com/sindresorhus/is-npm",licenseUrl:"https://github.com/sindresorhus/is-npm",parents:"update-notifier:npm:signosoft"},"is-number@2.1.0":{licenses:"MIT",repository:"https://github.com/jonschlinkert/is-number",licenseUrl:"https://github.com/jonschlinkert/is-number/raw/master/LICENSE",parents:"signosoft"},"is-number@3.0.0":{licenses:"MIT",repository:"https://github.com/jonschlinkert/is-number",licenseUrl:"https://github.com/jonschlinkert/is-number/raw/master/LICENSE",parents:"has-values:signosoft"},"is-number@4.0.0":{licenses:"MIT",repository:"https://github.com/jonschlinkert/is-number",licenseUrl:"https://github.com/jonschlinkert/is-number/raw/master/LICENSE",parents:"randomatic:signosoft"},"is-obj@1.0.1":{licenses:"MIT",repository:"https://github.com/sindresorhus/is-obj",licenseUrl:"https://github.com/sindresorhus/is-obj/raw/master/license",parents:"dot-prop:configstore:update-notifier:npm:signosoft"},"is-plain-object@2.0.4":{licenses:"MIT",repository:"https://github.com/jonschlinkert/is-plain-object",licenseUrl:"https://github.com/jonschlinkert/is-plain-object/raw/master/LICENSE",parents:"signosoft"},"is-posix-bracket@0.1.1":{licenses:"MIT",repository:"https://github.com/jonschlinkert/is-posix-bracket",licenseUrl:"https://github.com/jonschlinkert/is-posix-bracket/raw/master/LICENSE",parents:"signosoft"},"is-primitive@2.0.0":{licenses:"MIT",repository:"https://github.com/jonschlinkert/is-primitive",licenseUrl:"https://github.com/jonschlinkert/is-primitive/blob/master/LICENSE",parents:"signosoft"},"is-promise@2.1.0":{licenses:"MIT",repository:"https://github.com/then/is-promise",licenseUrl:"https://github.com/then/is-promise/raw/master/LICENSE",parents:"signosoft"},"is-property@1.0.2":{licenses:"MIT",repository:"https://github.com/mikolalysenko/is-property",licenseUrl:"https://github.com/mikolalysenko/is-property/raw/master/LICENSE",parents:"signosoft"},"is-redirect@1.0.0":{licenses:"MIT",repository:"https://github.com/sindresorhus/is-redirect",licenseUrl:"https://github.com/sindresorhus/is-redirect/raw/master/license",parents:"got:package-json:latest-version:update-notifier:npm:signosoft"},"is-regex@1.0.4":{licenses:"MIT",repository:"https://github.com/ljharb/is-regex",licenseUrl:"https://github.com/ljharb/is-regex/raw/master/LICENSE",parents:"signosoft"},"is-retry-allowed@1.1.0":{licenses:"MIT",repository:"https://github.com/floatdrop/is-retry-allowed",licenseUrl:"https://github.com/floatdrop/is-retry-allowed/raw/master/license",parents:"got:package-json:latest-version:update-notifier:npm:signosoft"},"is-stream@1.1.0":{licenses:"MIT",repository:"https://github.com/sindresorhus/is-stream",licenseUrl:"https://github.com/sindresorhus/is-stream/raw/master/license",parents:"execa:term-size:boxen:update-notifier:npm:signosoft"},"is-symbol@1.0.1":{licenses:"MIT",repository:"https://github.com/ljharb/is-symbol",licenseUrl:"https://github.com/ljharb/is-symbol/raw/master/LICENSE",parents:"signosoft"},"is-typedarray@1.0.0":{licenses:"MIT",repository:"https://github.com/hughsk/is-typedarray",licenseUrl:"https://github.com/hughsk/is-typedarray/raw/master/LICENSE.md",parents:"request:npm:signosoft"},"is-utf8@0.2.1":{licenses:"MIT",repository:"https://github.com/wayfind/is-utf8",licenseUrl:"https://github.com/wayfind/is-utf8/raw/master/LICENSE",parents:"signosoft"},"is-windows@1.0.2":{licenses:"MIT",repository:"https://github.com/jonschlinkert/is-windows",licenseUrl:"https://github.com/jonschlinkert/is-windows/raw/master/LICENSE",parents:"signosoft"},"is-wsl@1.1.0":{licenses:"MIT",repository:"https://github.com/sindresorhus/is-wsl",licenseUrl:"https://github.com/sindresorhus/is-wsl/raw/master/license",parents:"signosoft"},"isarray@0.0.1":{licenses:"MIT",repository:"https://github.com/juliangruber/isarray",licenseUrl:"https://github.com/juliangruber/isarray",parents:"signosoft"},"isarray@1.0.0":{licenses:"MIT",repository:"https://github.com/juliangruber/isarray",licenseUrl:"https://github.com/juliangruber/isarray",parents:"memory-fs:signosoft"},"isexe@2.0.0":{licenses:"ISC",repository:"https://github.com/isaacs/isexe",licenseUrl:"https://github.com/isaacs/isexe/raw/master/LICENSE",parents:"which:npm:signosoft"},"isobject@2.1.0":{licenses:"MIT",repository:"https://github.com/jonschlinkert/isobject",licenseUrl:"https://github.com/jonschlinkert/isobject/raw/master/LICENSE",parents:"signosoft"},"isobject@3.0.1":{licenses:"MIT",repository:"https://github.com/jonschlinkert/isobject",licenseUrl:"https://github.com/jonschlinkert/isobject/raw/master/LICENSE",parents:"object-visit:signosoft"},"isstream@0.1.2":{licenses:"MIT",repository:"https://github.com/rvagg/isstream",licenseUrl:"https://github.com/rvagg/isstream/raw/master/LICENSE.md",parents:"request:npm:signosoft"},"js-base64@2.4.8":{licenses:"BSD-3-Clause",repository:"https://github.com/dankogai/js-base64",licenseUrl:"https://github.com/dankogai/js-base64/raw/master/LICENSE.md",parents:"signosoft"},"js-tokens@3.0.2":{licenses:"MIT",repository:"https://github.com/lydell/js-tokens",licenseUrl:"https://github.com/lydell/js-tokens/raw/master/LICENSE",parents:"signosoft"},"js-yaml@3.12.0":{licenses:"MIT",repository:"https://github.com/nodeca/js-yaml",licenseUrl:"https://github.com/nodeca/js-yaml/raw/master/LICENSE",parents:"signosoft"},"jsbn@0.1.1":{licenses:"MIT",repository:"https://github.com/andyperlitch/jsbn",licenseUrl:"https://github.com/andyperlitch/jsbn/raw/master/LICENSE",parents:"sshpk:http-signature:request:npm:signosoft"},"jsencrypt@3.0.0-beta.1":{licenses:"MIT",repository:"https://github.com/travist/jsencrypt",licenseUrl:"https://github.com/travist/jsencrypt/raw/master/LICENSE.txt",parents:"signosoft"},"json-loader@0.5.7":{licenses:"MIT",repository:"https://github.com/webpack/json-loader",licenseUrl:"https://github.com/webpack/json-loader/raw/master/LICENSE",parents:"signosoft"},"json-parse-better-errors@1.0.1":{licenses:"MIT",repository:"https://github.com/zkat/json-parse-better-errors",licenseUrl:"https://github.com/zkat/json-parse-better-errors/raw/master/LICENSE.md",parents:"read-package-json:npm:signosoft"},"json-schema-traverse@0.3.1":{licenses:"MIT",repository:"https://github.com/epoberezkin/json-schema-traverse",licenseUrl:"https://github.com/epoberezkin/json-schema-traverse/raw/master/LICENSE",parents:"ajv:har-validator:request:npm:signosoft"},"json-schema@0.2.3":{licenses:"AFLv2.1,BSD",repository:"https://github.com/kriszyp/json-schema",licenseUrl:"http://trac.dojotoolkit.org/browser/dojo/trunk/LICENSE#L43,http://trac.dojotoolkit.org/browser/dojo/trunk/LICENSE#L13",parents:"jsprim:http-signature:request:npm:signosoft"},"json-stable-stringify@1.0.1":{licenses:"MIT",repository:"https://github.com/substack/json-stable-stringify",licenseUrl:"https://github.com/substack/json-stable-stringify/raw/master/LICENSE",parents:"ajv:har-validator:request:npm:signosoft"},"json-stringify-safe@5.0.1":{licenses:"ISC",repository:"https://github.com/isaacs/json-stringify-safe",licenseUrl:"https://github.com/isaacs/json-stringify-safe/raw/master/LICENSE",parents:"request:npm:signosoft"},"json5@0.5.1":{licenses:"MIT",repository:"https://github.com/aseemk/json5",licenseUrl:"https://github.com/aseemk/json5/raw/master/LICENSE.md",parents:"signosoft"},"jsonfile@4.0.0":{licenses:"MIT",repository:"https://github.com/jprichardson/node-jsonfile",licenseUrl:"https://github.com/jprichardson/node-jsonfile/raw/master/LICENSE",parents:"signosoft"},"jsonify@0.0.0":{licenses:"Public Domain",repository:"https://github.com/substack/jsonify",licenseUrl:"https://github.com/substack/jsonify",parents:"json-stable-stringify:ajv:har-validator:request:npm:signosoft"},"jsonparse@1.3.1":{licenses:"MIT",repository:"https://github.com/creationix/jsonparse",licenseUrl:"https://github.com/creationix/jsonparse/raw/master/LICENSE",parents:"JSONStream:npm:signosoft"},"jsonpointer@4.0.1":{licenses:"MIT",repository:"https://github.com/janl/node-jsonpointer",licenseUrl:"https://github.com/janl/node-jsonpointer/raw/master/LICENSE.md",parents:"signosoft"},"jsprim@1.4.1":{licenses:"MIT",repository:"https://github.com/joyent/node-jsprim",licenseUrl:"https://github.com/joyent/node-jsprim/raw/master/LICENSE",parents:"http-signature:request:npm:signosoft"},"jstransform@3.0.0":{licenses:"Apache-2.0",repository:"https://github.com/facebook/jstransform",licenseUrl:"http://www.apache.org/licenses/LICENSE-2.0",parents:"signosoft"},"kind-of@3.2.2":{licenses:"MIT",repository:"https://github.com/jonschlinkert/kind-of",licenseUrl:"https://github.com/jonschlinkert/kind-of/raw/master/LICENSE",parents:"signosoft"},"kind-of@4.0.0":{licenses:"MIT",repository:"https://github.com/jonschlinkert/kind-of",licenseUrl:"https://github.com/jonschlinkert/kind-of/raw/master/LICENSE",parents:"has-values:signosoft"},"kind-of@5.1.0":{licenses:"MIT",repository:"https://github.com/jonschlinkert/kind-of",licenseUrl:"https://github.com/jonschlinkert/kind-of/raw/master/LICENSE",parents:"is-descriptor:signosoft"},"kind-of@6.0.2":{licenses:"MIT",repository:"https://github.com/jonschlinkert/kind-of",licenseUrl:"https://github.com/jonschlinkert/kind-of/raw/master/LICENSE",parents:"randomatic:signosoft"},"latest-version@3.1.0":{licenses:"MIT",repository:"https://github.com/sindresorhus/latest-version",licenseUrl:"https://github.com/sindresorhus/latest-version/raw/master/license",parents:"update-notifier:npm:signosoft"},"lazy-cache@1.0.4":{licenses:"MIT",repository:"https://github.com/jonschlinkert/lazy-cache",licenseUrl:"https://github.com/jonschlinkert/lazy-cache/raw/master/LICENSE",parents:"signosoft"},"lazy-property@1.0.0":{licenses:"MIT",repository:"https://github.com/mikolalysenko/lazy-property",licenseUrl:"https://github.com/mikolalysenko/lazy-property/raw/master/LICENSE",parents:"npm:signosoft"},"lazystream@1.0.0":{licenses:"MIT",repository:"https://github.com/jpommerening/node-lazystream",licenseUrl:"https://github.com/jpommerening/node-lazystream/raw/master/LICENSE-MIT",parents:"signosoft"},"lcid@1.0.0":{licenses:"MIT*",parents:"os-locale:yargs:libnpx:npm:signosoft"},"leek@0.0.24":{licenses:"MIT",repository:"https://github.com/twokul/leek",licenseUrl:"https://github.com/twokul/leek",parents:"signosoft"},"libnpx@9.6.0":{licenses:"CC0-1.0",repository:"https://github.com/zkat/npx",licenseUrl:"https://github.com/zkat/npx/raw/master/LICENSE.md",parents:"npm:signosoft"},"lie@3.0.2":{licenses:"MIT",repository:"https://github.com/calvinmetcalf/lie",licenseUrl:"https://github.com/calvinmetcalf/lie/raw/master/license.md",parents:"signosoft"},"livereload-js@2.3.0":{licenses:"MIT",repository:"https://github.com/livereload/livereload-js",licenseUrl:"https://github.com/livereload/livereload-js/raw/master/LICENSE",parents:"signosoft"},"load-json-file@1.1.0":{licenses:"MIT",repository:"https://github.com/sindresorhus/load-json-file",licenseUrl:"https://github.com/sindresorhus/load-json-file/raw/master/license",parents:"signosoft"},"load-json-file@2.0.0":{licenses:"MIT*",parents:"read-pkg:read-pkg-up:yargs:libnpx:npm:signosoft"},"loader-runner@2.3.0":{licenses:"MIT",repository:"https://github.com/webpack/loader-runner",licenseUrl:"https://github.com/webpack/loader-runner",parents:"signosoft"},"loader-utils@0.2.17":{licenses:"MIT",repository:"https://github.com/webpack/loader-utils",licenseUrl:"https://github.com/webpack/loader-utils/raw/master/LICENSE",parents:"signosoft"},"loader-utils@1.1.0":{licenses:"MIT",repository:"https://github.com/webpack/loader-utils",licenseUrl:"https://github.com/webpack/loader-utils/raw/master/LICENSE",parents:"@angular-devkit/build-optimizer:signosoft"},"locale-index-of@1.0.2":{licenses:"ISC",repository:"https://github.com/arty-name/locale-index-of",licenseUrl:"https://github.com/arty-name/locale-index-of",parents:"signosoft"},"localforage-cordovasqlitedriver@1.5.0":{licenses:"UNKNOWN",repository:"https://github.com/thgreasi/localForage-cordovaSQLiteDriver",licenseUrl:"https://github.com/thgreasi/localForage-cordovaSQLiteDriver/raw/master/LICENSE",parents:"signosoft"},"localforage@1.4.3":{licenses:"Apache-2.0",repository:"https://github.com/localForage/localForage",licenseUrl:"https://github.com/localForage/localForage/raw/master/LICENSE",parents:"signosoft"},"locate-path@2.0.0":{licenses:"MIT*",parents:"find-up:read-pkg-up:yargs:libnpx:npm:signosoft"},"lockfile@1.0.3":{licenses:"ISC",repository:"https://github.com/npm/lockfile",licenseUrl:"https://github.com/npm/lockfile/raw/master/LICENSE",parents:"npm:signosoft"},"lodash-node@2.4.1":{licenses:"MIT",repository:"https://github.com/lodash/lodash-node",licenseUrl:"https://github.com/lodash/lodash-node/raw/master/LICENSE.txt",parents:"xmlbuilder:plist:cordova-common:cordova-android:signosoft"},"lodash._baseassign@3.2.0":{licenses:"MIT",repository:"https://github.com/lodash/lodash",licenseUrl:"https://github.com/lodash/lodash/raw/master/LICENSE.txt",parents:"signosoft"},"lodash._basecopy@3.0.1":{licenses:"MIT",repository:"https://github.com/lodash/lodash",licenseUrl:"https://github.com/lodash/lodash/raw/master/LICENSE.txt",parents:"signosoft"},"lodash._baseindexof@3.1.0":{licenses:"MIT",repository:"https://github.com/lodash/lodash",licenseUrl:"https://github.com/lodash/lodash/raw/master/LICENSE.txt",parents:"npm:signosoft"},"lodash._baseuniq@4.6.0":{licenses:"MIT",repository:"https://github.com/lodash/lodash",licenseUrl:"https://github.com/lodash/lodash/raw/master/LICENSE",parents:"npm:signosoft"},"lodash._bindcallback@3.0.1":{licenses:"MIT",repository:"https://github.com/lodash/lodash",licenseUrl:"https://github.com/lodash/lodash/raw/master/LICENSE.txt",parents:"npm:signosoft"},"lodash._cacheindexof@3.0.2":{licenses:"MIT",repository:"https://github.com/lodash/lodash",licenseUrl:"https://github.com/lodash/lodash/raw/master/LICENSE.txt",parents:"npm:signosoft"},"lodash._createassigner@3.1.1":{licenses:"MIT",repository:"https://github.com/lodash/lodash",licenseUrl:"https://github.com/lodash/lodash/raw/master/LICENSE.txt",parents:"signosoft"},"lodash._createcache@3.1.2":{licenses:"MIT",repository:"https://github.com/lodash/lodash",licenseUrl:"https://github.com/lodash/lodash/raw/master/LICENSE",parents:"npm:signosoft"},"lodash._createset@4.0.3":{licenses:"MIT",repository:"https://github.com/lodash/lodash",licenseUrl:"https://github.com/lodash/lodash/raw/master/LICENSE",parents:"lodash._baseuniq:npm:signosoft"},"lodash._getnative@3.9.1":{licenses:"MIT",repository:"https://github.com/lodash/lodash",licenseUrl:"https://github.com/lodash/lodash/raw/master/LICENSE",parents:"npm:signosoft"},"lodash._isiterateecall@3.0.9":{licenses:"MIT",repository:"https://github.com/lodash/lodash",licenseUrl:"https://github.com/lodash/lodash/raw/master/LICENSE.txt",parents:"signosoft"},"lodash._root@3.0.1":{licenses:"MIT",repository:"https://github.com/lodash/lodash",licenseUrl:"https://github.com/lodash/lodash/raw/master/LICENSE",parents:"lodash._baseuniq:npm:signosoft"},"lodash.assign@3.2.0":{licenses:"MIT",repository:"https://github.com/lodash/lodash",licenseUrl:"https://github.com/lodash/lodash/raw/master/LICENSE.txt",parents:"leek:signosoft"},"lodash.assign@4.2.0":{licenses:"MIT",repository:"https://github.com/lodash/lodash",licenseUrl:"https://github.com/lodash/lodash/raw/master/LICENSE",parents:"signosoft"},"lodash.clonedeep@4.5.0":{licenses:"MIT",repository:"https://github.com/lodash/lodash",licenseUrl:"https://github.com/lodash/lodash/raw/master/LICENSE",parents:"npm:signosoft"},"lodash.debounce@4.0.8":{licenses:"MIT",repository:"https://github.com/lodash/lodash",licenseUrl:"https://github.com/lodash/lodash/raw/master/LICENSE",parents:"signosoft"},"lodash.isarguments@3.1.0":{licenses:"MIT",repository:"https://github.com/lodash/lodash",licenseUrl:"https://github.com/lodash/lodash/raw/master/LICENSE",parents:"signosoft"},"lodash.isarray@3.0.4":{licenses:"MIT",repository:"https://github.com/lodash/lodash",licenseUrl:"https://github.com/lodash/lodash/raw/master/LICENSE",parents:"signosoft"},"lodash.keys@3.1.2":{licenses:"MIT",repository:"https://github.com/lodash/lodash",licenseUrl:"https://github.com/lodash/lodash/raw/master/LICENSE",parents:"signosoft"},"lodash.mergewith@4.6.1":{licenses:"MIT",repository:"https://github.com/lodash/lodash",licenseUrl:"https://github.com/lodash/lodash/raw/master/LICENSE",parents:"signosoft"},"lodash.restparam@3.6.1":{licenses:"MIT",repository:"https://github.com/lodash/lodash",licenseUrl:"https://github.com/lodash/lodash/raw/master/LICENSE.txt",parents:"npm:signosoft"},"lodash.union@4.6.0":{licenses:"MIT",repository:"https://github.com/lodash/lodash",licenseUrl:"https://github.com/lodash/lodash/raw/master/LICENSE",parents:"npm:signosoft"},"lodash.uniq@4.5.0":{licenses:"MIT",repository:"https://github.com/lodash/lodash",licenseUrl:"https://github.com/lodash/lodash/raw/master/LICENSE",parents:"npm:signosoft"},"lodash.without@4.4.0":{licenses:"MIT",repository:"https://github.com/lodash/lodash",licenseUrl:"https://github.com/lodash/lodash/raw/master/LICENSE",parents:"npm:signosoft"},"lodash@3.10.1":{licenses:"MIT",repository:"https://github.com/lodash/lodash",licenseUrl:"https://github.com/lodash/lodash/raw/master/LICENSE",parents:"cordova-browser:signosoft"},"lodash@4.17.10":{licenses:"MIT",repository:"https://github.com/lodash/lodash",licenseUrl:"https://github.com/lodash/lodash/raw/master/LICENSE",parents:"signosoft"},"longest@1.0.1":{licenses:"MIT",repository:"https://github.com/jonschlinkert/longest",licenseUrl:"https://github.com/jonschlinkert/longest/blob/master/LICENSE",parents:"signosoft"},"loud-rejection@1.6.0":{licenses:"MIT",repository:"https://github.com/sindresorhus/loud-rejection",licenseUrl:"https://github.com/sindresorhus/loud-rejection/raw/master/license",parents:"signosoft"},"lower-case@1.1.4":{licenses:"MIT",repository:"https://github.com/blakeembrey/lower-case",licenseUrl:"https://github.com/blakeembrey/lower-case/raw/master/LICENSE",parents:"signosoft"},"lowercase-keys@1.0.0":{licenses:"MIT",repository:"https://github.com/sindresorhus/lowercase-keys",licenseUrl:"https://github.com/sindresorhus/lowercase-keys",parents:"got:package-json:latest-version:update-notifier:npm:signosoft"},"lru-cache@4.1.1":{licenses:"ISC",repository:"https://github.com/isaacs/node-lru-cache",licenseUrl:"https://github.com/isaacs/node-lru-cache/raw/master/LICENSE",parents:"cacache:npm:signosoft"},"lru-cache@4.1.3":{licenses:"ISC",repository:"https://github.com/isaacs/node-lru-cache",licenseUrl:"https://github.com/isaacs/node-lru-cache/raw/master/LICENSE",parents:"signosoft"},"macos-release@1.1.0":{licenses:"MIT",repository:"https://github.com/sindresorhus/macos-release",licenseUrl:"https://github.com/sindresorhus/macos-release/raw/master/license",parents:"signosoft"},"magic-string@0.22.5":{licenses:"MIT",repository:"https://github.com/rich-harris/magic-string",licenseUrl:"https://github.com/rich-harris/magic-string",parents:"signosoft"},"make-dir@1.0.0":{licenses:"MIT",repository:"https://github.com/sindresorhus/make-dir",licenseUrl:"https://github.com/sindresorhus/make-dir/raw/master/license",parents:"configstore:update-notifier:npm:signosoft"},"make-fetch-happen@2.5.0":{licenses:"CC0-1.0",repository:"https://github.com/zkat/make-fetch-happen",licenseUrl:"https://github.com/zkat/make-fetch-happen/raw/master/LICENSE",parents:"npm-profile:npm:signosoft"},"map-cache@0.2.2":{licenses:"MIT",repository:"https://github.com/jonschlinkert/map-cache",licenseUrl:"https://github.com/jonschlinkert/map-cache/raw/master/LICENSE",parents:"signosoft"},"map-obj@1.0.1":{licenses:"MIT",repository:"https://github.com/sindresorhus/map-obj",licenseUrl:"https://github.com/sindresorhus/map-obj/raw/master/license",parents:"signosoft"},"map-visit@1.0.0":{licenses:"MIT",repository:"https://github.com/jonschlinkert/map-visit",licenseUrl:"https://github.com/jonschlinkert/map-visit/raw/master/LICENSE",parents:"signosoft"},"math-random@1.0.1":{licenses:"MIT",repository:"https://github.com/michaelrhodes/math-random",licenseUrl:"https://github.com/michaelrhodes/math-random",parents:"signosoft"},"md5.js@1.3.4":{licenses:"MIT",repository:"https://github.com/crypto-browserify/md5.js",licenseUrl:"https://github.com/crypto-browserify/md5.js/raw/master/LICENSE",parents:"signosoft"},"md5@2.2.1":{licenses:"BSD-3-Clause",repository:"https://github.com/pvorb/node-md5",licenseUrl:"https://github.com/pvorb/node-md5/raw/master/LICENSE",parents:"signosoft"},"meant@1.0.1":{licenses:"MIT",repository:"https://github.com/watilde/meant",licenseUrl:"https://github.com/watilde/meant/raw/master/LICENSE",parents:"npm:signosoft"},"media-typer@0.3.0":{licenses:"MIT",repository:"https://github.com/jshttp/media-typer",licenseUrl:"https://github.com/jshttp/media-typer/raw/master/LICENSE",parents:"cordova-browser:signosoft"},"mem@1.1.0":{licenses:"MIT*",parents:"os-locale:yargs:libnpx:npm:signosoft"},"memory-fs@0.2.0":{licenses:"MIT",repository:"https://github.com/webpack/memory-fs",licenseUrl:"https://github.com/webpack/memory-fs",parents:"enhanced-resolve:signosoft"},"memory-fs@0.3.0":{licenses:"MIT",repository:"https://github.com/webpack/memory-fs",licenseUrl:"https://github.com/webpack/memory-fs",parents:"signosoft"},"memory-fs@0.4.1":{licenses:"MIT",repository:"https://github.com/webpack/memory-fs",licenseUrl:"https://github.com/webpack/memory-fs",parents:"webpack-dev-middleware:signosoft"},"meow@3.7.0":{licenses:"MIT",repository:"https://github.com/sindresorhus/meow",licenseUrl:"https://github.com/sindresorhus/meow/raw/master/license",parents:"signosoft"},"merge-descriptors@1.0.1":{licenses:"MIT",repository:"https://github.com/component/merge-descriptors",licenseUrl:"https://github.com/component/merge-descriptors/raw/master/LICENSE",parents:"cordova-browser:signosoft"},"methods@1.1.2":{licenses:"MIT",repository:"https://github.com/jshttp/methods",licenseUrl:"https://github.com/jshttp/methods/raw/master/LICENSE",parents:"cordova-browser:signosoft"},"micromatch@2.3.11":{licenses:"MIT",repository:"https://github.com/jonschlinkert/micromatch",licenseUrl:"https://github.com/jonschlinkert/micromatch/raw/master/LICENSE",parents:"signosoft"},"micromatch@3.1.10":{licenses:"MIT",repository:"https://github.com/micromatch/micromatch",licenseUrl:"https://github.com/micromatch/micromatch/raw/master/LICENSE",parents:"@ionic/app-scripts:signosoft"},"miller-rabin@4.0.1":{licenses:"MIT",repository:"https://github.com/indutny/miller-rabin",licenseUrl:"https://github.com/indutny/miller-rabin",parents:"signosoft"},"mime-db@1.30.0":{licenses:"MIT",repository:"https://github.com/jshttp/mime-db",licenseUrl:"https://github.com/jshttp/mime-db/raw/master/LICENSE",parents:"cordova-browser:signosoft"},"mime-db@1.33.0":{licenses:"MIT",repository:"https://github.com/jshttp/mime-db",licenseUrl:"https://github.com/jshttp/mime-db/raw/master/LICENSE",parents:"signosoft"},"mime-types@2.1.17":{licenses:"MIT",repository:"https://github.com/jshttp/mime-types",licenseUrl:"https://github.com/jshttp/mime-types/raw/master/LICENSE",parents:"cordova-browser:signosoft"},"mime-types@2.1.18":{licenses:"MIT",repository:"https://github.com/jshttp/mime-types",licenseUrl:"https://github.com/jshttp/mime-types/raw/master/LICENSE",parents:"signosoft"},"mime@1.3.4":{licenses:"MIT",repository:"https://github.com/broofa/node-mime",licenseUrl:"https://raw.github.com/broofa/node-mime/master/LICENSE",parents:"send:signosoft"},"mime@1.4.1":{licenses:"MIT",repository:"https://github.com/broofa/node-mime",licenseUrl:"https://github.com/broofa/node-mime/raw/master/LICENSE",parents:"cordova-browser:signosoft"},"mime@1.6.0":{licenses:"MIT",repository:"https://github.com/broofa/node-mime",licenseUrl:"https://github.com/broofa/node-mime/raw/master/LICENSE",parents:"webpack-dev-middleware:signosoft"},"mimic-fn@1.1.0":{licenses:"MIT*",parents:"mem:os-locale:yargs:libnpx:npm:signosoft"},"mimic-fn@1.2.0":{licenses:"MIT",repository:"https://github.com/sindresorhus/mimic-fn",licenseUrl:"https://github.com/sindresorhus/mimic-fn/raw/master/license",parents:"signosoft"},"minimalistic-assert@1.0.1":{licenses:"ISC",repository:"https://github.com/calvinmetcalf/minimalistic-assert",licenseUrl:"https://github.com/calvinmetcalf/minimalistic-assert/raw/master/LICENSE",parents:"signosoft"},"minimalistic-crypto-utils@1.0.1":{licenses:"MIT",repository:"https://github.com/indutny/minimalistic-crypto-utils",licenseUrl:"https://github.com/indutny/minimalistic-crypto-utils",parents:"signosoft"},"minimatch@3.0.0":{licenses:"ISC",repository:"https://github.com/isaacs/minimatch",licenseUrl:"https://github.com/isaacs/minimatch/raw/master/LICENSE",parents:"glob:cordova-common:cordova-android:signosoft"},"minimatch@3.0.4":{licenses:"ISC",repository:"https://github.com/isaacs/minimatch",licenseUrl:"https://github.com/isaacs/minimatch/raw/master/LICENSE",parents:"cordova-universal-links-plugin"},"minimist@0.0.10":{licenses:"MIT",repository:"https://github.com/substack/minimist",licenseUrl:"https://github.com/substack/minimist/raw/master/LICENSE",parents:"optimist:signosoft"},"minimist@0.0.8":{licenses:"MIT",repository:"https://github.com/substack/minimist",licenseUrl:"https://github.com/substack/minimist/raw/master/LICENSE",parents:"mkdirp:signosoft"},"minimist@1.2.0":{licenses:"MIT",repository:"https://github.com/substack/minimist",licenseUrl:"https://github.com/substack/minimist/raw/master/LICENSE",parents:"signosoft"},"minipass@2.2.1":{licenses:"ISC",repository:"https://github.com/isaacs/minipass",licenseUrl:"https://github.com/isaacs/minipass",parents:"tar:npm:signosoft"},"minipass@2.3.3":{licenses:"ISC",repository:"https://github.com/isaacs/minipass",licenseUrl:"https://github.com/isaacs/minipass",parents:"signosoft"},"minizlib@1.0.3":{licenses:"MIT",repository:"https://github.com/isaacs/minizlib",licenseUrl:"https://github.com/isaacs/minizlib/raw/master/LICENSE",parents:"tar:npm:signosoft"},"minizlib@1.1.0":{licenses:"MIT",repository:"https://github.com/isaacs/minizlib",licenseUrl:"https://github.com/isaacs/minizlib/raw/master/LICENSE",parents:"signosoft"},"mississippi@1.3.0":{licenses:"BSD-2-Clause",repository:"https://github.com/maxogden/mississippi",licenseUrl:"https://github.com/maxogden/mississippi",parents:"npm:signosoft"},"mixin-deep@1.3.1":{licenses:"MIT",repository:"https://github.com/jonschlinkert/mixin-deep",licenseUrl:"https://github.com/jonschlinkert/mixin-deep/raw/master/LICENSE",parents:"signosoft"},"mkdirp@0.5.1":{licenses:"MIT",repository:"https://github.com/substack/node-mkdirp",licenseUrl:"https://github.com/substack/node-mkdirp/raw/master/LICENSE",parents:"signosoft"},"mkpath@1.0.0":{licenses:"MIT",repository:"https://github.com/jrajav/mkpath",licenseUrl:"https://github.com/jrajav/mkpath/raw/master/LICENSE",parents:"cordova-universal-links-plugin"},"move-concurrently@1.0.1":{licenses:"ISC",repository:"https://github.com/npm/move-concurrently",licenseUrl:"https://github.com/npm/move-concurrently/raw/master/LICENSE",parents:"npm:signosoft"},"ms@0.7.1":{licenses:"UNKNOWN",repository:"https://github.com/guille/ms.js",licenseUrl:"https://github.com/guille/ms.js/raw/master/LICENSE",parents:"send:signosoft"},"ms@2.0.0":{licenses:"MIT",repository:"https://github.com/zeit/ms",licenseUrl:"https://github.com/zeit/ms/raw/master/license.md",parents:"cordova-browser:signosoft"},"mute-stream@0.0.7":{licenses:"ISC",repository:"https://github.com/isaacs/mute-stream",licenseUrl:"https://github.com/isaacs/mute-stream/raw/master/LICENSE",parents:"read:npm:signosoft"},"nan@2.10.0":{licenses:"MIT",repository:"https://github.com/nodejs/nan",licenseUrl:"https://github.com/nodejs/nan/raw/master/LICENSE.md",parents:"signosoft"},"nanomatch@1.2.13":{licenses:"MIT",repository:"https://github.com/micromatch/nanomatch",licenseUrl:"https://github.com/micromatch/nanomatch/raw/master/LICENSE",parents:"signosoft"},"ncp@2.0.0":{licenses:"MIT",repository:"https://github.com/AvianFlu/ncp",licenseUrl:"https://github.com/AvianFlu/ncp/raw/master/LICENSE.md",parents:"signosoft"},"negotiator@0.6.1":{licenses:"MIT",repository:"https://github.com/jshttp/negotiator",licenseUrl:"https://github.com/jshttp/negotiator/raw/master/LICENSE",parents:"cordova-browser:signosoft"},"neo-async@2.5.1":{licenses:"MIT",repository:"https://github.com/suguru03/neo-async",licenseUrl:"https://github.com/suguru03/neo-async",parents:"signosoft"},"netmask@1.0.6":{licenses:"MIT",repository:"https://github.com/rs/node-netmask",licenseUrl:"https://github.com/rs/node-netmask",parents:"signosoft"},"next-tick@1.0.0":{licenses:"MIT",repository:"https://github.com/medikoo/next-tick",licenseUrl:"https://github.com/medikoo/next-tick/raw/master/LICENSE",parents:"signosoft"},"no-case@2.3.2":{licenses:"MIT",repository:"https://github.com/blakeembrey/no-case",licenseUrl:"https://github.com/blakeembrey/no-case/raw/master/LICENSE",parents:"signosoft"},"node-fetch-npm@2.0.2":{licenses:"MIT",repository:"https://github.com/npm/node-fetch-npm",licenseUrl:"https://github.com/npm/node-fetch-npm/raw/master/LICENSE.md",parents:"make-fetch-happen:npm-profile:npm:signosoft"},"node-gyp@3.6.2":{licenses:"MIT",repository:"https://github.com/nodejs/node-gyp",licenseUrl:"https://github.com/nodejs/node-gyp/raw/master/LICENSE",parents:"npm:signosoft"},"node-gyp@3.8.0":{licenses:"MIT",repository:"https://github.com/nodejs/node-gyp",licenseUrl:"https://github.com/nodejs/node-gyp/raw/master/LICENSE",parents:"signosoft"},"node-libs-browser@0.7.0":{licenses:"MIT",repository:"https://github.com/webpack/node-libs-browser",licenseUrl:"https://github.com/webpack/node-libs-browser",parents:"signosoft"},"node-libs-browser@2.1.0":{licenses:"MIT",repository:"https://github.com/webpack/node-libs-browser",licenseUrl:"https://github.com/webpack/node-libs-browser/raw/master/LICENSE",parents:"@ionic/app-scripts:signosoft"},"node-sass@4.9.0":{licenses:"MIT",repository:"https://github.com/sass/node-sass",licenseUrl:"https://github.com/sass/node-sass/raw/master/LICENSE",parents:"signosoft"},"node-version-compare@1.0.1":{licenses:"MIT",repository:"https://github.com/leohihimax/node-version-compare",licenseUrl:"https://github.com/leohihimax/node-version-compare",parents:"cordova-universal-links-plugin"},"nopt@1.0.9":{licenses:"MIT",repository:"https://github.com/isaacs/nopt",licenseUrl:"https://github.com/isaacs/nopt/raw/master/LICENSE",parents:"ios-sim:cordova-ios:signosoft"},"nopt@3.0.4":{licenses:"ISC",repository:"https://github.com/isaacs/nopt",licenseUrl:"https://github.com/isaacs/nopt/raw/master/LICENSE",parents:"cordova-android:signosoft"},"nopt@3.0.6":{licenses:"ISC",repository:"https://github.com/npm/nopt",licenseUrl:"https://github.com/npm/nopt/raw/master/LICENSE",parents:"cordova-browser:signosoft"},"nopt@4.0.1":{licenses:"ISC",repository:"https://github.com/npm/nopt",licenseUrl:"https://github.com/npm/nopt/raw/master/LICENSE",parents:"npm:signosoft"},"normalize-package-data@2.4.0":{licenses:"BSD-2-Clause",repository:"https://github.com/npm/normalize-package-data",licenseUrl:"https://github.com/npm/normalize-package-data/raw/master/LICENSE",parents:"npm:signosoft"},"normalize-path@2.1.1":{licenses:"MIT",repository:"https://github.com/jonschlinkert/normalize-path",licenseUrl:"https://github.com/jonschlinkert/normalize-path/raw/master/LICENSE",parents:"signosoft"},"normalize-range@0.1.2":{licenses:"MIT",repository:"https://github.com/jamestalmage/normalize-range",licenseUrl:"https://github.com/jamestalmage/normalize-range/raw/master/license",parents:"signosoft"},"npm-bundled@1.0.3":{licenses:"ISC",repository:"https://github.com/npm/npm-bundled",licenseUrl:"https://github.com/npm/npm-bundled",parents:"npm-packlist:npm:signosoft"},"npm-cache-filename@1.0.2":{licenses:"ISC",repository:"https://github.com/npm/npm-cache-filename",licenseUrl:"https://github.com/npm/npm-cache-filename/raw/master/LICENSE",parents:"npm:signosoft"},"npm-install-checks@3.0.0":{licenses:"BSD-2-Clause",repository:"https://github.com/npm/npm-install-checks",licenseUrl:"https://github.com/npm/npm-install-checks/raw/master/LICENSE",parents:"npm:signosoft"},"npm-lifecycle@1.0.3":{licenses:"Artistic-2.0",repository:"https://github.com/npm/lifecycle",licenseUrl:"https://github.com/npm/lifecycle/raw/master/LICENSE",parents:"npm:signosoft"},"npm-package-arg@5.1.2":{licenses:"ISC",repository:"https://github.com/npm/npm-package-arg",licenseUrl:"https://github.com/npm/npm-package-arg/raw/master/LICENSE",parents:"npm:signosoft"},"npm-packlist@1.1.9":{licenses:"ISC",repository:"https://github.com/npm/npm-packlist",licenseUrl:"https://github.com/npm/npm-packlist/raw/master/LICENSE",parents:"npm:signosoft"},"npm-pick-manifest@1.0.4":{licenses:"CC0-1.0",repository:"https://github.com/zkat/npm-pick-manifest",licenseUrl:"https://github.com/zkat/npm-pick-manifest/raw/master/LICENSE.md",parents:"pacote:npm:signosoft"},"npm-profile@2.0.4":{licenses:"ISC",repository:"https://github.com/npm/npm-profile",licenseUrl:"https://github.com/npm/npm-profile/raw/master/LICENSE",parents:"npm:signosoft"},"npm-registry-client@8.5.0":{licenses:"ISC",repository:"https://github.com/npm/npm-registry-client",licenseUrl:"https://github.com/npm/npm-registry-client/raw/master/LICENSE",parents:"npm:signosoft"},"npm-run-path@1.0.0":{licenses:"MIT",repository:"https://github.com/sindresorhus/npm-run-path",licenseUrl:"https://github.com/sindresorhus/npm-run-path/raw/master/license",parents:"execa:term-size:boxen:update-notifier:npm:signosoft"},"npm-run-path@2.0.2":{licenses:"MIT*",parents:"execa:os-locale:yargs:libnpx:npm:signosoft"},"npm-user-validate@1.0.0":{licenses:"BSD-2-Clause",repository:"https://github.com/npm/npm-user-validate",licenseUrl:"https://github.com/npm/npm-user-validate/raw/master/LICENSE",parents:"npm:signosoft"},"npm@5.5.1":{licenses:"Artistic-2.0",repository:"https://github.com/npm/npm",licenseUrl:"https://github.com/npm/npm/raw/master/LICENSE",parents:"signosoft"},"npmlog@4.1.2":{licenses:"ISC",repository:"https://github.com/npm/npmlog",licenseUrl:"https://github.com/npm/npmlog/raw/master/LICENSE",parents:"npm:signosoft"},"nth-check@1.0.1":{licenses:"BSD",repository:"https://github.com/fb55/nth-check",licenseUrl:"https://github.com/fb55/nth-check",parents:"signosoft"},"num2fraction@1.2.2":{licenses:"MIT",repository:"https://github.com/yisibl/num2fraction",licenseUrl:"https://github.com/yisibl/num2fraction/raw/master/LICENSE",parents:"signosoft"},"number-is-nan@1.0.1":{licenses:"MIT",repository:"https://github.com/sindresorhus/number-is-nan",licenseUrl:"https://github.com/sindresorhus/number-is-nan/raw/master/license",parents:"is-fullwidth-code-point:string-width:cli-table2:npm:signosoft"},"oauth-sign@0.8.2":{licenses:"Apache-2.0",repository:"https://github.com/mikeal/oauth-sign",licenseUrl:"https://github.com/mikeal/oauth-sign/raw/master/LICENSE",parents:"request:npm:signosoft"},"object-assign@4.1.1":{licenses:"MIT",repository:"https://github.com/sindresorhus/object-assign",licenseUrl:"https://github.com/sindresorhus/object-assign/raw/master/license",parents:"signosoft"},"object-copy@0.1.0":{licenses:"MIT",repository:"https://github.com/jonschlinkert/object-copy",licenseUrl:"https://github.com/jonschlinkert/object-copy/raw/master/LICENSE",parents:"signosoft"},"object-inspect@1.5.0":{licenses:"MIT",repository:"https://github.com/substack/object-inspect",licenseUrl:"https://github.com/substack/object-inspect/raw/master/LICENSE",parents:"signosoft"},"object-keys@1.0.11":{licenses:"MIT",repository:"https://github.com/ljharb/object-keys",licenseUrl:"https://github.com/ljharb/object-keys/raw/master/LICENSE",parents:"signosoft"},"object-visit@1.0.1":{licenses:"MIT",repository:"https://github.com/jonschlinkert/object-visit",licenseUrl:"https://github.com/jonschlinkert/object-visit/raw/master/LICENSE",parents:"signosoft"},"object.omit@2.0.1":{licenses:"MIT",repository:"https://github.com/jonschlinkert/object.omit",licenseUrl:"https://github.com/jonschlinkert/object.omit/raw/master/LICENSE",parents:"signosoft"},"object.pick@1.3.0":{licenses:"MIT",repository:"https://github.com/jonschlinkert/object.pick",licenseUrl:"https://github.com/jonschlinkert/object.pick/raw/master/LICENSE",parents:"signosoft"},"on-finished@2.3.0":{licenses:"MIT",repository:"https://github.com/jshttp/on-finished",licenseUrl:"https://github.com/jshttp/on-finished/raw/master/LICENSE",parents:"cordova-browser:signosoft"},"on-headers@1.0.1":{licenses:"MIT",repository:"https://github.com/jshttp/on-headers",licenseUrl:"https://github.com/jshttp/on-headers/raw/master/LICENSE",parents:"cordova-browser:signosoft"},"once@1.3.2":{licenses:"ISC",repository:"https://github.com/isaacs/once",licenseUrl:"https://github.com/isaacs/once/raw/master/LICENSE",parents:"glob:cordova-common:cordova-android:signosoft"},"once@1.3.3":{licenses:"ISC",repository:"https://github.com/isaacs/once",licenseUrl:"https://github.com/isaacs/once/raw/master/LICENSE",parents:"end-of-stream:duplexify:mississippi:npm:signosoft"},"once@1.4.0":{licenses:"ISC",repository:"https://github.com/isaacs/once",licenseUrl:"https://github.com/isaacs/once/raw/master/LICENSE",parents:"cordova-universal-links-plugin"},"onetime@2.0.1":{licenses:"MIT",repository:"https://github.com/sindresorhus/onetime",licenseUrl:"https://github.com/sindresorhus/onetime/raw/master/license",parents:"signosoft"},"open@0.0.5":{licenses:"MIT",repository:"https://github.com/pwnall/node-open",licenseUrl:"https://github.com/pwnall/node-open/raw/master/LICENSE",parents:"cordova-browser:signosoft"},"opener@1.4.3":{licenses:"(WTFPL OR MIT)",repository:"https://github.com/domenic/opener",licenseUrl:"https://github.com/domenic/opener/raw/master/LICENSE.txt",parents:"npm:signosoft"},"opn@5.3.0":{licenses:"MIT",repository:"https://github.com/sindresorhus/opn",licenseUrl:"https://github.com/sindresorhus/opn/raw/master/license",parents:"signosoft"},"optimist@0.6.1":{licenses:"MIT/X11",repository:"https://github.com/substack/node-optimist",licenseUrl:"https://github.com/substack/node-optimist/raw/master/LICENSE",parents:"signosoft"},"os-browserify@0.2.1":{licenses:"MIT",repository:"https://github.com/CoderPuppy/os-browserify",licenseUrl:"https://github.com/CoderPuppy/os-browserify/raw/master/LICENSE",parents:"signosoft"},"os-browserify@0.3.0":{licenses:"MIT",repository:"https://github.com/CoderPuppy/os-browserify",licenseUrl:"https://github.com/CoderPuppy/os-browserify/raw/master/LICENSE",parents:"@ionic/app-scripts:signosoft"},"os-homedir@1.0.1":{licenses:"MIT",repository:"https://github.com/sindresorhus/os-homedir",licenseUrl:"https://github.com/sindresorhus/os-homedir/raw/master/license",parents:"osenv:cordova-common:cordova-android:signosoft"},"os-homedir@1.0.2":{licenses:"MIT",repository:"https://github.com/sindresorhus/os-homedir",licenseUrl:"https://github.com/sindresorhus/os-homedir/raw/master/license",parents:"cordova-browser:signosoft"},"os-locale@1.4.0":{licenses:"MIT",repository:"https://github.com/sindresorhus/os-locale",licenseUrl:"https://github.com/sindresorhus/os-locale/raw/master/license",parents:"signosoft"},"os-locale@2.1.0":{licenses:"MIT",repository:"https://github.com/sindresorhus/os-locale",licenseUrl:"https://github.com/sindresorhus/os-locale/raw/master/license",parents:"yargs:libnpx:npm:signosoft"},"os-name@2.0.1":{licenses:"MIT",repository:"https://github.com/sindresorhus/os-name",licenseUrl:"https://github.com/sindresorhus/os-name/raw/master/license",parents:"signosoft"},"os-tmpdir@1.0.1":{licenses:"MIT",repository:"https://github.com/sindresorhus/os-tmpdir",licenseUrl:"https://github.com/sindresorhus/os-tmpdir/raw/master/license",parents:"osenv:cordova-common:cordova-android:signosoft"},"os-tmpdir@1.0.2":{licenses:"MIT",repository:"https://github.com/sindresorhus/os-tmpdir",licenseUrl:"https://github.com/sindresorhus/os-tmpdir/raw/master/license",parents:"cordova-browser:signosoft"},"osenv@0.1.3":{licenses:"ISC",repository:"https://github.com/npm/osenv",licenseUrl:"https://github.com/npm/osenv/raw/master/LICENSE",parents:"cordova-common:cordova-android:signosoft"},"osenv@0.1.4":{licenses:"ISC",repository:"https://github.com/npm/osenv",licenseUrl:"https://github.com/npm/osenv/raw/master/LICENSE",parents:"cordova-browser:signosoft"},"osenv@0.1.5":{licenses:"ISC",repository:"https://github.com/npm/osenv",licenseUrl:"https://github.com/npm/osenv/raw/master/LICENSE",parents:"signosoft"},"p-finally@1.0.0":{licenses:"MIT*",parents:"execa:os-locale:yargs:libnpx:npm:signosoft"},"p-limit@1.1.0":{licenses:"MIT*",parents:"p-locate:locate-path:find-up:read-pkg-up:yargs:libnpx:npm:signosoft"},"p-limit@1.3.0":{licenses:"MIT",repository:"https://github.com/sindresorhus/p-limit",licenseUrl:"https://github.com/sindresorhus/p-limit/raw/master/license",parents:"signosoft"},"p-locate@2.0.0":{licenses:"MIT*",parents:"locate-path:find-up:read-pkg-up:yargs:libnpx:npm:signosoft"},"p-try@1.0.0":{licenses:"MIT",repository:"https://github.com/sindresorhus/p-try",licenseUrl:"https://github.com/sindresorhus/p-try/raw/master/license",parents:"signosoft"},"package-json@4.0.1":{licenses:"MIT",repository:"https://github.com/sindresorhus/package-json",licenseUrl:"https://github.com/sindresorhus/package-json/raw/master/license",parents:"latest-version:update-notifier:npm:signosoft"},"pacote@6.0.2":{licenses:"CC0-1.0",repository:"https://github.com/zkat/pacote",licenseUrl:"https://github.com/zkat/pacote/raw/master/LICENSE",parents:"npm:signosoft"},"pako@0.2.9":{licenses:"MIT",repository:"https://github.com/nodeca/pako",licenseUrl:"https://github.com/nodeca/pako/raw/master/LICENSE",parents:"signosoft"},"pako@1.0.6":{licenses:"(MIT AND Zlib)",repository:"https://github.com/nodeca/pako",licenseUrl:"https://github.com/nodeca/pako/raw/master/LICENSE",parents:"@ionic/app-scripts:signosoft"},"parallel-transform@1.1.0":{licenses:"MIT",repository:"https://github.com/mafintosh/parallel-transform",licenseUrl:"https://github.com/mafintosh/parallel-transform/raw/master/LICENSE",parents:"mississippi:npm:signosoft"},"param-case@2.1.1":{licenses:"MIT",repository:"https://github.com/blakeembrey/param-case",licenseUrl:"https://github.com/blakeembrey/param-case/raw/master/LICENSE",parents:"signosoft"},"parse-asn1@5.1.1":{licenses:"ISC",repository:"https://github.com/crypto-browserify/parse-asn1",licenseUrl:"https://github.com/crypto-browserify/parse-asn1/raw/master/LICENSE",parents:"signosoft"},"parse-glob@3.0.4":{licenses:"MIT",repository:"https://github.com/jonschlinkert/parse-glob",licenseUrl:"https://github.com/jonschlinkert/parse-glob/raw/master/LICENSE",parents:"signosoft"},"parse-json@2.2.0":{licenses:"MIT*",parents:"load-json-file:read-pkg:read-pkg-up:yargs:libnpx:npm:signosoft"},"parseurl@1.3.2":{licenses:"MIT",repository:"https://github.com/pillarjs/parseurl",licenseUrl:"https://github.com/pillarjs/parseurl/raw/master/LICENSE",parents:"cordova-browser:signosoft"},"pascalcase@0.1.1":{licenses:"MIT",repository:"https://github.com/jonschlinkert/pascalcase",licenseUrl:"https://github.com/jonschlinkert/pascalcase/raw/master/LICENSE",parents:"signosoft"},"path-browserify@0.0.0":{licenses:"MIT",repository:"https://github.com/substack/path-browserify",licenseUrl:"https://github.com/substack/path-browserify/raw/master/LICENSE",parents:"signosoft"},"path-dirname@1.0.2":{licenses:"MIT",repository:"https://github.com/es128/path-dirname",licenseUrl:"https://github.com/es128/path-dirname/raw/master/license",parents:"signosoft"},"path-exists@2.1.0":{licenses:"MIT",repository:"https://github.com/sindresorhus/path-exists",licenseUrl:"https://github.com/sindresorhus/path-exists/raw/master/license",parents:"signosoft"},"path-exists@3.0.0":{licenses:"MIT*",parents:"locate-path:find-up:read-pkg-up:yargs:libnpx:npm:signosoft"},"path-is-absolute@1.0.0":{licenses:"MIT",repository:"https://github.com/sindresorhus/path-is-absolute",licenseUrl:"https://github.com/sindresorhus/path-is-absolute/raw/master/license",parents:"glob:cordova-common:cordova-android:signosoft"},"path-is-absolute@1.0.1":{licenses:"MIT",repository:"https://github.com/sindresorhus/path-is-absolute",licenseUrl:"https://github.com/sindresorhus/path-is-absolute/raw/master/license",parents:"cordova-universal-links-plugin"},"path-is-inside@1.0.2":{licenses:"(WTFPL OR MIT)",repository:"https://github.com/domenic/path-is-inside",licenseUrl:"https://github.com/domenic/path-is-inside/raw/master/LICENSE.txt",parents:"npm:signosoft"},"path-key@1.0.0":{licenses:"MIT",repository:"https://github.com/sindresorhus/path-key",licenseUrl:"https://github.com/sindresorhus/path-key/raw/master/license",parents:"execa:term-size:boxen:update-notifier:npm:signosoft"},"path-key@2.0.1":{licenses:"MIT*",parents:"npm-run-path:execa:os-locale:yargs:libnpx:npm:signosoft"},"path-parse@1.0.5":{licenses:"MIT",repository:"https://github.com/jbgutierrez/path-parse",licenseUrl:"https://github.com/jbgutierrez/path-parse",parents:"signosoft"},"path-to-regexp@0.1.7":{licenses:"MIT",repository:"https://github.com/component/path-to-regexp",licenseUrl:"https://github.com/component/path-to-regexp/raw/master/LICENSE",parents:"cordova-browser:signosoft"},"path-to-regexp@1.7.0":{licenses:"MIT",repository:"https://github.com/pillarjs/path-to-regexp",licenseUrl:"https://github.com/pillarjs/path-to-regexp/raw/master/LICENSE",parents:"sw-toolbox:signosoft"},"path-type@1.1.0":{licenses:"MIT",repository:"https://github.com/sindresorhus/path-type",licenseUrl:"https://github.com/sindresorhus/path-type/raw/master/license",parents:"signosoft"},"path-type@2.0.0":{licenses:"MIT*",parents:"read-pkg:read-pkg-up:yargs:libnpx:npm:signosoft"},"pbkdf2-compat@2.0.1":{licenses:"MIT",repository:"https://github.com/dcousens/pbkdf2-compat",licenseUrl:"https://github.com/dcousens/pbkdf2-compat/raw/master/LICENSE",parents:"signosoft"},"pbkdf2@3.0.16":{licenses:"MIT",repository:"https://github.com/crypto-browserify/pbkdf2",licenseUrl:"https://github.com/crypto-browserify/pbkdf2/raw/master/LICENSE",parents:"signosoft"},"pegjs@0.10.0":{licenses:"MIT",repository:"https://github.com/pegjs/pegjs",licenseUrl:"https://github.com/pegjs/pegjs/raw/master/LICENSE",parents:"cordova-ios:signosoft"},"performance-now@2.1.0":{licenses:"MIT",repository:"https://github.com/braveg1rl/performance-now",licenseUrl:"https://github.com/braveg1rl/performance-now/raw/master/license.txt",parents:"request:npm:signosoft"},"pify@2.3.0":{licenses:"MIT",repository:"https://github.com/sindresorhus/pify",licenseUrl:"https://github.com/sindresorhus/pify/raw/master/license",parents:"make-dir:configstore:update-notifier:npm:signosoft"},"pinkie-promise@2.0.1":{licenses:"MIT",repository:"https://github.com/floatdrop/pinkie-promise",licenseUrl:"https://github.com/floatdrop/pinkie-promise/raw/master/license",parents:"signosoft"},"pinkie@2.0.4":{licenses:"MIT",repository:"https://github.com/floatdrop/pinkie",licenseUrl:"https://github.com/floatdrop/pinkie/raw/master/license",parents:"signosoft"},"plist@1.1.0":{licenses:"MIT*",repository:"https://github.com/TooTallNate/node-plist",licenseUrl:"https://github.com/TooTallNate/node-plist/raw/master/LICENSE",parents:"cordova-common:cordova-android:signosoft"},"plist@1.2.0":{licenses:"MIT",repository:"https://github.com/TooTallNate/node-plist",licenseUrl:"https://github.com/TooTallNate/node-plist/raw/master/LICENSE",parents:"cordova-browser:signosoft"},"plist@2.0.1":{licenses:"MIT",repository:"https://github.com/TooTallNate/node-plist",licenseUrl:"https://github.com/TooTallNate/node-plist/raw/master/LICENSE",parents:"simple-plist:cordova-ios:signosoft"},"plist@3.0.1":{licenses:"MIT",repository:"https://github.com/TooTallNate/node-plist",licenseUrl:"https://github.com/TooTallNate/node-plist/raw/master/LICENSE",parents:"cordova-universal-links-plugin"},"posix-character-classes@0.1.1":{licenses:"MIT",repository:"https://github.com/jonschlinkert/posix-character-classes",licenseUrl:"https://github.com/jonschlinkert/posix-character-classes/raw/master/LICENSE",parents:"signosoft"},"postcss-value-parser@3.3.0":{licenses:"MIT",repository:"https://github.com/TrySound/postcss-value-parser",licenseUrl:"https://github.com/TrySound/postcss-value-parser/raw/master/LICENSE",parents:"signosoft"},"postcss@6.0.23":{licenses:"MIT",repository:"https://github.com/postcss/postcss",licenseUrl:"https://github.com/postcss/postcss/raw/master/LICENSE",parents:"signosoft"},"prepend-http@1.0.4":{licenses:"MIT",repository:"https://github.com/sindresorhus/prepend-http",licenseUrl:"https://github.com/sindresorhus/prepend-http/raw/master/license",parents:"url-parse-lax:got:package-json:latest-version:update-notifier:npm:signosoft"},"preserve@0.2.0":{licenses:"MIT",repository:"https://github.com/jonschlinkert/preserve",licenseUrl:"https://github.com/jonschlinkert/preserve/blob/master/LICENSE-MIT",parents:"signosoft"},"pretty-error@2.1.1":{licenses:"MIT",repository:"https://github.com/AriaMinaei/pretty-error",licenseUrl:"https://github.com/AriaMinaei/pretty-error/raw/master/LICENSE",parents:"signosoft"},"private@0.1.8":{licenses:"MIT",repository:"https://github.com/benjamn/private",licenseUrl:"https://github.com/benjamn/private/raw/master/LICENSE",parents:"signosoft"},"process-nextick-args@1.0.7":{licenses:"MIT",repository:"https://github.com/calvinmetcalf/process-nextick-args",licenseUrl:"https://github.com/calvinmetcalf/process-nextick-args/raw/master/license.md",parents:"readable-stream:npm:signosoft"},"process-nextick-args@2.0.0":{licenses:"MIT",repository:"https://github.com/calvinmetcalf/process-nextick-args",licenseUrl:"https://github.com/calvinmetcalf/process-nextick-args/raw/master/license.md",parents:"signosoft"},"process@0.11.10":{licenses:"MIT",repository:"https://github.com/shtylman/node-process",licenseUrl:"https://github.com/shtylman/node-process/raw/master/LICENSE",parents:"signosoft"},"promise-inflight@1.0.1":{licenses:"ISC",repository:"https://github.com/iarna/promise-inflight",licenseUrl:"https://github.com/iarna/promise-inflight/raw/master/LICENSE",parents:"npm:signosoft"},"promise-retry@1.1.1":{licenses:"MIT",repository:"https://github.com/IndigoUnited/node-promise-retry",licenseUrl:"https://github.com/IndigoUnited/node-promise-retry/raw/master/LICENSE",parents:"make-fetch-happen:npm-profile:npm:signosoft"},"promzard@0.3.0":{licenses:"ISC",repository:"https://github.com/isaacs/promzard",licenseUrl:"https://github.com/isaacs/promzard/raw/master/LICENSE",parents:"init-package-json:npm:signosoft"},"properties-parser@0.2.3":{licenses:"UNKNOWN",repository:"https://github.com/xavi-/node-properties-parser",licenseUrl:"https://github.com/xavi-/node-properties-parser",parents:"cordova-android:signosoft"},"proto-list@1.2.4":{licenses:"ISC",repository:"https://github.com/isaacs/proto-list",licenseUrl:"https://github.com/isaacs/proto-list/raw/master/LICENSE",parents:"config-chain:npm:signosoft"},"protoduck@4.0.0":{licenses:"CC0-1.0",repository:"https://github.com/zkat/protoduck",licenseUrl:"https://github.com/zkat/protoduck",parents:"pacote:npm:signosoft"},"proxy-addr@2.0.2":{licenses:"MIT",repository:"https://github.com/jshttp/proxy-addr",licenseUrl:"https://github.com/jshttp/proxy-addr/raw/master/LICENSE",parents:"cordova-browser:signosoft"},"proxy-addr@2.0.3":{licenses:"MIT",repository:"https://github.com/jshttp/proxy-addr",licenseUrl:"https://github.com/jshttp/proxy-addr/raw/master/LICENSE",parents:"signosoft"},"proxy-middleware@0.15.0":{licenses:"MIT",repository:"https://github.com/andrewrk/connect-proxy",licenseUrl:"https://github.com/andrewrk/connect-proxy/raw/master/LICENSE",parents:"signosoft"},"prr@0.0.0":{licenses:"MIT",repository:"https://github.com/rvagg/prr",licenseUrl:"https://github.com/rvagg/prr/raw/master/LICENSE",parents:"errno:worker-farm:npm:signosoft"},"prr@1.0.1":{licenses:"MIT",repository:"https://github.com/rvagg/prr",licenseUrl:"https://github.com/rvagg/prr/raw/master/LICENSE.md",parents:"signosoft"},"pseudomap@1.0.2":{licenses:"ISC",repository:"https://github.com/isaacs/pseudomap",licenseUrl:"https://github.com/isaacs/pseudomap/raw/master/LICENSE",parents:"lru-cache:cacache:npm:signosoft"},"public-encrypt@4.0.2":{licenses:"MIT",repository:"https://github.com/crypto-browserify/publicEncrypt",licenseUrl:"https://github.com/crypto-browserify/publicEncrypt/raw/master/LICENSE",parents:"signosoft"},"pump@1.0.2":{licenses:"MIT",repository:"https://github.com/mafintosh/pump",licenseUrl:"https://github.com/mafintosh/pump/raw/master/LICENSE",parents:"mississippi:npm:signosoft"},"pumpify@1.3.5":{licenses:"MIT",repository:"https://github.com/mafintosh/pumpify",licenseUrl:"https://github.com/mafintosh/pumpify/raw/master/LICENSE",parents:"mississippi:npm:signosoft"},"punycode@1.3.2":{licenses:"MIT",repository:"https://github.com/bestiejs/punycode.js",licenseUrl:"https://github.com/bestiejs/punycode.js/raw/master/LICENSE-MIT.txt",parents:"url:signosoft"},"punycode@1.4.1":{licenses:"MIT",repository:"https://github.com/bestiejs/punycode.js",licenseUrl:"https://github.com/bestiejs/punycode.js/raw/master/LICENSE-MIT.txt",parents:"signosoft"},"q@1.4.1":{licenses:"MIT",repository:"https://github.com/kriskowal/q",licenseUrl:"http://github.com/kriskowal/q/raw/master/LICENSE",parents:"cordova-android:signosoft"},"q@1.5.1":{licenses:"MIT",repository:"https://github.com/kriskowal/q",licenseUrl:"https://github.com/kriskowal/q/raw/master/LICENSE",parents:"cordova-browser:signosoft"},"qrcode-terminal@0.11.0":{licenses:"Apache 2.0",repository:"https://github.com/gtanner/qrcode-terminal",licenseUrl:"https://github.com/gtanner/qrcode-terminal/raw/master/LICENSE",parents:"npm:signosoft"},"qs@6.3.2":{licenses:"BSD-3-Clause",repository:"https://github.com/ljharb/qs",licenseUrl:"https://github.com/ljharb/qs/raw/master/LICENSE",parents:"request:signosoft"},"qs@6.5.1":{licenses:"BSD-3-Clause",repository:"https://github.com/ljharb/qs",licenseUrl:"https://github.com/ljharb/qs/raw/master/LICENSE",parents:"cordova-browser:signosoft"},"query-string@5.0.0":{licenses:"MIT",repository:"https://github.com/sindresorhus/query-string",licenseUrl:"https://github.com/sindresorhus/query-string/raw/master/license",parents:"npm:signosoft"},"querystring-es3@0.2.1":{licenses:"MIT",repository:"https://github.com/mike-spainhower/querystring",licenseUrl:"https://github.com/Gozala/enchain/License.md",parents:"signosoft"},"querystring@0.2.0":{licenses:"MIT",repository:"https://github.com/Gozala/querystring",licenseUrl:"https://github.com/Gozala/enchain/License.md",parents:"signosoft"},"qw@1.0.1":{licenses:"ISC",repository:"https://github.com/iarna/node-qw",licenseUrl:"https://github.com/iarna/node-qw/raw/master/LICENSE",parents:"npm:signosoft"},"raf-throttle@2.0.3":{licenses:"MIT",repository:"https://github.com/wuct/raf-throttle",licenseUrl:"https://github.com/wuct/raf-throttle/raw/master/LICENSE",parents:"signosoft"},"randomatic@3.0.0":{licenses:"MIT",repository:"https://github.com/jonschlinkert/randomatic",licenseUrl:"https://github.com/jonschlinkert/randomatic/raw/master/LICENSE",parents:"signosoft"},"randombytes@2.0.6":{licenses:"MIT",repository:"https://github.com/crypto-browserify/randombytes",licenseUrl:"https://github.com/crypto-browserify/randombytes/raw/master/LICENSE",parents:"signosoft"},"randomfill@1.0.4":{licenses:"MIT",repository:"https://github.com/crypto-browserify/randomfill",licenseUrl:"https://github.com/crypto-browserify/randomfill/raw/master/LICENSE",parents:"signosoft"},"range-parser@1.0.3":{licenses:"MIT",repository:"https://github.com/jshttp/range-parser",licenseUrl:"https://github.com/jshttp/range-parser/raw/master/LICENSE",parents:"send:signosoft"},"range-parser@1.2.0":{licenses:"MIT",repository:"https://github.com/jshttp/range-parser",licenseUrl:"https://github.com/jshttp/range-parser/raw/master/LICENSE",parents:"cordova-browser:signosoft"},"raw-body@1.1.7":{licenses:"MIT",repository:"https://github.com/stream-utils/raw-body",licenseUrl:"https://github.com/stream-utils/raw-body",parents:"body:signosoft"},"raw-body@2.3.2":{licenses:"MIT",repository:"https://github.com/stream-utils/raw-body",licenseUrl:"https://github.com/stream-utils/raw-body/raw/master/LICENSE",parents:"cordova-browser:signosoft"},"raygun4js@2.8.7":{licenses:"MIT",repository:"https://github.com/MindscapeHQ/raygun4js",licenseUrl:"https://github.com/MindscapeHQ/raygun4js/blob/master/LICENSE",parents:"signosoft"},"rc@1.2.1":{licenses:"(BSD-2-Clause OR MIT OR Apache-2.0)",repository:"https://github.com/dominictarr/rc",licenseUrl:"https://github.com/dominictarr/rc/raw/master/LICENSE.APACHE2",parents:"registry-auth-token:package-json:latest-version:update-notifier:npm:signosoft"},"read-cmd-shim@1.0.1":{licenses:"ISC",repository:"https://github.com/npm/read-cmd-shim",licenseUrl:"https://github.com/npm/read-cmd-shim",parents:"npm:signosoft"},"read-installed@4.0.3":{licenses:"ISC",repository:"https://github.com/isaacs/read-installed",licenseUrl:"https://github.com/isaacs/read-installed/raw/master/LICENSE",parents:"npm:signosoft"},"read-package-json@2.0.12":{licenses:"ISC",repository:"https://github.com/npm/read-package-json",licenseUrl:"https://github.com/npm/read-package-json/raw/master/LICENSE",parents:"npm:signosoft"},"read-package-tree@5.1.6":{licenses:"ISC",repository:"https://github.com/npm/read-package-tree",licenseUrl:"https://github.com/npm/read-package-tree/raw/master/LICENSE",parents:"npm:signosoft"},"read-pkg-up@1.0.1":{licenses:"MIT",repository:"https://github.com/sindresorhus/read-pkg-up",licenseUrl:"https://github.com/sindresorhus/read-pkg-up/raw/master/license",parents:"signosoft"},"read-pkg-up@2.0.0":{licenses:"MIT*",parents:"yargs:libnpx:npm:signosoft"},"read-pkg@1.1.0":{licenses:"MIT",repository:"https://github.com/sindresorhus/read-pkg",licenseUrl:"https://github.com/sindresorhus/read-pkg/raw/master/license",parents:"signosoft"},"read-pkg@2.0.0":{licenses:"MIT*",parents:"read-pkg-up:yargs:libnpx:npm:signosoft"},"read@1.0.7":{licenses:"ISC",repository:"https://github.com/isaacs/read",licenseUrl:"https://github.com/isaacs/read/raw/master/LICENSE",parents:"npm:signosoft"},"readable-stream@1.0.34":{licenses:"MIT",repository:"https://github.com/isaacs/readable-stream",licenseUrl:"https://github.com/isaacs/readable-stream/raw/master/LICENSE",parents:"signosoft"},"readable-stream@1.1.14":{licenses:"MIT",repository:"https://github.com/isaacs/readable-stream",licenseUrl:"https://github.com/isaacs/readable-stream/raw/master/LICENSE",parents:"from2:sorted-union-stream:npm:signosoft"},"readable-stream@2.3.3":{licenses:"MIT",repository:"https://github.com/nodejs/readable-stream",licenseUrl:"https://github.com/nodejs/readable-stream/raw/master/LICENSE",parents:"npm:signosoft"},"readable-stream@2.3.6":{licenses:"MIT",repository:"https://github.com/nodejs/readable-stream",licenseUrl:"https://github.com/nodejs/readable-stream/raw/master/LICENSE",parents:"memory-fs:signosoft"},"readdir-scoped-modules@1.0.2":{licenses:"ISC",repository:"https://github.com/npm/readdir-scoped-modules",licenseUrl:"https://github.com/npm/readdir-scoped-modules/raw/master/LICENSE",parents:"npm:signosoft"},"readdirp@2.1.0":{licenses:"MIT",repository:"https://github.com/thlorenz/readdirp",licenseUrl:"https://github.com/thlorenz/readdirp/raw/master/LICENSE",parents:"signosoft"},"recast@0.10.43":{licenses:"MIT",repository:"https://github.com/benjamn/recast",licenseUrl:"https://github.com/benjamn/recast/raw/master/LICENSE",parents:"signosoft"},"redent@1.0.0":{licenses:"MIT",repository:"https://github.com/sindresorhus/redent",licenseUrl:"https://github.com/sindresorhus/redent/raw/master/license",parents:"signosoft"},"reflect-metadata@0.1.12":{licenses:"Apache-2.0",repository:"https://github.com/rbuckton/reflect-metadata",licenseUrl:"https://github.com/rbuckton/reflect-metadata/raw/master/LICENSE",parents:"signosoft"},"regex-cache@0.4.4":{licenses:"MIT",repository:"https://github.com/jonschlinkert/regex-cache",licenseUrl:"https://github.com/jonschlinkert/regex-cache/raw/master/LICENSE",parents:"signosoft"},"regex-not@1.0.2":{licenses:"MIT",repository:"https://github.com/jonschlinkert/regex-not",licenseUrl:"https://github.com/jonschlinkert/regex-not/raw/master/LICENSE",parents:"signosoft"},"registry-auth-token@3.3.1":{licenses:"MIT",repository:"https://github.com/rexxars/registry-auth-token",licenseUrl:"https://github.com/rexxars/registry-auth-token/raw/master/LICENSE",parents:"package-json:latest-version:update-notifier:npm:signosoft"},"registry-url@3.1.0":{licenses:"MIT",repository:"https://github.com/sindresorhus/registry-url",licenseUrl:"https://github.com/sindresorhus/registry-url/raw/master/license",parents:"package-json:latest-version:update-notifier:npm:signosoft"},"relateurl@0.2.7":{licenses:"MIT",repository:"https://github.com/stevenvachon/relateurl",licenseUrl:"https://github.com/stevenvachon/relateurl/raw/master/license",parents:"signosoft"},"remove-trailing-separator@1.1.0":{licenses:"ISC",repository:"https://github.com/darsain/remove-trailing-separator",licenseUrl:"https://github.com/darsain/remove-trailing-separator/raw/master/license",parents:"signosoft"},"renderkid@2.0.1":{licenses:"MIT",repository:"https://github.com/AriaMinaei/RenderKid",licenseUrl:"https://github.com/AriaMinaei/RenderKid/raw/master/LICENSE",parents:"signosoft"},"repeat-element@1.1.2":{licenses:"MIT",repository:"https://github.com/jonschlinkert/repeat-element",licenseUrl:"https://github.com/jonschlinkert/repeat-element/blob/master/LICENSE",parents:"signosoft"},"repeat-string@1.6.1":{licenses:"MIT",repository:"https://github.com/jonschlinkert/repeat-string",licenseUrl:"https://github.com/jonschlinkert/repeat-string/raw/master/LICENSE",parents:"signosoft"},"repeating@2.0.1":{licenses:"MIT",repository:"https://github.com/sindresorhus/repeating",licenseUrl:"https://github.com/sindresorhus/repeating/raw/master/license",parents:"signosoft"},"request@2.79.0":{licenses:"Apache-2.0",repository:"https://github.com/request/request",licenseUrl:"https://github.com/request/request/raw/master/LICENSE",parents:"signosoft"},"request@2.83.0":{licenses:"Apache-2.0",repository:"https://github.com/request/request",licenseUrl:"https://github.com/request/request/raw/master/LICENSE",parents:"npm:signosoft"},"request@2.87.0":{licenses:"Apache-2.0",repository:"https://github.com/request/request",licenseUrl:"https://github.com/request/request/raw/master/LICENSE",parents:"node-gyp:signosoft"},"require-directory@2.1.1":{licenses:"MIT*",parents:"yargs:libnpx:npm:signosoft"},"require-from-string@1.2.1":{licenses:"MIT",repository:"https://github.com/floatdrop/require-from-string",licenseUrl:"https://github.com/floatdrop/require-from-string/raw/master/license",parents:"signosoft"},"require-main-filename@1.0.1":{licenses:"ISC*",parents:"yargs:libnpx:npm:signosoft"},"requires-port@1.0.0":{licenses:"MIT",repository:"https://github.com/unshiftio/requires-port",licenseUrl:"https://github.com/unshiftio/requires-port/raw/master/LICENSE",parents:"signosoft"},"resolve-url@0.2.1":{licenses:"MIT",repository:"https://github.com/lydell/resolve-url",licenseUrl:"https://github.com/lydell/resolve-url/raw/master/LICENSE",parents:"signosoft"},"resolve@1.1.7":{licenses:"MIT",repository:"https://github.com/substack/node-resolve",licenseUrl:"https://github.com/substack/node-resolve/raw/master/LICENSE",parents:"browser-resolve:signosoft"},"resolve@1.5.0":{licenses:"MIT",repository:"https://github.com/browserify/node-resolve",licenseUrl:"https://github.com/browserify/node-resolve/raw/master/LICENSE",parents:"signosoft"},"restore-cursor@2.0.0":{licenses:"MIT",repository:"https://github.com/sindresorhus/restore-cursor",licenseUrl:"https://github.com/sindresorhus/restore-cursor/raw/master/license",parents:"signosoft"},"resumer@0.0.0":{licenses:"MIT",repository:"https://github.com/substack/resumer",licenseUrl:"https://github.com/substack/resumer/raw/master/LICENSE",parents:"signosoft"},"ret@0.1.15":{licenses:"MIT",repository:"https://github.com/fent/ret.js",licenseUrl:"https://github.com/fent/ret.js/raw/master/LICENSE",parents:"signosoft"},"retry@0.10.1":{licenses:"MIT",repository:"https://github.com/tim-kos/node-retry",licenseUrl:"https://github.com/tim-kos/node-retry/raw/master/License",parents:"npm:signosoft"},"right-align@0.1.3":{licenses:"MIT",repository:"https://github.com/jonschlinkert/right-align",licenseUrl:"https://github.com/jonschlinkert/right-align/raw/master/LICENSE",parents:"signosoft"},"rimraf@2.6.2":{licenses:"ISC",repository:"https://github.com/isaacs/rimraf",licenseUrl:"https://github.com/isaacs/rimraf/raw/master/LICENSE",parents:"cordova-universal-links-plugin"},"ripemd160@0.2.0":{licenses:"UNKNOWN",repository:"https://github.com/cryptocoinjs/ripemd160",licenseUrl:"https://github.com/cryptocoinjs/ripemd160",parents:"signosoft"},"ripemd160@2.0.2":{licenses:"MIT",repository:"https://github.com/crypto-browserify/ripemd160",licenseUrl:"https://github.com/crypto-browserify/ripemd160/raw/master/LICENSE",parents:"create-hash:signosoft"},"rollup-plugin-commonjs@8.2.6":{licenses:"MIT",repository:"https://github.com/rollup/rollup-plugin-commonjs",licenseUrl:"https://github.com/rollup/rollup-plugin-commonjs/raw/master/LICENSE",parents:"signosoft"},"rollup-plugin-node-resolve@3.0.0":{licenses:"MIT",repository:"https://github.com/rollup/rollup-plugin-node-resolve",licenseUrl:"https://github.com/rollup/rollup-plugin-node-resolve",parents:"signosoft"},"rollup-pluginutils@2.3.1":{licenses:"MIT",repository:"https://github.com/rollup/rollup-pluginutils",licenseUrl:"https://github.com/rollup/rollup-pluginutils",parents:"signosoft"},"rollup@0.50.0":{licenses:"MIT",repository:"https://github.com/rollup/rollup",licenseUrl:"https://github.com/rollup/rollup/raw/master/LICENSE.md",parents:"signosoft"},"rsvp@3.6.2":{licenses:"MIT",repository:"https://github.com/tildeio/rsvp.js",licenseUrl:"https://github.com/tildeio/rsvp.js/raw/master/LICENSE",parents:"signosoft"},"run-async@2.3.0":{licenses:"MIT",repository:"https://github.com/sboudrias/run-async",licenseUrl:"https://github.com/sboudrias/run-async/raw/master/LICENSE",parents:"signosoft"},"run-queue@1.0.3":{licenses:"ISC",repository:"https://github.com/iarna/run-queue",licenseUrl:"https://github.com/iarna/run-queue",parents:"move-concurrently:npm:signosoft"},"rx-lite-aggregates@4.0.8":{licenses:"Apache License, Version 2.0",repository:"https://github.com/Reactive-Extensions/RxJS",licenseUrl:"http://www.apache.org/licenses/LICENSE-2.0.html",parents:"signosoft"},"rx-lite@4.0.8":{licenses:"Apache License, Version 2.0",repository:"https://github.com/Reactive-Extensions/RxJS",licenseUrl:"http://www.apache.org/licenses/LICENSE-2.0.html",parents:"signosoft"},"rxjs@5.4.3":{licenses:"Apache-2.0",repository:"https://github.com/ReactiveX/RxJS",licenseUrl:"https://github.com/ReactiveX/RxJS/raw/master/LICENSE.txt",parents:"signosoft"},"safe-buffer@5.1.1":{licenses:"MIT",repository:"https://github.com/feross/safe-buffer",licenseUrl:"https://github.com/feross/safe-buffer/raw/master/LICENSE",parents:"cordova-browser:signosoft"},"safe-buffer@5.1.2":{licenses:"MIT",repository:"https://github.com/feross/safe-buffer",licenseUrl:"https://github.com/feross/safe-buffer/raw/master/LICENSE",parents:"minipass:signosoft"},"safe-json-parse@1.0.1":{licenses:"MIT",repository:"https://github.com/Raynos/safe-json-parse",licenseUrl:"http://github.com/Raynos/safe-json-parse/raw/master/LICENSE",parents:"signosoft"},"safe-pipe@0.3.0":{licenses:"MIT",repository:"https://github.com/embarq/safe-pipe",licenseUrl:"https://github.com/embarq/safe-pipe/raw/master/LICENSE",parents:"signosoft"},"safe-regex@1.1.0":{licenses:"MIT",repository:"https://github.com/substack/safe-regex",licenseUrl:"https://github.com/substack/safe-regex/raw/master/LICENSE",parents:"signosoft"},"safer-buffer@2.1.2":{licenses:"MIT",repository:"https://github.com/ChALkeR/safer-buffer",licenseUrl:"https://github.com/ChALkeR/safer-buffer/raw/master/LICENSE",parents:"signosoft"},"sass-graph@2.2.4":{licenses:"MIT",repository:"https://github.com/xzyfer/sass-graph",licenseUrl:"https://github.com/xzyfer/sass-graph",parents:"signosoft"},"sax@0.3.5":{licenses:"MIT",repository:"https://github.com/isaacs/sax-js",licenseUrl:"https://raw.github.com/isaacs/sax-js/master/LICENSE",parents:"elementtree:cordova-android:signosoft"},"sax@1.1.4":{licenses:"ISC",repository:"https://github.com/isaacs/sax-js",licenseUrl:"https://github.com/isaacs/sax-js/raw/master/LICENSE",parents:"elementtree:signosoft"},"sax@1.2.4":{licenses:"ISC",repository:"https://github.com/isaacs/sax-js",licenseUrl:"https://github.com/isaacs/sax-js/raw/master/LICENSE",parents:"cordova-universal-links-plugin"},"scss-tokenizer@0.2.3":{licenses:"MIT",repository:"https://github.com/sasstools/scss-tokenizer",licenseUrl:"https://github.com/sasstools/scss-tokenizer/raw/master/LICENSE",parents:"signosoft"},"semver-diff@2.1.0":{licenses:"MIT",repository:"https://github.com/sindresorhus/semver-diff",licenseUrl:"https://github.com/sindresorhus/semver-diff/raw/master/license",parents:"update-notifier:npm:signosoft"},"semver@5.0.3":{licenses:"ISC",repository:"https://github.com/npm/node-semver",licenseUrl:"https://github.com/npm/node-semver/raw/master/LICENSE",parents:"cordova-common:cordova-android:signosoft"},"semver@5.3.0":{licenses:"ISC",repository:"https://github.com/npm/node-semver",licenseUrl:"https://github.com/npm/node-semver/raw/master/LICENSE",parents:"node-gyp:npm:signosoft"},"semver@5.4.1":{licenses:"ISC",repository:"https://github.com/npm/node-semver",licenseUrl:"https://github.com/npm/node-semver/raw/master/LICENSE",parents:"cordova-browser:signosoft"},"semver@5.5.0":{licenses:"ISC",repository:"https://github.com/npm/node-semver",licenseUrl:"https://github.com/npm/node-semver/raw/master/LICENSE",parents:"signosoft"},"send@0.13.2":{licenses:"MIT",repository:"https://github.com/pillarjs/send",licenseUrl:"https://github.com/pillarjs/send/raw/master/LICENSE",parents:"signosoft"},"send@0.16.1":{licenses:"MIT",repository:"https://github.com/pillarjs/send",licenseUrl:"https://github.com/pillarjs/send/raw/master/LICENSE",parents:"cordova-browser:signosoft"},"send@0.16.2":{licenses:"MIT",repository:"https://github.com/pillarjs/send",licenseUrl:"https://github.com/pillarjs/send/raw/master/LICENSE",parents:"express:signosoft"},"serialize-error@2.1.0":{licenses:"MIT",repository:"https://github.com/sindresorhus/serialize-error",licenseUrl:"https://github.com/sindresorhus/serialize-error/raw/master/license",parents:"signosoft"},"serve-static@1.13.1":{licenses:"MIT",repository:"https://github.com/expressjs/serve-static",licenseUrl:"https://github.com/expressjs/serve-static/raw/master/LICENSE",parents:"cordova-browser:signosoft"},"serve-static@1.13.2":{licenses:"MIT",repository:"https://github.com/expressjs/serve-static",licenseUrl:"https://github.com/expressjs/serve-static/raw/master/LICENSE",parents:"signosoft"},"serviceworker-cache-polyfill@4.0.0":{licenses:"MIT",repository:"https://github.com/coonsta/cache-polyfill",licenseUrl:"https://github.com/coonsta/cache-polyfill/raw/master/LICENSE",parents:"signosoft"},"set-blocking@2.0.0":{licenses:"ISC*",parents:"yargs:libnpx:npm:signosoft"},"set-immediate-shim@1.0.1":{licenses:"MIT",repository:"https://github.com/sindresorhus/set-immediate-shim",licenseUrl:"https://github.com/sindresorhus/set-immediate-shim",parents:"signosoft"},"set-value@0.4.3":{licenses:"MIT",repository:"https://github.com/jonschlinkert/set-value",licenseUrl:"https://github.com/jonschlinkert/set-value/raw/master/LICENSE",parents:"union-value:signosoft"},"set-value@2.0.0":{licenses:"MIT",repository:"https://github.com/jonschlinkert/set-value",licenseUrl:"https://github.com/jonschlinkert/set-value/raw/master/LICENSE",parents:"signosoft"},"setimmediate@1.0.5":{licenses:"MIT",repository:"https://github.com/yuzujs/setImmediate",licenseUrl:"https://github.com/yuzujs/setImmediate/raw/master/LICENSE.txt",parents:"signosoft"},"setprototypeof@1.0.3":{licenses:"ISC",repository:"https://github.com/wesleytodd/setprototypeof",licenseUrl:"https://github.com/wesleytodd/setprototypeof/raw/master/LICENSE",parents:"http-errors:cordova-browser:signosoft"},"setprototypeof@1.1.0":{licenses:"ISC",repository:"https://github.com/wesleytodd/setprototypeof",licenseUrl:"https://github.com/wesleytodd/setprototypeof/raw/master/LICENSE",parents:"cordova-browser:signosoft"},"sha.js@2.2.6":{licenses:"MIT",repository:"https://github.com/dominictarr/sha.js",licenseUrl:"https://github.com/dominictarr/sha.js/raw/master/LICENSE",parents:"signosoft"},"sha.js@2.4.11":{licenses:"(MIT AND BSD-3-Clause)",repository:"https://github.com/crypto-browserify/sha.js",licenseUrl:"https://github.com/crypto-browserify/sha.js/raw/master/LICENSE",parents:"create-hash:signosoft"},"sha@2.0.1":{licenses:"(BSD-2-Clause OR MIT)",repository:"https://github.com/ForbesLindesay/sha",licenseUrl:"https://github.com/ForbesLindesay/sha/raw/master/LICENSE",parents:"npm:signosoft"},"shebang-command@1.2.0":{licenses:"MIT",repository:"https://github.com/kevva/shebang-command",licenseUrl:"https://github.com/kevva/shebang-command/raw/master/license",parents:"cross-spawn:execa:os-locale:yargs:libnpx:npm:signosoft"},"shebang-regex@1.0.0":{licenses:"MIT",repository:"https://github.com/sindresorhus/shebang-regex",licenseUrl:"https://github.com/sindresorhus/shebang-regex/raw/master/license",parents:"shebang-command:cross-spawn:execa:os-locale:yargs:libnpx:npm:signosoft"},"shelljs@0.2.6":{licenses:"UNKNOWN",repository:"https://github.com/arturadib/shelljs",licenseUrl:"https://github.com/arturadib/shelljs/raw/master/LICENSE",parents:"simctl:cordova-ios:signosoft"},"shelljs@0.5.3":{licenses:"BSD*",repository:"https://github.com/arturadib/shelljs",licenseUrl:"https://github.com/arturadib/shelljs/raw/master/LICENSE",parents:"cordova-android:signosoft"},"signal-exit@3.0.2":{licenses:"UNKNOWN",parents:"execa:os-locale:yargs:libnpx:npm:signosoft"},"signature_pad@2.3.2":{licenses:"MIT",repository:"https://github.com/szimek/signature_pad",licenseUrl:"https://github.com/szimek/signature_pad",parents:"signosoft"},"simctl@1.1.1":{licenses:"MIT",repository:"https://github.com/phonegap/simctl",licenseUrl:"https://github.com/phonegap/simctl/raw/master/LICENSE",parents:"cordova-ios:signosoft"},"simple-dev-server@1.2.0":{licenses:"MIT",repository:"https://github.com/compstak/simple-dev-server",licenseUrl:"https://github.com/compstak/simple-dev-server",parents:"signosoft"},"simple-plist@0.2.1":{licenses:"MIT",repository:"https://github.com/wollardj/node-simple-plist",licenseUrl:"https://github.com/wollardj/node-simple-plist/raw/master/LICENSE",parents:"cordova-ios:signosoft"},"slash@1.0.0":{licenses:"MIT",repository:"https://github.com/sindresorhus/slash",licenseUrl:"https://github.com/sindresorhus/slash",parents:"signosoft"},"slice-ansi@1.0.0":{licenses:"MIT",repository:"https://github.com/chalk/slice-ansi",licenseUrl:"https://github.com/chalk/slice-ansi/raw/master/license",parents:"signosoft"},"slide@1.1.6":{licenses:"ISC",repository:"https://github.com/isaacs/slide-flow-control",licenseUrl:"https://github.com/isaacs/slide-flow-control/raw/master/LICENSE",parents:"npm:signosoft"},"smart-buffer@1.1.15":{licenses:"MIT",repository:"https://github.com/JoshGlazebrook/smart-buffer",licenseUrl:"https://github.com/JoshGlazebrook/smart-buffer/raw/master/LICENSE",parents:"socks:socks-proxy-agent:make-fetch-happen:npm-profile:npm:signosoft"},"snapdragon-node@2.1.1":{licenses:"MIT",repository:"https://github.com/jonschlinkert/snapdragon-node",licenseUrl:"https://github.com/jonschlinkert/snapdragon-node/raw/master/LICENSE",parents:"signosoft"},"snapdragon-util@3.0.1":{licenses:"MIT",repository:"https://github.com/jonschlinkert/snapdragon-util",licenseUrl:"https://github.com/jonschlinkert/snapdragon-util/raw/master/LICENSE",parents:"signosoft"},"snapdragon@0.8.2":{licenses:"MIT",repository:"https://github.com/jonschlinkert/snapdragon",licenseUrl:"https://github.com/jonschlinkert/snapdragon/raw/master/LICENSE",parents:"signosoft"},"sntp@1.0.9":{licenses:"BSD",repository:"https://github.com/hueniverse/sntp",licenseUrl:"http://github.com/hueniverse/sntp/raw/master/LICENSE",parents:"signosoft"},"sntp@2.0.2":{licenses:"BSD-3-Clause",repository:"https://github.com/hueniverse/sntp",licenseUrl:"https://github.com/hueniverse/sntp/raw/master/LICENSE",parents:"hawk:request:npm:signosoft"},"socks-proxy-agent@3.0.1":{licenses:"MIT",repository:"https://github.com/TooTallNate/node-socks-proxy-agent",licenseUrl:"https://github.com/TooTallNate/node-socks-proxy-agent",parents:"make-fetch-happen:npm-profile:npm:signosoft"},"socks@1.1.10":{licenses:"MIT",repository:"https://github.com/JoshGlazebrook/socks",licenseUrl:"https://github.com/JoshGlazebrook/socks/raw/master/LICENSE",parents:"socks-proxy-agent:make-fetch-happen:npm-profile:npm:signosoft"},"sorted-object@2.0.1":{licenses:"(WTFPL OR MIT)",repository:"https://github.com/domenic/sorted-object",licenseUrl:"https://github.com/domenic/sorted-object/raw/master/LICENSE.txt",parents:"npm:signosoft"},"sorted-union-stream@2.1.3":{licenses:"MIT",repository:"https://github.com/mafintosh/sorted-union-stream",licenseUrl:"https://github.com/mafintosh/sorted-union-stream/raw/master/LICENSE",parents:"npm:signosoft"},"source-list-map@0.1.8":{licenses:"MIT",repository:"https://github.com/webpack/source-list-map",licenseUrl:"https://github.com/webpack/source-list-map",parents:"signosoft"},"source-list-map@2.0.0":{licenses:"MIT",repository:"https://github.com/webpack/source-list-map",licenseUrl:"https://github.com/webpack/source-list-map",parents:"webpack-sources:signosoft"},"source-map-resolve@0.5.2":{licenses:"MIT",repository:"https://github.com/lydell/source-map-resolve",licenseUrl:"https://github.com/lydell/source-map-resolve/raw/master/LICENSE",parents:"signosoft"},"source-map-support@0.4.18":{licenses:"MIT",repository:"https://github.com/evanw/node-source-map-support",licenseUrl:"https://github.com/evanw/node-source-map-support/raw/master/LICENSE.md",parents:"signosoft"},"source-map-url@0.4.0":{licenses:"MIT",repository:"https://github.com/lydell/source-map-url",licenseUrl:"https://github.com/lydell/source-map-url/raw/master/LICENSE",parents:"signosoft"},"source-map@0.1.31":{licenses:"BSD",repository:"https://github.com/mozilla/source-map",licenseUrl:"http://opensource.org/licenses/BSD-3-Clause",parents:"jstransform:signosoft"},"source-map@0.4.4":{licenses:"BSD-3-Clause",repository:"https://github.com/mozilla/source-map",licenseUrl:"https://github.com/mozilla/source-map",parents:"webpack-core:signosoft"},"source-map@0.5.7":{licenses:"BSD-3-Clause",repository:"https://github.com/mozilla/source-map",licenseUrl:"https://github.com/mozilla/source-map/raw/master/LICENSE",parents:"signosoft"},"source-map@0.6.1":{licenses:"BSD-3-Clause",repository:"https://github.com/mozilla/source-map",licenseUrl:"https://github.com/mozilla/source-map/raw/master/LICENSE",parents:"uglify-js:signosoft"},"spdx-correct@1.0.2":{licenses:"Apache-2.0",repository:"https://github.com/kemitchell/spdx-correct.js",licenseUrl:"https://github.com/kemitchell/spdx-correct.js/raw/master/LICENSE",parents:"validate-npm-package-license:npm:signosoft"},"spdx-correct@3.0.0":{licenses:"Apache-2.0",repository:"https://github.com/jslicense/spdx-correct.js",licenseUrl:"https://github.com/jslicense/spdx-correct.js/raw/master/LICENSE",parents:"signosoft"},"spdx-exceptions@2.1.0":{licenses:"CC-BY-3.0",repository:"https://github.com/kemitchell/spdx-exceptions.json",licenseUrl:"https://github.com/kemitchell/spdx-exceptions.json",parents:"signosoft"},"spdx-expression-parse@1.0.4":{licenses:"(MIT AND CC-BY-3.0)",repository:"https://github.com/kemitchell/spdx-expression-parse.js",licenseUrl:"https://github.com/kemitchell/spdx-expression-parse.js/raw/master/LICENSE",parents:"validate-npm-package-license:npm:signosoft"},"spdx-expression-parse@3.0.0":{licenses:"MIT",repository:"https://github.com/jslicense/spdx-expression-parse.js",licenseUrl:"https://github.com/jslicense/spdx-expression-parse.js/raw/master/LICENSE",parents:"signosoft"},"spdx-license-ids@1.2.2":{licenses:"Unlicense",repository:"https://github.com/shinnn/spdx-license-ids",licenseUrl:"https://github.com/shinnn/spdx-license-ids/raw/master/LICENSE",parents:"spdx-correct:validate-npm-package-license:npm:signosoft"},"spdx-license-ids@3.0.0":{licenses:"CC0-1.0",repository:"https://github.com/shinnn/spdx-license-ids",licenseUrl:"https://github.com/shinnn/spdx-license-ids",parents:"signosoft"},"split-string@3.1.0":{licenses:"MIT",repository:"https://github.com/jonschlinkert/split-string",licenseUrl:"https://github.com/jonschlinkert/split-string/raw/master/LICENSE",parents:"signosoft"},"sprintf-js@1.0.3":{licenses:"BSD-3-Clause",repository:"https://github.com/alexei/sprintf.js",licenseUrl:"https://github.com/alexei/sprintf.js/raw/master/LICENSE",parents:"signosoft"},"ssh-config@1.1.3":{licenses:"MIT",repository:"https://github.com/dotnil/ssh-config",licenseUrl:"https://github.com/dotnil/ssh-config",parents:"signosoft"},"sshpk@1.13.1":{licenses:"MIT",repository:"https://github.com/arekinath/node-sshpk",licenseUrl:"https://github.com/arekinath/node-sshpk/raw/master/LICENSE",parents:"http-signature:request:npm:signosoft"},"sshpk@1.14.2":{licenses:"MIT",repository:"https://github.com/arekinath/node-sshpk",licenseUrl:"https://github.com/arekinath/node-sshpk/raw/master/LICENSE",parents:"signosoft"},"ssri@4.1.6":{licenses:"CC0-1.0",repository:"https://github.com/zkat/ssri",licenseUrl:"https://github.com/zkat/ssri/raw/master/LICENSE.md",parents:"npm:signosoft"},"static-extend@0.1.2":{licenses:"MIT",repository:"https://github.com/jonschlinkert/static-extend",licenseUrl:"https://github.com/jonschlinkert/static-extend/raw/master/LICENSE",parents:"signosoft"},"statuses@1.2.1":{licenses:"MIT",repository:"https://github.com/jshttp/statuses",licenseUrl:"https://github.com/jshttp/statuses/raw/master/LICENSE",parents:"send:signosoft"},"statuses@1.3.1":{licenses:"MIT",repository:"https://github.com/jshttp/statuses",licenseUrl:"https://github.com/jshttp/statuses/raw/master/LICENSE",parents:"cordova-browser:signosoft"},"statuses@1.4.0":{licenses:"MIT",repository:"https://github.com/jshttp/statuses",licenseUrl:"https://github.com/jshttp/statuses/raw/master/LICENSE",parents:"signosoft"},"stdout-stream@1.4.0":{licenses:"UNKNOWN",repository:"https://github.com/mafintosh/stdout-stream",licenseUrl:"https://github.com/mafintosh/stdout-stream/raw/master/LICENSE",parents:"signosoft"},"stream-browserify@2.0.1":{licenses:"MIT",repository:"https://github.com/substack/stream-browserify",licenseUrl:"https://github.com/substack/stream-browserify/raw/master/LICENSE",parents:"signosoft"},"stream-buffers@2.2.0":{licenses:"Unlicense",repository:"https://github.com/samcday/node-stream-buffer",licenseUrl:"https://github.com/samcday/node-stream-buffer/raw/master/UNLICENSE",parents:"cordova-ios:signosoft"},"stream-each@1.2.0":{licenses:"MIT",repository:"https://github.com/mafintosh/stream-each",licenseUrl:"https://github.com/mafintosh/stream-each/raw/master/LICENSE",parents:"mississippi:npm:signosoft"},"stream-http@2.8.2":{licenses:"MIT",repository:"https://github.com/jhiesey/stream-http",licenseUrl:"https://github.com/jhiesey/stream-http/raw/master/LICENSE",parents:"signosoft"},"stream-iterate@1.2.0":{licenses:"MIT",repository:"https://github.com/mafintosh/stream-iterate",licenseUrl:"https://github.com/mafintosh/stream-iterate/raw/master/LICENSE",parents:"sorted-union-stream:npm:signosoft"},"stream-shift@1.0.0":{licenses:"MIT",repository:"https://github.com/mafintosh/stream-shift",licenseUrl:"https://github.com/mafintosh/stream-shift/raw/master/LICENSE",parents:"duplexify:mississippi:npm:signosoft"},"strict-uri-encode@1.1.0":{licenses:"MIT",repository:"https://github.com/kevva/strict-uri-encode",licenseUrl:"https://github.com/kevva/strict-uri-encode/raw/master/license",parents:"query-string:npm:signosoft"},"string-template@0.2.1":{licenses:"MIT",repository:"https://github.com/Matt-Esch/string-template",licenseUrl:"http://github.com/Matt-Esch/string-template/raw/master/LICENSE",parents:"signosoft"},"string-width@1.0.2":{licenses:"MIT",repository:"https://github.com/sindresorhus/string-width",licenseUrl:"https://github.com/sindresorhus/string-width/raw/master/license",parents:"cli-table2:npm:signosoft"},"string-width@2.1.0":{licenses:"MIT",repository:"https://github.com/sindresorhus/string-width",licenseUrl:"https://github.com/sindresorhus/string-width/raw/master/license",parents:"boxen:update-notifier:npm:signosoft"},"string-width@2.1.1":{licenses:"MIT",repository:"https://github.com/sindresorhus/string-width",licenseUrl:"https://github.com/sindresorhus/string-width/raw/master/license",parents:"yargs:libnpx:npm:signosoft"},"string.prototype.trim@1.1.2":{licenses:"MIT",repository:"https://github.com/es-shims/String.prototype.trim",licenseUrl:"https://github.com/es-shims/String.prototype.trim/raw/master/LICENSE",parents:"signosoft"},"string_decoder@0.10.31":{licenses:"MIT",repository:"https://github.com/rvagg/string_decoder",licenseUrl:"https://github.com/rvagg/string_decoder/raw/master/LICENSE",parents:"signosoft"},"string_decoder@1.0.3":{licenses:"MIT",repository:"https://github.com/rvagg/string_decoder",licenseUrl:"https://github.com/rvagg/string_decoder/raw/master/LICENSE",parents:"readable-stream:npm:signosoft"},"string_decoder@1.1.1":{licenses:"MIT",repository:"https://github.com/nodejs/string_decoder",licenseUrl:"https://github.com/nodejs/string_decoder/raw/master/LICENSE",parents:"memory-fs:signosoft"},"stringstream@0.0.5":{licenses:"MIT",repository:"https://github.com/mhart/StringStream",licenseUrl:"https://github.com/mhart/StringStream/raw/master/LICENSE.txt",parents:"request:npm:signosoft"},"stringstream@0.0.6":{licenses:"MIT",repository:"https://github.com/mhart/StringStream",licenseUrl:"https://github.com/mhart/StringStream/raw/master/LICENSE.txt",parents:"signosoft"},"strip-ansi@3.0.1":{licenses:"MIT",repository:"https://github.com/chalk/strip-ansi",licenseUrl:"https://github.com/chalk/strip-ansi/raw/master/license",parents:"cordova-browser:signosoft"},"strip-ansi@4.0.0":{licenses:"MIT",repository:"https://github.com/chalk/strip-ansi",licenseUrl:"https://github.com/chalk/strip-ansi/raw/master/license",parents:"string-width:boxen:update-notifier:npm:signosoft"},"strip-bom@2.0.0":{licenses:"MIT",repository:"https://github.com/sindresorhus/strip-bom",licenseUrl:"https://github.com/sindresorhus/strip-bom/raw/master/license",parents:"signosoft"},"strip-bom@3.0.0":{licenses:"MIT*",parents:"load-json-file:read-pkg:read-pkg-up:yargs:libnpx:npm:signosoft"},"strip-eof@1.0.0":{licenses:"MIT",repository:"https://github.com/sindresorhus/strip-eof",licenseUrl:"https://github.com/sindresorhus/strip-eof/raw/master/license",parents:"execa:term-size:boxen:update-notifier:npm:signosoft"},"strip-indent@1.0.1":{licenses:"MIT",repository:"https://github.com/sindresorhus/strip-indent",licenseUrl:"https://github.com/sindresorhus/strip-indent/raw/master/license",parents:"signosoft"},"strip-json-comments@2.0.1":{licenses:"MIT",repository:"https://github.com/sindresorhus/strip-json-comments",licenseUrl:"https://github.com/sindresorhus/strip-json-comments/raw/master/license",parents:"rc:registry-auth-token:package-json:latest-version:update-notifier:npm:signosoft"},"superagent@3.8.3":{licenses:"MIT",repository:"https://github.com/visionmedia/superagent",licenseUrl:"https://github.com/visionmedia/superagent/raw/master/LICENSE",parents:"signosoft"},"supports-color@2.0.0":{licenses:"MIT",repository:"https://github.com/chalk/supports-color",licenseUrl:"https://github.com/chalk/supports-color/raw/master/license",parents:"cordova-browser:signosoft"},"supports-color@3.2.3":{licenses:"MIT",repository:"https://github.com/chalk/supports-color",licenseUrl:"https://github.com/chalk/supports-color/raw/master/license",parents:"signosoft"},"supports-color@4.5.0":{licenses:"MIT",repository:"https://github.com/chalk/supports-color",licenseUrl:"https://github.com/chalk/supports-color/raw/master/license",parents:"@ionic/app-scripts:signosoft"},"supports-color@5.4.0":{licenses:"MIT",repository:"https://github.com/chalk/supports-color",licenseUrl:"https://github.com/chalk/supports-color/raw/master/license",parents:"chalk:signosoft"},"sw-toolbox@3.6.0":{licenses:"Apache-2.0",repository:"https://github.com/GoogleChrome/sw-toolbox",licenseUrl:"https://github.com/GoogleChrome/sw-toolbox/raw/master/LICENSE",parents:"signosoft"},"symbol-observable@1.2.0":{licenses:"MIT",repository:"https://github.com/blesh/symbol-observable",licenseUrl:"https://github.com/blesh/symbol-observable/raw/master/license",parents:"signosoft"},"tail@0.4.0":{licenses:"MIT*",repository:"https://github.com/lucagrulla/node-tail",licenseUrl:"https://github.com/lucagrulla/node-tail/raw/master/README.md",parents:"cordova-ios:signosoft"},"tapable@0.1.10":{licenses:"MIT",repository:"https://github.com/webpack/tapable",licenseUrl:"https://github.com/webpack/tapable",parents:"signosoft"},"tapable@0.2.8":{licenses:"MIT",repository:"https://github.com/webpack/tapable",licenseUrl:"https://github.com/webpack/tapable",parents:"@ionic/app-scripts:signosoft"},"tape@4.9.0":{licenses:"MIT",repository:"https://github.com/substack/tape",licenseUrl:"https://github.com/substack/tape/raw/master/LICENSE",parents:"signosoft"},"tar-stream@1.6.1":{licenses:"MIT",repository:"https://github.com/mafintosh/tar-stream",licenseUrl:"https://github.com/mafintosh/tar-stream/raw/master/LICENSE",parents:"signosoft"},"tar@2.2.1":{licenses:"ISC",repository:"https://github.com/isaacs/node-tar",licenseUrl:"https://github.com/isaacs/node-tar/raw/master/LICENSE",parents:"node-gyp:npm:signosoft"},"tar@4.0.1":{licenses:"ISC",repository:"https://github.com/npm/node-tar",licenseUrl:"https://github.com/npm/node-tar/raw/master/LICENSE",parents:"npm:signosoft"},"tar@4.4.4":{licenses:"ISC",repository:"https://github.com/npm/node-tar",licenseUrl:"https://github.com/npm/node-tar/raw/master/LICENSE",parents:"@ionic/cli-utils:signosoft"},"term-size@0.1.1":{licenses:"MIT",repository:"https://github.com/sindresorhus/term-size",licenseUrl:"https://github.com/sindresorhus/term-size/raw/master/license",parents:"boxen:update-notifier:npm:signosoft"},"text-table@0.2.0":{licenses:"MIT",repository:"https://github.com/substack/text-table",licenseUrl:"https://github.com/substack/text-table/raw/master/LICENSE",parents:"npm:signosoft"},"through2@0.6.5":{licenses:"MIT",repository:"https://github.com/rvagg/through2",licenseUrl:"https://github.com/rvagg/through2/raw/master/LICENSE",parents:"signosoft"},"through2@2.0.3":{licenses:"MIT",repository:"https://github.com/rvagg/through2",licenseUrl:"https://github.com/rvagg/through2/raw/master/LICENSE.html",parents:"mississippi:npm:signosoft"},"through@2.3.8":{licenses:"MIT",repository:"https://github.com/dominictarr/through",licenseUrl:"https://github.com/dominictarr/through/raw/master/LICENSE.APACHE2",parents:"signosoft"},"time-stamp@2.0.0":{licenses:"MIT",repository:"https://github.com/jonschlinkert/time-stamp",licenseUrl:"https://github.com/jonschlinkert/time-stamp/raw/master/LICENSE",parents:"signosoft"},"timed-out@4.0.1":{licenses:"MIT",repository:"https://github.com/floatdrop/timed-out",licenseUrl:"https://github.com/floatdrop/timed-out/raw/master/license",parents:"got:package-json:latest-version:update-notifier:npm:signosoft"},"timers-browserify@2.0.10":{licenses:"MIT",repository:"https://github.com/jryans/timers-browserify",licenseUrl:"https://github.com/jryans/timers-browserify/blob/master/LICENSE.md",parents:"signosoft"},"tiny-lr@1.1.1":{licenses:"MIT",repository:"https://github.com/mklabs/tiny-lr",licenseUrl:"https://github.com/mklabs/tiny-lr/raw/master/LICENSE-MIT",parents:"signosoft"},"tmp@0.0.33":{licenses:"MIT",repository:"https://github.com/raszi/node-tmp",licenseUrl:"https://github.com/raszi/node-tmp/raw/master/LICENSE",parents:"signosoft"},"to-arraybuffer@1.0.1":{licenses:"MIT",repository:"https://github.com/jhiesey/to-arraybuffer",licenseUrl:"https://github.com/jhiesey/to-arraybuffer/raw/master/LICENSE",parents:"signosoft"},"to-buffer@1.1.1":{licenses:"MIT",repository:"https://github.com/mafintosh/to-buffer",licenseUrl:"https://github.com/mafintosh/to-buffer/raw/master/LICENSE",parents:"signosoft"},"to-object-path@0.3.0":{licenses:"MIT",repository:"https://github.com/jonschlinkert/to-object-path",licenseUrl:"https://github.com/jonschlinkert/to-object-path/raw/master/LICENSE",parents:"signosoft"},"to-regex-range@2.1.1":{licenses:"MIT",repository:"https://github.com/micromatch/to-regex-range",licenseUrl:"https://github.com/micromatch/to-regex-range/raw/master/LICENSE",parents:"signosoft"},"to-regex@3.0.2":{licenses:"MIT",repository:"https://github.com/jonschlinkert/to-regex",licenseUrl:"https://github.com/jonschlinkert/to-regex/raw/master/LICENSE",parents:"signosoft"},"toposort@1.0.7":{licenses:"MIT",repository:"https://github.com/marcelklehr/toposort",licenseUrl:"https://github.com/marcelklehr/toposort/raw/master/License",parents:"signosoft"},"tough-cookie@2.3.3":{licenses:"BSD-3-Clause",repository:"https://github.com/salesforce/tough-cookie",licenseUrl:"https://github.com/salesforce/tough-cookie/raw/master/LICENSE",parents:"request:npm:signosoft"},"tough-cookie@2.3.4":{licenses:"BSD-3-Clause",repository:"https://github.com/salesforce/tough-cookie",licenseUrl:"https://github.com/salesforce/tough-cookie/raw/master/LICENSE",parents:"signosoft"},"trim-newlines@1.0.0":{licenses:"MIT",repository:"https://github.com/sindresorhus/trim-newlines",licenseUrl:"https://github.com/sindresorhus/trim-newlines/raw/master/license",parents:"signosoft"},"true-case-path@1.0.2":{licenses:"Apache version 2.0",repository:"https://github.com/barsh/true-case-path",licenseUrl:"https://github.com/barsh/true-case-path/raw/master/LICENSE",parents:"signosoft"},"tsickle@0.21.6":{licenses:"MIT",repository:"https://github.com/angular/tsickle",licenseUrl:"https://github.com/angular/tsickle/raw/master/LICENSE",parents:"signosoft"},"tslib@1.9.0":{licenses:"Apache-2.0",repository:"https://github.com/Microsoft/tslib",licenseUrl:"https://github.com/Microsoft/tslib/raw/master/LICENSE.txt",parents:"signosoft"},"tslint-eslint-rules@4.1.1":{licenses:"MIT",repository:"https://github.com/buzinas/tslint-eslint-rules",licenseUrl:"https://github.com/buzinas/tslint-eslint-rules/raw/master/LICENSE",parents:"signosoft"},"tslint@5.11.0":{licenses:"Apache-2.0",repository:"https://github.com/palantir/tslint",licenseUrl:"https://github.com/palantir/tslint/raw/master/LICENSE",parents:"signosoft"},"tsutils@1.9.1":{licenses:"MIT",repository:"https://github.com/ajafff/tsutils",licenseUrl:"https://github.com/ajafff/tsutils/raw/master/LICENSE",parents:"tslint-eslint-rules:signosoft"},"tsutils@2.29.0":{licenses:"MIT",repository:"https://github.com/ajafff/tsutils",licenseUrl:"https://github.com/ajafff/tsutils/raw/master/LICENSE",parents:"signosoft"},"tty-browserify@0.0.0":{licenses:"MIT",repository:"https://github.com/substack/tty-browserify",licenseUrl:"https://github.com/substack/tty-browserify/raw/master/LICENSE",parents:"signosoft"},"tunnel-agent@0.4.3":{licenses:"Apache-2.0",repository:"https://github.com/mikeal/tunnel-agent",licenseUrl:"https://github.com/mikeal/tunnel-agent/raw/master/LICENSE",parents:"request:signosoft"},"tunnel-agent@0.6.0":{licenses:"Apache-2.0",repository:"https://github.com/mikeal/tunnel-agent",licenseUrl:"https://github.com/mikeal/tunnel-agent/raw/master/LICENSE",parents:"request:npm:signosoft"},"tweetnacl@0.14.5":{licenses:"Unlicense",repository:"https://github.com/dchest/tweetnacl-js",licenseUrl:"https://github.com/dchest/tweetnacl-js/raw/master/LICENSE",parents:"sshpk:http-signature:request:npm:signosoft"},"type-is@1.6.15":{licenses:"MIT",repository:"https://github.com/jshttp/type-is",licenseUrl:"https://github.com/jshttp/type-is/raw/master/LICENSE",parents:"cordova-browser:signosoft"},"type-is@1.6.16":{licenses:"MIT",repository:"https://github.com/jshttp/type-is",licenseUrl:"https://github.com/jshttp/type-is/raw/master/LICENSE",parents:"signosoft"},"typedarray@0.0.6":{licenses:"MIT",repository:"https://github.com/substack/typedarray",licenseUrl:"https://github.com/substack/typedarray/raw/master/LICENSE",parents:"concat-stream:mississippi:npm:signosoft"},"typescript@2.3.4":{licenses:"Apache-2.0",repository:"https://github.com/Microsoft/TypeScript",licenseUrl:"https://github.com/Microsoft/TypeScript/raw/master/LICENSE.txt",parents:"signosoft"},"typescript@2.6.2":{licenses:"Apache-2.0",repository:"https://github.com/Microsoft/TypeScript",licenseUrl:"https://github.com/Microsoft/TypeScript/raw/master/LICENSE.txt",parents:"@angular-devkit/build-optimizer:signosoft"},"uglify-es@3.2.2":{licenses:"BSD-2-Clause",repository:"https://github.com/mishoo/UglifyJS2#harmony",licenseUrl:"https://github.com/mishoo/UglifyJS2#harmony/raw/master/LICENSE",parents:"@ionic/app-scripts:signosoft"},"uglify-js@2.7.5":{licenses:"BSD-2-Clause",repository:"https://github.com/mishoo/UglifyJS2",licenseUrl:"https://github.com/mishoo/UglifyJS2/raw/master/LICENSE",parents:"webpack:signosoft"},"uglify-js@2.8.29":{licenses:"BSD-2-Clause",repository:"https://github.com/mishoo/UglifyJS2",licenseUrl:"https://github.com/mishoo/UglifyJS2/raw/master/LICENSE",parents:"uglifyjs-webpack-plugin:signosoft"},"uglify-js@3.3.25":{licenses:"BSD-2-Clause",repository:"https://github.com/mishoo/UglifyJS2",licenseUrl:"https://github.com/mishoo/UglifyJS2/raw/master/LICENSE",parents:"signosoft"},"uglify-to-browserify@1.0.2":{licenses:"MIT",repository:"https://github.com/ForbesLindesay/uglify-to-browserify",licenseUrl:"https://github.com/ForbesLindesay/uglify-to-browserify/raw/master/LICENSE",parents:"signosoft"},"uglifyjs-webpack-plugin@0.4.6":{licenses:"MIT",repository:"https://github.com/webpack-contrib/uglifyjs-webpack-plugin",licenseUrl:"https://github.com/webpack-contrib/uglifyjs-webpack-plugin/raw/master/LICENSE",parents:"signosoft"},"uid-number@0.0.6":{licenses:"ISC",repository:"https://github.com/isaacs/uid-number",licenseUrl:"https://github.com/isaacs/uid-number/raw/master/LICENSE",parents:"npm:signosoft"},"ultron@1.1.1":{licenses:"MIT",repository:"https://github.com/unshiftio/ultron",licenseUrl:"https://github.com/unshiftio/ultron/raw/master/LICENSE",parents:"signosoft"},"umask@1.1.0":{licenses:"MIT",repository:"https://github.com/smikes/umask",licenseUrl:"https://github.com/smikes/umask/raw/master/LICENSE",parents:"npm:signosoft"},"underscore@1.8.3":{licenses:"MIT",repository:"https://github.com/jashkenas/underscore",licenseUrl:"https://github.com/jashkenas/underscore/raw/master/LICENSE",parents:"cordova-common:cordova-android:signosoft"},"union-value@1.0.0":{licenses:"MIT",repository:"https://github.com/jonschlinkert/union-value",licenseUrl:"https://github.com/jonschlinkert/union-value/raw/master/LICENSE",parents:"signosoft"},"unique-filename@1.1.0":{licenses:"ISC",repository:"https://github.com/iarna/unique-filename",licenseUrl:"https://github.com/iarna/unique-filename",parents:"npm:signosoft"},"unique-slug@2.0.0":{licenses:"ISC",repository:"https://github.com/iarna/unique-slug",licenseUrl:"https://github.com/iarna/unique-slug",parents:"unique-filename:npm:signosoft"},"unique-string@1.0.0":{licenses:"MIT",repository:"https://github.com/sindresorhus/unique-string",licenseUrl:"https://github.com/sindresorhus/unique-string/raw/master/license",parents:"configstore:update-notifier:npm:signosoft"},"universalify@0.1.2":{licenses:"MIT",repository:"https://github.com/RyanZim/universalify",licenseUrl:"https://github.com/RyanZim/universalify/raw/master/LICENSE",parents:"signosoft"},"unorm@1.4.1":{licenses:"MIT or GPL-2.0",repository:"https://github.com/walling/unorm",licenseUrl:"https://github.com/walling/unorm/raw/master/LICENSE.md",parents:"cordova-common:cordova-android:signosoft"},"unpipe@1.0.0":{licenses:"MIT",repository:"https://github.com/stream-utils/unpipe",licenseUrl:"https://github.com/stream-utils/unpipe/raw/master/LICENSE",parents:"cordova-browser:signosoft"},"unreachable-branch-transform@0.3.0":{licenses:"MIT",repository:"https://github.com/zertosh/unreachable-branch-transform",licenseUrl:"https://github.com/zertosh/unreachable-branch-transform/raw/master/LICENSE",parents:"signosoft"},"unset-value@1.0.0":{licenses:"MIT",repository:"https://github.com/jonschlinkert/unset-value",licenseUrl:"https://github.com/jonschlinkert/unset-value/raw/master/LICENSE",parents:"signosoft"},"untildify@3.0.3":{licenses:"MIT",repository:"https://github.com/sindresorhus/untildify",licenseUrl:"https://github.com/sindresorhus/untildify/raw/master/license",parents:"signosoft"},"unzip-response@2.0.1":{licenses:"MIT",repository:"https://github.com/sindresorhus/unzip-response",licenseUrl:"https://github.com/sindresorhus/unzip-response/raw/master/license",parents:"got:package-json:latest-version:update-notifier:npm:signosoft"},"upath@1.1.0":{licenses:"MIT",repository:"https://github.com/anodynos/upath",licenseUrl:"https://github.com/anodynos/upath/raw/master/LICENSE",parents:"signosoft"},"update-notifier@2.2.0":{licenses:"BSD-2-Clause",repository:"https://github.com/yeoman/update-notifier",licenseUrl:"https://github.com/yeoman/update-notifier",parents:"npm:signosoft"},"upper-case@1.1.3":{licenses:"MIT",repository:"https://github.com/blakeembrey/upper-case",licenseUrl:"https://github.com/blakeembrey/upper-case/raw/master/LICENSE",parents:"signosoft"},"urix@0.1.0":{licenses:"MIT",repository:"https://github.com/lydell/urix",licenseUrl:"https://github.com/lydell/urix/raw/master/LICENSE",parents:"signosoft"},"url-parse-lax@1.0.0":{licenses:"MIT",repository:"https://github.com/sindresorhus/url-parse-lax",licenseUrl:"https://github.com/sindresorhus/url-parse-lax/raw/master/license",parents:"got:package-json:latest-version:update-notifier:npm:signosoft"},"url-search-params-polyfill@2.0.3":{licenses:"MIT",repository:"https://github.com/jerrybendy/url-search-params-polyfill",licenseUrl:"https://github.com/jerrybendy/url-search-params-polyfill/raw/master/LICENSE",parents:"signosoft"},"url@0.11.0":{licenses:"MIT",repository:"https://github.com/defunctzombie/node-url",licenseUrl:"https://github.com/defunctzombie/node-url/raw/master/LICENSE",parents:"signosoft"},"use@3.1.1":{licenses:"MIT",repository:"https://github.com/jonschlinkert/use",licenseUrl:"https://github.com/jonschlinkert/use/raw/master/LICENSE",parents:"signosoft"},"util-deprecate@1.0.0":{licenses:"MIT",repository:"https://github.com/TooTallNate/util-deprecate",licenseUrl:"https://github.com/TooTallNate/util-deprecate/raw/master/LICENSE",parents:"plist:cordova-common:cordova-android:signosoft"},"util-deprecate@1.0.2":{licenses:"MIT",repository:"https://github.com/TooTallNate/util-deprecate",licenseUrl:"https://github.com/TooTallNate/util-deprecate/raw/master/LICENSE",parents:"cordova-browser:signosoft"},"util-extend@1.0.3":{licenses:"MIT",repository:"https://github.com/isaacs/util-extend",licenseUrl:"https://github.com/isaacs/util-extend/raw/master/LICENSE",parents:"read-installed:npm:signosoft"},"util@0.10.3":{licenses:"MIT",repository:"https://github.com/defunctzombie/node-util",licenseUrl:"https://github.com/defunctzombie/node-util/raw/master/LICENSE",parents:"signosoft"},"utila@0.3.3":{licenses:"MIT",repository:"https://github.com/AriaMinaei/utila",licenseUrl:"https://github.com/AriaMinaei/utila",parents:"dom-converter:signosoft"},"utila@0.4.0":{licenses:"MIT",repository:"https://github.com/AriaMinaei/utila",licenseUrl:"https://github.com/AriaMinaei/utila/raw/master/LICENSE",parents:"signosoft"},"utils-merge@1.0.1":{licenses:"MIT",repository:"https://github.com/jaredhanson/utils-merge",licenseUrl:"https://github.com/jaredhanson/utils-merge/raw/master/LICENSE",parents:"cordova-browser:signosoft"},"uuid@3.0.1":{licenses:"MIT",repository:"https://github.com/kelektiv/node-uuid",licenseUrl:"https://github.com/kelektiv/node-uuid/raw/master/LICENSE.md",parents:"cordova-ios:signosoft"},"uuid@3.1.0":{licenses:"MIT",repository:"https://github.com/kelektiv/node-uuid",licenseUrl:"https://github.com/kelektiv/node-uuid/raw/master/LICENSE.md",parents:"npm:signosoft"},"uuid@3.2.1":{licenses:"MIT",repository:"https://github.com/kelektiv/node-uuid",licenseUrl:"https://github.com/kelektiv/node-uuid/raw/master/LICENSE.md",parents:"signosoft"},"validate-npm-package-license@3.0.1":{licenses:"Apache-2.0",repository:"https://github.com/kemitchell/validate-npm-package-license.js",licenseUrl:"https://github.com/kemitchell/validate-npm-package-license.js/raw/master/LICENSE",parents:"npm:signosoft"},"validate-npm-package-license@3.0.4":{licenses:"Apache-2.0",repository:"https://github.com/kemitchell/validate-npm-package-license.js",licenseUrl:"https://github.com/kemitchell/validate-npm-package-license.js/raw/master/LICENSE",parents:"signosoft"},"validate-npm-package-name@3.0.0":{licenses:"ISC",repository:"https://github.com/npm/validate-npm-package-name",licenseUrl:"https://github.com/npm/validate-npm-package-name/raw/master/LICENSE",parents:"npm:signosoft"},"vary@1.1.2":{licenses:"MIT",repository:"https://github.com/jshttp/vary",licenseUrl:"https://github.com/jshttp/vary/raw/master/LICENSE",parents:"cordova-browser:signosoft"},"verror@1.10.0":{licenses:"MIT",repository:"https://github.com/davepacheco/node-verror",licenseUrl:"https://github.com/davepacheco/node-verror/raw/master/LICENSE",parents:"jsprim:http-signature:request:npm:signosoft"},"vlq@0.2.3":{licenses:"MIT",repository:"https://github.com/Rich-Harris/vlq",licenseUrl:"https://github.com/Rich-Harris/vlq/raw/master/LICENSE",parents:"signosoft"},"vm-browserify@0.0.4":{licenses:"MIT",repository:"https://github.com/substack/vm-browserify",licenseUrl:"https://github.com/substack/vm-browserify/raw/master/LICENSE",parents:"signosoft"},"watchpack@0.2.9":{licenses:"MIT",repository:"https://github.com/webpack/watchpack",licenseUrl:"https://github.com/webpack/watchpack",parents:"signosoft"},"watchpack@1.6.0":{licenses:"MIT",repository:"https://github.com/webpack/watchpack",licenseUrl:"https://github.com/webpack/watchpack/raw/master/LICENSE",parents:"@ionic/app-scripts:signosoft"},"wcwidth@1.0.1":{licenses:"MIT",repository:"https://github.com/timoxley/wcwidth",licenseUrl:"https://github.com/timoxley/wcwidth/raw/master/LICENSE",parents:"columnify:npm:signosoft"},"web-animations-js@2.3.1":{licenses:"Apache-2.0",repository:"https://github.com/web-animations/web-animations-js",licenseUrl:"https://github.com/web-animations/web-animations-js",parents:"signosoft"},"webpack-core@0.6.9":{licenses:"MIT",repository:"https://github.com/webpack/core",licenseUrl:"http://www.opensource.org/licenses/mit-license.php",parents:"signosoft"},"webpack-dev-middleware@1.12.2":{licenses:"MIT",repository:"https://github.com/webpack/webpack-dev-middleware",licenseUrl:"https://github.com/webpack/webpack-dev-middleware/raw/master/LICENSE",parents:"signosoft"},"webpack-hot-server-middleware@0.1.0":{licenses:"MIT",repository:"https://github.com/60frames/webpack-hot-server-middleware",licenseUrl:"https://github.com/60frames/webpack-hot-server-middleware/raw/master/LICENSE",parents:"signosoft"},"webpack-sources@1.1.0":{licenses:"MIT",repository:"https://github.com/webpack/webpack-sources",licenseUrl:"https://github.com/webpack/webpack-sources/raw/master/LICENSE",parents:"signosoft"},"webpack@1.15.0":{licenses:"MIT",repository:"https://github.com/webpack/webpack",licenseUrl:"https://github.com/webpack/webpack/raw/master/LICENSE",parents:"signosoft"},"webpack@3.8.1":{licenses:"MIT",repository:"https://github.com/webpack/webpack",licenseUrl:"https://github.com/webpack/webpack/raw/master/LICENSE",parents:"@ionic/app-scripts:signosoft"},"websocket-driver@0.7.0":{licenses:"MIT",repository:"https://github.com/faye/websocket-driver-node",licenseUrl:"https://github.com/faye/websocket-driver-node/raw/master/LICENSE.md",parents:"signosoft"},"websocket-extensions@0.1.3":{licenses:"MIT",repository:"https://github.com/faye/websocket-extensions-node",licenseUrl:"https://github.com/faye/websocket-extensions-node/raw/master/LICENSE.md",parents:"signosoft"},"which-module@1.0.0":{licenses:"ISC",repository:"https://github.com/nexdrew/which-module",licenseUrl:"https://github.com/nexdrew/which-module/raw/master/LICENSE",parents:"signosoft"},"which-module@2.0.0":{licenses:"ISC*",parents:"yargs:libnpx:npm:signosoft"},"which@1.3.0":{licenses:"ISC",repository:"https://github.com/isaacs/node-which",licenseUrl:"https://github.com/isaacs/node-which/raw/master/LICENSE",parents:"npm:signosoft"},"wide-align@1.1.2":{licenses:"ISC",repository:"https://github.com/iarna/wide-align",licenseUrl:"https://github.com/iarna/wide-align/raw/master/LICENSE",parents:"gauge:npmlog:npm:signosoft"},"wide-align@1.1.3":{licenses:"ISC",repository:"https://github.com/iarna/wide-align",licenseUrl:"https://github.com/iarna/wide-align/raw/master/LICENSE",parents:"signosoft"},"widest-line@1.0.0":{licenses:"MIT",repository:"https://github.com/sindresorhus/widest-line",licenseUrl:"https://github.com/sindresorhus/widest-line/raw/master/license",parents:"boxen:update-notifier:npm:signosoft"},"win-release@1.1.1":{licenses:"MIT",repository:"https://github.com/sindresorhus/win-release",licenseUrl:"https://github.com/sindresorhus/win-release/raw/master/license",parents:"signosoft"},"window-size@0.1.0":{licenses:"MIT",repository:"https://github.com/jonschlinkert/window-size",licenseUrl:"https://github.com/jonschlinkert/window-size/blob/master/LICENSE-MIT",parents:"signosoft"},"wordwrap@0.0.2":{licenses:"MIT/X11",repository:"https://github.com/substack/node-wordwrap",licenseUrl:"https://github.com/substack/node-wordwrap",parents:"cliui:signosoft"},"wordwrap@0.0.3":{licenses:"MIT",repository:"https://github.com/substack/node-wordwrap",licenseUrl:"https://github.com/substack/node-wordwrap/raw/master/LICENSE",parents:"signosoft"},"worker-farm@1.5.0":{licenses:"MIT",repository:"https://github.com/rvagg/node-worker-farm",licenseUrl:"https://github.com/rvagg/node-worker-farm/raw/master/LICENSE.md",parents:"npm:signosoft"},"wrap-ansi@2.1.0":{licenses:"MIT*",parents:"cliui:yargs:libnpx:npm:signosoft"},"wrap-ansi@3.0.1":{licenses:"MIT",repository:"https://github.com/chalk/wrap-ansi",licenseUrl:"https://github.com/chalk/wrap-ansi/raw/master/license",parents:"@ionic/cli-utils:signosoft"},"wrappy@1.0.1":{licenses:"ISC",repository:"https://github.com/npm/wrappy",licenseUrl:"https://github.com/npm/wrappy/raw/master/LICENSE",parents:"once:glob:cordova-common:cordova-android:signosoft"},"wrappy@1.0.2":{licenses:"ISC",repository:"https://github.com/npm/wrappy",licenseUrl:"https://github.com/npm/wrappy/raw/master/LICENSE",parents:"cordova-universal-links-plugin"},"write-file-atomic@2.1.0":{licenses:"ISC",repository:"https://github.com/iarna/write-file-atomic",licenseUrl:"https://github.com/iarna/write-file-atomic/raw/master/LICENSE",parents:"npm:signosoft"},"ws@3.3.2":{licenses:"MIT",repository:"https://github.com/websockets/ws",licenseUrl:"https://github.com/websockets/ws/raw/master/LICENSE",parents:"signosoft"},"xcode@0.9.3":{licenses:"Apache-2.0",repository:"https://github.com/alunny/node-xcode",licenseUrl:"https://github.com/alunny/node-xcode/raw/master/LICENSE",parents:"cordova-ios:signosoft"},"xdg-basedir@3.0.0":{licenses:"MIT",repository:"https://github.com/sindresorhus/xdg-basedir",licenseUrl:"https://github.com/sindresorhus/xdg-basedir/raw/master/license",parents:"update-notifier:npm:signosoft"},"xml-escape@1.1.0":{licenses:"MIT License",repository:"https://github.com/miketheprogrammer/xml-escape",licenseUrl:"https://github.com/miketheprogrammer/xml-escape/raw/master/LICENSE",parents:"cordova-ios:signosoft"},"xml2js@0.4.19":{licenses:"MIT",repository:"https://github.com/Leonidas-from-XIV/node-xml2js",licenseUrl:"https://github.com/Leonidas-from-XIV/node-xml2js/raw/master/LICENSE",parents:"cordova-universal-links-plugin"},"xmlbuilder@2.2.1":{licenses:"MIT",repository:"https://github.com/oozcitak/xmlbuilder-js",licenseUrl:"http://opensource.org/licenses/mit-license.php",parents:"plist:cordova-common:cordova-android:signosoft"},"xmlbuilder@4.0.0":{licenses:"MIT",repository:"https://github.com/oozcitak/xmlbuilder-js",licenseUrl:"https://github.com/oozcitak/xmlbuilder-js/raw/master/LICENSE",parents:"cordova-browser:signosoft"},"xmlbuilder@8.2.2":{licenses:"MIT",repository:"https://github.com/oozcitak/xmlbuilder-js",licenseUrl:"https://github.com/oozcitak/xmlbuilder-js/raw/master/LICENSE",parents:"simple-plist:cordova-ios:signosoft"},"xmlbuilder@9.0.7":{licenses:"MIT",repository:"https://github.com/oozcitak/xmlbuilder-js",licenseUrl:"https://github.com/oozcitak/xmlbuilder-js/raw/master/LICENSE",parents:"cordova-universal-links-plugin"},"xmldom@0.1.19":{licenses:"LGPL",repository:"https://github.com/jindw/xmldom",licenseUrl:"http://www.gnu.org/licenses/lgpl.html",parents:"plist:cordova-common:cordova-android:signosoft"},"xmldom@0.1.27":{licenses:"LGPL",repository:"https://github.com/jindw/xmldom",licenseUrl:"http://www.gnu.org/licenses/lgpl.html",parents:"cordova-universal-links-plugin"},"xtend@4.0.1":{licenses:"MIT",repository:"https://github.com/Raynos/xtend",licenseUrl:"https://github.com/Raynos/xtend/raw/master/LICENCE",parents:"signosoft"},"y18n@3.2.1":{licenses:"ISC",repository:"https://github.com/yargs/y18n",licenseUrl:"https://github.com/yargs/y18n/raw/master/LICENSE",parents:"cacache:npm:signosoft"},"yallist@2.1.2":{licenses:"ISC",repository:"https://github.com/isaacs/yallist",licenseUrl:"https://github.com/isaacs/yallist/raw/master/LICENSE",parents:"lru-cache:cacache:npm:signosoft"},"yallist@3.0.2":{licenses:"ISC",repository:"https://github.com/isaacs/yallist",licenseUrl:"https://github.com/isaacs/yallist/raw/master/LICENSE",parents:"tar:npm:signosoft"},"yargs-parser@5.0.0":{licenses:"ISC",repository:"https://github.com/yargs/yargs-parser",licenseUrl:"https://github.com/yargs/yargs-parser/raw/master/LICENSE.txt",parents:"signosoft"},"yargs-parser@7.0.0":{licenses:"ISC*",parents:"yargs:libnpx:npm:signosoft"},"yargs@3.10.0":{licenses:"MIT",repository:"https://github.com/bcoe/yargs",licenseUrl:"https://github.com/bcoe/yargs/raw/master/LICENSE",parents:"signosoft"},"yargs@7.1.0":{licenses:"MIT",repository:"https://github.com/yargs/yargs",licenseUrl:"https://github.com/yargs/yargs/raw/master/LICENSE",parents:"sass-graph:signosoft"},"yargs@8.0.2":{licenses:"MIT",repository:"https://github.com/yargs/yargs",licenseUrl:"https://github.com/yargs/yargs/raw/master/LICENSE",parents:"libnpx:npm:signosoft"},"zip-stream@1.2.0":{licenses:"MIT",repository:"https://github.com/archiverjs/node-zip-stream",licenseUrl:"https://github.com/archiverjs/node-zip-stream/raw/master/LICENSE",parents:"signosoft"},"zone.js@0.8.18":{licenses:"MIT",repository:"https://github.com/angular/zone.js",licenseUrl:"https://github.com/angular/zone.js/raw/master/LICENSE",parents:"signosoft"}}},110:function(e,t,n){"use strict";function i(e,t){return Math.pow(e[0]-t[0],2)+Math.pow(e[1]-t[1],2)}function s(e,t){return Math.sqrt(i(e,t))}function r(e,t){return e[0]*t[0]+e[1]*t[1]}function o(e,t){return 0<=e[0]&&e[0]0&&r[r.length-1])&&(6===n[0]||2===n[0])){l=0;continue}if(3===n[0]&&(!r||n[1]>r[0]&&n[1]-1&&(d=d.substring(0,d.lastIndexOf("/")));var p;p=d?location.protocol+"//"+location.host+"/"+d+"/assets/opencv/":location.protocol+"//"+location.host+"/assets/opencv/",n.d(t,"a",function(){return m}),n.d(t,"b",function(){return b});var g=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))(function(s,r){function o(e){try{a(i.next(e))}catch(e){r(e)}}function l(e){try{a(i.throw(e))}catch(e){r(e)}}function a(e){e.done?s(e.value):new n(function(t){t(e.value)}).then(o,l)}a((i=i.apply(e,t||[])).next())})},f=this&&this.__generator||function(e,t){function n(n){return function(o){return function(n){if(i)throw new TypeError("Generator is already executing.");for(;l;)try{if(i=1,s&&(r=s[2&n[0]?"return":n[0]?"throw":"next"])&&!(r=r.call(s,n[1])).done)return r;switch(s=0,r&&(n=[0,r.value]),n[0]){case 0:case 1:r=n;break;case 4:return l.label++,{value:n[1],done:!1};case 5:l.label++,s=n[1],n=[0];continue;case 7:n=l.ops.pop(),l.trys.pop();continue;default:if(r=l.trys,!(r=r.length>0&&r[r.length-1])&&(6===n[0]||2===n[0])){l=0;continue}if(3===n[0]&&(!r||n[1]>r[0]&&n[1]1.05*n){var a=Math.sqrt(o*l/n);o=Math.round(o/a),l=Math.round(l/a)}r.width=o,r.height=l;var u=r.getContext("2d");u.drawImage(s,0,0,o,l);var c=u.getImageData(0,0,o,l);t.create(c.height,c.width,i.cv.CV_8UC4),t.data.set(c.data),r.width=r.height=0,e(t)}})},e.prototype.imshow=function(e,t){t.width=e.cols,t.height=e.rows,this.cv.imshow(t,e)},e.prototype.getMat=function(){return new this.cv.Mat},e.prototype.find_corners=function(e,t){void 0===t&&(t=1e3);var n=new this.cv.Mat,i=Math.min(e.rows,e.cols);iMath.min(s(o,u),s(l,a))&&(h=c*n),c=Math.round(c),h=Math.round(h),i%2==1&&(v=[c,h],h=v[0],c=v[1]);var d=[[0,0],[h-1,0],[h-1,c-1],[0,c-1]];console.log(t),console.log(d);for(var p=[],g=0;g<4;g++)p[g]=d[(g+i)%4];var f=this.cv.matFromArray(4,1,this.cv.CV_32FC2,[].concat.apply([],t)),m=this.cv.matFromArray(4,1,this.cv.CV_32FC2,[].concat.apply([],p)),b=this.cv.getPerspectiveTransform(f,m);this.cv.warpPerspective(e,r,b,new this.cv.Size(h,c),this.cv.INTER_LINEAR),f.delete(),m.delete(),b.delete();var v},e.prototype.to_binary=function(e,t,n){var i=Math.min(e.cols,e.rows)/25,s=Math.floor(i);s+=s%2+1,this.cv.cvtColor(e,t,this.cv.COLOR_RGBA2GRAY,0),this.sauvola(t,t,s,n)},e.prototype.to_grayscale=function(e,t){this.cv.cvtColor(e,t,this.cv.COLOR_RGBA2GRAY,0)},e.prototype.increase_contrast=function(e,t){var n=new this.cv.Mat,i=new this.cv.Mat,s=new this.cv.Mat;this.to_binary(e,n,.2),this.cv.bitwise_not(n,i),this.cv.cvtColor(n,s,this.cv.COLOR_GRAY2RGBA),e.copyTo(t),s.copyTo(t,i),t.convertTo(t,e.type(),.75,64),this.cv.add(e,t,t),e.copyTo(t,i),n.delete(),i.delete(),s.delete()},e.prototype.copy_original=function(e,t){e.copyTo(t)},e.prototype.blend_alpha=function(e,t,n){var i=this.getMat();this.to_grayscale(e,i),this.cv.bitwise_not(i,i),this.cv.normalize(i,i,0,255,this.cv.NORM_MINMAX);for(var s=[],r=new this.cv.MatVector,o=0,l=n;o1)return e;var i=Math.round(e.width*n),s=Math.round(e.height*n);t.width=i,t.height=s;return t.getContext("2d").drawImage(e,0,0,i,s),t},e.prototype.check_page_quality=function(e,t){return s(t[0],t[1])*s(t[0],t[3])>e.cols*e.rows*(1/8)&&(t[1][0]-t[0][0]>10&&t[2][0]-t[3][0]>10&&t[2][1]-t[1][1]>10&&t[3][1]-t[0][1]>10)},e.prototype.sauvola=function(e,t,n,i,s){void 0===s&&(s=128);var r=new this.cv.Mat,o=new this.cv.Mat;this.cv.boxFilter(e,r,this.cv.CV_32F,new this.cv.Size(n,n),new this.cv.Point(-1,-1),!0,this.cv.BORDER_REPLICATE),this.cv.sqrBoxFilter(e,o,this.cv.CV_32F,new this.cv.Size(n,n),new this.cv.Point(-1,-1),!0,this.cv.BORDER_REPLICATE);var l=r.mul(r,1);this.cv.subtract(o,l,o),this.cv.sqrt(o,o),o.convertTo(o,this.cv.CV_32F,i/s,1-i);var a=r.mul(o,1);a.convertTo(a,e.depth()),t.create(e.rows,e.cols,e.type()),this.cv.compare(e,a,t,this.cv.CMP_GT),a.delete(),r.delete(),o.delete(),l.delete()},e.prototype.get_biggest_contour=function(e){for(var t=0,n=null,i=0,s=e.size();it&&(n=e.get(i),t=r)}return n},e.prototype.crop_to_contours=function(e,t,n,i){void 0===t&&(t=1024),void 0===n&&(n=64),void 0===i&&(i=.4);var s=Number.MAX_SAFE_INTEGER,r=Number.MAX_SAFE_INTEGER,o=0,l=0,u=new this.cv.MatVector,c=new this.cv.Mat;this.cv.findContours(e,u,c,this.cv.RETR_EXTERNAL,this.cv.CHAIN_APPROX_SIMPLE);for(var h=[],d=new this.cv.Point(e.cols/2,e.rows/2),p=e.cols*e.rows,g=0,f=u.size();gt){var b=new this.cv.Point(T.x+T.width/2,T.y+T.height/2),v=m/p,y=e.roi(T),E=this.cv.countNonZero(y)/m;y.delete();var w=1-(Math.abs(b.x-d.x)+Math.abs(b.y-d.y))/(d.x+d.y);if(E=o||r>=l?null:new this.cv.Rect(s,r,o-s,l-r)},e.prototype.logistic_regression=function(e,t,n){for(var i=n,s=0,r=t.length;s=0&&(a=360-a),a>=90&&(a=180-a),a}(a,d)<30&&o(p,t))){u=!1;break}}u&&n.push(a)}else n.push(a)}return n},e.prototype.get_four_corners=function(e,t){for(var n=[],i=0;io[1]&&(d=[o,r],r=d[0],o=d[1]);var l=[t[2],t[3]],u=[l[0],l[1]],c=u[0],h=u[1];return i(r,h)0&&(a.currentIndex=1,a.slideLeft())}}}return Object.defineProperty(e.prototype,"currentIndex",{get:function(){return this._currentIndex},set:function(e){this._currentIndex=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"itemCenter",{get:function(){return this._dimensions.center},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"itemDimensions",{get:function(){return this._dimensions.maxItemSize},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"screenSize",{get:function(){return this._dimensions.viewport},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"currentItem",{get:function(){return this._currentItem},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"currentZoom",{get:function(){return this.currentItem.zoom},enumerable:!0,configurable:!0}),e.prototype.ngAfterContentInit=function(){var e=this;this._carouselItems.changes.subscribe(function(){e._currentItem&&(e._currentItem.isCurrent=!1),e.setCurrentItem()}).register(this.CONTEXT),this.setCurrentItem()},e.prototype.ngAfterViewInit=function(){var e=this;this._ngZone.runOutsideAngular(function(){e._measureViewportSize(),e._markChangeDetectionNeeded(),e.render(),setTimeout(function(){return e.firstVisibleChange.emit(e._currentIndex)},100)})},e.prototype.detachFor=function(){this._forOf=null},e.prototype.ngOnDestroy=function(){this.taskManager.autoDestruction(this.CONTEXT),document.onkeydown=void 0,this.detachFor()},e.prototype.setCurrentItem=function(){var e=this;if(this._carouselItems&&this._carouselItems.length>0){var t=this._carouselItems.toArray();this._currentItem=t.find(function(t){return t.index===e._currentIndex}),this._currentItem.isCurrent=!0,t.forEach(function(e){return e.setClasses()}),this._currentItem.onResize()}},e.prototype.itemZoom=function(e){return this.currentItem.maxZoom},e.prototype.onWheelZoom=function(e){},e.prototype.zoomTo=function(e){var t=this;if(this.enableZoom){var n=this.itemDimensions.width/this._currentItem.pageSize.width,i=Math.max(n,o.k);this._currentItem.zoomTo(this._currentItem.zoom>=i?o.x:i,e.center).then(function(e){return t.zoomEnd.emit(t.currentItem.maxZoom)})}},e.prototype.onPanStart=function(e){this.doingSomething.emit(!0),this._currentItem.panStart(e)},e.prototype.logLastEvent=function(e){this.lastEvents.push(e),this.lastEvents.length>5&&(this.lastEvents=this.lastEvents.slice(this.lastEvents.length-5,this.lastEvents.length))},e.prototype.canBlockClick=function(e){for(var t=Date.now(),n=1e3,i=0,s=this.lastEvents;ii){var l=this.limitSlideChangeSpeed(e.lastVelocityX);e.deltaX<0&&n?this.slideRight(l):e.deltaX>0&&t?this.slideLeft(l):this.returnToCurrent()}else Object(r.d)(e)&o.d&&!e.directionXChanged&&e.lastVelocityX>1/o.B?e.deltaX<0&&n?this.slideRight():e.deltaX>0&&t?this.slideLeft():this.returnToCurrent():this.returnToCurrent()},e.prototype.limitSlideChangeSpeed=function(e){return e>o.s?e=o.s:e0&&(t=this.itemDimensions.width),t},e.prototype.render=function(){var e=this;this.setRenderedRange(),requestAnimationFrame(function(){var t=e.offsetShouldBe(e.currentIndex);e.setTranslateOffset(t),e._lastFixedTranslateOffset=t})},e.prototype.getDataLength=function(){return this._dataLength},e.prototype.getRenderedRange=function(){return this._renderedRange},e.prototype.setRenderedRange=function(){var e=this,t={start:this.currentIndex-1,end:this.currentIndex+2};t.start<0&&(t.start=0),t.end>this.getDataLength()&&(t.end=this.getDataLength()),Object(r.i)(this._renderedRange,t)||this.renderedRangeStream.next(this._renderedRange=t),0!==t.start&&t.end!==this.getDataLength()||requestAnimationFrame(function(){e.currentItem&&e.currentItem.index===e.currentIndex||e.setCurrentItem()})},e.prototype.scrollToIndex=function(e){this._currentIndex=e,this.render(),this.firstVisibleChange.emit(e)},e.prototype.slideLeft=function(e){var t=this;if(void 0===e&&(e=o.b),!this._runningSlideAnimation){if(0===this.currentIndex)return this.returnToCurrent();this._runningSlideAnimation=!0;var n=this.offsetShouldBe(this.currentIndex)-this.itemDimensions.width-o.q;this.doingSomething.emit(!0),this.oneTransition(n-this._translateOffset,e).then(function(){t._runningSlideAnimation=!1,t.currentItem.resetZoom(),t.scrollToIndex(t.currentIndex-1),t.doingSomething.emit(!1)}),this.setTranslateOffset(n)}},e.prototype.slideRight=function(e){var t=this;if(void 0===e&&(e=o.b),!this._runningSlideAnimation){if(this.currentIndex===this.getDataLength()-1)return this.returnToCurrent();this._runningSlideAnimation=!0;var n=this.offsetShouldBe(this.currentIndex)+this.itemDimensions.width+o.q;this.doingSomething.emit(!0),this.oneTransition(n-this._translateOffset,e).then(function(){t._runningSlideAnimation=!1,t.currentItem.resetZoom(),t.scrollToIndex(t.currentIndex+1)}),this.setTranslateOffset(n),this.doingSomething.emit(!1)}},e.prototype.returnToCurrent=function(){var e=this.offsetShouldBe(this.currentIndex);this.oneTransition(e-this._translateOffset,o.y),this.setTranslateOffset(e)},e.prototype.blockEvents=function(e){void 0===e&&(e=!0),this._eventListenerComp.blocked=e,this._eventsBlocked=e},e.prototype.oneTransition=function(e,t){var n=this,i=(e=Math.abs(e))/t;return new Promise(function(e){var t=!1,s=function(){r(),n.renderer.removeStyle(n._contentWrapper.nativeElement,"transition-duration"),n.renderer.removeStyle(n._contentWrapper.nativeElement,"pointer-events"),i>0&&n.blockEvents(!1),e()},r=n.renderer.listen(n._contentWrapper.nativeElement,"transitionend",function(e){!t&&1e3*e.elapsedTime*1.02>=i&&(s(),t=!0)});setTimeout(function(){t||(s(),t=!0)},i),i>0&&n.blockEvents(),n.renderer.setStyle(n._contentWrapper.nativeElement,"transition-duration",i+"ms"),n.renderer.setStyle(n._contentWrapper.nativeElement,"pointer-events","none")})},e.prototype.checkViewportSize=function(e){var t=this;void 0===e&&(e="top"),this._ngZone.runOutsideAngular(function(){t._measureViewportSize(),t._eventListenerComp.resize(),t.render(),requestAnimationFrame(function(){t._currentItem.onResize(e),t.firstVisibleChange.emit(t.currentIndex)})})},e.prototype.scrollReset=function(){this.currentItem&&this.currentItem.scrollReset()},e.prototype.scrollToElement=function(e,t){this.currentItem&&this.currentItem.scrollTo(e,t)},e.prototype.onInputChange=function(e){this.currentItem&&this.currentItem.onInputChange(e.target)},e.prototype._measureViewportSize=function(){var e=this.elementRef.nativeElement,t=e.getBoundingClientRect();this._dimensions.viewport={x:0,y:0,width:window.innerWidth,height:window.innerHeight},this._dimensions.container={x:t.left,y:t.top,width:e.clientWidth,height:e.clientHeight},this._dimensions.viewport.width===this._dimensions.viewport.height&&console.log("error error"),this._dimensions.center={x:t.width/2,y:t.height/2},this._dimensions.maxItemSize={width:this._dimensions.container.width,height:this._dimensions.container.height}},e.prototype._markChangeDetectionNeeded=function(e){var t=this;e&&this._runAfterChangeDetection.push(e),this._isChangeDetectionPending||(this._isChangeDetectionPending=!0,this._ngZone.runOutsideAngular(function(){return Promise.resolve().then(function(){t._doChangeDetection()})}))},e.prototype._doChangeDetection=function(){var e=this;this._isChangeDetectionPending=!1,console.log("markForCheck!"),this._ngZone.run(function(){return e._changeDetectorRef.markForCheck()});var t=this._runAfterChangeDetection;this._runAfterChangeDetection=[];for(var n=0,i=t;n0&&(i.ip=e.ip),e.latitude&&e.latitude.length>0&&(i.latitude=e.latitude),e.longitude&&e.longitude.length>0&&(i.longitude=e.longitude),e.country_code&&e.country_code.length>0&&(i.country_code=e.country_code),e.region&&e.region.length>0&&(i.region=e.region),e.continent_code&&e.continent_code.length>0&&(i.continent_code=e.continent_code),e.city&&e.city.length>0&&(i.city=e.city)):console.log("Confirm: getUserIP error"),n.next(i),n.complete()},function(e){console.log("Confirm: getUserIP error"),n.next(i),n.complete()})})},e.prototype.getFullBioData=function(e,t,n){var i=this;return this.getUserInfo(e).map(function(e){if(console.log("Confirm: biodata prep"),!t)throw console.error("missing bioPackage"),"SIGNING_ERROR";if(e.bit=r.a.parse(t).toString(l.a),!e.bit)throw console.error("missing bioPackage after encript"),"SIGNING_ERROR";var s=i.encrypt(e,n);if(0==s)throw console.error("failed encrypt"),"SIGNING_ERROR";return s=l.a.parse(s).toString(r.a),console.log("Confirm: send bioData"),s})},e.prototype.getDigitalBioData=function(e,t){var n=this;return this.getUserInfo(e).map(function(e){console.log("Confirm: biodata prep");var i=n.encrypt(e,t);if(0==i)throw console.error("Invalid digital data encription"),"SIGNING_ERROR";return i=l.a.parse(i).toString(r.a)})},e}())},124:function(e,t,n){"use strict";n.d(t,"b",function(){return i}),n.d(t,"a",function(){return s});var i;!function(e){e[e.NEW=0]="NEW",e[e.WAITING=1]="WAITING",e[e.SIGNED=2]="SIGNED",e[e.TEMPLATE=3]="TEMPLATE",e[e.DRAFT=4]="DRAFT",e[e.DELETED=5]="DELETED",e[e.FINALIZED=6]="FINALIZED",e[e.FINALIZED_ERROR=7]="FINALIZED_ERROR",e[e.TEMPL_CONTRACT=10]="TEMPL_CONTRACT"}(i||(i={}));var s=function(){function e(e){this.contractDocuments=null,this.normalizedName=null,this.selected=!1,this.blocked=!1,this.id=e.id,this.name=e.name,this.bytes=e.bytes,this.date=e.date,this.state=e.state,this.token=e.token,this.owner=e.owner,this.firstName=e.firstName,this.secondName=e.secondName,this.permit=e.permit,this.ownerType=e.ownerType,this.contract=e.contract,this.contractRange=e.contractRange,this.contractDocuments=e.contractDocuments}return Object.defineProperty(e.prototype,"isContract",{get:function(){return null!=this.contractDocuments},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"fullName",{get:function(){return this.firstName&&this.firstName.length>0||this.secondName&&this.secondName.length>0?this.firstName+" "+this.secondName:this.owner},enumerable:!0,configurable:!0}),e.prototype.match=function(e){throw new TypeError("Define this.")},e.prototype.sizeAsString=function(){var e=this.bytes/1e3;if(e<1e3)return e.toFixed()+" kB";return(e/1e3).toFixed(1)+" MB"},e}()},125:function(e,t,n){"use strict";n.d(t,"a",function(){return s}),n.d(t,"b",function(){return r}),n.d(t,"c",function(){return o}),n.d(t,"d",function(){return i});var i,s={SUCCESS:"color-success",ERROR:"color-error",NEUTRAL:"color-neutral"},r={COMPONENT_DISMISSED:"COMPONENT_DISMISSED",AUTH_MISSING:"PLEASE_LOGIN",WRONG_CREDENTIALS:"WRONG_CREDENTIALS",WRONG_CREDENTIALS_FROM_KEYCHAIN:"WRONG_CREDENTIALS_FROM_KEYCHAIN",WRONG_CREDENTIALS_FROM_KEYCHAIN_IOS:"WRONG_CREDENTIALS_FROM_KEYCHAIN_IOS",WRONG_CREDENTIALS_FROM_KEYCHAIN_IOS_FACE:"WRONG_CREDENTIALS_FROM_KEYCHAIN_IOS_FACE",USERNAME_TAKEN:"USERNAME_TAKEN",DOCUMENT_DOESNT_EXIST:"DOCUMENT_DOESNT_EXIST",SEARCH:"SEARCH_ERROR",TEMPLATE_DOESNT_EXIST:"TEMPLATE_DOESNT_EXIST",DOCUMENT_NOT_CREATED:"DOCUMENT_NOT_CREATED",TEMPLATE_NOT_CREATED:"TEMPLATE_NOT_CREATED",SAVE_FAILED:"SAVE_FAILED",DOCUMENTS_NOT_DELETED:"DOCUMENTS_NOT_DELETED",TEMPLATES_NOT_DELETED:"TEMPLATES_NOT_DELETED",CONTRACT_NOT_CREATED:"CONTRACT_NOT_CREATED",WRONG_HASH:"WRONG_HASH",WRONG_PASSWORD:"WRONG_PASSWORD",WRONG_PASSWORD_FROM_KEYCHAIN:"WRONG_PASSWORD_FROM_KEYCHAIN",WRONG_PASSWORD_FROM_KEYCHAIN_IOS:"WRONG_PASSWORD_FROM_KEYCHAIN_IOS",WRONG_PASSWORD_FROM_KEYCHAIN_IOS_FACE:"WRONG_PASSWORD_FROM_KEYCHAIN_IOS_FACE",WRONG_SIGN_CODE:"WRONG_SIGN_CODE",WRONG_:"WRONG_PASSWORD",WRONG_DOC_STATE:"WRONG_DOC_STATE",WRONG_SERVER_URL:"WRONG_SERVER_URL",UNKNOWN:"UNKNOWN_ERROR",NO_CONNECTION:"NO_CONNECTION",UPLOAD_FAILED:"UPLOAD_FAILED",DOWNLOAD_FAILED:"DOWNLOAD_FAILED",EMAIL_FAILED:"EMAIL_FAILED",PASSWORD_NOT_RESET:"INVALID_EMAIL",SIGNATURES_NOT_REQUESTED:"SIGNATURES_NOT_REQUESTED",DOCUMENTS_UPDATE_FAIL:"DATA_NOT_UP_TO_DATE",SIGN_FAILED:"SIGN_FAILED",SIGNATURE_NOT_ADDED:"SIGNATURE_NOT_ADDED",UNKNOWN_SERVER_ERROR:"UNKNOWN_SERVER_ERROR",WRONG_TOKEN:"WRONG_TOKEN",WRONG_USER:"WRONG_USER",USER_NOT_FOUND:"RESET_USER_NOT_FOUND",CANNOT_RESET_PASSWORD:"CANNOT_RESET_PASSWORD",TOKEN_EXPIRED:"TOKEN_EXPIRED",TOKEN_NOT_MATCH:"TOKEN_NOT_MATCH",SIGNATURES_FAILED:"SIGNING_FAILED",EMAIL_DOMAIN_INVALID:"EMAIL_DOMAIN_INVALID",USER_NOT_CREATED:"USER_NOT_CREATED",UPDATE_USER_FILED:"UPDATE_USER_FILED",MAX_USER_COUNT:"MAX_USER_COUNT",DOCUMENTS_NOT_RENAMED:"DOCUMENTS_NOT_RENAMED",FORBIDDEN:"FORBIDDEN",NOT_IN_ORDER:"NOT_IN_ORDER",DOCUMENT_NOT_FINALIZED:"DOCUMENT_NOT_FINALIZED",DESIGN_NOT_LOADED:"DESIGN_NOT_LOADED",ADD_SIGNER:"ADD_SIGNER",SIGNATURE_NOT_REVOKED:"SIGNATURE_NOT_REVOKED",USER_NOT_APPROVED_FOR_DOCUMENT:"USER_NOT_APPROVED_FOR_DOCUMENT",SIGNATURE_IS_ALREADY_SIGNED:"SIGNATURE_IS_ALREADY_SIGNED",SILENT_ERROR:"SILENT_ERROR",PASSWORD_EMPTY:"PASSWORD_EMPTY",PASSWORD_NOT_MATCH:"PASSWORD_NOT_MATCH",ERROR_COMPANY_ACCESS:"ERROR_COMPANY_ACCESS"},o={ADD:"notification:add",REMOVE:"notification:remove",REMOVE_BY_LABEL:"notification:remove-by-name",ERROR:"notification:error",SUCCESS:"notification:success",CLEAR:"notification:clear",POSITIVE:"notification:positive",NEGATIVE:"notification:negative",STATUS_POSITIVE:"notification:status-positive",STATUS_NEGATIVE:"notification:status-negative"};!function(e){e.getDocuments=function(){return{label:"GETTING_DOCUMENTS",success:"DOCUMENTS_UP_TO_DATE",error:r.DOCUMENTS_UPDATE_FAIL,color:s.NEUTRAL}},e.renameDocuments=function(){return{label:"RENAMING_DOCUMENTS",success:"DOCUMENTS_RENAMED",error:r.DOCUMENTS_NOT_RENAMED,color:s.NEUTRAL}},e.deleteDocuments=function(){return{label:"DELETING_DOCUMENTS",success:"DOCUMENTS_DELETED",error:r.DOCUMENTS_NOT_DELETED,color:s.NEUTRAL}},e.deleteTemplates=function(){return{label:"DELETING_TEMPLATES",success:"TEMPLATES_DELETED",error:r.TEMPLATES_NOT_DELETED,color:s.NEUTRAL}},e.saveDocument=function(){return{label:"SAVING_DOCUMENT",success:"DOCUMENT_SAVED",error:r.UNKNOWN_SERVER_ERROR,color:s.NEUTRAL}},e.uploadDocument=function(){return{label:"UPLOADING_DOCUMENT",success:"DOCUMENT_UPLOADED",error:r.UPLOAD_FAILED,color:s.NEUTRAL}},e.uploadTemplate=function(){return{label:"UPLOADING_TEMPLATE",success:"TEMPLATE_UPLOADED",error:r.UPLOAD_FAILED,color:s.NEUTRAL}},e.requestSignatures=function(){return{label:"SENDING_REQUEST",success:"REQUESTED",error:r.SIGNATURES_NOT_REQUESTED,color:s.NEUTRAL}},e.createResetPasswordToken=function(){return{label:"CREATING_RESET_TOKEN",success:"TOKEN_CREATED",error:r.USER_NOT_FOUND,color:s.NEUTRAL}},e.resetPassword=function(){return{label:"RESETTING",success:"PASSWORD_WAS_RESET",error:r.CANNOT_RESET_PASSWORD,color:s.NEUTRAL}},e.changePassword=function(){return{label:"UPDATING",success:"PASSWORD_WAS_CHANGED",error:r.WRONG_PASSWORD,color:s.NEUTRAL}},e.sendByEmail=function(){return{label:"SENDING_BY_EMAIL",success:"DOCUMENT_EMAILED",error:r.EMAIL_FAILED,color:s.NEUTRAL}},e.download=function(){return{label:"DOWNLOADING_DOCUMENT",success:"DOCUMENT_DOWNLOADED",error:r.DOWNLOAD_FAILED,color:s.NEUTRAL}},e.register=function(){return{label:"CREATING_USER",success:"REGISTRATION_SUCCESS",error:r.USERNAME_TAKEN,color:s.NEUTRAL}},e.updateUser=function(){return{label:"UPDATING_USER",success:"UPDATE_SUCCESS",error:r.UPDATE_USER_FILED,color:s.NEUTRAL}},e.signatureNotRequired=function(){return{label:"NOT_IN_ORDER",success:"NOT_IN_ORDER_TXT",error:r.NOT_IN_ORDER,color:s.NEUTRAL}},e.revokeSignature=function(){return{label:"REVOKING_SIGNATURE",success:"SIGNATURE_REVOKED",error:r.SIGNATURE_NOT_REVOKED,color:s.NEUTRAL}},e.saveTemplate=function(){return{label:"SAVING_TEMPLATE",success:"TEMPLATE_SAVED",error:r.SAVE_FAILED,color:s.NEUTRAL}},e.documentFromTemplate=function(){return{label:"PREPARING_DOCUMENT",success:null,error:r.DOCUMENT_NOT_CREATED,color:s.NEUTRAL}},e.templateFromDocument=function(){return{label:"PREPARING_TEMPLATE",success:"TEMPLATE_CREATED",error:r.TEMPLATE_NOT_CREATED,color:s.NEUTRAL}},e.preparingDocument=function(){return{label:"PREPARING_DOCUMENT",success:null,error:r.CONTRACT_NOT_CREATED,color:s.NEUTRAL}},e.searchingSignpad=function(){return{label:"SEARCHING_SIGNPAD",success:"SIGNPAD_CONNECTED",error:null,color:s.NEUTRAL}},e.finalizeDocument=function(){return{label:"FINALIZING_DOCUMENT",success:"DOCUMENT_FINALIZED",error:null,color:s.NEUTRAL}},e.loadingSignatureDesign=function(){return{label:"LOADING_DESIGN",success:null,error:null,color:s.NEUTRAL}},e.updatingSignaturePreview=function(){return{label:"UPDATING_PREVIEW",success:"PREVIEW_UPDATED",error:"PREVIEW_FAILED",color:s.NEUTRAL}},e.savingSignatureDesign=function(){return{label:"SAVING_DESIGN",success:"DESIGN_SAVED",error:"SAVING_FAILED",color:s.NEUTRAL}},e.createContract=function(){return{label:"PREPARING_CONTRACT",success:"CONTRACT_CREATED",error:r.CONTRACT_NOT_CREATED,color:s.NEUTRAL}},e.send=function(){return{label:"SENDING",success:"SENT",error:r.UNKNOWN,color:s.NEUTRAL}},e.validateFormData=function(){return{label:"VALIDATING_DATA",success:null,error:r.UNKNOWN,color:s.NEUTRAL}}}(i||(i={}))},126:function(e,t,n){"use strict";n.d(t,"a",function(){return g});var i=n(0),s=n(303),r=n(19),o=(n(22),n(1)),l=n(49),a=n(15),u=(n(6),n(24)),c=(n.n(u),n(14)),h=n(32),d=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))(function(s,r){function o(e){try{a(i.next(e))}catch(e){r(e)}}function l(e){try{a(i.throw(e))}catch(e){r(e)}}function a(e){e.done?s(e.value):new n(function(t){t(e.value)}).then(o,l)}a((i=i.apply(e,t||[])).next())})},p=this&&this.__generator||function(e,t){function n(n){return function(o){return function(n){if(i)throw new TypeError("Generator is already executing.");for(;l;)try{if(i=1,s&&(r=s[2&n[0]?"return":n[0]?"throw":"next"])&&!(r=r.call(s,n[1])).done)return r;switch(s=0,r&&(n=[0,r.value]),n[0]){case 0:case 1:r=n;break;case 4:return l.label++,{value:n[1],done:!1};case 5:l.label++,s=n[1],n=[0];continue;case 7:n=l.ops.pop(),l.trys.pop();continue;default:if(r=l.trys,!(r=r.length>0&&r[r.length-1])&&(6===n[0]||2===n[0])){l=0;continue}if(3===n[0]&&(!r||n[1]>r[0]&&n[1]=r.l&&e.shift(),e.push(t);var n=e[0],i=e[e.length-1];t.lastVector={x:i.x-n.x,y:i.y-n.y};var s=Math.sqrt(Math.pow(i.x-n.x,2)+Math.pow(i.y-n.y,2)),o=i.timestamp-n.timestamp;t.lastVelocity=s/o;var l=Math.abs(n.x-i.x);return t.lastVelocityX=l/o,t},e.prototype.resize=function(){this._elementRect=this.elementRef.nativeElement.getBoundingClientRect()},e.prototype.addListeners=function(){document.addEventListener("touchend",this.onPitch),document.addEventListener("mouseup",this.onPitch),document.addEventListener("mouseout",this.onPitch),document.addEventListener("touchleave",this.onPitch),document.addEventListener("touchcancel",this.onPitch);var e=this.elementRef.nativeElement;e.addEventListener("touchmove",this.onUp),e.addEventListener("mousemove",this.onUp),e.addEventListener("touchend",this.onUp),e.addEventListener("mouseup",this.onUp),e.addEventListener("mouseout",this.onUp),e.addEventListener("touchcancel",this.onUp),e.addEventListener("touchleave",this.onUp),e.addEventListener("touchstart",this.onDown),e.addEventListener("mousedown",this.onDown),e.addEventListener("wheel",this.onWheel),window.addEventListener("keydown",this.keyUpHandler)},e.prototype.removeListeners=function(){document.removeEventListener("touchend",this.onPitch),document.removeEventListener("mouseup",this.onPitch),document.removeEventListener("mouseout",this.onPitch),document.removeEventListener("touchleave",this.onPitch),document.removeEventListener("touchcancel",this.onPitch);var e=this.elementRef.nativeElement;e.removeEventListener("touchmove",this.onUp),e.removeEventListener("mousemove",this.onUp),e.removeEventListener("touchend",this.onUp),e.removeEventListener("mouseup",this.onUp),e.removeEventListener("mouseout",this.onUp),e.removeEventListener("touchcancel",this.onUp),e.removeEventListener("touchleave",this.onUp),e.removeEventListener("touchstart",this.onDown),e.removeEventListener("mousedown",this.onDown),e.removeEventListener("wheel",this.onWheel),window.removeEventListener("keydown",this.keyUpHandler)},e.prototype.getPoint=function(e){return/mouse/.test(e.type)?{x:e.clientX,y:e.clientY}:/touch/.test(e.type)?{x:e.touches[0].clientX,y:e.touches[0].clientY}:void 0},e.prototype._relativeToContent=function(e){var t=e.x-this._elementRect.left,n=e.y-this._elementRect.top;return t=Math.max(t,0)&&Math.min(t,this._elementRect.width),n=Math.max(n,0)&&Math.min(n,this._elementRect.height),{x:t,y:n}},e}()},132:function(e,t,n){"use strict";var i=n(0),s=n(118),r=n(1),o=n(647),l=n(151),a=["direction","boxSizing","width","height","overflowX","overflowY","borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth","borderStyle","paddingTop","paddingRight","paddingBottom","paddingLeft","fontStyle","fontVariant","fontWeight","fontStretch","fontSize","fontSizeAdjust","lineHeight","fontFamily","textAlign","textTransform","textIndent","textDecoration","letterSpacing","wordSpacing","tabSize","MozTabSize"],u="undefined"!=typeof window,c=u&&null!=window.mozInnerScreenX;n.d(t,"a",function(){return d});var h=this&&this.__assign||Object.assign||function(e){for(var t,n=1,i=arguments.length;nthis.carousel.currentIndex?this.renderer.addClass(this.element.nativeElement,"on-right"):this.renderer.removeClass(this.element.nativeElement,"on-right"),this.index===this.carousel.currentIndex?this.renderer.addClass(this.element.nativeElement,"is-current"):this.renderer.removeClass(this.element.nativeElement,"is-current"))},e.prototype.calculateDirection=function(e){if(this._directionEventsCount0)){if(1===this.zoom)return this._changingPage=!1,n;i>0&&i>this._panEdges.left?(this.swipeLeftAllowed||(i=this.slowDownHorizontalTranslate(i)),t=i-this._panEdges.left,i=this._panEdges.left):i<0&&ithis._panEdges.left?i=this._panEdges.left:ithis._panEdges.top?s=this._panEdges.top:s0){this.animatedPanEnd(i,e.lastVelocity/s*l.n*l.p)}else this._savedTransform=this._currentTransform,this._movingFreely=null}},e.prototype.cancelAnimation=function(){this.element.nativeElement.style.transitionDuration="0ms",-1!==this._animation&&cancelAnimationFrame(this._animation),this._animation=-1,this._isAnimating=!1},e.prototype.setAnimation=function(e){this._animation=requestAnimationFrame(e)},e.prototype.animatedPanEnd=function(e,t){var n=this;this.setAnimation(function(){performance.now();if(t=this._maxZoom&&null===this._transformWhenMaxZoomReached&&(this._transformWhenMaxZoomReached=r),this.setTransform(n,r)},e.prototype.pinchEnd=function(){var e=this;this.measurePageSize();var t=this.limitZoom(this.zoom);this._panEdges=this.measurePanEdges(t);var n,i=Promise.resolve(),s=this.limitTransform(t,n=t===this._maxZoom&&null!==this._transformWhenMaxZoomReached?this._transformWhenMaxZoomReached:this._currentTransform);if(s.x!=n.x||s.y!=n.y||t!=this.zoom){var r=this.prepCalculateSteps(s,t,250);i=new Promise(function(t){return e.returnBackFromAnimating(r,!0,t)})}return this._transformWhenMaxZoomReached=null,this._savedZoom=t,this._savedTransform=s,i.then(function(){return t})},e.prototype.zoomTo=function(e,t){var n=this;this.pinchStart(t);var i=this._savedZoom,s=this.limitZoom(e),r=s/i,o=r-1,l={x:this._savedTransform.x*r+(this.itemCenter.x-t.x)*o,y:this._savedTransform.y*r+(this.itemCenter.y-t.y)*o};this._panEdges=this.measurePanEdges(s);var a=Promise.resolve(),u=this.limitTransform(s,l);return u.x==l.x&&u.y==l.y&&s==this.zoom||(a=this.oneTransition(),this.setTransform(s,u)),this._savedZoom=s,this._savedTransform=u,a.then(function(){return n.measurePageSize(),Promise.resolve(s)})},e.prototype.limitTransform=function(e,t){return t=h({},t),this.pageSize.width*e<=this.itemSize.width?t.x=0:t.x<0&&t.x0&&t.x>this._panEdges.left&&(t.x=this._panEdges.left),this.pageSize.height*e<=this.itemSize.height?t.y=0:t.y<0&&t.y0&&t.y>this._panEdges.top&&(t.y=this._panEdges.top),t},e.prototype.limitZoom=function(e){return Object(o.f)(e,l.x,this._maxZoom)},e.prototype.oneTransition=function(e){var t=this;void 0===e&&(e=l.v*l.u),e=Math.abs(e);var n=Math.max(e/l.y,l.u),i=this.zoomable.nativeElement;return new Promise(function(e){var s=function(){i.style.transitionDuration="0ms",n>0&&t.carousel&&t.carousel.blockEvents(!1),e(),i.removeEventListener("transitioncancel",s),i.removeEventListener("transitionend",s),clearTimeout(r)};i.addEventListener("transitionend",s),i.addEventListener("transitioncancel",s);var r=setTimeout(function(){return s()},1.5*n);n>0&&t.carousel&&t.carousel.blockEvents(),i.style.transitionDuration=n+"ms",console.log("transition duration should be ",n),console.log("is",i.style.transitionDuration)})},e.prototype.setTransform=function(e,t){return void 0===t&&(t={x:0,y:0}),!(e!==this._currentZoom||this._currentTransform.x!==t.x||this._currentTransform.y!==t.y||!this.zoomable.nativeElement||!this.zoomable.nativeElement.style.transform)||(this._currentZoom=e,this._currentTransform=t,this.zoomable.nativeElement.style.transform="matrix("+e+",0,0,"+e+","+t.x+","+t.y+")",!1)},e.prototype.measurePageSize=function(){var e;this.carousel?(e=this.carousel.screenSize,this._itemSize=this.carousel.itemDimensions):(e=this.element.nativeElement.getBoundingClientRect(),this._itemSize=e);var t=this.zoomable.nativeElement.firstElementChild;if(this._pageSize={width:parseInt(t.style.width),height:parseInt(t.style.height)},e){var n=Math.min(e.width,e.height);this._maxZoom=n*l.t/this.pageSize.width}},e.prototype.measureResize=function(e){void 0===e&&(e="top"),this.cancelAnimation();var t=this.itemSize,n=this.pageSize,i=this._panEdges;if(this.measurePageSize(),this._panEdges=this.measurePanEdges(),n=n||this.pageSize,i=i||this._panEdges,!(t=t||this.itemSize)||t.width===this.itemSize.width&&t.height===this.itemSize.height)return h({},this._currentTransform,{scale:this.zoom});if(!n||this.zoom===l.x)return{x:0,y:0,scale:l.x};var s=n.width/this.pageSize.width*this.zoom,r=this.limitZoom(s);this._panEdges=this.measurePanEdges(r);var o,a=this._currentTransform.x-i.left;if("top"===e){o={x:this._panEdges.left+a,y:this._panEdges.top+(this._currentTransform.y-i.top)}}else{o={x:this._panEdges.left+a,y:this._panEdges.bottom+(this._currentTransform.y-i.bottom)}}var u=this.limitTransform(s,o);return h({},u,{scale:r})},e.prototype.measurePanEdges=function(e){void 0===e&&(e=this._currentZoom);var t=this.itemSize,n=(this._pageSize.width*e-t.width)/2,i=(this._pageSize.height*e-t.height)/2;return new o.a(i,n,-i,-n)},e.prototype.resetZoom=function(){this.setTransform(l.x,{x:0,y:0}),this._savedTransform={x:0,y:0},this._savedZoom=l.x},Object.defineProperty(e.prototype,"realRect",{get:function(){var e=this._panEdges,t=this._currentTransform;return{width:this.pageSize.width*this.zoom,height:this.pageSize.height*this.zoom,top:t.y<0?e.top+-t.y:e.top-t.y,left:t.x<0?e.left+-t.x:e.left-t.x}},enumerable:!0,configurable:!0}),e.prototype.scrollReset=function(){if(this.activeInset>0){h({},this._currentTransform).y-=this.activeInset}},e.prototype.scrollTo=function(e,t){var n=this.element.nativeElement,i=this.zoomable.nativeElement;if(this.activeInset=t/this.zoom,i.contains(e)){var s=n.getBoundingClientRect(),r=i.getBoundingClientRect(),l=e.getBoundingClientRect(),a=o.a.fromInterface(l).subtract(r),u=this.getCaretMargin(),c=this._panEdges.subtract(a).add(u),d=c.getVisibleEdges(this._currentTransform),p=h({},this._currentTransform),g=90!==Math.abs(+window.orientation)?s.width:s.width-Object(o.e)();l.widthi?t-n+"px":t===i?o.lineHeight:"0px"}else r.lineHeight=o.height;else r[e]=o[e]}),c?e.scrollHeight>parseInt(o.height)&&(r.overflowY="scroll"):r.overflow="hidden",s.textContent=e.value.substring(0,t),l&&(s.textContent=s.textContent.replace(/\s/g," "));var h=document.createElement("span");h.textContent=e.value.substring(t)||".",s.appendChild(h);var d,p=h.offsetLeft;d=p>=parseInt(o.width)?parseInt(o.width)+parseInt(o.borderLeftWidth):p+parseInt(o.borderLeftWidth);var g={top:h.offsetTop+parseInt(o.borderTopWidth),left:d,height:parseInt(o.lineHeight)};return n?h.style.backgroundColor="#aaa":document.body.removeChild(s),g}(e,e.selectionEnd),i=n.top,s=n.left,r=t.getBoundingClientRect(),l=e.getBoundingClientRect(),d=l.width/e.offsetWidth,p=new o.a(i*=d,s*=d,i-l.height,s-l.width),g=o.a.fromInterface(l).add(p).subtract(r),f=this.getCaretMargin(),m=this._panEdges.subtract(g).add(f),b=m.getVisibleEdges(this._currentTransform),v=h({},this._currentTransform);if(b.left?b.right||(v.x=m.right):v.x=m.left,b.top?b.bottom||(v.y=m.bottom):v.y=m.top,v.x!==this._currentTransform.x||v.y!==this._currentTransform.y){var y=this.limitTransform(this.zoom,v);this.isAnimating&&this.cancelAnimation();this.setTransform(this.zoom,y),this._savedTransform=y}this._lastInputElement=e}},e.prototype.slowDownZoom=function(e){return this._slowDown(e,this._maxZoom,o.h)},e.prototype.slowDownHorizontalTranslate=function(e){return e<0?-this._slowDown(-e,-this._panEdges.right,o.g):this._slowDown(e,this._panEdges.left,o.g)},e.prototype.getCaretMargin=function(){var e=3*this.zoom,t=new o.a(e,e,-e,3*-e);switch(+window.orientation){case 90:t.left+=Object(o.e)();case-90:t.right=Math.min(-e-Object(o.e)(),t.right)}return t},e.prototype._slowDown=function(e,t,n){if(e<=t)return e;return t+n(e-t)},e.prototype.showCaret=function(e){void 0===e&&(e=!0)},e=Object(i.__decorate)([Object(i.__param)(1,Object(r.Optional)()),Object(i.__param)(1,Object(r.Inject)(Object(r.forwardRef)(function(){return s.a})))],e)}()},133:function(e,t,n){"use strict";n.d(t,"b",function(){return r}),n.d(t,"a",function(){return o}),n.d(t,"c",function(){return l});n(0);var i=n(123),s=(n.n(i),this&&this.__assign||Object.assign||function(e){for(var t,n=1,i=arguments.length;n0&&r[r.length-1])&&(6===n[0]||2===n[0])){l=0;continue}if(3===n[0]&&(!r||n[1]>r[0]&&n[1]0?e.errorReason:m.b.SIGNATURES_FAILED)}return g.Observable.fromPromise(Object(b.c)(e.sigimg,"image/png")).map(function(e){return new f.k(S({},t,{signed:!0,imageURL:e}))})})},e.prototype.signByClickToSign=function(e,t,n,i,s,r,o){void 0===r&&(r=null),void 0===o&&(o=!1);var l=s.map(function(e){return e.toServer()}),a={login:t.signer,docid:e.id,sigid:t.id,sigPassword:n,methodid:f.f.CLICKTOSIGN,authType:I.d.CLICK_TO_SIGN,acroFields:JSON.stringify(l)};return i&&(a.sigBioData=i),o&&(a.initials=!0),r&&(r.certificateId&&(a.certificateId=r.certificateId),r.certificatePassword&&(a.certificatePassword=r.certificatePassword)),this.post("REST/signDocument",a).flatMap(function(e){if("WRONG_PASSWORD"==e.signResult)return g.Observable.throw(m.b.WRONG_SIGN_CODE);if("SIGN_OK"!=e.signResult)return g.Observable.throw(m.b.SIGNATURES_FAILED);return g.Observable.fromPromise(Object(b.c)(e.sigimg,"image/png")).map(function(e){return new f.k(S({},t,{signed:!0,imageURL:e}))})})},e.prototype.signBySMSToken=function(e,t,n,i,s,r,o,l){void 0===r&&(r=null),void 0===o&&(o=!1);var a=s.map(function(e){return e.toServer()}),u={login:t.signer,docid:e.id,sigid:t.id,sigPassword:n,methodid:f.f.SMSTOKEN,authType:l,acroFields:JSON.stringify(a)};return i&&(u.sigBioData=i),o&&(u.initials=!0),r&&(r.certificateId&&(u.certificateId=r.certificateId),r.certificatePassword&&(u.certificatePassword=r.certificatePassword)),this.post("REST/signDocument",u).flatMap(function(e){if("WRONG_PASSWORD"==e.signResult)return g.Observable.throw(m.b.WRONG_SIGN_CODE);if("SIGN_OK"!=e.signResult){return g.Observable.throw(null!=e.errorReason&&e.errorReason.length>0?e.errorReason:m.b.SIGNATURES_FAILED)}return g.Observable.fromPromise(Object(b.c)(e.sigimg,"image/png")).map(function(e){return new f.k(S({},t,{signed:!0,imageURL:e}))})})},e.prototype.signBiometrically=function(e,t,n,i,s,r){var o=i.map(function(e){return e.toServer()}),l={login:t.signer,docid:e.id,methodid:f.f.HANDWRITTEN,authType:I.d.BIOMETRIC,sigImgBase64:n.signatureImageBase64,acroFields:JSON.stringify(o),sigid:t.id,finalizeAutoExecute:r};return console.log(n),n.bioData&&(l.sigBioData=n.bioData),n.signerName&&(l.signerName=n.signerName),n.certificateId&&(l.certificateId=n.certificateId),n.certificatePassword&&(l.certificatePassword=n.certificatePassword),null!=this.user.email&&(l.docOwner=this.user.email),this.post("REST/signDocument",l).flatMap(function(e){if("SIGNATURE_IS_ALREADY_SIGNED"==e.signResult&&console.log("signDocument result: "+e.signResult),"SIGN_OK"!=e.signResult&&"SIGNATURE_IS_ALREADY_SIGNED"!=e.signResult){return g.Observable.throw(null!=e.errorReason&&e.errorReason.length>0?e.errorReason:m.b.SIGNATURES_FAILED)}return g.Observable.fromPromise(Object(b.c)(e.sigimg,"image/png")).map(function(e){var i={signed:!0,imageURL:e};t.inPerson&&n.signerName&&!s&&(i.signerName={first:n.signerName,last:null});return t.update(i)})})},e.prototype.downloadDocumentReport=function(e){var t=this;this.events.publish(m.c.POSITIVE,"DOWNLOAD_WILL_BEGIN_SHORTLY");var n=new p.j("POST",this.serverURL+"REST/downloadDocReport",l({docToken:e.token}),{reportProgress:!0}),i=this.http.request(n).let(function(e){return t.errorHandler(e,"REST/downloadDocReport")}).let(this.publishError);return g.Observable.create(function(e){var t=i.subscribe(function(t){switch(t.type){case p.f.DownloadProgress:r(e,t.loaded,t.total);break;case p.f.Response:!function(e,t){var n=t.body;"OK"!=n.result?(e.error(m.b.DOCUMENT_DOESNT_EXIST),e.complete()):(e.next({done:!1,progress:100}),setTimeout(function(){e.next({done:!0,progress:100,data:n.data}),e.complete()},1500))}(e,t)}},function(t){return e.error(t)});return function(){t.unsubscribe()}}).do(function(e){0},function(e){0})},e.prototype.downloadContract=function(e,t){return void 0===t&&(t=!1),this.downloadDocumentUniversal(e,"downloadContract",t)},e.prototype.downloadDocument=function(e,t){return void 0===t&&(t=!1),this.downloadDocumentUniversal(e.token,"downloadDoc",t)},e.prototype.downloadDocumentUniversal=function(e,t,n){var i=this;void 0===n&&(n=!1);var s={docToken:e,lock:!1,toFile:n};n&&this.events.publish(m.c.POSITIVE,"DOWNLOAD_WILL_BEGIN_SHORTLY");var o=new p.j("POST",this.serverURL+"REST/"+t,l(s),{reportProgress:!0}),a=this.http.request(o).let(function(e){return i.errorHandler(e,"REST/"+t)}).let(this.publishError);return g.Observable.create(function(e){var t=a.subscribe(function(t){switch(t.type){case p.f.DownloadProgress:r(e,t.loaded,t.total);break;case p.f.Response:!function(e,t){var n=t.body;"OK"!=n.downloadDocResult?(e.error(n.downloadDocResult),e.complete()):(e.next({done:!1,progress:100}),setTimeout(function(){e.next({done:!0,progress:100,data:n.docData}),e.complete()},1500))}(e,t)}},function(t){return e.error(t)});return function(){t.unsubscribe()}}).do(function(e){0},function(e){0})},e.prototype.uploadDocument=function(e,t){var n=this.serverURL+"REST/uploadDocument",i={documentName:e.name,docData:e.data},s=m.d.uploadDocument();return s.img=this.img.upload,this.upload(n,i,s)},e.prototype.uploadDocumentFree=function(e){return this.upload(this.serverURL+"FREE/uploadDocument",{documentName:e.name,docData:e.data,signAuthType:this.appConfig.loadSignatureAuthType})},e.prototype.uploadContract=function(e,t){var n={contractName:e,documents:[]};n.documents=t.map(function(e){return{name:e.name,data:e.data}});return m.d.uploadDocument().img=this.img.upload,this.post("REST/createContract",n).map(function(e){return e})},e.prototype.uploadTemplate=function(e,t){var n=this;return this.upload(this.serverURL+"REST/uploadTemplate",{name:e.name,data:e.data},m.d.uploadTemplate()).do(function(e){if(e.done){var i=f.o.TemplateFromServer(e.data.template);t.document=i,n.s.replaceUrl(i.name,"document/"+i.token)}})},e.prototype.searchUser=function(e,t){return void 0===e&&(e=""),void 0===t&&(t=0),this.post("REST/searchSigner","search="+e+"&count="+O+"&startIndex="+t*O).map(function(e){if("users"in e)return{users:e.users.map(function(e){return f.n.fromSearch(e)}),validEmail:!!e.validEmail&&e.validEmail};throw m.b.SEARCH})},e.prototype.notifyUnregisterUser=function(e){return this.post("REST/notifyUnregisterUser",{documentId:e.id}).map(function(e){if("result"in e&&"OK"==e.result)return!0;throw m.b.UNKNOWN})},e.prototype.documentFromTemplate=function(e,t){var n=this,i=e.signatures.map(function(e){return e.toServerTemplate()}),s=t.map(function(e){return e.toServer()}),r=this.post("REST/createDocumentFromTemplate",{templateId:e.id,name:e.name,signatures:i,acroFields:s}).map(function(e){if("OK"==e.createResult){var t=f.o.DocumentFromServer(e.document);n.s.replaceUrl(t.name,"document/"+t.token);return{document:t,acroFields:e.acroFields}}throw m.b.DOCUMENT_NOT_CREATED});return this.notificationHandler(r,m.d.documentFromTemplate())},e.prototype.templateFromDocument=function(e,t){var n=this,i=t.map(function(e){return e.toServer()}),s=this.post("REST/createTemplateFromDocument",{documentId:e.id,acroFields:i,name:e.name}).map(function(t){if("OK"==t.result){var i=f.o.TemplateFromServer(t.template);return n.s.replaceUrl(e.name,"document/"+i.token),i}throw m.b.TEMPLATES_NOT_DELETED});return this.notificationHandler(s,m.d.templateFromDocument())},e.prototype.saveTemplate=function(e,t){var n=e.signatures.map(function(e){return e.toServerTemplate()}),i=this.post("REST/saveTemplate",{id:e.id,signatures:n,acroFields:t});return this.basicBooleanRequest(i,function(e){return"result"in e&&"OK"==e.result},m.d.saveTemplate())},e.prototype.saveDocument=function(e,t,n){var i=n.map(function(e){return e.toServer()}),s={docId:e.id,name:e.name,acroFields:i};return t&&(s.signatures={signatures:t.map(function(e){return e.toServer()})}),this.post("REST/saveSignatures",s).map(function(e){if("saveResult"in e&&"OK"==e.saveResult)return e.signatures?e.signatures.map(function(e){return f.k.fromDocument(e)}):[];throw"saveResult"in e&&"ERROR_WRONG_STATE"==e.saveResult?m.b.WRONG_DOC_STATE:m.b.SAVE_FAILED})},e.prototype.requestSignatures=function(e,t){var n=this,i=a(e),s={};t&&(s.notificationChannel=t.toUpperCase()),e.isContract?s.conid=e.id:s.docid=i;return this.post("REST/createSignRequest",s).map(function(e){if("createRequest"in e&&"OK"==e.createRequest)return n.storage.subscribe=n.storage.subscribe.update({docs:e.remainingDocs}),!0;throw m.b.SIGNATURES_NOT_REQUESTED})},e.prototype.createResetToken=function(e){var t=this.post("createResetPasswordToken",{login:e},{skipAuth:!0});return this.basicBooleanRequest(t,function(e){return"createResetTokenResult"in e&&"OK"==e.createResetTokenResult},m.d.createResetPasswordToken())},e.prototype.resetPassword=function(e,t,n){var i=this.post("resetPassword",{login:e,password:t,token:n},{skipAuth:!0}).map(function(e){if("OK"==e.resetResult)return!0;throw e.resetResult==m.b.TOKEN_EXPIRED||e.resetResult==m.b.TOKEN_NOT_MATCH?e.resetResult:"USER_NOT_FOUND"==e.resetResult?m.b.USER_NOT_FOUND:m.b.CANNOT_RESET_PASSWORD});return this.notificationHandler(i,m.d.resetPassword())},e.prototype.changePassword=function(e,t){var n=this.post("REST/changePassword",{oldPassword:e,newPassword:t});return this.basicBooleanRequest(n,function(e){return"changeResult"in e&&"OK"==e.changeResult},m.d.changePassword())},e.prototype.sendByEmail=function(e,t,n){var i=u(e),s=this.post("REST/sendDocEmail",{doctokens:i,email:t,phone:n});return this.basicBooleanRequest(s,function(e){return"sendEmailResult"in e&&"SENT"==e.sendEmailResult},m.d.sendByEmail())},e.prototype.deleteTemplates=function(e){var t=a(e),n="templateId="+JSON.stringify(t),i=this.post("REST/deleteTemplate",n);return this.basicBooleanRequest(i,function(e){return"deleteResult"in e&&"DELETED"==e.deleteResult},m.d.deleteTemplates())},e.prototype.deleteDocuments=function(e){var t=u(e),n="docTokens="+JSON.stringify(t),i=this.post("REST/deleteDocument",n);return this.basicBooleanRequest(i,function(e){return"deleteResult"in e&&"DELETED"==e.deleteResult},m.d.deleteDocuments())},e.prototype.getDocumentByLink=function(e,t){var n=this;if(!e)return g.Observable.throw("WRONG_HASH");var i;return i=t?"docLink="+e+"&password="+t:"docLink="+e,this.http.post(this.serverURL+"openDocLink",i).let(function(e){return n.errorHandler(e,"openDocLink")}).map(function(e){if("openDocLinkResult"in e&&"OK"==e.openDocLinkResult)return n.s.directLinkCloseData={closeApp:e.closeApp,redir:e.redir,redirURL:e.redirURL,finalizeImplResult:null,finalizeImplDesc:null,finalizeResult:null},function(e){return{document:f.o.DocumentFromServer(e.docObject),closeApp:e.closeApp,redirect:e.redir,redirectURL:e.redirURL,user:e.user,settings:e.settings,signature:e.signature?e.signature:null}}(e);throw"openDocLinkResult"in e?e.openDocLinkResult:m.b.WRONG_HASH}).let(this.publishError)},e.prototype.getDocumentByToken=function(e){return this.post("REST/getDocumentByToken","doctoken="+e).map(function(e){if("OK"==e.getDocResult)return f.o.DocumentByToken(e);throw"DOC_USER_ERROR"==e.getDocResult?m.b.WRONG_USER:m.b.WRONG_TOKEN})},e.prototype.getContractByToken=function(e){return this.post("REST/getContractByToken","token="+e).map(function(e){if("OK"==e.getDocResult)return f.o.DocumentFromServer(e.docObject);throw m.b.WRONG_TOKEN})},e.prototype.convertContract=function(e,t){var n=this.post("REST/convertContract",{templContractId:e,docName:t}).map(function(e){if("OK"==e.result)return e.token;throw m.b.UNKNOWN_SERVER_ERROR});return this.notificationHandler(n,m.d.createContract())},e.prototype.getTemplateByToken=function(e){return this.post("REST/getTemplateByToken","templatetoken="+e).map(function(e){if("template"in e)return f.o.TemplateFromServer(e.template);throw m.b.WRONG_TOKEN})},e.prototype.checkContact=function(e){return this.post("REST/checkContact","firstname="+e.firstName+"&secondname="+e.lastName+"&email="+e.email)},e.prototype.addContact=function(e){return this.post("REST/addContact",{firstname:e.firstName,secondname:e.lastName,email:e.email,register:!e.unregistered,phone:e.phone}).map(function(e){if("ADD_OK"==e.result)return!0;throw"EMAIL_DOMAIN_INVALID"==e.result?m.b.EMAIL_DOMAIN_INVALID:"MAX_USER_COUNT"===e.result?m.b.MAX_USER_COUNT:"ERROR_LOGIN_EXIST"===e.result?m.b.USERNAME_TAKEN:m.b.USER_NOT_CREATED})},e.prototype.deleteContact=function(e){return this.post("REST/deleteContact","contactlogin="+e.email).map(function(e){if("OK"==e.result)return!0;throw m.b.UNKNOWN})},e.prototype.getSubs=function(){return this.post("REST/getSubs","").map(function(e){if("subsType"in e){return{subscribe:f.l.fromServer(e),payments:function(e){return e.map(function(e){return f.i.fromServer(e)})}(e.payments),tiers:e.tiers}}throw m.b.WRONG_CREDENTIALS}).do(this.storage.handleGetSubs.bind(this.storage))},e.prototype.cancelPlan=function(e,t){return void 0===e&&(e=null),void 0===t&&(t=!1),this.post("REST/cancelPlan",{type:e,undo:t}).map(function(e){if("OK"==e.result)return e;throw m.b.UNKNOWN})},e.prototype.changeCard=function(e){var t={};return t.cardInfo=e,this.post("REST/changeCard",t).map(function(e){if("OK"==e.result)return e;throw m.b.UNKNOWN})},e.prototype.createPayment=function(e){return this.post("REST/createPayment",e).map(function(e){if("OK"==e.result)return e;throw m.b.UNKNOWN})},e.prototype.upgradePlan=function(e){var t={};return t.type=e,this.post("REST/upgradePlan",t).map(function(e){if("OK"==e.result)return e;throw m.b.UNKNOWN})},e.prototype.processInApp=function(e){return this.post("REST/processInApp","productId="+e.productId+"\n &receipt="+e.receipt+"\n &provider="+e.provider+"\n ¤cy="+e.currency+"\n &ammount="+e.ammount+"\n &type="+e.type+"\n &docCount="+e.docCount+"\n &transactionId="+e.transactionId+"\n ").map(function(e){return e})},e.prototype.validateFields=function(e){var t="fields="+JSON.stringify(e);return this.post("REST/validateFields",t).map(function(e){return e})},e.prototype.finalizeDocument=function(e,t,n,i){var s=this;void 0===i&&(i=!1);var r;r=e.isContract?{contractId:e.id,contractToken:e.token}:{docId:e.id,doctoken:e.token},t&&(r.callback=t.trim()),r.finalizeWebhookUrl=t,r.finalizeEnablePlugin=n,r.cancel=i;var o=m.d.finalizeDocument();return i||this.events.publish(m.c.ADD,o),this.post("REST/finalizeDocument",r).catch(function(e){return s.events.publish(m.c.REMOVE,o),s.events.publish(m.c.ERROR,o),e}).map(function(e){return s.events.publish(m.c.REMOVE,o),"ERROR"==e.finalizeImplResult||"OK"!=e.finalizeResult&&"SUCCESS"!=e.finalizeResult?(o.error=s.t.instant("DOCUMENT_NOT_FINALIZED")+" : "+e.finalizeImplDesc,s.events.publish(m.c.ERROR,o)):i||s.events.publish(m.c.SUCCESS,o),e})},e.prototype.sendAndDelete=function(e,t){var n=this,i={docId:e.id,doctoken:e.token,targets:JSON.stringify(t)},s=m.d.send();return this.events.publish(m.c.ADD,s),this.post("REST/sendAndDelete",i).catch(function(e){return n.events.publish(m.c.REMOVE,s),n.events.publish(m.c.ERROR,s),e}).map(function(e){return n.events.publish(m.c.REMOVE,s),"OK"!=e.result&&(s.error=n.t.instant("DOCUMENT_NOT_SENT")+" : "+n.t.instant(e.result),n.events.publish(m.c.ERROR,s)),e})},e.prototype.cancelDocument=function(e,t){var n={};return n.docId=e.id,n.doctoken=e.token,n.finalizeWebhookUrl=t,this.post("REST/cancelDocument",n).catch(function(e){return e})},e.prototype.renameDocument=function(e){var t=this.post("REST/renameDocument",e);return this.basicBooleanRequest(t,function(e){return"uploadResult"in e&&"SUCCESS"==e.uploadResult},m.d.renameDocuments())},e.prototype.getPaymentSessionToken=function(){return this.post("REST/getPaymentSessionToken","").map(function(e){return"OK"==e.result?e.token:m.b.UNKNOWN})},e.prototype.revokeSignature=function(e,t,n){var i=this.post("REST/revokeSignature",{sigid:e,docid:t,doctoken:n});return this.basicBooleanRequest(i,function(e){return"error"in e==0&&"OK"===e.result},m.d.revokeSignature())},e.prototype.basicBooleanRequest=function(e,t,n){var i=e.map(function(e){if(t(e))return!0;throw n.error});return this.notificationHandler(i,n)},e.prototype.notificationHandler=function(e,t){var n=this;return g.Observable.defer(function(){return n.events.publish(m.c.ADD,t),e.do(function(){n.events.publish(m.c.REMOVE,t),n.events.publish(m.c.SUCCESS,t)},function(e){"string"==typeof e?(t.error=e,n.events.publish(m.c.REMOVE,t),n.events.publish(m.c.ERROR,t)):n.events.publish(m.c.REMOVE,t)})})},e.prototype.verifyToken=function(){return this.post("REST/verifyToken","")},e.prototype.lastPurchase=function(){return this.post("REST/lastPurchase","").map(function(e){return e})},e.prototype.saveBillingInfo=function(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(n+"="+encodeURIComponent(e[n]?e[n]:""));var i=this.post("REST/saveBillingInfo",t.join("&"));return this.notificationHandler(i,m.d.updateUser())},e.prototype.upload=function(e,t,n){var i=this;return g.Observable.create(function(s){var o="object"==typeof t?l(t):t,a=new p.j("POST",e,o,{reportProgress:!0}),u=i.http.request(a).let(function(e){return i.errorHandler(e,"url")}).let(i.publishError);n&&i.events.publish(m.c.ADD,n);var c=u.subscribe(function(e){switch(e.type){case p.f.UploadProgress:r(s,e.loaded,e.total);break;case p.f.Response:!function(e,t){var n=t.body;"OK"!=n.uploadResult?(e.error(m.b.UPLOAD_FAILED),e.complete()):(e.next({done:!1,progress:100}),setTimeout(function(){e.next({done:!0,progress:100,data:n}),e.complete()},1500))}(s,e)}},function(e){return s.error(e)}),h={path:e,body:t,observer:s,subscription:c};return i.queue.push(h),i.queueAsync.next(i.queue),function(){n&&i.events.publish(m.c.REMOVE,n),i.queue=i.queue.remove(h),i.queueAsync.next(i.queue),c.unsubscribe()}}).do(function(e){e.done&&n&&i.events.publish(m.c.SUCCESS,n)},function(e){console.log(e),n&&("string"==typeof e&&(n.error=e),i.events.publish(m.c.ERROR,n))})},e.prototype.isTrialEnabled=function(){var e=this;return this.http.post(this.serverURL+"isTrialEnabled","").let(function(t){return e.errorHandler(t,"isTrialEnabled")}).map(function(t){return e.storage.isTrialEnabled="true"===t.trialEnabled,t.trialEnabled}).let(this.publishError)},e.prototype.activateTrial=function(){return this.post("REST/activateTrial","").do(this.storage.handleTrial.bind(this.storage))},e.prototype.getSignatureDesign=function(e){return this.post("REST/getSignatureDesign",{type:e}).map(function(e){return e})},e.prototype.saveSignatureDesign=function(e){return this.post("REST/saveSignatureDesign",e).map(function(e){return e})},e.prototype.getSignaturePreview=function(e){return this.post("REST/getSignaturePreview",e).map(function(e){return e})},e.prototype.updateSignature=function(e){return this.post("REST/updateSignature",{sigid:e.id,sigemail:e.signerEmail,sigphone:e.signerPhone,sigfirstname:e.signerName?e.signerName.first:void 0,sigsecondname:e.signerName?e.signerName.last:void 0}).map(function(e){return e})},e.prototype.generateVerificationToken=function(e){return this.post("/REST/generateSignaturePassword",{sigid:e.id,sendmethod:"EMAIL"}).map(function(e){return"result"in e&&"OK"==e.result})},e.prototype.getServerConfig=function(e){return this.http.post(this.serverURL+"appConfig",l(e))},e.prototype.sendPrerequisites=function(e){var t=this.post("REST/preSendDocuments",e).map(function(e){if("OK"==e.result)return e;throw m.b.UNKNOWN_SERVER_ERROR});return this.notificationHandler(t,m.d.send())},e.prototype.devPlanTimeMachine=function(e){var t={};return e&&(t.webhook=e),this.post("REST/devPlanTimeMachine",t).map(function(e){return"result"in e&&"OK"==e.result})},e.prototype.validateFormData=function(e,t){var n=this.post("REST/validateFormData",{formData:e,doctoken:t}).map(function(e){if("OK"==e.result)return e;throw m.b.UNKNOWN});return this.notificationHandler(n,m.d.validateFormData())},e.prototype.deleteLastSignature=function(e){return this.post("REST/deleteLastSignature",{docToken:e}).map(function(e){if("OK"===e.result)return e.deleted;throw e.result})},e.prototype.post=function(e,t,n){var i=this,s=void 0===n?{}:n,r=s.ignoreDuplicates,o=void 0!==r&&r,a=s.skipAuth,u=void 0!==a&&a,c="object"==typeof t?l(t):t;return this.storage.ready().flatMap(function(){if(!o){var t=i.tapIntoRunning(e,c);if(t)return t.let(function(t){return i.errorHandler(t,e)})}return i.enqueueRequest(e,c,u).let(function(t){return i.errorHandler(t,e)}).let(i.publishError)})},e.prototype.enqueueRequest=function(e,t,n){var i=this;return g.Observable.create(function(s){if(i.offline&&s.error(m.b.NO_CONNECTION),i.token||n||s.error(m.b.AUTH_MISSING),!s.closed){var r={path:e,body:t,observer:s},l=function(){i.queue=i.queue.remove(r),i.queueAsync.next(i.queue)};i.queue.push(r),i.queueAsync.next(i.queue);var a=o(i.serverURL),u=i.http.post(""+a+e,t).do(l,l,l).subscribe(s).add(l);return function(){return u.unsubscribe()}}})},e.prototype.tapIntoRunning=function(e,t){var n=this.queue.find(function(n){return n.body==t&&n.path==e});return n&&n.observer&&!n.observer.closed?(console.warn("This request is already being dealt with",n),g.Observable.create(function(e){var t=n.observer.complete,i=n.observer.next,s=n.observer.error;n.observer.complete=function(){t.bind(n.observer)(),e.complete()},n.observer.next=function(t){i.bind(n.observer)(t),e.next(t)},n.observer.error=function(t){s.bind(n.observer)(t),e.error(t)}})):null},e.prototype.verifyPassword=function(e){var t=this;return this.post("REST/fingerprintPassword",{password:e}).let(function(e){return t.errorHandler(e,"REST/fingerprintPassword")}).map(function(e){if("PASS_OK"===e.result)return!0;throw m.b.WRONG_PASSWORD}).let(this.publishError)},e.prototype.createDocLinkforQR=function(e,t,n){var i={showMenuBar:"off",showNavigationBar:!1,doctoken:t,signatureId:e,showEmailsInSig:!0,validOnce:!0,validTo:w().add(30,"m").toDate().getTime(),finalizeType:"none",finalizeAutoExecute:"off",language:this.t.currentLang,showPREasySignMode:n};return this.post("REST/createDocLink",i).map(function(e){if("OK"==e.createDocLinkResult)return e.link;throw m.b.UNKNOWN_SERVER_ERROR})},e.prototype.createDocLinkFree=function(e){var t=this;return this.errorHandler(g.Observable.defer(function(){var n=new URLSearchParams;return n.append("doctoken",e),n.append("language",t.t.currentLang),n.append("showPRFinalize","false"),t.post("FREE/createDocLink",n.toString(),{skipAuth:!0})}),"FREE/createDocLink")},e.prototype.generateMessage=function(e){return this.post("REST/generateMessage",e).map(function(e){if("OK"==e.result)return!0;throw m.b.UNKNOWN_SERVER_ERROR})},e.prototype.catchError=function(e){return this.post("REST/catchError",{error:e})},e=Object(c.__decorate)([Object(c.__param)(7,Object(d.Inject)(Object(d.forwardRef)(function(){return y.a})))],e)}()},150:function(e,t,n){"use strict";function i(e,t){return("function"==typeof Worker?function(e,t){performance.now();var n="\n var sliceSize = 1024;\n var byteCharacters = atob('"+(Array.isArray(e)?e[0]:e)+"');\n var bytesLength = byteCharacters.length;\n var slicesCount = Math.ceil(bytesLength / sliceSize);\n var byteArrays = new Array(slicesCount);\n\n for (var sliceIndex = 0; sliceIndex < slicesCount; ++sliceIndex) {\n var begin = sliceIndex * sliceSize;\n var end = Math.min(begin + sliceSize, bytesLength);\n\n var bytes = new Array(end - begin);\n for (var offset = begin, i = 0 ; offset < end; ++i, ++offset) {\n bytes[i] = byteCharacters[offset].charCodeAt(0);\n }\n byteArrays[sliceIndex] = new Uint8Array(bytes);\n }\n postMessage(byteArrays);\n ";return new Promise(function(e,t){var i=new Blob([n],{type:"text/javascript"}),s=URL.createObjectURL(i),r=new Worker(s);r.onmessage=function(t){r.terminate(),URL.revokeObjectURL(s),e(t.data)},r.onerror=function(e){r.terminate(),URL.revokeObjectURL(s),t(e.error)}})}(e):function(e,t){return new Promise(function(t){for(var n=atob(Array.isArray(e)?e[0]:e),i=n.length,s=Math.ceil(i/1024),r=new Array(s),o=0;o0&&this.s.headerHeight.next(t)}window.onresize=function(t){e.ngZone.run(function(){var t=e.el.nativeElement.clientHeight;e.s.headerHeight.value!=t&&null!=t&&t>0&&e.s.headerHeight.next(t)})}},e}()},162:function(e,t,n){"use strict";n.d(t,"a",function(){return u});var i=n(0),s=(n(118),n(24)),r=(n.n(s),n(290),n(1)),o=(n(170),n(351),n(92),n(70),n(6),n(171),n(32)),l=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))(function(s,r){function o(e){try{a(i.next(e))}catch(e){r(e)}}function l(e){try{a(i.throw(e))}catch(e){r(e)}}function a(e){e.done?s(e.value):new n(function(t){t(e.value)}).then(o,l)}a((i=i.apply(e,t||[])).next())})},a=this&&this.__generator||function(e,t){function n(n){return function(o){return function(n){if(i)throw new TypeError("Generator is already executing.");for(;l;)try{if(i=1,s&&(r=s[2&n[0]?"return":n[0]?"throw":"next"])&&!(r=r.call(s,n[1])).done)return r;switch(s=0,r&&(n=[0,r.value]),n[0]){case 0:case 1:r=n;break;case 4:return l.label++,{value:n[1],done:!1};case 5:l.label++,s=n[1],n=[0];continue;case 7:n=l.ops.pop(),l.trys.pop();continue;default:if(r=l.trys,!(r=r.length>0&&r[r.length-1])&&(6===n[0]||2===n[0])){l=0;continue}if(3===n[0]&&(!r||n[1]>r[0]&&n[1]=0)return t=null,void(i=!0);t=t.parentElement,--n<=0&&(t=null)}i||this.documentView.activateElement(null)}},t.prototype.pageZoom=function(e){return this.type===n.SCROLL?this.scroll.zoom:this.carousel.itemZoom(e)},t.prototype.getRealZoom=function(){return this.type===n.SCROLL?this.scroll.zoom:this.carousel.currentZoom},t.prototype.realItemDimensions=function(e){var t,i,s=this.state.itemDimensions,r=this.browsable.pages[e].ratio;return s.height/s.widthn||r&&n>e||n===e)}).take(1)}).do(function(){return e._isOrientationChange=!0}).subscribe(function(){return e.onOrientationChange()});s.Observable.fromEvent(window,"resize").filter(function(){return!e._isKeyboard&&(!e._isOrientationChange||(e._isOrientationChange=!1))}).debounceTime(300).takeWhile(function(){return!e._destroyed}).filter(function(){return!e._isKeyboard&&(!e._isOrientationChange||(e._isOrientationChange=!1))}).subscribe(function(){return e.onResize()}),this.s.is.cordova&&this.keyboard.onKeyboardWillHide().merge(this.keyboard.onKeyboardWillShow()).takeWhile(function(){return!e._destroyed}).map(function(t){if("keyboardWillShow"==t.type){var i=e.documentView.getPageSize(t.keyboardHeight);e.onKeyboardChange(i.height,t.keyboardHeight)}else e.onKeyboardChange(0,0);var s="keyboardWillShow"==t.type?t.keyboardHeight:0,r=e.documentView.fullScreen.getValue();if(s-=r.bottomMenuActive&&!r.fullScreen?49:0,e.type==n.CAROUSEL)if(s>0&&e.getFocusedEl()){var o=e.getFocusedEl().getBoundingClientRect(),l=(u=e.carousel.currentItem.element.nativeElement.querySelector("document-page")).getBoundingClientRect(),a=o.top+o.height+10-(e.carousel.screenSize.height-s-l.top);a<0&&(a=0),e.getRealZoom()<=1&&(e.renderer.setStyle(u,"margin-top",s+"px"),e.renderer.setStyle(u,"bottom",a+"px")),e.renderer.setStyle(e.elementRef.nativeElement,"bottom",s+"px")}else{e.renderer.removeStyle(e.elementRef.nativeElement,"bottom");var u=e.carousel.currentItem.element.nativeElement.querySelector("document-page");e.renderer.removeStyle(u,"margin-top"),e.renderer.removeStyle(u,"bottom")}else s>0?e.renderer.setStyle(e.elementRef.nativeElement,"bottom",s+"px"):e.renderer.removeStyle(e.elementRef.nativeElement,"bottom")}).do(function(){return e._isKeyboard=!0}).delay(400).subscribe(function(){return e._isKeyboard=!1}),this.doingSomething.takeWhile(function(){return!e._destroyed}).subscribe(function(){e._lastDoingSomethingTime=(new Date).getTime(),null!==e._lastClick&&(clearTimeout(e._lastClick),e._lastClick=null)})},t.prototype.getFocusedEl=function(){return this.elementRef.nativeElement.querySelector("input:focus, textarea:focus")},t.prototype.trackById=function(e,t){return e},t.prototype.onPageClick=function(e,t){var n=this;if(null!==this._lastClick)return clearTimeout(this._lastClick),void(this._lastClick=null);if(!((new Date).getTime()-this._lastDoingSomethingTime<200)){var i=this.childPages.toArray().find(function(e){return e.page.index===t.index}).element.nativeElement.getBoundingClientRect(),s={x:(e.clientX-i.left)/i.width,y:(e.clientY-i.top)/i.height,index:t.index};this._lastClick=setTimeout(function(){n._lastClick=null,n.pageClick.emit(s)},300)}},t.SCROLL=0,t.CAROUSEL=1,t;var n}(o.a)},163:function(e,t,n){"use strict";function i(e){return s["ɵvid"](2,[(e()(),s["ɵted"](-1,null,["\n\t"])),(e()(),s["ɵeld"](1,0,null,null,10,"div",[["class","loading-background"]],[[2,"transparent",null]],null,null,null,null)),(e()(),s["ɵted"](-1,null,["\n\t\t"])),(e()(),s["ɵeld"](3,0,null,null,7,"div",[["class","loading-box"]],[[2,"center",null]],null,null,null,null)),(e()(),s["ɵted"](-1,null,["\n\t\t\t"])),(e()(),s["ɵeld"](5,0,null,null,1,"ion-spinner",[["name","crescent"]],[[2,"spinner-paused",null]],null,null,r.b,r.a)),s["ɵdid"](6,114688,null,0,o.a,[l.a,s.ElementRef,s.Renderer],{name:[0,"name"]},null),(e()(),s["ɵted"](-1,null,["\n\t\t\t"])),(e()(),s["ɵeld"](8,0,null,null,1,"div",[["class","loading-content"]],null,null,null,null,null)),(e()(),s["ɵted"](9,null,["",""])),(e()(),s["ɵted"](-1,null,["\n\t\t"])),(e()(),s["ɵted"](-1,null,["\n\t"])),(e()(),s["ɵted"](-1,null,["\n\t"]))],function(e,t){e(t,6,0,"crescent")},function(e,t){var n=t.component;e(t,1,0,n.transparent);e(t,3,0,"center"===n.textPosition);e(t,5,0,s["ɵnov"](t,6)._paused);e(t,9,0,n.message)})}n.d(t,"a",function(){return a}),t.b=i;var s=n(1),r=n(128),o=n(94),l=n(4),a=s["ɵcrt"]({encapsulation:2,styles:[],data:{}})},165:function(e,t,n){"use strict";n.d(t,"a",function(){return S});var i=n(0),s=n(1),r=(n(6),n(22),n(230)),o=n(368),l=(n.n(o),n(241)),a=(n.n(l),n(728)),u=(n.n(a),n(729)),c=(n.n(u),n(730)),h=(n.n(c),n(731)),d=(n.n(h),n(732)),p=(n.n(d),n(733)),g=(n.n(p),n(50)),f=n(20),m=n(32),b=n(84),v=n(14),y=n(43),E=this&&this.__assign||Object.assign||function(e){for(var t,n=1,i=arguments.length;n0&&r[r.length-1])&&(6===n[0]||2===n[0])){l=0;continue}if(3===n[0]&&(!r||n[1]>r[0]&&n[1]0&&o[0].length>0?l="/"+o[0]+"/":o.length>1&&o[1].length>0&&(l="/"+o[1]+"/"),s.pathname="";var a=new URL(l,s.toString());r=(a=new URL(t,a.toString())).toString()}"/"!=r.charAt(r.length-1)&&(r+="/"),console.log("Endpoint url:"+r);var u=this.params.documentId;this.storage.serverURL=r;var c=new i.o({id:u,name:"",bytes:0,date:new Date,state:i.e.WAITING,token:"",owner:"DETACHED_DOCUMENT",permit:{save:!0},firstName:"",secondName:"",signatures:[],ownerType:1,contract:null});c.params={token:""};return this.storage.user=i.n.temporary(c),{document:c,token:"",settings:{showNavigationBar:!1,showMenuBar:"auto",showEmailsInSig:!1,showPRDownload:!1,showPREmail:!1,showPRDone:!0,showPRFinalize:!1,showPRSignatures:!0,showPRBack:!1,showPRView:!0,language:"cs"}}},e.prototype.processMetadata=function(e,t){var n=this;this.notification={label:"SEARCHING_SIGNPAD",success:"SIGNPAD_CONNECTED",error:null,color:u.a.NEUTRAL},this.events.publish(s.c.ADD,this.notification),e.device&&e.device.connected?this.validateSignpad(t,e.device):e.signpadInitialized.subscribe(function(e){n.validateSignpad(t,e)},function(e){n.params.testServerIntegration&&"SIGNPAD_NOT_FOUND"==e?n.validateSignpad(t,n.fakeDevice):(console.error("signpad or driver is not connected"),n.closeDocument({event:"error",detail:"invalidSignpad"},n.alerts.signpadNotConnect))})},e.prototype.downloadFile=function(e,t,n){var i=new Blob([e],{type:n});if(window.navigator.msSaveOrOpenBlob)window.navigator.msSaveOrOpenBlob(i,t);else{var s=document.createElement("a"),r=URL.createObjectURL(i);s.href=r,s.download=t,document.body.appendChild(s),s.click(),setTimeout(function(){document.body.removeChild(s),window.URL.revokeObjectURL(r)},0)}},e.prototype.closeDocument=function(e,t){var n=this;clearTimeout(this.timer),this.timeout=!0;var i=e.event;console.error(i,t),null!=this.notification&&this.events.publish(s.c.REMOVE,this.notification);var r=function(){window.parent.postMessage(e,"*");var t=n.app.getActiveNavs();t?t[0].setRoot(s.a.ERROR):console.error("Missing nav")};"documentClosed"!=i?this.ui.alertError2(t,!1).subscribe(r):r()},e.prototype.validateSignpad=function(e,t){var n=this,i={signPadId:t.serial,keyHash:t.keyHash,timestamp:(new Date).getTime()};this.validatedDevice={serial:t.serial,keyHash:t.keyHash};var s=(new o.h).set("mode","NON");this.http.get(this.storage.serverURL+"isValidSignpad?"+Object(l.i)(i),{headers:s}).subscribe(function(i){var s=i.Code;if(0!=s)return console.error("Invalid code "+s+" API isValidSignpad"),n.closeDocument({event:"error",detail:"invalidSignpadCode"},n.alerts.invalidSignpad(t.serial));console.log("Getting validateSignpad"),console.log(i),n.getMetadata(e,t)},function(e){return console.error("Server returned status "+e.status+" calling API isValidSignpad"),n.closeDocument({event:"error",detail:"invalidSignpadError"},n.alerts.initFiled)})},e.prototype.getMetadata=function(e,t){var n=this;null!=this.notification&&this.events.publish(s.c.REMOVE,this.notification);var r={docId:e.params.document.id,signpadId:t.serial,keyHash:t.keyHash,timestamp:(new Date).getTime()};this.params.mode&&(r.mode=this.params.mode),console.log("processMetadataa");var a=(new o.h).set("mode","NON"),u=null;this.http.get(this.storage.serverURL+"GetDocumentMetadata?"+Object(l.i)(r),{headers:a}).map(function(e){console.log("Getting metadata");var t=e.Result.Code;if(0!=t)throw console.error("Invalid code "+t+" API GetDocumentMetadata"),"DOCUMENT_METADATA_CODE";e&&(u=e)}).flatMap(function(){var t={documentId:e.params.document.id,token:u.Token,timestamp:(new Date).getTime()};return n.http.get(n.storage.serverURL+"DownloadCompleted?"+Object(l.i)(t),{headers:a})}).map(function(e){console.log("Getting DownloadCompleted");var t=e.Code;if(0!=t)throw console.error("Invalid code "+t+" API DownloadCompleted"),"DOWNLOAD_COMPLETED_CODE";return u}).subscribe(function(t){if(t){console.log(t);for(var n=void 0!==t.ActiveGrouping&&null!==t.ActiveGrouping?t.ActiveGrouping:null,s=[],r=0,o=t.Signatures;r0&&(d.level!=s[h-1].level||d.grouping!=s[h-1].grouping||d.sequence!=s[h-1].sequence)&&a++,s[h].canSign=p,s[h].order=p?a:-1,l[s[h].id]=s[h]}for(var g=[],f=0,m=t.Signatures;ft+this._viewport._dimensions.container.height-this._itemSize*u?n:u,!e&&a>-1&&athis.maxZoom?this.maxZoom:eo&&(i.x+=(s-o)/this._shift.old.scale/2),r>l&&(i.y+=(r-l)/this._shift.old.scale/2),i.x=Math.min(i.x,t.x),i.y=Math.min(i.y,t.y),i},e.prototype._relativeToContent=function(e){var t=this._dimensions.container,n=e.x-t.x,i=e.y-t.y;return n=Math.max(n,0)&&Math.min(n,t.width),i=Math.max(i,0)&&Math.min(i,t.height),{x:n,y:i}},e.prototype._freeze=function(){console.log("freeze");var e=this._shift.current,t={x:0,y:0,scale:e.scale},n=this._dimensions.scroll;if(0!=e.x||0!=e.y){var i={x:n.x-e.x,y:n.y-e.y};this._scrollStrategy.resizeItemSize(this._itemSize),this._applyZoom(t),this.elementRef.nativeElement.scrollLeft=i.x,this.scrollToOffset(i.y)}},e.prototype.attach=function(e){var t=this;if(this._forOf)throw Error("CdkVirtualScrollViewport is already attached.");this._ngZone.runOutsideAngular(function(){t._forOf=e,t._forOf.dataStream.takeUntil(t._detachedSubject).subscribe(function(e){var n=e.length;n!==t._dataLength&&(t._dataLength=n,t._scrollStrategy.onDataLengthChanged())})})},e.prototype.detach=function(){this._forOf=null,this._detachedSubject.next()},e.prototype.getDataLength=function(){return this._dataLength},e.prototype.getViewportSize=function(){return this._viewportSize},e.prototype.getRenderedRange=function(){return this._renderedRange},e.prototype.setTotalContentSize=function(e){this._totalContentSize!==e&&(this._totalContentSize=e,this._dimensions.scroll.height=e,this._markChangeDetectionNeeded())},e.prototype.setRenderedRange=function(e){var t=this;(function(e,t){return e.start==t.start&&e.end==t.end})(this._renderedRange,e)||(this._renderedRangeSubject.next(this._renderedRange=e),this._markChangeDetectionNeeded(function(){return t._scrollStrategy.onContentRendered()}))},e.prototype.getOffsetToRenderedContentStart=function(){return this._renderedContentOffsetNeedsRewrite?null:this._renderedContentOffset},e.prototype.setRenderedContentOffset=function(e,t){var n=this;void 0===t&&(t="to-start");var i="horizontal"===this.orientation?"X":"Y",s="translate"+i+"("+Number(e)+"px)";this._renderedContentOffset=e,"to-end"===t&&(s+=" translate"+i+"(-100%)",this._renderedContentOffsetNeedsRewrite=!0),this._rawRenderedContentTransform!=s&&(this._rawRenderedContentTransform=s,this._renderedContentTransform=this._sanitizer.bypassSecurityTrustStyle(s),this._markChangeDetectionNeeded(function(){n._renderedContentOffsetNeedsRewrite?(n._renderedContentOffset-=n.measureRenderedContentSize(),n._renderedContentOffsetNeedsRewrite=!1,n.setRenderedContentOffset(n._renderedContentOffset)):n._scrollStrategy.onRenderedOffsetChanged()}))},e.prototype.scrollToOffset=function(e,t){void 0===t&&(t="auto");var n=this.elementRef.nativeElement;if(!(document&&document.documentElement&&document.documentElement.style&&"scrollBehavior"in document.documentElement.style))"horizontal"===this.orientation?n.scrollLeft=e:n.scrollTop=e;else{n.scrollTo((i={},i["horizontal"===this.orientation?"left":"top"]=e,i.behavior=t,i))}var i},e.prototype.scrollToIndex=function(e,t){void 0===t&&(t="auto"),this._scrollStrategy.scrollToIndex(e,t)},e.prototype.scrollToElement=function(e,t){var n=e.getBoundingClientRect();this.elementRef.nativeElement.getBoundingClientRect();this.scrollToOffset(this._dimensions.scroll.y+(n.top>t?n.top-t:0)-5)},e.prototype.setScrollOffset=function(e){this._pendingScrollOffset=e,this._markChangeDetectionNeeded()},e.prototype.measureScrollOffset=function(){var e=this.elementRef.nativeElement;return this._dimensions.scroll.x=e.scrollLeft,this._dimensions.scroll.y=e.scrollTop,"horizontal"===this.orientation?this._dimensions.scroll.x:this._dimensions.scroll.y},e.prototype.measureRenderedContentSize=function(){var e=this._contentWrapper.nativeElement;return"horizontal"===this.orientation?e.offsetWidth:e.offsetHeight},e.prototype.measureRangeSize=function(e){return this._forOf?this._forOf.measureRangeSize(e,this.orientation):0},e.prototype.checkViewportSize=function(){var e=this,t=this.currentIndex;this._measureViewportSize()&&(this._scrollStrategy.onDataLengthChanged(),this._scrollStrategy.resizeItemSize(this._itemSize),setTimeout(function(){return e.forceLayoutRecalc()},300)),this.currentIndex!=t&&this.scrollToIndex(t)},e.prototype.onOrientationChange=function(){var e=this,t=this.currentIndex;this._measureViewportSize(),this._scrollStrategy.onDataLengthChanged(),this._scrollStrategy.onOrientationChange(this._itemSize),this.scrollToIndex(t),setTimeout(function(){return e.forceLayoutRecalc()},500)},e.prototype.forceLayoutRecalc=function(){var e=this.elementRef.nativeElement;this.renderer.setStyle(e,"display","none"),this.renderer.removeStyle(e,"display")},e.prototype._registerPinchListener=function(){var e=this,t=new r.Subject;t.asObservable().sampleTime(0,o.animationFrame).subscribe(function(t){return e._onPinch(t)});var n=new i.e(this._zoomWrapper.nativeElement,{touchAction:"pan-x pan-y"});n.listen(),this._destroyed.subscribe(function(){n.destroy(),t.complete()})},e.prototype._registerTouchEndListener=function(){var e=this;r.Observable.fromEvent(document.body,"touchend").takeUntil(this._destroyed).subscribe(function(){return e._onTouchEnd()})},e.prototype._registerDoubleTapListener=function(){var e=this;r.Observable.fromEvent(this.elementRef.nativeElement,"doubletap").takeUntil(this._destroyed).subscribe(function(t){return e._onDoubleTap(t.gesture.center)})},e.prototype._registerScrollListener=function(){var e=this;r.Observable.fromEvent(this.elementRef.nativeElement,"scroll").sampleTime(0,o.animationFrame).filter(function(t){return!e._isZooming||(t.preventDefault(),t.returnValue=!1,!1)}).do(function(t){e._lastScrollEvent=t,e._isScrolling||e.onScrollStart()}).takeUntil(this._destroyed).subscribe(function(){return e._scrollStrategy.onContentScrolled()})},e.prototype._measureViewportSize=function(){var e=this.elementRef.nativeElement,t=e.getBoundingClientRect(),n=this._contentWrapper.nativeElement.getBoundingClientRect();return this._dimensions.viewport={x:0,y:0,width:this.s.width.getValue(),height:this.s.height.getValue()},this._dimensions.container={x:t.left,y:t.top,width:e.clientWidth,height:e.clientHeight},this._dimensions.center={x:t.width/2,y:t.height/2},this._dimensions.scroll={x:e.scrollLeft,y:e.scrollTop,width:e.scrollWidth,height:e.scrollHeight},this._dimensions.contentContainer={x:0,y:0,width:n.width,height:n.height},this._viewportSize="horizontal"===this.orientation?t.width:t.height,this._calculateItemSize()},e.prototype._calculateItemSize=function(){var e=(this._dimensions.contentContainer.width*this.itemRatio+this.itemMargin)*this._shift.current.scale,t=this._itemSize;return this._itemSize=e,t!==e},e.prototype._markChangeDetectionNeeded=function(e){var t=this;e&&this._runAfterChangeDetection.push(e),this._isChangeDetectionPending||(this._isChangeDetectionPending=!0,this._ngZone.runOutsideAngular(function(){return Promise.resolve().then(function(){t._doChangeDetection()})}))},e.prototype._doChangeDetection=function(){var e=this;this._isChangeDetectionPending=!1,this._ngZone.run(function(){return e._changeDetectorRef.markForCheck()}),null!=this._pendingScrollOffset&&("horizontal"===this.orientation?this.elementRef.nativeElement.scrollLeft=this._pendingScrollOffset:this.elementRef.nativeElement.scrollTop=this._pendingScrollOffset);var t=this._runAfterChangeDetection;this._runAfterChangeDetection=[];for(var n=0,i=t;n0?this.renderer.setStyle(this._contentWrapper.nativeElement,"max-width",this.maxItemWidth+"px"):this.renderer.removeStyle(this._contentWrapper.nativeElement,"max-width")},e}()},172:function(e,t,n){"use strict";n.d(t,"a",function(){return a});n(0);var i=n(24),s=(n.n(i),n(368)),r=(n.n(s),n(241)),o=(n.n(r),n(22),"en"),l={aa:"aar",ab:"abk",ae:"ave",af:"afr",ak:"aka",am:"amh",an:"arg",ar:"ara",as:"asm",av:"ava",ay:"aym",az:"aze",ba:"bak",be:"bel",bg:"bul",bh:"bih",bi:"bis",bm:"bam",bn:"ben",bo:"bod",br:"bre",bs:"bos",ca:"cat",ce:"che",ch:"cha",co:"cos",cr:"cre",cs:"ces",cu:"chu",cv:"chv",cy:"cym",da:"dan",de:"deu",dv:"div",dz:"dzo",ee:"ewe",el:"ell",en:"eng",eo:"epo",es:"spa",et:"est",eu:"eus",fa:"fas",ff:"ful",fi:"fin",fj:"fij",fo:"fao",fr:"fra",fy:"fry",ga:"gle",gd:"gla",gl:"glg",gn:"grn",gu:"guj",gv:"glv",ha:"hau",he:"heb",hi:"hin",ho:"hmo",hr:"hrv",ht:"hat",hu:"hun",hy:"hye",hz:"her",ia:"ina",id:"ind",ie:"ile",ig:"ibo",ii:"iii",ik:"ipk",io:"ido",is:"isl",it:"ita",iu:"iku",ja:"jpn",jv:"jav",ka:"kat",kg:"kon",ki:"kik",kj:"kua",kk:"kaz",kl:"kal",km:"khm",kn:"kan",ko:"kor",kr:"kau",ks:"kas",ku:"kur",kv:"kom",kw:"cor",ky:"kir",la:"lat",lb:"ltz",lg:"lug",li:"lim",ln:"lin",lo:"lao",lt:"lit",lu:"lub",lv:"lav",mg:"mlg",mh:"mah",mi:"mri",mk:"mkd",ml:"mal",mn:"mon",mr:"mar",ms:"msa",mt:"mlt",my:"mya",na:"nau",nb:"nor",nd:"nde",ne:"nep",ng:"ndo",nl:"nld",nn:"nor",no:"nor",nr:"nbl",nv:"nav",ny:"nya",oc:"oci",oj:"oji",om:"orm",or:"ori",os:"oss",pa:"pan",pi:"pli",pl:"pol",ps:"pus",pt:"por",qu:"que",rm:"roh",rn:"run",ro:"ron",ru:"rus",rw:"kin",sa:"san",sc:"srd",sd:"snd",se:"sme",sg:"sag",si:"sin",sk:"slk",sl:"slv",sm:"smo",sn:"sna",so:"som",sq:"sqi",sr:"srp",ss:"ssw",st:"sot",su:"sun",sv:"swe",sw:"swa",ta:"tam",te:"tel",tg:"tgk",th:"tha",ti:"tir",tk:"tuk",tl:"tgl",tn:"tsn",to:"ton",tr:"tur",ts:"tso",tt:"tat",tw:"twi",ty:"tah",ug:"uig",uk:"ukr",ur:"urd",uz:"uzb",ve:"ven",vi:"vie",vo:"vol",wa:"wln",wo:"wol",xh:"xho",yi:"yid",yo:"yor",za:"zha",zh:"zho",zu:"zul"},a=function(){function e(e,t){this.http=e,this.translate=t,this.registeredLocales=[o],this.langISO2ToISO3Map=l,this.langISO3ToISO2Map=function(e){return Object.keys(e).reduce(function(t,n){return t[e[n]]=n,t},{})}(l),s.registerLocale(r),this.alpha2Codes=Object.keys(s.getAlpha2Codes()),this.alpha3Codes=Object.keys(s.getAlpha3Codes())}return Object.defineProperty(e.prototype,"currentLang",{get:function(){return this.translate.currentLang},enumerable:!0,configurable:!0}),e.prototype.getCountriesISO2=function(e){var t=this;return void 0===e&&(e=this.currentLang),this.registerLocale(e).map(function(){return t.alpha2Codes.map(function(t){return{key:t,value:s.getName(t,e)}})}).catch(function(e){var n=t.alpha2Codes.map(function(e){return{key:e,value:s.getName(e,o)}});return i.Observable.of(n)})},e.prototype.getCountriesISO3=function(e,t){return void 0===e&&(e=this.alpha3Codes),void 0===t&&(t=this.currentLang),this.registerLocale(t).map(function(){return e.map(function(e){return{key:e,value:s.getName(e,t)}})}).catch(function(t){var n=e.map(function(e){return{key:e,value:s.getName(e,o)}});return i.Observable.of(n)})},e.prototype.countryISO2ToISO3=function(e){return s.toAlpha3(e.toUpperCase())},e.prototype.countryISO3ToISO2=function(e){return s.toAlpha2(e.toUpperCase())},e.prototype.langISO2ToISO3=function(e){return this.langISO2ToISO3Map[e.toLowerCase()]},e.prototype.langISO3ToISO2=function(e){return this.langISO3ToISO2Map[e.toLowerCase()]},e.prototype.registerLocale=function(e){var t=this;return this.registeredLocales.indexOf(e)>-1?i.Observable.of(null):this.http.get("assets/i18n-countries/"+e+".json").do(function(n){t.registeredLocales.indexOf(e)<0&&(s.registerLocale(n),t.registeredLocales.push(e))})},e}()},175:function(e,t,n){"use strict";function i(e){if(!Array.isArray(e))return[];var t=[];return e.forEach(function(e){var n,i;e.inPerson?(n=e.inPersonName,i=e.signer):e.signerName?(n=e.signerName.first+" "+e.signerName.last,i=e.signer):(n=e.signer,i=e.signer);var s=t.find(function(e){return e.email==i});s?e.signed||(s.signed=e.signed):t.push({email:e.signer,name:n,signed:e.signed,label:e.signed?"signed":"unsigned",inPerson:e.inPerson})}),t}n.d(t,"a",function(){return u});var s=n(75),r=n(124),o=n(67),l=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),a={New:r.b.NEW,"Ready to sign":r.b.WAITING,Signed:r.b.SIGNED,SIGN:r.b.WAITING,EDIT:r.b.NEW,Finalized:r.b.FINALIZED,"Finalized with error":r.b.FINALIZED_ERROR},u=function(e){function t(t){var n=e.call(this,t)||this;return n.normalizedOwner=null,n._signers=[],n._signatures=[],n._status="",n._sign=!1,n.params={},n._signatures=t.signatures,n._signers=i(t.signatures),n._status=t.signatures?t.signatures.filter(function(e){return e.signed}).length+"/"+t.signatures.length:"",n}return l(t,e),Object.defineProperty(t.prototype,"status",{get:function(){return this._status},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"signers",{get:function(){return this._signers},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"signatures",{get:function(){return this._signatures},set:function(e){this._signatures=e,this._signers=i(e)},enumerable:!0,configurable:!0}),t.prototype.sign=function(e){var t=this;if(e){var n=Math.max.apply(Math,this._signatures.map(function(e){return e.signed&&e.order>0?e.order:0}));return this.state==r.b.WAITING&&0!=this.signatures.filter(function(i){return!i.signed&&(i.signer==e.email||t.owner==e.email&&i.inPerson)&&(i.order<=0||i.order==n+1)}).length}return!1},t.prototype.match=function(e){this.normalizedName||(this.normalizedName=o.b.normalize(this.name)),this.normalizedOwner||(this.normalizedOwner=o.b.normalize(this.owner));var t=[o.b.smartMatch(o.b.normalize(this.name),e,!0),o.b.smartMatch(o.b.normalize(this.owner),e,!0),o.b.smartMatch(o.b.normalize(this.fullName),e,!0)].concat(this.signers.map(function(t){return o.b.smartMatch(o.b.normalize(t.name),e,!0)}),this.signers.map(function(t){return o.b.smartMatch(o.b.normalize(t.email),e,!0)}));return{occurences:t.map(function(e){return e.occurences}).reduce(function(e,t){return e+t}),grade:o.b.avg(t.map(function(e){return e.grade}))}},t.prototype.unassigned=function(){return this.signatures.filter(function(e){return!e.signer}).length},t.prototype.readyToSend=function(){return this.state==r.b.NEW&&this.signatures.length>0&&this.signatures.every(function(e){return e.isAssigned()})},t.prototype.refreshStatus=function(){this._status=this._signatures?this._signatures.filter(function(e){return e.signed}).length+"/"+this._signatures.length:""},t.getMatches=function(e,t){return t=o.b.normalize(t),e.map(function(e){return{document:e,match:e.match(t)}}).filter(function(e){return e.match.occurences>0}).sort(function(e,t){return e.match.occurences!=t.match.occurences?t.match.occurences-e.match.occurences:e.match.grade-t.match.grade}).map(function(e){return e.document})},t.sortByDate=function(e,t){return e.slice().sort(function(e,n){return t*o.b.cmpDates(e.date,n.date)})},t.sortByName=function(e,t,n){return e.slice().sort(function(e,i){return t*o.b.cmpStrings(e.name,i.name,n)})},t.sortByState=function(e,t,n,i,s){return e.slice().sort(function(e,l){var a=e.state==r.b.WAITING&&e.sign(s)?i.instant("TO_SIGN"):i.instant(r.b[e.state]),u=l.state==r.b.WAITING&&l.sign(s)?i.instant("TO_SIGN"):i.instant(r.b[l.state]);return t*o.b.cmpStrings(a,u,n)})},t.sortBySender=function(e,t,n){return e.slice().sort(function(e,i){return t*o.b.cmpStrings(e.fullName,i.fullName,n)})},t.sortBySize=function(e,t){return e.slice().sort(function(e,n){return t*o.b.cmpNumbers(e.bytes,n.bytes)})},t.BasicDocumentFromServer=function(e){return new t({id:e.docid,state:a[e.docstate],name:e.docname,owner:e.docowner,signatures:[],bytes:e.docsize,date:new Date,token:e.doctoken,firstName:e.docownerfirstname,secondName:e.docownersecondname,permit:{save:!0},ownerType:1,contract:e.contract})},t.TemplContractFromServer=function(e){return new t({id:e.id,name:e.name,bytes:null,date:new Date,state:r.b.TEMPL_CONTRACT,signatures:[],token:null,owner:e.owner,firstName:"",secondName:"",permit:null,ownerType:e.ownerType,contract:null})},t.TemplateFromServer=function(e){return new t({id:e.id,name:e.name,bytes:e.size,date:new Date(e.date),state:r.b.TEMPLATE,signatures:e.signatures?e.signatures.map(function(e){return s.e.fromTemplate(e)}):[],token:e.token,owner:e.owner,firstName:e.firstName,secondName:e.secondName,permit:e.permit,ownerType:e.ownerType,contract:null})},t.DocumentFromServer=function(e){return new t({id:e.docid,state:a[e.docstate],name:e.docname,owner:e.docowner,signatures:e.signatures.map(function(e){return s.e.fromDocument(e)}).sort(function(e,t){return e.order>t.order?-1:e.ordert.page?1:e.page0&&r[r.length-1])&&(6===n[0]||2===n[0])){l=0;continue}if(3===n[0]&&(!r||n[1]>r[0]&&n[1]0&&r[r.length-1])&&(6===n[0]||2===n[0])){l=0;continue}if(3===n[0]&&(!r||n[1]>r[0]&&n[1]0&&+t.page<=e}).map(function(e){return Math.round(e.page)})},e.prototype.sendConTempl=function(e,t){void 0===e&&(e="");var n=this.t.instant("CREATE_CONTRACT");this.t.instant("OK"),this.t.instant("CANCEL");if(!t)return this.alertBool(n,null,null,null,!0).map(function(t){return e});return this.alertBool(n,"",null,null,!0,{name:"name",value:e,type:"text"}).validate(function(e){return e.name&&e.name.length>0}).map(function(e){return e.name})},e.prototype.sendDocument=function(e,t,n,i){var s=this;return void 0===e&&(e=""),new Promise(function(r,o){return v(s,void 0,void 0,function(){var s,o,l,a,u,c,h;return y(this,function(d){switch(d.label){case 0:s=this.t.instant(n?"CONFIRM_SAVE_TEMPLATE":"CONFIRM_SENDING_DOCUMENT"),o=this.t.instant(n?"SAVE":"SEND"),l=this.t.instant("CANCEL"),a=null,t&&(a=[{name:"name",id:"send-document-name",value:e,type:"text"}]),u=null,i&&i.length>1&&(s=this.t.instant("CONFIRM_SENDING_DOCUMENT"),o=this.t.instant("EMAIL"),u=this.t.instant("SMS")),(c={title:s,buttons:[],enableBackdropDismiss:!0,cssClass:"alert-button-group-horizontal-required"}).buttons.push({text:l,role:"cancel",cssClass:"alert-send-document__cancel",handler:function(e){r({type:l,name:null,role:"cancel"})}},{text:o,role:"",cssClass:"alert-send-document__send-email",handler:function(e){r({type:"EMAIL",name:e&&e.name,role:""})}}),u&&c.buttons.push({text:u,role:"",cssClass:"alert-send-document__send-sms",handler:function(e){r({type:"SMS",name:e&&e.name,role:""})}}),d.label=1;case 1:return d.trys.push([1,6,,7]),Array.isArray(a)&&a.filter(function(e){return!!e}).length>0?(c.inputs=a,[4,this.alertInputFactory(c).toPromise()]):[3,3];case 2:return[2,d.sent()];case 3:return[4,this.alertFactory(c).toPromise()];case 4:return[2,d.sent()];case 5:return[3,7];case 6:return h=d.sent(),console.log(h),[3,7];case 7:return[2]}})})})},e.prototype.sendByEmailPrompt=function(e,t){var n=this;void 0===t&&(t="");var i=this.t.instant("SEND_DOCUMENT_BY_EMAIL"),r=this.t.instant("SEND"),o=this.t.instant("CANCEL"),l={name:"email",value:"",type:"email",placeholder:this.t.instant("EMAIL")};console.log(e);var a;return e&&(a={name:"phone",value:"",type:"tel",placeholder:this.t.instant("PHONE_WITH_EXT")}),this.alertBool(i,"",r,o,!0,l,a).validate(function(t){if(e){if(!t.phone)return!1;if(!n.phoneValidation.getPhoneParts(t.phone).phoneCountry)return!1}return s.b.test(t.email)})},e.prototype.sessionExpired=function(){return this.alertOK(this.t.instant("SESSION_EXPIRED"),this.t.instant("PLEASE_UPLOAD_DOCUMENT_AGAIN"))},e.prototype.requestEmailPrompt=function(e){var t,n;e?(t=this.t.instant("SIGNOSOFT_FREE_CONFIRM_EMAIL_TITLE"),n=this.t.instant("SIGNOSOFT_FREE_CONFIRM_EMAIL_MESSAGE")):(t=this.t.instant("SIGNOSOFT_FREE_MISSING_EMAIL_TITLE"),n=this.t.instant("SIGNOSOFT_FREE_MISSING_EMAIL_MESSAGE"));return this.alertOK(t,n,!1,{name:"email",value:e,type:"email"}).validate(function(e){return s.b.test(e.email)}).map(function(e){return e.email})},e.prototype.popover=function(e,t,n,i){var s=this.popoverCtrl.create(e,n,i);this.config.setTransition("popover-pop-out-alter",d.e);var r;return r=t.currentTarget?b({},t,{target:t.currentTarget}):t,this.toObservable(s,{ev:r,animate:!1,manualClick:!(!i||i.enableBackdropDismiss||!i.manualClick)}).catch(function(e){if(null!=e.input)return l.Observable.of(e.input);throw o.b.COMPONENT_DISMISSED})},e.prototype.modal=function(e,t,n){var s=this,r=this.modalCtrl.create(e,t,n);this.modals.push(r);var a=function(e){return e==o.b.AUTH_MISSING&&r.dismiss()};return this.events.subscribe(i.a.ERROR,a),this.toObservable(r).catch(function(e){if(null!=e)return l.Observable.of(e.input);throw o.b.COMPONENT_DISMISSED}).takeUntil(this.killModals).take(1).finally(function(){return s.events.unsubscribe(i.a.ERROR,a)})},e.prototype.alertOK=function(e,t,n){void 0===n&&(n=!0);for(var i=[],s=3;s0?(r.inputs=i,this.alertInputFactory(r)):this.alertFactory(r)},e.prototype.alertOK2=function(e,t,n,i){void 0===i&&(i=!0);for(var s=[],r=4;r0?(o.inputs=s,this.alertInputFactory(o)):this.alertFactory(o)},e.prototype.alertBool=function(e,t,n,i,s){void 0===s&&(s=!0);for(var r=[],o=5;o0?(r=r.filter(function(e){return e}),l.inputs=r,this.alertInputFactory(l)):this.alertFactory(l).map(function(e){if(1==e.button)return null;throw null})},e.prototype.alertFactory=function(e){var t=this,n=this.convertToButtons(e.buttons),i={button:null,input:null,dismissed:!0};n.forEach(function(e,n){e.handler||(e.handler=function(){return i={button:n,input:null,dismissed:!0},"cancel"==e.role&&(i.button=-1),t._dismiss(s,!1),!1})}),e.buttons=n;var s=this.alertCtrl.create(e);return this.alerts.push(s),this.toObservable(s).map(function(){return i}).catch(function(){if(console.log(i),-1===i.button||null==i.button)throw i;return l.Observable.of(i)})},e.prototype.alertInputFactory=function(e){var t=this,n=this.convertToButtons(e.buttons),i=e.inputs,s=new c.Subject,r=null;if(console.log("alertInputFactory"),0==i.length)throw new TypeError("Would you like to use alertFactory?");n.forEach(function(e,n){e.handler||(e.handler=function(i){return console.log("handels"),console.log(i),"cancel"==e.role?t._dismiss(o,!1):s.next(r={button:n,input:i,dismissed:!1,dismiss:function(){return t._dismiss(o,!0)}}),!1})}),e.buttons=n;var o=this.alertCtrl.create(e);return this.alerts.push(o),this.toObservable(o,{keyboardClose:!1}).map(function(e){return console.log(e),e.input==t.OUTSIDE_DISMISS&&(e.input=r.input,e.button=null),e}).catch(function(e){return e.button=-1,l.Observable.throw(e)}).merge(s)},e.prototype.convertToButtons=function(e){return Array.isArray(e)?e.map(function(e){return"object"==typeof e?e:{text:e}}):[]},e.prototype.loading=function(e,t){var n=this.loadingCtrl.create({content:e,enableBackdropDismiss:!1});return this.boundToSource(n,t).catch(function(e){return l.Observable.throw(e.error)}).map(function(e){return e.data})},e.prototype.loadingManual=function(e){return this.loadingCtrl.create({content:e,enableBackdropDismiss:!1})},e.prototype.toObservable=function(e,t){return this.boundToSource(e,l.Observable.never(),t)},e.prototype.boundToSource=function(e,t,n){var i=this;return l.Observable.create(function(s){var o=new r.BehaviorSubject(null);e.onDidDismiss(function(t){i.onDidDismiss(t,o).subscribe(s),i.modalDismissed.emit(e),l.closed||l.unsubscribe()});var l=i.present(e,t,n).subscribe(function(e){return o.next(e)},function(e){return o.error(e)});return function(){i._dismiss(e,!0),o.complete(),l.closed||l.unsubscribe()}})},e.prototype.onDidDismiss=function(e,t){var n=this;return t.asObservable().catch(function(t){return l.Observable.throw({error:t,input:e,dismissed:!0})}).map(function(t){if(e==n.OUTSIDE_DISMISS)return{input:e,dismissed:!0};if(!t)throw{input:e,dismissed:!0};return{data:t,input:e,dismissed:!0}})},e.prototype.present=function(e,t,n){var i=this;return this.allowThis(e)?(this.presentedNow.push(e),t[this.COMPONENT]=e,e[this.DISMISSED]=!1,e.onWillDismiss(function(){t[i.COMPONENT]=void 0,e[i.DISMISSED]=!0,i.presentedNow=i.presentedNow.remove(e)}),e.present(n).then(function(){var t=n&&n.defocus||!0,i=document.getElementsByClassName("alert-input");t&&i.length>=1&&i[0].blur();var s=n&&n.manualClick||!1;setTimeout(function(){var t=document.getElementsByTagName("ion-backdrop");1===t.length&&(s&&t[0].addEventListener("click",function(){e&&e.dismiss()}),t[0].addEventListener("touchmove",function(e){console.log("disabled touchmove"),e.stopPropagation(),e.preventDefault()}))},300)}),t.take(1).finally(function(){return i._dismiss(e,!1)})):(console.warn("You are trying to present multiple components on top of each other. Do you know what you're doing?"),l.Observable.empty())},e.prototype.dismiss=function(e){var t=this,n=Object(h.g)(e).find(function(e){return e[t.COMPONENT]});return n?this._dismiss(n[this.COMPONENT],!0):Promise.resolve(!0)},e.prototype._dismiss=function(e,t){return e&&!e[this.DISMISSED]?(e[this.DISMISSED]=!0,e.dismiss(t?this.OUTSIDE_DISMISS:void 0)):Promise.resolve(!0)},e.prototype.allowThis=function(e){return e instanceof a.h||e instanceof a.a||(0==this.presentedNow.length||this.presentedNow.every(function(e){return e instanceof a.h||e instanceof a.a}))},e.prototype.closeAlerts=function(){var e=this;return new Promise(function(t,n){var i=[];e.alerts.forEach(function(t){i.push(e._dismiss(t,!1))}),e.alerts=[],Promise.all(i).then(function(){t()}).catch(function(){t()})})},e.prototype.closeModals=function(){var e=this;return new Promise(function(t,n){var i=[];e.modals.forEach(function(t){i.push(e._dismiss(t,!1))}),e.modals=[],Promise.all(i).then(function(){t()}).catch(function(){t()})})},e.prototype.closeOverlays=function(){var e=this;return new Promise(function(t,n){e.closeAlerts().then(function(){e.closeModals().then(function(){t()})})})},e.prototype.modalPromise=function(e,t,n){var i=this.modalCtrl.create(e,t,n);return this.modals.push(i),this.presentPromise(i,n)},e.prototype.presentPromise=function(e,t){var n=this;if(!this.allowThis(e))return console.warn("You are trying to present multiple components on top of each other. Do you know what you're doing?"),null;return new Promise(function(i,s){n.presentedNow.push(e),e[n.DISMISSED]=!1,e.onDidDismiss(function(t){console.log(t),i(t),n.modalDismissed.emit(e)}),e.onWillDismiss(function(){e[n.DISMISSED]=!0,n.presentedNow=n.presentedNow.remove(e)}),e.present(t).then(function(){var n=t&&t.defocus||!0,i=document.getElementsByClassName("alert-input");n&&i.length>=1&&i[0].blur();var s=t&&t.manualClick||!1;setTimeout(function(){var t=document.getElementsByTagName("ion-backdrop");1===t.length&&(s&&t[0].addEventListener("click",function(){e&&e.dismiss()}),t[0].addEventListener("touchmove",function(e){console.log("disabled touchmove"),e.stopPropagation(),e.preventDefault()}))},300)})})},e.prototype.setSwingContainer=function(e){this.swingLoadingContainer=e},e.prototype.swingLoading=function(e){var t=this.componentFactoryResolver.resolveComponentFactory(m.a);return new f(e,t,this.swingLoadingContainer)},e}()},205:function(e,t,n){"use strict";n.d(t,"b",function(){return i}),n.d(t,"a",function(){return s});var i=/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,s=function(){function e(){}return e.checkFirstCharacterValidator=function(e){return/^\d/.test(e.value)?{checkFirstCharacterValidator:!0}:null},e.containsLowerCase=function(e){return e.value&&!/(?=.*[a-z])/g.test(e.value)?{noLowerCase:!0}:null},e.containsUpperCase=function(e){return e.value&&!/(?=.*[A-Z])/g.test(e.value)?{noUpperCase:!0}:null},e.containsNumber=function(e){return e.value&&!/(?=.*\d)/.test(e.value)?{noNumber:!0}:null},e.isItTel=function(e){return e.value&&!/^([+]?[\s0-9]+)?(\d{3}|[(]?[0-9]+[)])?([-]?[\s]?[0-9])+$/.test(e.value)?{noNumber:!0}:null},e.isItEmail=function(e){return e.value&&!i.test(e.value)?{notEmail:!0}:null},e.passwordsMatch=function(e){return e.root.get("password")&&e.value&&e.value!=e.root.get("password").value?{mismatch:!0}:null},e.passwordsNotMatch=function(e){return e.root.get("currPassword")&&e.value&&e.value==e.root.get("currPassword").value?{mismatch:!0}:null},e.passwordsConfirmed=function(e){return e.root.get("newPassword")&&e.value&&e.value!=e.root.get("newPassword").value?{mismatch:!0}:null},e.emailsMatch=function(e){return e.root.get("useremail")&&e.value&&e.value!=e.root.get("useremail").value?{mismatch:!0}:null},e.isURL=function(e){return null},e}()},206:function(e,t,n){"use strict";n.d(t,"a",function(){return a}),n.d(t,"b",function(){return u}),n.d(t,"c",function(){return c});var i=n(75),s=n(24),r=(n.n(s),n(49)),o=n(525),l=this&&this.__assign||Object.assign||function(e){for(var t,n=1,i=arguments.length;n0&&(o=Math.max.apply(Math,t.map(function(e){return e.order>0?e.order+1:-1}))),n){n=this.normalizePosition(e,n);if(!(a=i.e.create(n.x,n.y,this.index,o,e.landscape)).isOverlapping(s))return a}else{var l=3e3;do{var a,u=this.generateRandomPosition(e);if(!(a=i.e.create(u.x,u.y,this.index,o,e.landscape)).isOverlapping(s))return a}while(--l)}throw r.b.SIGNATURE_NOT_ADDED},e.prototype.normalizePosition=function(e,t){var n=l({},t);return n.x-=i.e.DEFAULT_WIDTH/2,n.y-=i.e.DEFAULT_HEIGHT/2,n.x=Math.max(n.x,e.start.x),n.y=Math.max(n.y,e.start.y),n.x+i.e.DEFAULT_WIDTH>e.end.x&&(n.x=e.end.x-i.e.DEFAULT_WIDTH),n.y+i.e.DEFAULT_HEIGHT>e.end.y&&(n.y=e.end.y-i.e.DEFAULT_HEIGHT),n},e.prototype.generateRandomPosition=function(e){var t={x:e.end.x-e.start.x-i.e.DEFAULT_WIDTH,y:e.end.y-e.start.y-i.e.DEFAULT_HEIGHT};return t.x<0&&(e.start.x=Math.max(e.end.x-i.e.DEFAULT_WIDTH,0),t.x=0),t.y<0&&(e.start.y=Math.max(e.end.y-i.e.DEFAULT_HEIGHT,0),t.y=0),{x:e.start.x+Math.random()*t.x,y:e.start.y+Math.random()*t.y}},e.prototype.unrender=function(){this.cancelRendering(),this.renderable&&this.renderable.cleanup()},e.prototype.cleanup=function(){this.renderable&&this.renderable.cleanup()},e.prototype.destroy=function(){var e=this.src.getValue();e&&e.startsWith("blob")&&URL.revokeObjectURL(e),this.signatures.complete(),this.src.complete(),this.unrender(),this.renderable=null},e}()},207:function(e,t,n){"use strict";n.d(t,"a",function(){return i}),n.d(t,"b",function(){return o});n(0);var i,s=n(1),r=n(52);!function(e){e.EMAIL="EMAIL",e.SMS="SMS"}(i||(i={}));var o=function(){function e(e,t,n){this.configurables=t,this.phoneValidation=n,this.register=!1,this.isRequiredPhone=!1,this.save=new s.EventEmitter;var r=this.configurables.value("SEND_SIGN_NOTIFICATION_DOCS_ZIP_PASSWORD",""),o=this.configurables.value("UNREGISTER_FLOW_PROTECT_LINK",""),l=this.configurables.value("sendSignReqMethods",i.EMAIL);this.isRequiredPhone=l.contains(i.SMS)||o.contains(i.SMS)||r.contains(i.SMS)}return e.prototype.ngOnChanges=function(e){if("userAdd"in e){var t=e.userAdd.currentValue;if(this.email=t&&t.email?t.email:"",this.firstName=t&&t.firstName?t.firstName:"",this.lastName=t&&t.lastName?t.lastName:"",this.phone="",this.phoneCountry="+420",t&&t.phone){var n=this.phoneValidation.getPhoneParts(t.phone);this.phone=n.phoneNumber,this.phoneCountry=n.phoneCountry||"+420"}this.id=t&&t.id?t.id:null,t&&this.form.setValue({email:this.email,firstname:this.firstName,lastname:this.lastName,phone:this.phone})}},e.prototype.registerChange=function(){this.register=!this.register},e.prototype.onSelectChange=function(e){this.phoneCountry=e.target.value},e.prototype.addNewUser=function(e){if(!(this.firstName.length>0&&this.lastName.length>0&&this.email.length>0))return!1;var t=new r.n({id:this.id,email:this.email,firstName:this.firstName,lastName:this.lastName,role:null,active:!1,confirm:!1,unregistered:!this.register,fromContactList:!1,fromVerify:null,firstLogin:!0,isBussinessMember:!0,initials:"",language:"",phone:this.phone&&this.phone.length>0?this.phoneCountry+this.phone:null,profileAddressStreet:null,profileAddressAdditional:null,profileCity:null,profileCompanyName:null,profilePhoneNo:null,profilePostCode:null,profileProvince:null,profileState:null,profileVatNo:null,billingAddressStreet:null,billingAddressAdditional:null,billingCity:null,billingCompanyName:null,billingPhoneNo:null,billingPostCode:null,billingProvince:null,billingState:null,billingVatNo:null,helpDone:!1});this.save.emit(t)},e}()},208:function(e,t,n){"use strict";n.d(t,"a",function(){return l});var i=n(0),s=n(1),r=n(6),o=function(e){switch(e){case"top":return{sizeProp:"height",opposite:"bottom",animate:"translateY",reverse:-1};case"bottom":return{sizeProp:"height",opposite:"top",animate:"translateY",reverse:1};case"left":return{sizeProp:"width",opposite:"right",animate:"translateX",reverse:-1};case"right":return{sizeProp:"width",opposite:"left",animate:"translateX",reverse:1};default:throw new TypeError("Wrong direction property.")}},l=function(){function e(e,t,n,i){this.element=e,this.detector=t,this.renderer=n,this.s=i,this._top=0,this._destroyed=!1,this._animate=!0,this.animateContent=!i.is.shitty}return Object.defineProperty(e.prototype,"size",{get:function(){return this._size},set:function(e){this._size!=e&&(this._active&&(this.element.nativeElement.style[this.props.sizeProp]=e+"px"),this._size=e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"active",{get:function(){return this._active},set:function(e){this.props&&this.content?this.activate(e):this._active=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"transitionTime",{get:function(){return this._transitionTime},set:function(e){this.renderer.setStyle(this.element.nativeElement,"transition","transform "+e+"ms ease-out"),this.animateContent&&this.renderer.setStyle(this.contentNative,"transition","all "+e+"ms ease-out"),this._transitionTime=e},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){this.initMenuBottom()},e.prototype.ngOnDestroy=function(){this._destroyed=!0,this.content&&this.activate(!1)},e.prototype.ngAfterViewInit=function(){var e=this;if(this.content instanceof r.d){if("bottom"!==this.position){this.renderer.setStyle(this.element.nativeElement,"top","0.1px")}"bottom"!==this.position&&"top"!==this.position&&this.s.headerHeight.subscribe(function(t){if(t!=e._top){e._top=t;e.renderer.setStyle(e.element.nativeElement,"top",e._top+"px")}}),this.content&&this.content.resize()}},e.prototype.activate=function(e,t){var n=this;if(void 0===t&&(t=!1),this._active!=e){var i=this.element.nativeElement&&this.element.nativeElement.offsetHeight>0&&"bottom"==this.position?this.element.nativeElement.offsetHeight:this.size,s=function(){return n.renderer.setStyle(n.contentNative,"margin-"+n.position,(e?i:0)+"px")},r=this.element.nativeElement;this._animate||this.renderer.setStyle(r,this.props.sizeProp,(e?this.size:0)+"px"),requestAnimationFrame(function(){n.renderer.setStyle(r,"transform",n.props.animate+"("+(e?0:100*n.props.reverse+"%")+")"),t||(n.animateContent?s():setTimeout(s,n.transitionTime))}),this._active=e}},e.prototype.initTransition=function(){var e=this;setTimeout(function(){e.transitionTime="number"!=typeof e._transitionTime?300:e._transitionTime},300)},e.prototype.initMenuBottom=function(){if(!this.position)throw new TypeError("Please set direction of this menu");this.content&&(this.contentNative=this.content instanceof r.d?this.content.getNativeElement():this.content.nativeElement,this.contentNative||(this.contentNative=this.content),this.props=o(this.position),this.initTransition());var e=this.element.nativeElement;this.size=this.size||60,e.classList.add("menu-universal"),e.classList.add(this.position),this.content&&(this._active=!this._active,this.activate(!this._active))},e.prototype.resize=function(e){(this.s.is.ios||this.s.is.android)&&this.content&&this.content instanceof r.d&&(this._active=!this._active,this.activate(!this._active))},Object(i.__decorate)([Object(s.HostBinding)("class.active"),Object(s.Input)(),Object(i.__metadata)("design:type",Boolean),Object(i.__metadata)("design:paramtypes",[Boolean])],e.prototype,"active",null),e}()},209:function(e,t,n){"use strict";n.d(t,"a",function(){return i});n(0),n(6);var i=function(){function e(e,t,n){this.viewCtrl=e,this.buttons=n.get("buttons"),this.disabled=n.get("disabled")}return e.prototype.close=function(e){this.viewCtrl.dismiss(e)},e}()},210:function(e,t,n){"use strict";n.d(t,"b",function(){return b}),n.d(t,"c",function(){return v}),n.d(t,"a",function(){return y});var i=n(0),s=(n(22),n(6),n(211)),r=n(24),o=(n.n(r),n(32)),l=n(50),a=n(36),u=n(20),c=n(67),h=n(213),d=n(43),p=this&&this.__assign||Object.assign||function(e){for(var t,n=1,i=arguments.length;n0&&r[r.length-1])&&(6===n[0]||2===n[0])){l=0;continue}if(3===n[0]&&(!r||n[1]>r[0]&&n[1]-1&&!this.finish&&(this.finish=!0,this.selectedCertificate&&(e.certificateId=this.selectedCertificate,e.certificatePassword=this.certificatePassword),e.metadata=this.metadata,e.signature=this.signature,this.viewCtrl.dismiss(e))},t.prototype.ngOnInit=function(){this.wrap={offsetLeft:this.wrapper.nativeElement.offsetParent.offsetParent.offsetLeft,offsetTop:this.wrapper.nativeElement.offsetParent.offsetParent.offsetTop,width:this.wrapper.nativeElement.offsetWidth,height:this.wrapper.nativeElement.offsetHeight,idealRatio:this.signpadOptions.signatureRatio},this.preventScroll(),this.state={hasSavedScannedSignature:!!this.storage.scannedSignature},this.signoSoftDriverInterface=this.navParams.get("websockets")},t.prototype.ionViewDidEnter=function(){console.log(this.signpad),this.signoSoftDriverInterface.setupSignaturePad(this.signpad),this.checkDriverStatus()},t.prototype.ionViewWillEnter=function(){var e=document.documentElement;this.s.is.phone&&e.requestFullscreen&&e.requestFullscreen(),this.wrap.idealRatio=this.signpadOptions.signatureRatio,this.resize()},t.prototype.ionViewWillLeave=function(){this.s.is.phone&&document.fullscreenEnabled&&document.exitFullscreen(),this.finish||this.signpad.cancelSignature()},t.prototype.ngAfterViewInit=function(){var e=this;setTimeout(function(){e.ready=!0,e.detector.detectChanges()},600),this.resize(),this.autoShowQR()},t.prototype.ngOnDestroy=function(){e.prototype.ngOnDestroy.call(this),this._destroyed=!0,clearInterval(this.intervalID),this.device.complete()},Object.defineProperty(t.prototype,"modalWrapperEle",{get:function(){return this.element.nativeElement.offsetParent.className.indexOf("modal-wrapper")>=0?this.element.nativeElement.offsetParent:this.element.nativeElement.offsetParent.querySelector(".modal-wrapper")},enumerable:!0,configurable:!0}),t.prototype.resize=function(){var e=this.modalWrapperEle;this.wrap={offsetLeft:e.offsetLeft,offsetTop:e.offsetTop,width:this.wrapper.nativeElement.offsetWidth,height:this.wrapper.nativeElement.offsetHeight,idealRatio:this.wrap.idealRatio}},t.prototype.confirm=function(){this.signpad.confirmSignatureFromInterface()},t.prototype.close=function(){this.state.showQRCode?this.state={showQRCode:!1}:this.nav.pop()},t.prototype.clear=function(){this.plsSign=this.t.instant("PLEASE_SIGN"),this.signpad.clearSignature()},t.prototype.preventScroll=function(){"ontouchstart"in window&&this.element.nativeElement&&this.element.nativeElement.parentElement.parentElement&&this.element.nativeElement.parentElement.parentElement.addEventListener("touchstart",function(e){"backdrop-no-tappable"==e.srcElement.className&&event.preventDefault()})},t.prototype.handleDetection=function(e){console.log("waiting for user info",e),this.isWaiting=e},t.prototype.skipCheck=function(){console.log("skipCheck"),localStorage.setItem("overrideDriver","true"),this.overrideDriver=!0,this.autoShowQR(),this.detector.markForCheck()},t.prototype.downloadDriver=function(){this.s.is.cordova||(this.driverDownloaded=!0,window.open(this.driverUrl,"_blank"))},Object.defineProperty(t.prototype,"driverUrl",{get:function(){return this.configurables.value("driverUrl","https://signosoft.com/driver/SignatureDriver_Installer_latest.exe")},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"existDriverUrl",{get:function(){return this.driverUrl&&this.driverUrl.length>0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"canOverideDriver",{get:function(){return this.configurables.value("canOverideDriver",!0)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"driverBuildIsApp",{get:function(){return"APPLICATION"===this.configurables.value("driverBuild","SERVICE")},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"driverStatus",{get:function(){return this.signoSoftDriverInterface&&this.signoSoftDriverInterface.device.connected},enumerable:!0,configurable:!0}),t.prototype.checkDriverStatus=function(){var e=this;this.signoSoftDriverInterface&&this.signoSoftDriverInterface.device.connected&&this.driverReady.next(!0),this.s.is.cordova||!this.s.is.windows||this.signoSoftDriverInterface&&this.signoSoftDriverInterface.device.connected||(this.intervalID=setInterval(function(){try{var t=e.appConfig.getConfig("localDriver");fetch((!0===t?"http://localhost":"https://localhost.signosoft.com")+":8111/SignoSoftDriver/",{mode:"no-cors",cache:"no-cache"}).then(function(t){e.driverReady.getValue()||e.signoSoftDriverInterface.device.connected||(console.log("DRIVER READY",e.signpad),e.signoSoftDriverInterface.reconnect(e.signpad)),-1!=Object(c.f)(e.signoSoftDriverInterface.device.driverVersion,e.minDriverVersion)&&(e.driverReady.next(!0),clearInterval(e.intervalID))}).catch(function(t){e.driverReady.next(!1)})}catch(t){e.driverReady.next(!1)}},1e3))},t.prototype.selectCert=function(e){this.selectedCertificate=e,this.detector.detectChanges()},t.prototype.scanSignature=function(e){return g(this,void 0,void 0,function(){var t;return f(this,function(n){switch(n.label){case 0:return this.ga.event(d.b.DOC_VIEW_SCAN_SIG,d.c.DOCUMENT_VIEW),[4,this.ui.modal(h.a,{src:e[0].data}).toPromise()];case 1:return(t=n.sent())&&t.sigData&&(this.state={hasSavedScannedSignature:!0},this.signWithScanned(t)),[2]}})})},t.prototype.showSavedSignature=function(){return g(this,void 0,void 0,function(){var e;return f(this,function(t){switch(t.label){case 0:return this.ga.event(d.b.DOC_VIEW_SCAN_SIG,d.c.DOCUMENT_VIEW),[4,this.ui.modal(h.a).toPromise()];case 1:return(e=t.sent())&&e.sigData&&this.signWithScanned(e),[2]}})})},t.prototype.signWithScanned=function(e){this.state={hasSavedScannedSignature:!0};var t=this.signature.inPerson?"IN PERSON "+this.signpadOptions.signer:this.signpadOptions.signer,n={signatureImageBase64:e.sigData.slice(22),bioData:this.signpad.createPackage(),signerName:this.signpadOptions.signer,bioProp:{signer:t,serial:null,keyHash:null},sigName:this.signature.name};this.signWithRequest(n)},t.prototype.certificate=function(){this.ui.alertOK(this.t.instant("SIGNING_WITH_CERT"),this.t.instant("INSERT_SIGNER_CERT")).run()},t.prototype.generateQR=function(){return g(this,void 0,void 0,function(){var e,t=this;return f(this,function(n){switch(n.label){case 0:return this.ga.event(this.state.showQRCode?d.b.DOC_VIEW_RELOAD_QR:d.b.DOC_VIEW_SEND_TO_PHONE,d.c.DOCUMENT_VIEW),this.isWaiting=!0,this.signpad.closeSciptelInterface(),[4,this.server.createDocLinkforQR(this.signature.id,this.docToken,this.state.signosoftFree).toPromise()];case 1:return e=n.sent(),this.smsLinkForm=this.creationKit.initForm("smsLink",{contentClass:"methods-form"}),this.creationKit.addField("phoneCountry","+420",l.a.SELECT,p({label:"COUNTRY_CODE",options:this.phoneValidation.countryCodes},a.a.configureValidators("phoneCountry",[u.w.required]))),this.creationKit.addField("phone","",l.a.TELEPHONE,p({autocomplete:"off",label:"PHONE",pattern:"^[+]?[()/0-9. -]{9,}$"},a.a.configureValidators("phone",[u.w.required]))),this.creationKit.addSubmit("send","SEND_SMS",{onClick:function(e){return t.sendLinkBySMS()},activeLoading:this.smsLoadingEvent}),this.state={showQRCode:!0,qrCodeUrl:e},this.smsLoadingEvent.next(null),this.isWaiting=!1,[2]}})})},t.prototype.actionSigned=function(){return g(this,void 0,void 0,function(){var e,t=this;return f(this,function(n){switch(n.label){case 0:return this.ga.event(d.b.DOC_VIEW_CONFIRM_PHONE_SIGN,d.c.DOCUMENT_VIEW),/^contr-/.test(this.docToken)?[4,this.server.getContractByToken(this.docToken).toPromise()]:[3,2];case 1:return e=n.sent(),[3,4];case 2:return[4,this.server.getDocumentByToken(this.docToken).toPromise()];case 3:e=n.sent(),n.label=4;case 4:return e&&e.signatures.some(function(e){return e.id==t.signature.id&&e.signed})?(console.info("Reload signature after QR signature"),this.viewCtrl.dismiss({signatureImageBase64:"",bioData:"",signerName:"",bioProp:{signer:null,serial:null,keyHash:null},sigName:"",signatureUpdate:!0,metadata:this.metadata,signature:this.signature})):this.nav.pop(),[2]}})})},t.prototype.autoShowQR=function(){var e=!this.s.is.touchscreen&&("withoutMouse"==this.signpad.metadata.signatureInputLvl||"onlyPen"==this.signpad.metadata.signatureInputLvl)&&!this.driverStatus&&this.overrideDriver;this.state={showQRByDefault:e},e&&this.generateQR()},t.prototype.sendLinkBySMS=function(){return g(this,void 0,void 0,function(){var e,t,n,i;return f(this,function(s){switch(s.label){case 0:this.ga.event(d.b.DOC_VIEW_SEND_SMS,d.c.DOCUMENT_VIEW),s.label=1;case 1:return s.trys.push([1,4,,5]),this.smsLoadingEvent.next(!0),this.state={smsError:""},e=this.smsLinkForm.fields.toObject("name","value"),t=e.phone,void 0,t=this.phoneValidation.getPhoneParts(t).phoneNumber,n=this.signature.update({signerPhone:e.phoneCountry.replace(" ","")+t}),[4,this.server.updateSignature(n).toPromise()];case 2:return s.sent(),[4,this.server.generateMessage({sigid:this.signature.id,sendmethod:"SMS",msgType:"LINK",data:this.state.qrCodeUrl}).toPromise()];case 3:return s.sent(),this.smsLoadingEvent.next("SENT"),[3,5];case 4:return i=s.sent(),console.error("sendLinkBySMS",i),this.smsLoadingEvent.next(!1),this.state={smsError:"ERROR"},[3,5];case 5:return[2]}})})},t}(o.a)},211:function(e,t,n){"use strict";var i=n(0),s=n(1),r=(n(22),n(119),n(6),n(2)),o=n(650),l=n(212),a=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.deviceReady=!1,t}return a(t,e),t.prototype.tryToConnect=function(){var e=this;this._device.connected||(this.scriptel=null,this.queue=[],this.scriptelCallback=null,this._device.prevPoint=null,this.scriptel=new ScriptelEasyScript,this.scriptel.addSignatureListener(document),this.scriptelCallback=function(t){return e.scriptelInitEasyScript(t)},this.scriptel.registerStreamingCallback(this.scriptelCallback))},t.prototype.queueProcess=function(e){},t.prototype.processQueue=function(){if(this.deviceReady)for(;this.queue.length>0;){var e=this.queue[0],t=Date.now();switch(this.queue.shift(),e.type){case"ScriptelNewStroke":null!=this._device.prevPoint&&this.signoSoftSignaturePad.handlePenUp(this._device.prevPoint),this._device.prevPoint=null;break;case"ScriptelCoordinate":var n=this.scaleXY({x:e.x,y:e.y,z:1,t:t});this.signoSoftSignaturePad.pushNewPoint(n),null!=this._device.prevPoint?this.signoSoftSignaturePad.handlePenMove(n):this.signoSoftSignaturePad.handlePenDown(n),this._device.prevPoint=n;break;case"ScriptelSignatureComplete":null!=this._device.prevPoint&&this.signoSoftSignaturePad.handlePenUp(this._device.prevPoint),this._device.prevPoint=null}}},t.prototype.scriptelInitEasyScript=function(e){var t=this;Date.now();switch(e.type){case"ScriptelSignatureMetaData":this._device.confirmData={manufacturer:"Scriptel",model:e&&e.model?e.model:null,serialNo:null,localTime:null,systemLang:null,clientIp:null,user:null},this._device.maxX=11,this._device.maxY=3,this.queue=[],this.connected(),this.signoSoftSignaturePad.clearSignature(),this.signoSoftSignaturePad.deviceSetScale(),this.signoSoftSignaturePad.resizing.filter(function(e){return 0==e}).take(1).subscribe(function(e){t.deviceReady=!0});break;case"ScriptelCancelSignature":this.queue=[],this.connected(),null!=this._device.prevPoint&&this.signoSoftSignaturePad.handlePenUp(this._device.prevPoint),this._device.prevPoint=null,this.signoSoftSignaturePad.clearSignature();break;case"ScriptelNewStroke":case"ScriptelCoordinate":case"ScriptelSignatureComplete":this.queue.push(e),this.processQueue()}},t.prototype.signingStarts=function(){},t.prototype.signingEnds=function(){},t.prototype.signLocal=function(e){},t.prototype.connected=function(){this._device.connected||(this.signoSoftSignaturePad.deregisterMouseHandlers(),this._device.interface="ScriptelKeyboard"),this._device.connected=!0},t.prototype.clear=function(){},t.prototype.confirmSignature=function(){this.signoSoftSignaturePad.confirmSignature()},t.prototype.disconnectHard=function(){},t.prototype.disconnect=function(){null!=this.scriptel&&(this.scriptel.unregisterStreamingCallback(this.scriptelCallback),this.scriptel.removeSignatureListener(document)),this._device.connected=!1},t}(l.a),c=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),h=function(e){function t(t,n,i,s){var r=e.call(this)||this;return r.lastTouchEnded=!0,r.bioDataEmpty=!0,r.isiOs=!0,r.isiPad=!0,r.isiOs=t,r.isiPad=n,r.canvas=i,s?(r.signoSoftSignaturePad=s,r.tryToConnect()):r.signoSoftSignaturePad=null,r}return c(t,e),t.prototype.tryToConnect=function(){var e=this;this._device.connected||(this._device.prevPoint=null,console.log("ipad "+this.isiPad),this.isiPad&&signosoft.start("Test",function(t){e.hangleSignoSoftPlugin(t)},function(e){console.error("Error calling plugin")}))},t.prototype.hangleSignoSoftPlugin=function(e){this.isiOs&&(e=JSON.parse(e));var t=Date.now();if(e.hasOwnProperty("event"))if(this._device.connected&&"Wacom"==this._device.manufacturer&&"Stylus"==this._device.model&&"StylusPressureChange"==e.event)this.pressure=e.pressure;else if("StylusTouchesBegan"==e.event||"StylusTouchesMoved"==e.event||"StylusTouchesEnded"==e.event){this.lastTouchEnded=!1,"StylusTouchesEnded"==e.event&&(this.lastTouchEnded=!0);for(var n in e.touches){var i=e.touches[n],s=void 0;if(s="StylusTouchesEnded"==e.event?0:this._device.connected&&"Wacom"==this._device.manufacturer&&"Stylus"==this._device.model?i.pressure:"applePencil"==i.type?i.pressure:1,!this._device.prevPoint||this._device.prevPoint.x!=i.x||this._device.prevPoint.y!=i.y||this._device.prevPoint.z!=s)switch(this._device.prevPoint={x:i.x,y:i.y,z:s,t:t},this.signoSoftSignaturePad.pushNewPoint(this._device.prevPoint),this.bioDataEmpty=!1,e.event){case"StylusTouchesBegan":this.signoSoftSignaturePad.handlePenDown(this._device.prevPoint);break;case"StylusTouchesEnded":this.signoSoftSignaturePad.handlePenUp(this._device.prevPoint);break;default:this.signoSoftSignaturePad.handlePenMove(this._device.prevPoint)}}}else if(!this._device.connected||"Wacom"!=this._device.manufacturer||"Stylus"!=this._device.model||"StylusPressureChange"!=e.event||this.lastTouchEnded||this.bioDataEmpty||this._device.prevPoint.z==e.pressure)if("CordovaConnected"==e.event)this._device.connected=!0,this._device.interface="SignoSoftPlugin";else if("StylusDeviceConnected"==e.event){if("Android"==e.device)return this._device.connected=!0,this._device.manufacturer="Android",void(this._device.interface="SignoSoftPlugin");this.isiOs&&"Apple Pencil"==e.device?(this._device.connected=!0,this._device.manufacturer="Apple",this._device.model="Pencil",this._device.interface="SignoSoftPlugin"):(this._device.connected=!0,this.isiOs&&(this._device.manufacturer="Wacom"),this.isiOs&&(this._device.model="Stylus"),this._device.interface="SignoSoftPlugin",this._device.prevPoint=null),this.signoSoftSignaturePad.deviceConnected()}else"StylusDeviceDisconnected"==e.event&&(this._device.connected=!1,this.signoSoftSignaturePad.deviceDisconnect());else this._device.prevPoint.z=e.pressure,this.signoSoftSignaturePad.pushNewPoint(this._device.prevPoint),this.bioDataEmpty=!1;else this._device.prevPoint={x:e.x,y:e.y,z:e.p,t:t},this.signoSoftSignaturePad.pushNewPoint(this._device.prevPoint),this.bioDataEmpty=!1},t.prototype.signingStarts=function(){},t.prototype.signingEnds=function(){},t.prototype.signLocal=function(e){},t.prototype.clear=function(){this.bioDataEmpty=!0},t.prototype.disconnectHard=function(){},t.prototype.confirmSignature=function(){var e=this;signosoft.confirm("Test",function(t){e.isiOs&&(t=JSON.parse(t)),e.device.confirmData={manufacturer:t.manufacturer,model:t.model,serialNo:t.serial,localTime:t.localTime,systemLang:t.systemLang,clientIp:t.clientIp,user:t.user},e.signoSoftSignaturePad.confirmSignature()},function(t){e.signoSoftSignaturePad.confirmSignature()})},t.prototype.disconnect=function(){this._device.connected=!1},t}(l.a),d=n(24),p=(n(15),n(5),n(19),n(312)),g=n.n(p),f=n(648),m=n.n(f),b=n(210);n(48),n(31);n.d(t,"a",function(){return E}),n.d(t,"b",function(){return w});var v=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))(function(s,r){function o(e){try{a(i.next(e))}catch(e){r(e)}}function l(e){try{a(i.throw(e))}catch(e){r(e)}}function a(e){e.done?s(e.value):new n(function(t){t(e.value)}).then(o,l)}a((i=i.apply(e,t||[])).next())})},y=this&&this.__generator||function(e,t){function n(n){return function(o){return function(n){if(i)throw new TypeError("Generator is already executing.");for(;l;)try{if(i=1,s&&(r=s[2&n[0]?"return":n[0]?"throw":"next"])&&!(r=r.call(s,n[1])).done)return r;switch(s=0,r&&(n=[0,r.value]),n[0]){case 0:case 1:r=n;break;case 4:return l.label++,{value:n[1],done:!1};case 5:l.label++,s=n[1],n=[0];continue;case 7:n=l.ops.pop(),l.trys.pop();continue;default:if(r=l.trys,!(r=r.length>0&&r[r.length-1])&&(6===n[0]||2===n[0])){l=0;continue}if(3===n[0]&&(!r||n[1]>r[0]&&n[1]t?e:t)<=900&&(t=800;s=n-(a?48:21)-48-45-(a?40:0),r=i,o=i-48-(n>=700?36:0)-(n<650?45:0)-(a?15:0),l=n-(a?35:0)}else{var u=n-e,c=0==u?i-t:u;s=n-c,r=i,o=i-c,l=n}console.log(n),console.log(i),console.log(s),console.log(l),s=Math.min(s-b.b-54,250),r-=20,o=Math.min(s,250),l=l-b.c-54,console.log(s),console.log(l),this.setCanvasRealSize(r360&&(d=(h=360)/this.activeDevice.maxY*this.activeDevice.maxX),this.setCanvasRealSize(d,h);var p={scale:1,shiftX:0,shiftY:0};p.scale=this.canvas.offsetWidth/this.activeDevice.maxX,this.activeInterface.scaling=p}else console.log("Canvas type: normal"),this.setCanvasRealSize(560,250);var g=parseFloat(this.configurables.value("signature.render_min_scale","2.0"));console.log("sigScale",g);var f=Math.max(window.devicePixelRatio||1,1)*g;this.canvas.width=this.canvas.offsetWidth*f,this.canvas.height=this.canvas.offsetHeight*f,this.canvas.getContext("2d").scale(f,f)},t.prototype.resize=function(){},t.prototype.deviceSetScale=function(){this.setSize()},t.prototype.refreshWrapperSize=function(){if(window.innerHeight<500||window.innerWidth<768){var e=(this.wrapper.height-this.realTopSize)/this.wrapper.width;this.wrapper.idealRatio!=e?this.signingEvent.emit("setIdealRatio: "+e.toString()):this.resizing.next(!1)}else if(0!=this.activeDevice.connected&&"SignoSoftPlugin"!=this.activeDevice.interface){var t=this.activeDevice.maxY/this.activeDevice.maxX;this.wrapper.idealRatio!=t?this.signingEvent.emit("setIdealRatio: "+t.toString()):this.resizing.next(!1)}else{var n=250/this.wrapper.width,i=this.options.signatureRatio0),o=this.canvas.toDataURL()==this.emtyConvas,this.signaturePad.isEmpty()&&!this._signed||this.bioData.length<=1&&o||this.bioData.length<=1&&!o&&r)return this.signingEvent.emit("noSignatureError"),[2];for(l=null,l=this._signed?this.canvas.toDataURL():this.signaturePad.toDataURL(),a={x:this.canvas.width,y:this.canvas.height},u=.5,c={},h=[],d=function(e){if(c[e.z]=1,e.z>0&&h.length>0){var t=h.last(),n=function(n){return Math.abs(t[n]-e[n])/a[n]*100>=u};(n("x")||n("y"))&&h.push({x:e.x,y:e.y})}else e.z>0&&h.push({x:e.x,y:e.y})},p=0,g=this.bioData;p0&&(e.z=1023),this.bioData.push(e)},t.prototype.setFullSignatureDataEnc=function(e){this.bioDataEnc=e},t.prototype.setFullSignatureData=function(e){this.bioData=e},t.prototype.drawImageScaled=function(e){var t=this,n=new Image,i=this.canvas.getContext("2d");n.onload=function(){var e=t.canvas.offsetWidth/n.width,s=t.canvas.offsetHeight/n.height,r=Math.min(e,s),o=(t.canvas.offsetWidth-n.width*r)/2,l=(t.canvas.offsetHeight-n.height*r)/2;i.clearRect(0,0,t.canvas.offsetWidth,t.canvas.offsetHeight),i.drawImage(n,0,0,n.width,n.height,o,l,n.width*r,n.height*r),t.signedByImageAt={xLeft:o,yTop:l,width:n.width*r,height:n.height*r}},n.src="data:image/png;base64,"+e},t.prototype.sendScaledSignatureImage=function(){var e=null;e=this._signed?this.canvas.toDataURL():this.signaturePad.toDataURL(),this.scaleSignatureImage(e).map(function(e){})},t.prototype.measureSignature=function(e){var t=document.createElement("canvas"),n=t.getContext("2d");return t.width=this.canvas.width,t.height=this.canvas.height,new Promise(function(i,s){var r=new Image;r.onerror=function(e){s(e),t.width=0,t.height=0,t=null,n=null},r.onload=function(){n.drawImage(r,0,0);var e,s,o,l=n.getImageData(0,0,t.width,t.height),a=l.data.length,u={top:null,left:null,right:null,bottom:null};for(e=0;ea&&(a=b[v].x+2),b[v].y+2>c&&(c=b[v].y+2));h||(e=u>2?(u-2)*l:0,o=g>2?(g-2)*l:0,p=(c-g+2)*l,(d=(a-u+2)*l)>i.width&&(d=i.width),p>i.height&&(p=i.height))}h&&null!=t.signedByImageAt&&(e=t.signedByImageAt.xLeft*l,o=t.signedByImageAt.yTop*l,d=t.signedByImageAt.width*l,p=t.signedByImageAt.height*l);var y=s.width/d,E=s.height/p,w=Math.min(y,E),I=(s.width-d*w)/2,S=(s.height-p*w)/2;r.clearRect(0,0,s.width,s.height),d>i.width&&(d=i.width),p>i.height&&(p=i.height),r.drawImage(i,e,o,d,p,I,S,d*w,p*w),n.next(s.toDataURL()),n.complete(),s.width=0,s.height=0,s=null,r=null},i.src=e})},t.prototype.registerNativeEvents=function(){var e=this;window.PointerEvent?(this.canvas.addEventListener("pointerdown",function(t){e.canvas.setPointerCapture(t.pointerId),e.nativeEventListen(t)}),this.canvas.addEventListener("pointermove",function(t){return e.nativeEventListen(t)}),this.canvas.addEventListener("pointerup",function(t){e.canvas.releasePointerCapture(t.pointerId),e.nativeEventListen(t)})):(this.canvas.addEventListener("touchstart",function(t){return e.nativeEventListen(t,!0)}),this.canvas.addEventListener("touchmove",function(t){return e.nativeEventListen(t,!0)}),this.canvas.addEventListener("touchend",function(t){return e.nativeEventListen(t,!0)}),this.canvas.addEventListener("mousedown",function(t){return e.nativeEventListen(t,!0)}),this.canvas.addEventListener("mousemove",function(t){return e.nativeEventListen(t,!0)}),this.canvas.addEventListener("mouseup",function(t){return e.nativeEventListen(t,!0)}),this.canvas.addEventListener("mouseout",function(t){return e.nativeEventListen(t,!0)}))},t.prototype.nativeEventListen=function(e,t){void 0===t&&(t=!1);var n,i,s=!1;if(t){var r=(s=e.type.indexOf("mouse")>=0)?{clientX:e.clientX,clientY:e.clientY,force:0}:e.changedTouches[0];n={x:r.clientX,y:r.clientY,z:r.force,t:Date.now()},i="stylus"==r.touchType}else s="mouse"==e.pointerType,n={x:e.x,y:e.y,z:e.pressure,t:Date.now()},i="pen"==e.pointerType;this.activeDevice.connected&&"SignoSoftPlugin"==this.activeDevice.interface&&"Wacom"==this.activeDevice.manufacturer&&(i=!0,n.z=this.signoSoftCordovaPluginInterface.pressure);var o=!1;switch(this.metadata.signatureInputLvl){case"withoutMouse":s&&(o=!0);break;case"onlyPen":i||(o=!0)}if(!i&&this.metadata.signWithPressure&&(o=!0),this.activeDevice.connected&&"SignoSoftDriver"==this.activeDevice.interface&&!this.activeInterface.passive&&(o=!0),!o&&n.x&&n.y)switch(n.z=Math.round(1023*n.z),e.type){case"pointerdown":case"touchstart":case"mousedown":this.penDown=!0,this.handlePenDown(n),this.pushNewPoint(n);break;case"pointerup":case"touchend":case"mouseup":case"mouseout":this.penDown=!1,this.handlePenUp(n),n.z=0,this.pushNewPoint(n);break;default:this.penDown&&(0==n.z&&(n.z=1023),this.handlePenMove(n)),this.pushNewPoint(n)}},t.prototype.registerSignpadEvents=function(){SignaturePad.prototype._handleSignpadUp=function(e){1===e.which&&this._mouseButtonDown&&(this._mouseButtonDown=!1,this._strokeEnd(e))},SignaturePad.prototype._handleSignpadDown=function(e){1===e.which&&(this._mouseButtonDown=!0,this._strokeBegin(e))},SignaturePad.prototype._handleSignpadMove=function(e){this._mouseButtonDown&&this._strokeUpdate(e)},SignaturePad.prototype._handleSignPadEvents=function(){this._mouseButtonDown=!1,this._canvas.addEventListener("signpaddown",this._handleSignpadDown),this._canvas.addEventListener("signpadmove",this._handleSignpadMove),document.addEventListener("signpadup",this._handleSignpadUp)},SignaturePad.prototype.on2=function(){this._handleSignPadEvents()},SignaturePad.prototype.deregisterMouseHandlers=function(){this._canvas.removeEventListener("mousedown",this._handleMouseDown),this._canvas.removeEventListener("mousemove",this._handleMouseMove),document.removeEventListener("mouseup",this._handleMouseUp),this._canvas.removeEventListener("touchstart",this._handleTouchStart),this._canvas.removeEventListener("touchmove",this._handleTouchMove),this._canvas.removeEventListener("touchend",this._handleTouchEnd)},SignaturePad.prototype.deregisterSignPadEvents=function(){this._canvas.removeEventListener("signpaddown",this._handleSignpadDown),this._canvas.removeEventListener("signpadmove",this._handleSignpadMove),document.removeEventListener("signpadup",this._handleSignpadUp)}},t.prototype.shift=function(e){if(null!=this.activeInterface&&!this.activeInterface.passive){var t=this.canvas.getBoundingClientRect();e.x+=t.x,e.y+=t.y}return e},t.prototype.handlePenDown=function(e){e=this.shift(e);var t=new MouseEvent("signpaddown",{bubbles:!0,clientX:Math.round(e.x),clientY:Math.round(e.y)});this.signaturePad._handleSignpadDown(t),this.json.push({type:"signpaddown",x:Math.round(e.x),y:Math.round(e.y)})},t.prototype.handlePenMove=function(e){e=this.shift(e);var t=new MouseEvent("signpadmove",{bubbles:!0,clientX:Math.round(e.x),clientY:Math.round(e.y)});this.signaturePad._handleSignpadMove(t),this.json.push({type:"signpadmove",x:Math.round(e.x),y:Math.round(e.y)})},t.prototype.handlePenUp=function(e){e=this.shift(e);var t=new MouseEvent("signpadup",{bubbles:!0,clientX:Math.round(e.x),clientY:Math.round(e.y)});this.signaturePad._handleSignpadUp(t),this.json.push({type:"signpadup",x:Math.round(e.x),y:Math.round(e.y)})},t.prototype.deregisterMouseHandlers=function(){"function"==typeof this.signaturePad.deregisterMouseHandlers&&this.signaturePad.deregisterMouseHandlers()},Object.defineProperty(t.prototype,"activeInterface",{get:function(){return null!=this.signoSoftDriverInterface&&this.signoSoftDriverInterface.device.connected?this.signoSoftDriverInterface:null!=this.signoSoftCordovaPluginInterface&&this.signoSoftCordovaPluginInterface.device.connected?this.signoSoftCordovaPluginInterface:null!=this.scriptelDriverInterface&&this.scriptelDriverInterface.device.connected?this.scriptelDriverInterface:null!=this.scriptelKeyboardInterface&&this.scriptelKeyboardInterface.device.connected?this.scriptelKeyboardInterface:null},enumerable:!0,configurable:!0}),t.prototype.deviceConnected=function(){this.signingEvent.emit(E.DEVICE_CONNECTED+":"+this.activeDevice.manufacturer+" "+this.activeDevice.model)},t.prototype.deviceDisconnect=function(){this.signingEvent.emit(""+E.DEVICE_DISCONNECTED)},t.prototype.driverConnected=function(){this.signingEvent.emit(""+E.DRIVER_CONNECTED)},t.prototype.driverDisconnect=function(){this.signingEvent.emit(""+E.DRIVER_DISCONNECTED)},t.prototype.driverVersion=function(e){this.signingEvent.emit(E.DRIVER_VERSION+":"+e)},Object.defineProperty(t.prototype,"activeDevice",{get:function(){var e={maxX:235,maxY:60,measuredYtargetLine:51.689,scaling:{scale:1,shiftX:0,shiftY:0},maxPressure:1024,connected:!1,interface:null,model:null,serial:null,manufacturer:null,description:null,prevPoint:null,keyHash:null,driverVersion:null};return null==this.activeInterface?e:this.activeInterface.device.connected?this.activeInterface.device:e},enumerable:!0,configurable:!0}),t.prototype.endSingningOnAllInterfaces=function(){null!=this.signoSoftDriverInterface&&this.signoSoftDriverInterface.signingEnds(),null!=this.signoSoftCordovaPluginInterface&&this.signoSoftCordovaPluginInterface.signingEnds(),null!=this.scriptelDriverInterface&&this.scriptelDriverInterface.signingEnds(),null!=this.scriptelKeyboardInterface&&this.scriptelKeyboardInterface.signingEnds()},t.prototype.closeSciptelInterface=function(){null!=this.scriptelKeyboardInterface&&this.scriptelKeyboardInterface.disconnect()},t.prototype.closeAllInterfaces=function(){null!=this.signoSoftDriverInterface&&this.signoSoftDriverInterface.disconnect(),null!=this.signoSoftCordovaPluginInterface&&this.signoSoftCordovaPluginInterface.disconnect(),null!=this.scriptelDriverInterface&&this.scriptelDriverInterface.disconnect(),null!=this.scriptelKeyboardInterface&&this.scriptelKeyboardInterface.disconnect()},t.prototype.askForConfirmation=function(){this.signingEvent.emit("ASK_FOR_CONFIRMATION")},t.prototype.backClicked=function(){this.signingEvent.emit("BACK_CLICKED")},Object.defineProperty(t.prototype,"signed",{set:function(e){this._signed=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"metadata",{get:function(){return this.options.metadata},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"signature",{get:function(){return this.options.signature},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"localSign",{get:function(){return this.options.localSign},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"instructionText",{get:function(){if(this.s.is.mobile)return"SIGN_WITH_TOUCH";if(this.s.is.touchscreen)switch(this.metadata.signatureInputLvl){case"withoutMouse":return"SIGN_WITH_TOUCH_OR_PEN";case"onlyPen":return"SIGN_WITH_PEN";default:return"SIGN_WITH_TOUCH_PEN_MOUSE"}else switch(this.metadata.signatureInputLvl){case"onlyPen":return"SIGN_WITH_PEN";default:return"SIGN_WITH_PEN_MOUSE"}},enumerable:!0,configurable:!0}),t.prototype.analyzeRequirements=function(e,t,n){this.analyze.push({lvl:e,perW:t.percentWidth,perH:t.percentHeght,poi:n.length});for(var i=0,s=0,r=0,o=0,l=0,a=this.analyze;l0&&r[r.length-1])&&(6===n[0]||2===n[0])){l=0;continue}if(3===n[0]&&(!r||n[1]>r[0]&&n[1]>16&255,o=i>>8&255,l=255&i;switch(n){case r.FULL_COLOR:this.cv.render_full_color(e,t,[s,o,l]);break;case r.BLEND_ALPHA:this.cv.blend_alpha(e,t,[s,o,l]);break;case r.BLEND_WHITE:this.cv.blend_white(e,t,[s,o,l])}}else e.copyTo(t);e.delete()},t.prototype.applyFilter=function(){return h(this,void 0,void 0,function(){var e;return d(this,function(t){switch(t.label){case 0:return this.state={buttonsDisabled:!0},e=this.image.roi(this.getRekt()),[4,this.cv.to_binary(e,this.mask,this.sauvolaK)];case 1:return t.sent(),this.cv.cv.bitwise_not(this.mask,this.mask),e.delete(),this.result.setTo(new this.cv.cv.Scalar(0,0,0,0)),this.croppedProcessed.copyTo(this.result,this.mask),this.cv.imshow(this.result,this.finalCanvas.nativeElement),this.state={buttonsDisabled:!1},[2]}})})},t.prototype.kChange=function(){!this.state.buttonsDisabled&&this.state.cropConfirmed&&(this.ga.event(a.b.DOC_VIEW_SIG_SCAN_SENSITIVITY_CHANGE,a.c.DOCUMENT_VIEW,"",this.sauvolaK),this.applyFilter())},t.prototype.getRekt=function(){return new this.cv.cv.Rect(this.cropper.absPts[0].x,this.cropper.absPts[0].y,this.cropper.absPts[1].x-this.cropper.absPts[0].x,this.cropper.absPts[2].y-this.cropper.absPts[0].y)},t.prototype.back=function(){this.ga.event(a.b.DOC_VIEW_SIG_SCAN_BACK,a.c.DOCUMENT_VIEW),this.state={cropConfirmed:!1}},t.prototype.cancel=function(){this.ga.event(a.b.DOC_VIEW_SIG_SCAN_CANCEL,a.c.DOCUMENT_VIEW),this.viewCtrl.dismiss(null)},t.prototype.confirm=function(){this.ga.event(a.b.DOC_VIEW_SIG_SCAN_CONFIRM,a.c.DOCUMENT_VIEW,"",this.sauvolaK),this.saveImage(),this.viewCtrl.dismiss({sigData:this.finalCanvas.nativeElement.toDataURL("image/png")})},t.prototype.onSelect=function(e){this.state={buttonsDisabled:!0},this.ga.event(a.b.DOC_VIEW_SIG_SCAN_RETAKE,a.c.DOCUMENT_VIEW),this.showNewImage(e[0].data),this.state={buttonsDisabled:!1}},t.prototype.webcamScan=function(){return h(this,void 0,void 0,function(){var e;return d(this,function(t){switch(t.label){case 0:return this.ga.event(a.b.DOC_VIEW_SIG_SCAN_TURN_ON_WEBCAM,a.c.DOCUMENT_VIEW),this.state={buttonsDisabled:!0},[4,this.ui.modal(c.a).toPromise()];case 1:return(e=t.sent())&&e.src&&this.showNewImage(e.src),this.state={buttonsDisabled:!1},[2]}})})},t}(l.a)},214:function(e,t,n){"use strict";n.d(t,"a",function(){return d});var i=n(0),s=n(1),r=n(306),o=n.n(r),l=n(24),a=(n.n(l),n(32)),u=n(110),c=this&&this.__assign||Object.assign||function(e){for(var t,n=1,i=arguments.length;ni?n=(t=e.width)*i:t=(n=e.height)/i,this.container={width:t,height:n},this.calcPts(),this.changeDetector.detectChanges()},t.prototype.ngOnChanges=function(e){"originalPts"in e&&(this.absPts=this.originalPts,this.calcPts()),"dims"in e&&this.onResize()},t.prototype.ngAfterViewInit=function(){var e=this;l.Observable.fromEvent(window,"resize").debounceTime(100).subscribe(function(){return e.onResize()}).register(this.context),setTimeout(function(){return e.onResize()})},t.prototype.ngOnDestroy=function(){e.prototype.ngOnDestroy.call(this),this.canvas.width=this.canvas.height=0},t.prototype.calcPts=function(){var e=this,t=this.container.width/this.dims.width;this.absPts.length<4||isNaN(t)||(this.pts=this.absPts.map(function(e){return{x:e.x*t,y:e.y*t}}),this.arrows=this.pts.map(function(t,n){return e.arrowCalculators[n](t)}),this.calcPolygon())},t.prototype.calcPolygon=function(){this.polygon="M0,0 h"+this.container.width+" v"+this.container.height+" h-"+this.container.width+" v-"+this.container.height+" z\n M"+this.tl.x+","+this.tl.y+" L"+this.tr.x+","+this.tr.y+" L"+this.br.x+","+this.br.y+" L"+this.bl.x+","+this.bl.y+" Z"},t.prototype.activate=function(e,t){this.activeI=e,this.backup=this.pts.map(function(e){return c({},e)}).slice(),this.activeStart={x:t.clientX,y:t.clientY},t.preventDefault()},t.prototype.onPointerMove=function(e){null!==this.activeI&&(e.preventDefault(),this.throttledPointerMove(e))},t.prototype.onPointerUp=function(e){if(null!==this.activeI){this.move(e);var t=this.dims.width/this.container.width;this.absPts=this.pts.map(function(e){return{x:e.x*t,y:e.y*t}}),this.activeI=null}},t.prototype.movePoly=function(e){this.pts[this.activeI]={x:this.backup[this.activeI].x+(e.clientX-this.activeStart.x)/this.zoomContainer.zoom,y:this.backup[this.activeI].y+(e.clientY-this.activeStart.y)/this.zoomContainer.zoom},this.pts[this.activeI]=this.limiters[this.activeI](this.pts[this.activeI]),this.arrows[this.activeI]=this.arrowCalculators[this.activeI](this.pts[this.activeI]),this.calcPolygon()},t.prototype.moveRect=function(e){var t=this,n=(e.clientX-this.activeStart.x)/this.zoomContainer.zoom,i=(e.clientY-this.activeStart.y)/this.zoomContainer.zoom;this.pts[this.activeI]={x:this.backup[this.activeI].x+n,y:this.backup[this.activeI].y+i},this.pts[this.activeI]=this.limiters[this.activeI](this.pts[this.activeI]),n=this.pts[this.activeI].x-this.backup[this.activeI].x,i=this.pts[this.activeI].y-this.backup[this.activeI].y;var s=(this.activeI+1)%4,r=(this.activeI-1+4)%4;[function(){t.pts[s]={x:t.backup[s].x+n,y:t.backup[s].y},t.pts[r]={x:t.backup[r].x,y:t.backup[r].y+i}},function(){t.pts[s]={x:t.backup[s].x,y:t.backup[s].y+i},t.pts[r]={x:t.backup[r].x+n,y:t.backup[r].y}}][(this.activeI+1)%2](),[this.activeI-1,this.activeI,this.activeI+1].forEach(function(e){t.arrows[e=(e+4)%4]=t.arrowCalculators[e](t.pts[e])}),this.calcPolygon()},Object(i.__decorate)([Object(s.HostListener)("window:pointerup",["$event"]),Object(s.HostListener)("window:pointercancel",["$event"]),Object(s.HostListener)("window:pointerleave",["$event"]),Object(i.__metadata)("design:type",Function),Object(i.__metadata)("design:paramtypes",[PointerEvent]),Object(i.__metadata)("design:returntype",void 0)],t.prototype,"onPointerUp",null),t}(a.a)},215:function(e,t,n){"use strict";n.d(t,"a",function(){return l});var i=n(0),s=n(24),r=(n.n(s),n(151)),o=(n(132),n(131),n(32)),l=function(e){function t(t){return e.call(this,t)||this}return Object(i.__extends)(t,e),t.prototype.ngAfterContentInit=function(){var e=this;s.Observable.fromEvent(window,"resize").debounceTime(100).subscribe(function(){return e.onResize()}).register(this.context),setTimeout(function(){return e.onResize()},200)},Object.defineProperty(t.prototype,"zoom",{get:function(){return this.carouselItem.zoom},enumerable:!0,configurable:!0}),t.prototype.panStart=function(e){this.carouselItem.panStart(e)},t.prototype.pan=function(e){this.carouselItem.pan(e)},t.prototype.panEnd=function(e){this.carouselItem.panEnd(e)},t.prototype.onResize=function(e){void 0===e&&(e="top"),this.carouselItem.onResize(e)},t.prototype.pinchStart=function(e){this.carouselItem.pinchStart(e)},t.prototype.pinch=function(e){this.carouselItem.pinch(e)},t.prototype.pinchEnd=function(){this.carouselItem.pinchEnd()},t.prototype.doubleTap=function(e){var t=this.carouselItem.itemSize.width/this.carouselItem.pageSize.width,n=Math.max(t,r.k);this.zoomTo(this.carouselItem.zoom>=n?r.x:n,e.center)},t.prototype.zoomTo=function(e,t){return this.carouselItem.zoomTo(e,t)},t}(o.a)},223:function(e,t,n){"use strict";n.d(t,"a",function(){return o});n(0),n(6);var i=n(49),s=n(24),r=(n.n(s),n(80)),o=(n(22),n(15),n(5),n(14),n(19),n(31),function(){function e(e,t,n,i,s,r,o,l){this.s=e,this.server=t,this.storage=n,this.events=i,this.ts=s,this.ui=r,this.platform=o,this.configurable=l}return e.prototype.inbound=function(e,t){var n=this;if(!/signosoft/.test(e.scheme)){console.log("deeplink call"),e=this.processParam(e),console.log(e),this.s.URLData={documentLink:e.params.bioid,target:e.params.target,origin:e.params.from,user:e.params.user&&e.params.user.replace(/\/$/,""),token:e.params.token,server:e.params.server,selectedPlan:e.params.selectedPlan,billingPeriod:e.params.billingPeriod,paymentResult:e.params.payres,config:e.params.config,browserName:e.params.browser,client:e.params.client,department:e.params.department,all:e.params},this.s.URLData.documentLink&&(this.s.URLData.target=i.g.DOCUMENTAPP);var o=this.s.URLData;if(this.ui.closeOverlays(),null!=o.config&&o.config.length>1&&this.server.getRemoteConfig(o.config).subscribe(function(e){null!=e&&null!=e.url&&(n.storage.serverURL!==e.url&&n.events.publish(r.a.LOG_OUT),n.storage.serverURL=e.url,console.info("[deeplink-service] new default server url: "+n.storage.serverURL),n.configurable.reload(),n.storage.ready().subscribe(function(){n.server.isTrialEnabled().run()}))},function(e){console.error("Remove config error"),console.log(e)}),o.target==i.g.VERIFY){var l=function(){n.server.verify(o.token,o.user).subscribe(function(e){if("VERIFIED"==e&&n.storage.user&&n.storage.user.email==o.user){n.storage.user=n.storage.user.update({active:!0});var s=t.getViews();t.getActive()&&t.getActive().id==i.a.LOGIN?n.events.publish("login:verify",o):t.getActive()&&!s.find(function(e){return e.id==i.a.VERIFY})&&t.setRoot(i.a.VERIFY,{param:"",token:o.token||""})}})};!this.storage.user||this.storage.user&&this.storage.user.email==o.user?l():this.events.publish(r.a.LOG_OUT,!1,function(){l()})}else if(o.target==i.g.DOCUMENT||o.target==i.g.DOCUMENTAPP){console.log("deep directDocumentLink");var a=this.server.getBrowsableRedirected(this.s.URLData.documentLink);this.ts.get("LOADING_DOCUMENT").subscribe(function(e){n.ui.loading(n.ts.instant("LOADING_DOCUMENT"),a).catch(function(e){return n.s.replaceUrl(null,"error",!0),n.ui.alertError(e)}).subscribe(function(e){null!=e&&(n.configurable.reload(),t.setRoot(i.a.DOCUMENT,{document:e.document.document,token:e.document.document.token,settings:e.settings},{animate:!1}))},function(){})})}else null===sessionStorage.getItem("settings")||o.target||(this.storage.clear(),sessionStorage.removeItem("settings"));if(void 0!==e.hash&&0!=e.hash.length||!t.getActive()||t.getActive().id!=i.a.LOGIN||(console.log("login:deeplink"),this.events.publish("login:deeplink",o)),void 0!==e.hash&&0!=e.hash.length){var u=e.hash.split("/");this.server.verifyToken().catch(function(e){return s.Observable.of({})}).subscribe(function(e){var s=function(){if(t.getActive()&&t.getActive().id==i.a.DEFAULT)t.push(u[1],{token:u[2]},{animate:!1}).then(function(){});else if(u[1]===i.a.RESET){var e=u[2].split("?user=")[1],n=u[2].split("?user=")[0];t.setRoot(i.a.LOGIN,{username:e,token:n}).then(function(){t.push(i.a.RESET,{username:e,token:n})})}else t.setRoot(i.a.DEFAULT,{},{animate:!1}).then(function(e){t.push(u[1],{token:u[2]},{animate:!1}).then(function(){})},function(e){return console.log(e)})};switch(u[1]){case"document":n.storage.token?s():t.viewDidEnter.filter(function(e){return e&&e.id!=i.a.LOGIN}).take(1).subscribe(function(e){e&&e.id!=i.a.VERIFY&&s()});break;default:s()}},function(){})}}},e.prototype.onInbound=function(e){var t=this;this.platform.ready().then(function(){console.log("platform"),universalLinks?t.addListener(null,e,t.inbound):console.warn("Install cordova-universal-links-plugin")})},e.prototype.processParam=function(e){var t={};return new URL(e.url).searchParams.forEach(function(e,n){t[n]=e}),e.params=t,e},e.prototype.handleOpenURL=function(e,t){e.match(/(^[a-zA-z]+\:\/\/)([a-zA-Z\.0-9]+)(.*)/i);var n=new URL(e),i={url:e,scheme:n.protocol,host:n.host,params:{},path:""};/signosoft/.test(i.scheme)&&(console.log("handleOpenURL alternative"),i.scheme="https://",this.inbound(i,t))},e.prototype.addListener=function(e,t,n){var i=this;universalLinks.subscribe(e,function(e){return i.inbound(e,t)})},e}())},224:function(e,t,n){"use strict";n(0),n(713),n(131),n(303),n(115),n(714),n(727),n(207),n(2),n(1),n(6),n(5),n(306),this&&this.__assign||Object,n(80),n(117),n(208),n(240),n(22),n(126),n(307),n(245),n(101),n(651),n(248),n(161),n(314),n(176),n(165),n(369),n(709),n(242),n(370),n(67),n(289),n(734),n(170),n(735),n(118),n(132),n(367),n(362),n(113),n(24),n(9),n(715),n(716),n(315),n(710),n(323),n(36),n(717),n(371),n(372),n(718),n(316),n(246),n(153),n(237),n(317),n(249),n(14),n(711),n(719),n(32),n(324),n(239),n(373),n(318),n(708),n(3),n(225),n(114),n(374),n(325),n(302),n(313),n(214),n(215);n.d(t,"a",function(){return i});var i=function(){return function(){}}()},225:function(e,t,n){"use strict";n.d(t,"a",function(){return i});n(0),n(130);var i=function(){return function(){}}()},227:function(e,t,n){"use strict";function i(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,2,"h3",[],null,null,null,null,null)),(e()(),r["ɵted"](1,null,["",""])),r["ɵpid"](131072,o.a,[l.a,r.ChangeDetectorRef])],null,function(e,t){e(t,1,0,r["ɵunv"](t,1,0,r["ɵnov"](t,2).transform("SELECT_CERTIFICATE")))})}function s(e){return r["ɵvid"](2,[(e()(),r["ɵeld"](0,0,null,null,7,"div",[],null,null,null,null,null)),(e()(),r["ɵted"](-1,null,["\n "])),(e()(),r["ɵand"](16777216,null,null,1,null,i)),r["ɵdid"](3,16384,null,0,a.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵted"](-1,null,["\n "])),(e()(),r["ɵeld"](5,0,null,null,1,"s-form",[],null,[[null,"values"]],function(e,t,n){var i=!0;if("values"===t){i=!1!==e.component.onChange(n)&&i}return i},u.b,u.a)),r["ɵdid"](6,4440064,null,0,c.a,[h.a,d.a,r.ChangeDetectorRef],{structure:[0,"structure"]},{values:"values"}),(e()(),r["ɵted"](-1,null,["\n"])),(e()(),r["ɵted"](-1,null,["\n"]))],function(e,t){var n=t.component;e(t,3,0,!n.hideTitle);e(t,6,0,n.form)},null)}n.d(t,"b",function(){return m}),t.c=s,n.d(t,"a",function(){return b});var r=n(1),o=n(21),l=n(17),a=n(11),u=n(71),c=n(36),h=n(9),d=n(28),p=n(153),g=n(18),f=n(7),m=r["ɵcrt"]({encapsulation:2,styles:[],data:{}}),b=r["ɵccf"]("certificate-selection",p.a,function(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"certificate-selection",[],null,null,null,s,m)),r["ɵdid"](1,245760,null,0,p.a,[h.a,d.a,g.a,f.a],null,null)],function(e,t){e(t,1,0)},null)},{certificates:"certificates",requiredPassword:"requiredPassword",hideTitle:"hideTitle"},{onClick:"onClick",selectedCertificate:"selectedCertificate",password:"password"},[])},228:function(e,t,n){"use strict";function i(e){return y["ɵvid"](0,[(e()(),y["ɵeld"](0,0,null,null,1,"p",[],null,null,null,null,null)),(e()(),y["ɵted"](1,null,["",""]))],null,function(e,t){e(t,1,0,t.parent.context.$implicit.text)})}function s(e){return y["ɵvid"](0,[(e()(),y["ɵeld"](0,0,null,null,22,null,null,null,null,null,null,null)),(e()(),y["ɵted"](-1,null,["\n "])),(e()(),y["ɵeld"](2,0,null,null,19,"li",[],[[2,"current",null]],null,null,null,null)),y["ɵpid"](131072,E.AsyncPipe,[y.ChangeDetectorRef]),y["ɵpid"](131072,E.AsyncPipe,[y.ChangeDetectorRef]),y["ɵpid"](131072,E.AsyncPipe,[y.ChangeDetectorRef]),(e()(),y["ɵted"](-1,null,["\n "])),(e()(),y["ɵeld"](7,0,null,null,13,"div",[],[[2,"done",null]],null,null,null,null)),(e()(),y["ɵted"](-1,null,["\n "])),(e()(),y["ɵeld"](9,0,null,null,1,"signosoft-checkbox",[],[[2,"checked",null],[2,"disabled",null],[2,"checkbox",null],[2,"radio",null]],[[null,"checkedChange"],[null,"click"]],function(e,t,n){var i=!0,s=e.component;if("click"===t){i=!1!==y["ɵnov"](e,10).click()&&i}if("checkedChange"===t){i=!1!==(e.context.$implicit.done=n)&&i}if("checkedChange"===t){i=!1!==s.setState(n,e.context.$implicit.id)&&i}return i},N.b,N.a)),y["ɵdid"](10,49152,null,0,R.a,[],{checked:[0,"checked"]},{checkedChange:"checkedChange"}),(e()(),y["ɵted"](-1,null,["\n "])),(e()(),y["ɵeld"](12,0,null,null,1,"b",[],null,[[null,"click"]],function(e,t,n){var i=!0;if("click"===t){i=!1!==e.component.replay(e.context.$implicit.id)&&i}return i},null,null)),(e()(),y["ɵted"](13,null,["",""])),(e()(),y["ɵted"](-1,null,["\n "])),(e()(),y["ɵand"](16777216,null,null,4,null,i)),y["ɵdid"](16,16384,null,0,E.NgIf,[y.ViewContainerRef,y.TemplateRef],{ngIf:[0,"ngIf"]},null),y["ɵpid"](131072,E.AsyncPipe,[y.ChangeDetectorRef]),y["ɵpid"](131072,E.AsyncPipe,[y.ChangeDetectorRef]),y["ɵpid"](131072,E.AsyncPipe,[y.ChangeDetectorRef]),(e()(),y["ɵted"](-1,null,["\n "])),(e()(),y["ɵted"](-1,null,["\n "])),(e()(),y["ɵted"](-1,null,["\n "]))],function(e,t){var n=t.component;e(t,10,0,t.context.$implicit.done);e(t,16,0,y["ɵunv"](t,16,0,y["ɵnov"](t,17).transform(n.current))&&t.context.$implicit.id===y["ɵunv"](t,16,0,y["ɵnov"](t,18).transform(n.current)).id&&!y["ɵunv"](t,16,0,y["ɵnov"](t,19).transform(n.current)).disabled||n.replayed&&t.context.$implicit.id===n.replayed)},function(e,t){var n=t.component;e(t,2,0,y["ɵunv"](t,2,0,y["ɵnov"](t,3).transform(n.current))&&t.context.$implicit.id===y["ɵunv"](t,2,0,y["ɵnov"](t,4).transform(n.current)).id&&!y["ɵunv"](t,2,0,y["ɵnov"](t,5).transform(n.current)).disabled);e(t,7,0,t.context.$implicit.done);e(t,9,0,y["ɵnov"](t,10).checked,y["ɵnov"](t,10).disabled,"checkbox"==y["ɵnov"](t,10).mode,"radio"==y["ɵnov"](t,10).mode);e(t,13,0,t.context.$implicit.title)})}function r(e){return y["ɵvid"](0,[(e()(),y["ɵeld"](0,0,null,null,5,"ul",[],null,null,null,null,null)),(e()(),y["ɵted"](-1,null,["\n "])),(e()(),y["ɵand"](16777216,null,null,2,null,s)),y["ɵdid"](3,802816,null,0,E.NgForOf,[y.ViewContainerRef,y.TemplateRef,y.IterableDiffers],{ngForOf:[0,"ngForOf"],ngForTrackBy:[1,"ngForTrackBy"]},null),y["ɵpid"](131072,E.AsyncPipe,[y.ChangeDetectorRef]),(e()(),y["ɵted"](-1,null,["\n "]))],function(e,t){var n=t.component;e(t,3,0,y["ɵunv"](t,3,0,y["ɵnov"](t,4).transform(n.tasks)),n.trackById)},null)}function o(e){return y["ɵvid"](0,[(e()(),y["ɵted"](-1,null,["\n "])),(e()(),y["ɵeld"](1,0,null,null,5,"ul",[],null,null,null,null,null)),(e()(),y["ɵted"](-1,null,["\n "])),(e()(),y["ɵeld"](3,0,null,null,2,"li",[],null,null,null,null,null)),(e()(),y["ɵted"](4,null,["",""])),y["ɵpid"](131072,C.a,[T.a,y.ChangeDetectorRef]),(e()(),y["ɵted"](-1,null,["\n "])),(e()(),y["ɵted"](-1,null,["\n "]))],null,function(e,t){e(t,4,0,y["ɵunv"](t,4,0,y["ɵnov"](t,5).transform("HELP_UNAVAILABLE")))})}function l(e){return y["ɵvid"](0,[(e()(),y["ɵeld"](0,0,null,null,19,"div",[["class","tasklist"]],null,null,null,null,null)),(e()(),y["ɵted"](-1,null,["\n "])),(e()(),y["ɵeld"](2,0,null,null,2,"h3",[],null,null,null,null,null)),(e()(),y["ɵted"](3,null,["",""])),y["ɵpid"](131072,C.a,[T.a,y.ChangeDetectorRef]),(e()(),y["ɵted"](-1,null,["\n\n "])),(e()(),y["ɵand"](16777216,null,null,2,null,r)),y["ɵdid"](7,16384,null,0,E.NgIf,[y.ViewContainerRef,y.TemplateRef],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),y["ɵpid"](131072,E.AsyncPipe,[y.ChangeDetectorRef]),(e()(),y["ɵted"](-1,null,["\n\n "])),(e()(),y["ɵand"](0,[["empty",2]],null,0,null,o)),(e()(),y["ɵted"](-1,null,["\n\n "])),(e()(),y["ɵeld"](12,0,null,null,6,"div",[["class","controls"]],null,null,null,null,null)),(e()(),y["ɵted"](-1,null,["\n "])),(e()(),y["ɵeld"](14,0,null,null,2,"signosoft-checkbox",[],[[2,"checked",null],[2,"disabled",null],[2,"checkbox",null],[2,"radio",null]],[[null,"checkedChange"],[null,"click"]],function(e,t,n){var i=!0,s=e.component;if("click"===t){i=!1!==y["ɵnov"](e,15).click()&&i}if("checkedChange"===t){i=!1!==s.disable()&&i}return i},N.b,N.a)),y["ɵdid"](15,49152,null,0,R.a,[],{checked:[0,"checked"]},{checkedChange:"checkedChange"}),y["ɵpid"](131072,E.AsyncPipe,[y.ChangeDetectorRef]),(e()(),y["ɵted"](17,null,[" ","\n "])),y["ɵpid"](131072,C.a,[T.a,y.ChangeDetectorRef]),(e()(),y["ɵted"](-1,null,["\n "]))],function(e,t){var n=t.component;e(t,7,0,y["ɵunv"](t,7,0,y["ɵnov"](t,8).transform(n.tasks)).length,y["ɵnov"](t,10));e(t,15,0,y["ɵunv"](t,15,0,y["ɵnov"](t,16).transform(n.help.User)).helpDone)},function(e,t){e(t,3,0,y["ɵunv"](t,3,0,y["ɵnov"](t,4).transform("HELP_CENTER")));e(t,14,0,y["ɵnov"](t,15).checked,y["ɵnov"](t,15).disabled,"checkbox"==y["ɵnov"](t,15).mode,"radio"==y["ɵnov"](t,15).mode);e(t,17,0,y["ɵunv"](t,17,0,y["ɵnov"](t,18).transform("TURN_OFF_TOOLTIPS")))})}function a(e){return y["ɵvid"](2,[y["ɵqud"](402653184,1,{window:0}),y["ɵqud"](402653184,2,{root:0}),(e()(),y["ɵeld"](2,0,[[2,0],["root",1]],null,13,"div",[["class","center"]],null,null,null,null,null)),(e()(),y["ɵted"](-1,null,["\n "])),(e()(),y["ɵeld"](4,0,null,null,4,"div",[["class","controls"]],null,[[null,"click"]],function(e,t,n){var i=!0;if("click"===t){i=!1!==e.component.toggle(n)&&i}return i},null,null)),(e()(),y["ɵted"](-1,null,["\n "])),(e()(),y["ɵeld"](6,0,null,null,1,"ion-icon",[["name","help"],["role","img"]],[[2,"hide",null]],null,null,null,null)),y["ɵdid"](7,147456,null,0,_.a,[S.a,y.ElementRef,y.Renderer],{name:[0,"name"]},null),(e()(),y["ɵted"](-1,null,["\n "])),(e()(),y["ɵted"](-1,null,["\n\n "])),(e()(),y["ɵeld"](10,0,[[1,0],["window",1]],null,4,"div",[],null,null,null,null,null)),(e()(),y["ɵted"](-1,null,["\n "])),(e()(),y["ɵand"](16777216,null,null,1,null,l)),y["ɵdid"](13,16384,null,0,E.NgIf,[y.ViewContainerRef,y.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),y["ɵted"](-1,null,["\n "])),(e()(),y["ɵted"](-1,null,["\n"])),(e()(),y["ɵted"](-1,null,["\n"]))],function(e,t){var n=t.component;e(t,7,0,"help");e(t,13,0,n.isShown)},function(e,t){e(t,6,0,y["ɵnov"](t,7)._hidden)})}function u(e){return y["ɵvid"](0,[(e()(),y["ɵeld"](0,0,null,null,0,"span",[["class","icon"]],[[8,"innerHTML",1]],null,null,null,null))],null,function(e,t){e(t,0,0,t.component.img.logo)})}function c(e){return y["ɵvid"](0,[(e()(),y["ɵeld"](0,0,null,null,1,"span",[["class","icon"]],null,null,null,null,null)),(e()(),y["ɵeld"](1,0,null,null,0,"img",[["height","31"]],[[8,"src",4]],null,null,null,null))],null,function(e,t){e(t,1,0,"assets/"+t.component.config.logo)})}function h(e){return y["ɵvid"](0,[(e()(),y["ɵeld"](0,0,null,null,1,"span",[["class","icon"]],null,null,null,null,null)),(e()(),y["ɵeld"](1,0,null,null,0,"img",[["height","31"]],[[8,"src",4]],null,null,null,null))],null,function(e,t){e(t,1,0,t.component.base64Prefix(t.parent.context.ngIf.config.logo))})}function d(e){return y["ɵvid"](0,[(e()(),y["ɵeld"](0,0,null,null,15,"div",[["class","logo"]],null,null,null,null,null)),(e()(),y["ɵted"](-1,null,["\n "])),(e()(),y["ɵand"](16777216,null,null,1,null,u)),y["ɵdid"](3,16384,null,0,E.NgIf,[y.ViewContainerRef,y.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),y["ɵted"](-1,null,["\n "])),(e()(),y["ɵand"](16777216,null,null,1,null,c)),y["ɵdid"](6,16384,null,0,E.NgIf,[y.ViewContainerRef,y.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),y["ɵted"](-1,null,["\n "])),(e()(),y["ɵand"](16777216,null,null,1,null,h)),y["ɵdid"](9,16384,null,0,E.NgIf,[y.ViewContainerRef,y.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),y["ɵted"](-1,null,["\n "])),(e()(),y["ɵeld"](11,0,null,null,2,"span",[["class","testInfo"]],null,null,null,null,null)),(e()(),y["ɵted"](12,null,["",""])),y["ɵpid"](131072,E.AsyncPipe,[y.ChangeDetectorRef]),(e()(),y["ɵted"](-1,null,["\n "])),(e()(),y["ɵted"](-1,null,["\n "]))],function(e,t){var n=t.component;e(t,3,0,t.context.ngIf.config&&"normal"==n.getLogoType);e(t,6,0,t.context.ngIf.config&&"json"==n.getLogoType);e(t,9,0,t.context.ngIf.config&&"server"==n.getLogoType)},function(e,t){var n=t.component;e(t,12,0,y["ɵunv"](t,12,0,y["ɵnov"](t,13).transform(n.logoTitle)))})}function p(e){return y["ɵvid"](0,[(e()(),y["ɵeld"](0,0,null,null,5,"button",[["class","button transparent"],["icon-only",""],["ion-button",""]],null,[[null,"click"]],function(e,t,n){var i=!0;if("click"===t){i=!1!==e.component.closeModalClick(n)&&i}return i},w.b,w.a)),y["ɵdid"](1,1097728,null,0,I.a,[[8,""],S.a,y.ElementRef,y.Renderer],null,null),(e()(),y["ɵted"](-1,0,["\n "])),(e()(),y["ɵeld"](3,0,null,0,1,"ion-icon",[["item-start",""],["name","close"],["role","img"]],[[2,"hide",null]],null,null,null,null)),y["ɵdid"](4,147456,null,0,_.a,[S.a,y.ElementRef,y.Renderer],{name:[0,"name"]},null),(e()(),y["ɵted"](-1,0,["\n "]))],function(e,t){e(t,4,0,"close")},function(e,t){e(t,3,0,y["ɵnov"](t,4)._hidden)})}function g(e){return y["ɵvid"](0,[(e()(),y["ɵeld"](0,0,null,null,0,"span",[["class","title-icon"]],[[8,"innerHTML",1]],null,null,null,null))],null,function(e,t){var n=t.component;e(t,0,0,n.img[n.icon])})}function f(e){return y["ɵvid"](0,[(e()(),y["ɵeld"](0,0,null,null,9,"button",[["class","bar-button menu-button"],["id","user-menu-button"]],[[2,"highlighted-assitance",null]],[[null,"click"]],function(e,t,n){var i=!0;if("click"===t){i=!1!==e.component.openProfile(n)&&i}return i},null,null)),y["ɵpid"](131072,E.AsyncPipe,[y.ChangeDetectorRef]),(e()(),y["ɵted"](-1,null,["\n "])),(e()(),y["ɵeld"](3,0,null,null,3,"span",[["class","text"]],null,null,null,null,null)),(e()(),y["ɵted"](4,null,["",""])),y["ɵpid"](131072,E.AsyncPipe,[y.ChangeDetectorRef]),y["ɵpid"](131072,E.AsyncPipe,[y.ChangeDetectorRef]),(e()(),y["ɵted"](-1,null,["\n "])),(e()(),y["ɵeld"](8,0,null,null,0,"span",[["class","icon"]],null,null,null,null,null)),(e()(),y["ɵted"](-1,null,["\n "]))],null,function(e,t){var n=t.component;e(t,0,0,"menu"===y["ɵunv"](t,0,0,y["ɵnov"](t,1).transform(n.help.highlighted)));e(t,4,0,y["ɵunv"](t,4,0,y["ɵnov"](t,5).transform(n.user))&&y["ɵunv"](t,4,0,y["ɵnov"](t,6).transform(n.user)).fullName)})}function m(e){return y["ɵvid"](0,[(e()(),y["ɵeld"](0,0,null,null,2,"button",[["class","bar-button register"]],null,[[null,"click"]],function(e,t,n){var i=!0;if("click"===t){i=!1!==e.component.onRegister(n)&&i}return i},null,null)),(e()(),y["ɵted"](1,null,["\n ","\n "])),y["ɵpid"](131072,C.a,[T.a,y.ChangeDetectorRef])],null,function(e,t){e(t,1,0,y["ɵunv"](t,1,0,y["ɵnov"](t,2).transform("SIGN_UP2")))})}function b(e){return y["ɵvid"](0,[(e()(),y["ɵeld"](0,0,null,null,1,"help-center",[["class","bar-button"]],null,[["document","click"]],function(e,t,n){var i=!0;if("document:click"===t){i=!1!==y["ɵnov"](e,1).clickListener(n)&&i}return i},a,P)),y["ɵdid"](1,245760,null,0,O.a,[D.a,k.a,y.ElementRef,L.f,A.a,x.a,M.a,y.ChangeDetectorRef],null,null)],function(e,t){e(t,1,0)},null)}function v(e){return y["ɵvid"](2,[y["ɵqud"](402653184,1,{headerMenu:0}),(e()(),y["ɵted"](-1,null,["\n "])),(e()(),y["ɵeld"](2,0,null,null,7,"ion-buttons",[["start",""]],null,null,null,null,null)),y["ɵdid"](3,16384,null,1,U.a,[S.a,y.ElementRef,y.Renderer,[2,j.a],[2,F.a]],null,null),y["ɵqud"](603979776,2,{_buttons:1}),(e()(),y["ɵted"](-1,null,["\n "])),(e()(),y["ɵand"](16777216,null,null,2,null,d)),y["ɵdid"](7,16384,null,0,E.NgIf,[y.ViewContainerRef,y.TemplateRef],{ngIf:[0,"ngIf"]},null),y["ɵpid"](131072,E.AsyncPipe,[y.ChangeDetectorRef]),(e()(),y["ɵted"](-1,null,["\n\n "])),(e()(),y["ɵted"](-1,null,["\n\n "])),(e()(),y["ɵand"](16777216,null,null,1,null,p)),y["ɵdid"](12,16384,null,0,E.NgIf,[y.ViewContainerRef,y.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),y["ɵted"](-1,null,["\n\n "])),(e()(),y["ɵeld"](14,0,null,null,6,"ion-title",[],null,null,null,V.b,V.a)),y["ɵdid"](15,49152,null,0,G.a,[S.a,y.ElementRef,y.Renderer,[2,j.a],[2,F.a]],null,null),(e()(),y["ɵted"](16,0,[""," "])),y["ɵpid"](131072,C.a,[T.a,y.ChangeDetectorRef]),(e()(),y["ɵand"](16777216,null,0,1,null,g)),y["ɵdid"](19,16384,null,0,E.NgIf,[y.ViewContainerRef,y.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),y["ɵted"](-1,0,[" "])),(e()(),y["ɵted"](-1,null,["\n "])),(e()(),y["ɵeld"](22,0,[[1,0],["headerMenu",1]],null,13,"ion-buttons",[["end",""]],null,null,null,null,null)),y["ɵdid"](23,16384,null,1,U.a,[S.a,y.ElementRef,y.Renderer,[2,j.a],[2,F.a]],null,null),y["ɵqud"](603979776,3,{_buttons:1}),(e()(),y["ɵted"](-1,null,["\n "])),(e()(),y["ɵand"](16777216,null,null,1,null,f)),y["ɵdid"](27,16384,null,0,E.NgIf,[y.ViewContainerRef,y.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),y["ɵted"](-1,null,["\n "])),(e()(),y["ɵand"](16777216,null,null,1,null,m)),y["ɵdid"](30,16384,null,0,E.NgIf,[y.ViewContainerRef,y.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),y["ɵted"](-1,null,["\n "])),(e()(),y["ɵand"](16777216,null,null,2,null,b)),y["ɵdid"](33,16384,null,0,E.NgIf,[y.ViewContainerRef,y.TemplateRef],{ngIf:[0,"ngIf"]},null),y["ɵpid"](131072,E.AsyncPipe,[y.ChangeDetectorRef]),(e()(),y["ɵted"](-1,null,["\n "])),(e()(),y["ɵted"](-1,null,["\n "]))],function(e,t){var n=t.component;e(t,7,0,n.logo&&y["ɵunv"](t,7,0,y["ɵnov"](t,8).transform(n.State)));e(t,12,0,n.showModalButton);e(t,19,0,n.icon&&!n.showModalButton);e(t,27,0,n.profile);e(t,30,0,n.register&&n.configurables.value("registerAnonymous",!0));e(t,33,0,y["ɵunv"](t,33,0,y["ɵnov"](t,34).transform(n.storage.tokenAsync))&&n.config.enableHelp)},function(e,t){var n=t.component;e(t,16,0,y["ɵunv"](t,16,0,y["ɵnov"](t,17).transform(n.title)))})}var y=n(1),E=n(11),w=n(41),I=n(33),S=n(4),_=n(47),C=n(21),T=n(17),N=n(167),R=n(117),O=n(323),D=n(13),k=n(19),L=n(5),A=n(9),x=n(44),M=n(25),P=y["ɵcrt"]({encapsulation:2,styles:[],data:{}}),U=n(72),j=n(60),F=n(45),V=n(736),G=n(177);n(126),n(14),n(69),n(34),n(55),n(15),n(31),n(39),n(7);n.d(t,"a",function(){return B}),t.b=v;var B=y["ɵcrt"]({encapsulation:2,styles:[],data:{}})},230:function(e,t,n){"use strict";n.d(t,"b",function(){return i}),n.d(t,"a",function(){return s});var i={USD:"$",EUR:"€",GBP:"£"},s=function(){var e={};return e[e.MONTHLY=0]="MONTHLY",e[e.ANNUAL=1]="ANNUAL",e}()},231:function(e,t,n){"use strict";n.d(t,"a",function(){return i}),n.d(t,"e",function(){return v}),n.d(t,"b",function(){return y}),n.d(t,"d",function(){return E}),n.d(t,"c",function(){return w}),n.d(t,"f",function(){return x});var i,s=n(0),r=n(1),o=n(208),l=n(24),a=(n.n(l),n(52)),u=n(258),c=n(162),h=n(92),d=n(67),p=n(209),g=this&&this.__assign||Object.assign||function(e){for(var t,n=1,i=arguments.length;n0&&this.signatures.some(function(e){return e.signed})&&i.push(this.DELETE_LAST_SIG),this.settings.showPREasySignMode&&i.push(this.CHANGE_SIG_SIZE),this.requiredAnnots&&this.requiredAnnots.filter(function(e){return Object(d.h)(e,n)}).length>0?i.push(this.SEARCH_ANNOT):this.settings.showPRFindSignature&&r>0?i.push(this.SEARCH_SIGNATURE):this.settings.showPRFinalize&&!this.settings.showPREasySignMode?i.push(this.FINALIZE):this.settings.showPREasySignMode&&!this.settings.showPRFinalize&&this.signatures.some(function(e){return e.signed})&&this.signatures.length>0?i.push(this.SEND_AND_DELETE):!this.settings.showPRDone||this.settings.showPRFinalize||this.settings.showPREasySignMode||i.push(this.DONE),i.push(this.LINE),this.settings.showPRSaveDocument&&i.push(this.SAVE_DOCUMENT),this.document.isContract&&i.push(this.DOCUMENTS),this.settings.showPRSignatures&&i.push(this.SIGNATURES),this.settings.showPRView&&i.push(this.scrollModeButton()),this.settings.showPRDownload&&i.push(this.saveOrDownload()),this.settings.showPREmail&&i.push(this.SEND_BY_EMAIL),this.directDocument||i.push(this.REPORT),i.push(this.LINE)}this.buttons=i,this.filteredButtons()}},t.prototype.saveOrDownload=function(){return this.s.isBrowser.getValue()?this.DOWNLOAD:this.OPEN_IN},t.prototype.isDisabled=function(e){return this.disable.contains(e)},t.prototype.status=function(e){return e?this.edit?""+e.length:e.filter(function(e){return e.signed}).length+"/"+e.length:""},t.prototype.docStatus=function(e){return e?""+e.length:""},t.prototype.signClick=function(e){this.signatureClick.emit(e)},t.prototype.documentClick=function(e){this.documentListClick.emit({document:e})},t.prototype.click=function(e,t){var n=this;e!==i.SCROLL_HORIZONTAL&&e!==i.SCROLL_VERTICAL?this.buttonClick.emit({button:e,event:t}):this.scrollModePopover(e,t).subscribe(function(i){i!==e&&n.buttonClick.emit({button:e,event:t})},function(){})},t.prototype.scrollModePopover=function(e,t){return this.ui.popover(u.a,t,{checked:e},{cssClass:"context-menu"})},t.prototype.scrollToAlert=function(){var e=this;this.documentView.actionsInProgress.getValue()||this.ui.scrollToPage(this.pages.length).subscribe(function(t){e.currentPage=e.pages[t-1],e.pageChange.emit(e.pages[t-1])},function(){})},t.prototype.showMore=function(e,t){for(var n=this,s=0;s600?5:4;this.bottomButtons=e.length==t?[e,[]]:[e.slice(0,t-1),e.slice(t-1,e.length)]},t}(o.a)},233:function(e,t,n){"use strict";n.d(t,"a",function(){return o});n(0);var i=n(2),s=(n.n(i),n(42)),r=(n.n(s),this&&this.__assign||Object.assign||function(e){for(var t,n=1,i=arguments.length;n=11},t.b=i,t.c=function(e,t,n){void 0===n&&(n=u.m.PDFJS);var s=new o.a({id:0,bytes:0,date:new Date,state:r.b.NEW,signatures:[],owner:t.email,firstName:t.firstName,secondName:t.lastName,token:"local-file",name:e.name,permit:{save:!0},ownerType:1,contract:null}),a=e.data;return a.contains("data:application/pdf;base64,")&&(a=a.substr("data:application/pdf;base64,".length)),i(a,new l.a(s),n)},t.a=function(e,t,n,i,r){return e.filter(function(e){if("Tx"===e.fieldType||"Btn"===e.fieldType&&e.checkBox||"Btn"===e.fieldType&&e.radioButton||"Btn"===e.fieldType&&e.pushButton||"Btn"===e.fieldType&&e.imageButton||"Ch"===e.fieldType||"Sig"===e.fieldType)return e}).map(function(e){var o=Object(h.a)(),l={x:(e.rect[0]-r)/t*100,y:(n-(e.rect[3]-i))/n*100,width:(e.rect[2]-e.rect[0])/t*100,height:(e.rect[3]-e.rect[1])/n*100};if("Tx"===e.fieldType){var u=null,c=null;if(null!=e.defaultAppearance){var p=e.defaultAppearance.split(" ");c=p[0].replace("/",""),u="0"!=p[1]?p[1]:null,c&&b[c]&&(c=b[c])}var g="",f="",m={0:0,1:0,2:0};if(e.borderStyle){switch(e.borderStyle.width){case 3:g="thick";break;case 2:g="medium";break;case 1:g="thin"}if(g.length>0)switch(e.borderStyle.style){case 4:f="dotted";break;default:f="solid"}}return{id:e.id?e.id.replace(/\D/g,""):o,name:e.fieldName,value:e.fieldValue,x:l.x,y:l.y,width:l.width,height:l.height,type:a.a.TEXT_FIELD,alignment:e.textAlignment,isList:e.combo,multiSelect:e.multiSelect,multiLine:e.multiLine,maxLen:e.maxLen,options:e.options,visible:e.visible,required:e.required,readonly:e.readonly,fontSize:u,fontName:c,textComb:e.comb,format:e.format,mappingName:e.mappingText,backgroundColor:e.color,borderWidth:g,borderStyle:f,borderColor:m}}if("Btn"===e.fieldType&&e.checkBox)return{id:e.id?e.id.replace(/\D/g,""):o,name:e.fieldName,value:s(e.fieldValue),x:l.x,y:l.y,width:l.width,height:l.height,type:a.a.CHECK_BOX,alignment:e.textAlignment,isList:e.combo,multiSelect:e.multiSelect,multiLine:e.multiLine,maxLen:e.maxLen,options:e.options,visible:e.visible,required:e.required,readonly:e.readonly,textComb:!1,mappingName:e.mappingText,backgroundColor:e.color};if("Btn"===e.fieldType&&e.radioButton)return{id:e.id?e.id.replace(/\D/g,""):o,name:e.fieldName,value:e.fieldValue,currentValue:e.buttonValue,x:l.x,y:l.y,width:l.width,height:l.height,type:a.a.RADIO_BUTTON,alignment:e.textAlignment,isList:e.combo,multiSelect:e.multiSelect,multiLine:e.multiLine,maxLen:e.maxLen,options:e.options,visible:e.visible,required:e.required,readonly:e.readonly,textComb:!1,mappingName:e.mappingText,backgroundColor:e.color};if("Btn"===e.fieldType&&e.pushButton)return{id:e.id?e.id.replace(/\D/g,""):o,name:e.fieldName,value:e.fieldValue,x:l.x,y:l.y,width:l.width,height:l.height,type:a.a.BUTTON,alignment:e.textAlignment,isList:e.combo,multiSelect:e.multiSelect,multiLine:e.multiLine,maxLen:e.maxLen,options:e.options,visible:e.visible,required:e.required,readonly:e.readonly,textComb:!1,mappingName:e.mappingText,backgroundColor:e.color};if("Btn"===e.fieldType&&e.imageButton)return{id:e.id?e.id.replace(/\D/g,""):o,name:e.fieldName,value:e.fieldValue,x:l.x,y:l.y,width:l.width,height:l.height,type:a.a.IMAGE,alignment:e.textAlignment,isList:e.combo,multiSelect:e.multiSelect,multiLine:e.multiLine,maxLen:e.maxLen,options:e.options,visible:e.visible,required:e.required,readonly:e.readonly,textComb:!1,mappingName:e.mappingText,backgroundColor:e.color};if("Ch"===e.fieldType){var v=e.fieldValue===typeof String?[e.fieldValue]:e.fieldValue?e.fieldValue:[];return{id:e.id?e.id.replace(/\D/g,""):o,name:e.fieldName,value:v,x:l.x,y:l.y,width:l.width,height:l.height,type:a.a.SELECT,alignment:e.textAlignment,isList:!e.combo,multiSelect:e.multiSelect,multiLine:e.multiLine,maxLen:e.maxLen,options:e.options,visible:e.visible,required:e.required,readonly:e.readonly,textComb:!1,mappingName:e.mappingText,backgroundColor:e.color}}return"Sig"===e.fieldType?{id:e.id?e.id.replace(/\D/g,""):o,name:e.fieldName,value:e.fieldValue,x:l.x,y:l.y,width:l.width,height:l.height,type:a.a.SIGNATURE,alignment:e.textAlignment,isList:e.combo,multiSelect:e.multiSelect,multiLine:e.multiLine,maxLen:e.maxLen,options:e.options,visible:e.visible,required:e.required,readonly:e.readonly,textComb:!1,mappingName:e.mappingText,backgroundColor:e.color}:(e.id=e.id?e.id.replace(/\D/g,""):o,e.x=l.x,e.y=l.y,e.width=l.width,e.height=l.height,d({},e))})};var r=n(124),o=n(175),l=n(290),a=n(206),u=n(52),c=n(24),h=(n.n(c),n(525)),d=this&&this.__assign||Object.assign||function(e){for(var t,n=1,i=arguments.length;n0&&r[r.length-1])&&(6===n[0]||2===n[0])){l=0;continue}if(3===n[0]&&(!r||n[1]>r[0]&&n[1]0,t})},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){this.setDefault()},e.prototype.ngOnChanges=function(e){"items"in e&&this.setDefault()},e.prototype.setDefault=function(){for(var e=0,t=this.items;e0)return{items:t,group:e,name:e.name}});this.selected.emit(a),this.multiple||(this.toggled=!1)}}},e.prototype.reorder=function(e,t){if(this.ordered){t&&t.stopPropagation();for(var n,s=0,r=this.items;s0)return{items:t,group:e,name:e.name}});this.selected.emit(a)}},e.prototype.animate=function(e){e.animate=!0;var t=setTimeout(function(){e.animate=!1,clearTimeout(t)},600)},e}()},240:function(e,t,n){"use strict";n.d(t,"a",function(){return d});var i=n(0),s=n(115),r=n(1),o=(n(6),n(24)),l=(n.n(o),n(49)),a=n(95),u=n(93),c=n(15),h={READY:"ready",OPEN:"open",LOADING:"loading",SUCCESS:"success",ERROR:"error"},d=function(){function e(e,t,n,i,o,l,a,u,c,d){var p=this;this.fileTransfer=e,this.detector=t,this.sharing=n,this.s=i,this.server=o,this.nav=l,this.ui=a,this.renderer=u,this.openWith=c,this.events=d,this.select=new r.EventEmitter,this.options=s.a,this.processing=new r.EventEmitter(!1),this.multiple=!1,this.fileSize=null,this.STATE=h,this._disabled=!0,this._listeners=[],this.onError=function(e){p.error=e.code?"ERROR"+e.code:e,p.temporalState(h.ERROR),p.ui.alertError(e).run()}}return Object.defineProperty(e.prototype,"disabled",{get:function(){return this._disabled},set:function(e){this.disabled!==e&&(this._disabled=e,e?this.removeDragDropListeners():this.addDragDropListeners())},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){var e=this;if(this.disabled||0!==this._listeners.length||this.addDragDropListeners(),this.state=h.READY,this.s.is.cordova&&this.s.is.android){var t=function(){e.server.storage.token&&e.sharing.onSharedFile().then(function(t){return t&&t.subscribe(function(t){e.onSelect([t])},e.onError)}).catch(console.error)};this.server.verifyToken().subscribe(t,function(){e.nav.viewDidEnter.filter(function(e){return e&&e.id==l.a.DASHBOARD}).take(1).subscribe(t)})}this.s.is.cordova&&this.s.is.ios&&(this.subs=this.s.openWithFile.filter(function(e){return null!=e}).subscribe(function(t){var n=function(){if(e.server.storage.token){e.s.openWithFile.next(null);var n=(new Date).getTime()-3e5;t.timestamp=e.contractRange.start&&t.page<=e.contractRange.end&&!t.signed}).length;t.signedDocs[e.id]=0==n},t=this,n=0,i=this.documents;n-1||e.a.toLowerCase().indexOf(t.toLowerCase())>-1})})},t.prototype.openAboutPage=function(){this.nav.push(s.a.ABOUT)},t.prototype.startOnboarding=function(){this.nav.push("onboarding")},t}(r.a))},258:function(e,t,n){"use strict";n.d(t,"a",function(){return s});n(0),n(6);var i=n(231),s=function(){function e(e,t,n){this.viewCtrl=e,this.checked=n.get("checked"),this.SCROLL_HORIZONTAL={code:i.a.SCROLL_HORIZONTAL,label:"SCROLL_HORIZONTAL",img:t.scrollHorizontal},this.SCROLL_VERTICAL={code:i.a.SCROLL_VERTICAL,label:"SCROLL_VERTICAL",img:t.scrollVertical},this.buttons=[this.SCROLL_HORIZONTAL,this.SCROLL_VERTICAL]}return e.prototype.close=function(e){this.viewCtrl.dismiss(e)},e}()},28:function(e,t,n){"use strict";n.d(t,"a",function(){return l});n(0);var i=n(50),s=n(1),r=n(24),o=(n.n(r),this&&this.__assign||Object.assign||function(e){for(var t,n=1,i=arguments.length;n0||this.lastName&&this.lastName.length>0?this.firstName+" "+this.lastName:this.email},enumerable:!0,configurable:!0}),e.fromLogin=function(t,n){return new e({id:t.userid,email:t.useremail,firstName:t.userFirstName,lastName:t.userSecondName,role:t.userrole,active:t.useractive,confirm:t.userconfirm,fromContactList:null,fromVerify:null,firstLogin:!1,isBussinessMember:t.isBusinessMember,unregistered:t.userunregistered,helpDone:t.helpDone,initials:t.initials,language:t.language,beta:t.beta,phone:t.userphone,profileAddressStreet:t.profileAddressStreet,profileAddressAdditional:t.profileAddressAdditional,profileCity:t.profileCity,profileCompanyName:t.profileCompanyName,profilePhoneNo:t.profilePhoneNo,profilePostCode:t.profilePostCode,profileProvince:t.profileProvince,profileState:t.profileState,profileVatNo:t.profileVatNo,billingAddressStreet:t.billingAddressStreet,billingAddressAdditional:t.billingAddressAdditional,billingCity:t.billingCity,billingCompanyName:t.billingCompanyName,billingPhoneNo:t.billingPhoneNo,billingPostCode:t.billingPostCode,billingProvince:t.billingProvince,billingState:t.billingState,billingVatNo:t.billingVatNo,type:n})},e.fromVerify=function(t){return new e({id:t.userid,email:t.useremail,firstName:t.userFirstName,lastName:t.userSecondName,role:t.userrole,active:t.useractive,confirm:t.userconfirm,unregistered:t.userunregistered,fromContactList:null,fromVerify:!0,firstLogin:!1,isBussinessMember:t.isBusinessMember,helpDone:t.helpDone,initials:t.initials,language:t.language,phone:t.userphone,profileAddressStreet:t.profileAddressStreet,profileAddressAdditional:t.profileAddressAdditional,profileCity:t.profileCity,profileCompanyName:t.profileCompanyName,profilePhoneNo:t.profilePhoneNo,profilePostCode:t.profilePostCode,profileProvince:t.profileProvince,profileState:t.profileState,profileVatNo:t.profileVatNo,billingAddressStreet:t.billingAddressStreet,billingAddressAdditional:t.billingAddressAdditional,billingCity:t.billingCity,billingCompanyName:t.billingCompanyName,billingPhoneNo:t.billingPhoneNo,billingPostCode:t.billingPostCode,billingProvince:t.billingProvince,billingState:t.billingState,billingVatNo:t.billingVatNo})},e.fromSearch=function(t){return new e({id:t.id,email:t.email,firstName:t.userFirstName,lastName:t.userSecondName,role:null,active:null,confirm:null,unregistered:t.unregistered,fromContactList:t.userFromContactList,fromVerify:null,firstLogin:!1,isBussinessMember:!1,helpDone:!1,initials:"",language:"",phone:t.phone,departmentName:t.departmentName,profileAddressStreet:"",profileAddressAdditional:"",profileCity:"",profileCompanyName:"",profilePhoneNo:"",profilePostCode:"",profileProvince:"",profileState:"",profileVatNo:"",billingAddressStreet:"",billingAddressAdditional:"",billingCity:"",billingCompanyName:"",billingPhoneNo:"",billingPostCode:"",billingProvince:"",billingState:"",billingVatNo:""})},e.temporary=function(t){return new e({id:0,email:t.owner,firstName:"",lastName:"",role:null,active:null,confirm:null,unregistered:null,fromContactList:null,fromVerify:null,firstLogin:!1,isBussinessMember:!1,helpDone:!1,initials:"",language:"",phone:null,profileAddressStreet:"",profileAddressAdditional:"",profileCity:"",profileCompanyName:"",profilePhoneNo:"",profilePostCode:"",profileProvince:"",profileState:"",profileVatNo:"",billingAddressStreet:"",billingAddressAdditional:"",billingCity:"",billingCompanyName:"",billingPhoneNo:"",billingPostCode:"",billingProvince:"",billingState:"",billingVatNo:""})},e.fromRegister=function(t,n,i){return new e({id:0,email:t,firstName:n,lastName:i,role:null,active:!1,confirm:!1,unregistered:!1,fromContactList:null,fromVerify:null,firstLogin:!1,isBussinessMember:!1,helpDone:!1,initials:"",language:"",phone:null,profileAddressStreet:"",profileAddressAdditional:"",profileCity:"",profileCompanyName:"",profilePhoneNo:"",profilePostCode:"",profileProvince:"",profileState:"",profileVatNo:"",billingAddressStreet:"",billingAddressAdditional:"",billingCity:"",billingCompanyName:"",billingPhoneNo:"",billingPostCode:"",billingProvince:"",billingState:"",billingVatNo:""})},e.prototype.toServer=function(){return{username:this.firstName,usersurname:this.lastName,userphone:this.phone,userid:this.id}},e.prototype.update=function(t){for(var n in t)this[n]=t[n];return new e(this)},e.prototype.activate=function(){return new e({id:this.id,email:this.email,firstName:this.firstName,lastName:this.lastName,role:this.role,active:!0,confirm:this.confirm,unregistered:this.unregistered,fromContactList:null,fromVerify:this.fromVerify,firstLogin:!0,isBussinessMember:!1,helpDone:!1,initials:"",language:"",phone:null,profileAddressStreet:"",profileAddressAdditional:"",profileCity:"",profileCompanyName:"",profilePhoneNo:"",profilePostCode:"",profileProvince:"",profileState:"",profileVatNo:"",billingAddressStreet:"",billingAddressAdditional:"",billingCity:"",billingCompanyName:"",billingPhoneNo:"",billingPostCode:"",billingProvince:"",billingState:"",billingVatNo:""})},e.prototype.hasProfileAddress=function(){return this.profileAddressStreet&&this.profilePostCode&&this.profileCity&&this.profileState},e.prototype.hasBillingAddress=function(){return this.billingAddressStreet&&this.billingPostCode&&this.billingCity&&this.billingState&&this.billingCompanyName},e}()},290:function(e,t,n){"use strict";n.d(t,"a",function(){return h}),n.d(t,"b",function(){return d});var i=n(24),s=(n.n(i),n(124)),r=n(206),o=n(75),l=n(238),a=this&&this.__assign||Object.assign||function(e){for(var t,n=1,i=arguments.length;n0&&r[r.length-1])&&(6===n[0]||2===n[0])){l=0;continue}if(3===n[0]&&(!r||n[1]>r[0]&&n[1]0&&e.every(function(e){return e.isAssigned()})}),this.signatureSub=this.signatures.subscribe(function(e){return t.document.signatures=e}),this.document.contractDocuments&&(this.pageToDocInContract={},this.document.contractDocuments.forEach(function(e){for(var n=e.contractRange,i=n.start;i<=n.end;i++)t.pageToDocInContract[i]=e.id}))}return Object.defineProperty(e.prototype,"document",{get:function(){return this._document},set:function(e){var t=this.isLocal(),n=e.signatures;this._document=e,this._document.signatures=t?this.signatures.getValue():n,this.signatures.next(this.signatures.getValue())},enumerable:!0,configurable:!0}),e.prototype.init=function(e,t,n,o){var a=this;this.pdfJSDocument=t,this.type=e||d.PDFJS;var u=t.numPages;this.canAutoCreateSignatures=this.document.state==s.b.NEW&&0==this.signatures.getValue().length,this.fonts=n,o&&(this.source=o),console.log("Render type2: "+this.type+" "+(this.type==d.IOS?"iOS":"PDFJS")+" pdfJSDocument:"+t+" base64:"+(null!=o)),this.type==d.PDFJS&&t.getJavaScript().then(function(e){if(e&&e.length>0)for(var t=0;ta.maximumPageRatio&&(a.maximumPageRatio=s);var o,u=a.pageToDocInContract?a.pageToDocInContract[e]:null;o=a.type==d.IOS?new p(pdfrender,e,d.IOS):new p(t,e,d.PDFJS),t.getAnnotations().then(function(t){for(var c=Object(l.a)(t,i.width,i.height,i.viewBox[1],i.viewBox[0]),h=[],d=c.length-1;d>=0;)c[d].type==r.a.SIGNATURE&&h.push(c.splice(d,1)[0]),d-=1;a.hasSignedSignature||(a.hasSignedSignature=h.filter(function(e){return e.type===r.a.SIGNATURE&&1==e.value}).length>0);var p=new r.c(e,s,o);p.realSize={width:i.width,height:i.height},a.autoCreateSignature(h,p,s),a.annots[e]=c.map(function(t){return t.page=e,t.documentInContract=u,new r.b(t)}),a.addPage(p),n.next(),n.complete()}).catch(function(e){n.error(e)})},function(e){n.error(e)})})},g=[],f=0;f0||i.addOrReplaceSignatures(s)})}},e.prototype.destroyPDFjs=function(){this.pdfJSDocument&&this.pdfJSDocument.destroy&&this.pdfJSDocument.destroy(),this.pdfJSDocument=null},e.prototype.destroy=function(){console.log("destroying browsable"),this.signatureSub.unsubscribe(),this.signatures.getValue().forEach(function(e){return e.destroy()}),this.pages.forEach(function(e){return e.destroy()}),this.destroyPDFjs(),this.type==d.IOS&&pdfrender&&pdfrender.close(),this.signatures.complete(),this.ready.complete()},e.prototype.isLocal=function(){return"local-file"===this.document.token},e.prototype.addOrReplaceSignatures=function(){for(var e=[],t=0;t-1?n[t]=e:n.push(e)}),n})},e.prototype.addPage=function(e){var t=this.signatures.asObservable().map(function(t){return t.filter(function(t){return t.page==e.index})}).subscribe(e.signatures);this.signatureSub.add(t),this.pages.push(e)},e.prototype.sortPages=function(){this.pages.sort(function(e,t){return e.index-t.index})},e.prototype.distributeSignatures=function(){this.signatures.update(function(e){var t=e.filter(function(e){return e.order<0}).sort(function(e,t){return t.order-e.order}).map(function(e,t){return new o.e(a({},e,{order:t-1}))}),n=e.filter(function(e){return e.order>0}).sort(function(e,t){return e.order-t.order}).map(function(e,t){return new o.e(a({},e,{order:t+1}))});return t.concat(n)})},e.prototype.requestSignaturesValidate=function(){var e=this;return i.Observable.create(function(t){var n=e.signatures.getValue();if(0!=n.length){n.find(function(e){return!e.isAssigned()})&&t.error("SIGNATURE_WITHOUT_SIGNER"),t.next(),t.complete()}else t.error("PLEASE_ADD_SIGNATURE")})},e.prototype.canSing=function(e,t,n,i){void 0===i&&(i=!1);var r=t.signer==n.email||this.document.owner==n.email&&t.inPerson||i&&this.document.owner==n.email&&-1!=t.authMethods.findIndex(function(e){return e.type==o.d.ONE_TIME_PASSWORD});return!(!n||!r||t.signed||t.disabled||this.document.state!=s.b.WAITING)&&(t.order<0||e.every(function(e){return e.order<0||e.signed||e.order>=t.order}))},e.prototype.canISignAsync=function(e,t,n){var i=this;return void 0===n&&(n=!1),this.signatures.asObservable().map(function(s){return i.canSing(s,e,t,n)})},e.prototype.canISign=function(e,t,n){return void 0===n&&(n=!1),this.canSing(this.signatures.getValue(),e,t,n)},e.prototype.getTopPriority=function(e){for(var t=0;t<=this.pages.length;t++){var n=e+t,i=e-t;if(n>=0&&n=0&&i-1&&e.splice(p,1),0==e.length)break}}if(0==e.length)break}}).then(function(){o+10?r(o+1):i(n)})};r(0)})},e.prototype.getRequiredEmptyAnnots=function(){for(var e=[],t=0,n=this.pages;t0&&r[r.length-1])&&(6===n[0]||2===n[0])){l=0;continue}if(3===n[0]&&(!r||n[1]>r[0]&&n[1]0&&!r.b.test(e)&&0==this.results.getValue().length},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"activeUser",{get:function(){return this.storage.user},enumerable:!0,configurable:!0}),e.prototype.addUserSelect=function(){this.isVisible=!0,this.userError=null,this.userAdd={email:this.query.trim(),firstName:"",lastName:"",phone:"",id:null}},e.prototype.selectType=function(e){e?this.viewCtrl.dismiss({user:null,inPerson:!0}):this.showSelectType=!1},e.prototype.select=function(e,t){return void 0===t&&(t=!1),o(this,void 0,void 0,function(){var n,i,s,r,o,a,u;return l(this,function(l){switch(l.label){case 0:return n=this.signatures.find(function(t){return t.signer==e.email}),e.unregistered&&e.phone&&e.phone.trim().length>0&&(i=e.phone,s=void 0,i&&(r=this.phoneValidation.getPhoneParts(i),i=r.phoneNumber,s=r.phoneCountry||"+420"),!s||i.length<9)?(this.activeLoading=!1,this.userError="INVALID_PHONE_FORMAT",this.detector.detectChanges(),[2]):e.unregistered&&t&&!n?(this.isVisible=!0,this.userError=null,this.userAdd={email:e.email,firstName:e.firstName,lastName:e.lastName,phone:e.phone,id:e.id},[3,9]):[3,1];case 1:return e.fromContactList?(this.viewCtrl.dismiss({user:e,inPerson:!1}),[3,9]):[3,2];case 2:this.activeLoading=!0,this.userError=null,l.label=3;case 3:return l.trys.push([3,8,,9]),[4,this.server.addContact(e).toPromise()];case 4:return l.sent(),e.id?[3,6]:[4,this.server.searchUser(e.email).toPromise()];case 5:o=l.sent(),e=o.users[0],l.label=6;case 6:return[4,this.server.searchUser("").toPromise()];case 7:return a=l.sent(),this.storage.friends.next(a.users),this.viewCtrl.dismiss({user:e,inPerson:!1}),[3,9];case 8:return u=l.sent(),this.activeLoading=!1,this.userError=u,this.detector.detectChanges(),[3,9];case 9:return[2]}})})},e.prototype.close=function(){this.viewCtrl.dismiss(null)},e.prototype.hideKeyboard=function(){this.s.is.cordova&&this.searchbar._searchbarInput.nativeElement.blur()},e}()},309:function(e,t,n){"use strict";n.d(t,"a",function(){return o});n(0),n(6),n(22);var i=n(52),s=n(75),r=n(67),o=function(){function e(e,t,n,o,l,a,u,c){this.navParams=e,this.viewCtrl=t,this.s=n,this.t=o,this.detector=l,this.help=a,this.configurables=u,this.storage=c,this.capitalizeAndUnderscore=r.e,this.selected=[],this.methods=i.g.slice(),this.methodsInPerson=[s.d.BANK_ID,s.d.BIOMETRIC],this.inPerson=!1,this.pickOne=!1;var h=this.configurables.value("enabledSignatureAuthTypes","clickToSign, clickToSignInitials, biometric"),d=this.configurables.value("enabledSignatureTypes","");if(d.length>0){var p=JSON.parse(d);this.methods=this.methods.filter(function(e){return p.some(function(t){return i.k.authTypeFromId(t)==e||t==e})}),console.log("filter by enabledSignatureTypes")}else if(h){var g=h.split(/,\s?/);this.methods=this.methods.filter(function(e){return g.some(function(t){return t==e})}),console.log("filter by enabledSignatureAuthTypes")}this.selected=e.get("selected"),this.inPerson=e.get("inPerson"),e.get("pickOne")&&(this.pickOne=!0,this.methods=e.get("methods")),this.selected&&0!=this.selected.length||(this.selected=[this.methods[0]]),this.text=this.pickOne?"YOU_CAN_CHOOSE":"OWNER_CAN_CHOOSE",this.title=document.title}return Object.defineProperty(e.prototype,"allowInPerson",{get:function(){return 1==this.selected.length&&(this.selected.contains(s.d.BIOMETRIC)||this.selected.contains(s.d.BANK_ID))},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){var e=this;this.help.helpProgress.subscribe(function(){!e.detector.destroyed&&e.viewCtrl.getNav()&&"SelectMethod"===e.viewCtrl.getNav().getActive().name&&e.detector.markForCheck()})},e.prototype.label=function(e){return this.t.instant(i.h[e])},e.prototype.select=function(e){0==e?this.inPerson=!this.inPerson:this.pickOne?this.selected=[e]:this.selected.contains(e)?this.selected=this.selected.remove(e):this.selected.push(e),this.allowInPerson||(this.inPerson=!1)},e.prototype.cancel=function(){this.viewCtrl.dismiss(null)},e.prototype.ok=function(){this.viewCtrl.dismiss({methods:this.selected,inPerson:this.inPerson})},e.prototype.goToFAQ=function(){this.viewCtrl.dismiss({openFAQ:!0})},e.prototype.kebabCase=function(e){return Object(r.i)(e)},e}()},31:function(e,t,n){"use strict";n.d(t,"a",function(){return l});n(0),n(15),n(14);var i=n(5),s=(n(166),n(6),n(22),n(9),n(73),this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))(function(s,r){function o(e){try{a(i.next(e))}catch(e){r(e)}}function l(e){try{a(i.throw(e))}catch(e){r(e)}}function a(e){e.done?s(e.value):new n(function(t){t(e.value)}).then(o,l)}a((i=i.apply(e,t||[])).next())})}),r=this&&this.__generator||function(e,t){function n(n){return function(o){return function(n){if(i)throw new TypeError("Generator is already executing.");for(;l;)try{if(i=1,s&&(r=s[2&n[0]?"return":n[0]?"throw":"next"])&&!(r=r.call(s,n[1])).done)return r;switch(s=0,r&&(n=[0,r.value]),n[0]){case 0:case 1:r=n;break;case 4:return l.label++,{value:n[1],done:!1};case 5:l.label++,s=n[1],n=[0];continue;case 7:n=l.ops.pop(),l.trys.pop();continue;default:if(r=l.trys,!(r=r.length>0&&r[r.length-1])&&(6===n[0]||2===n[0])){l=0;continue}if(3===n[0]&&(!r||n[1]>r[0]&&n[1]0?s.initWidget(e,t.config[e]):"language"==e?s.platform.ready().then(function(){a.t.use(t.config[e])}):"translations"==e?s.setTranslations(t.config[e]):t.config.hasOwnProperty(e)&&s.configurables.push({key:e,value:t.config[e]})},s=this;for(o in t.config)n(o);return this.storage.configCache=JSON.stringify(this.configurables),this.loadedWithParams=e,console.info("[config.service] known configurables",this.configurables),[3,6];case 5:return l=r.sent(),console.error("[config.service] unable load configurables",l),[3,6];case 6:r.label=7;case 7:return[2]}})})},e.prototype.resetColors=function(){return s(this,void 0,void 0,function(){var e,t;return r(this,function(n){switch(n.label){case 0:return[4,this.appConfig.ready().toPromise()];case 1:if(n.sent(),!0===this.appConfig.getConfig("enableRecoloring")){e=this.appConfig.getConfig("colors");for(t in e)e.hasOwnProperty(t)&&document.documentElement.style.setProperty("--"+t,e[t])}return[2]}})})},e.prototype.setColors=function(e){var t=e.constructor==="test".constructor?JSON.parse(e):e;if(t)for(var n in t)o.hasOwnProperty(n)&&document.documentElement.style.setProperty("--"+n,t[n])},e.prototype.setCustomStyle=function(e){var t=document.head||document.getElementsByTagName("head")[0],n=document.getElementById("configStyle");n||((n=document.createElement("style")).id="configStyle",t.appendChild(n)),n.innerHTML="",n.appendChild(document.createTextNode(e))},e.prototype.setTranslations=function(e){return s(this,void 0,void 0,function(){var t=this;return r(this,function(n){if(this.translations=e,this.t.currentLang,this.translations&&this.translations[this.t.currentLang])try{this.t.setTranslation(this.t.currentLang,this.translations[this.t.currentLang],!0)}catch(e){console.error("Error init configurable translations",e)}return this.translations&&!this.onLangChangeSubscribe&&(this.onLangChangeSubscribe=this.t.onLangChange.subscribe(function(e){var n=e.lang;t.translations&&t.translations[t.t.currentLang]&&t.t.setTranslation(n,t.translations[n],!0)}).register(this.CONTEXT)),[2]})})},e.prototype.initWidget=function(e,t){try{var n=JSON.parse(t,function(e,t){return"string"==typeof t&&t.startsWith("/Function(")&&t.endsWith(")/")?(t=t.substring(10,t.length-2),(0,eval)("( "+t+")")):t});this.configurableWidgets[n.processName]=n}catch(t){console.error("Unable init widget"+e,t)}},e.prototype.get=function(e){return this.configurables.find(function(t){return t.key===e})},e.prototype.has=function(e){return this.configurables.some(function(t){return t.key===e})},e.prototype.value=function(e,t){return this.has(e)?this.get(e).value:void 0===t||t},e}()},310:function(e,t,n){"use strict";n.d(t,"a",function(){return a});var i=n(0),s=(n(6),n(81)),r=n.n(s),o=n(32),l=n(43),a=function(e){function t(t,n,i,s,o,l){var a=e.call(this,t)||this;a.taskManager=t,a.viewCtrl=n,a.nav=i,a.detector=o,a.ga=l,a.cancelTransition=!1;var u=s.get("signatures")?s.get("signatures").value:[];u=r.a.orderBy(u,["order"],["asc"]),a.state={signatures:u,isOrdered:!1},a.title=document.title;return Math.max.apply(Math,a.state.signatures.map(function(e){return e.order>0?e.order+1:-1}))>0&&(a.state={isOrdered:!0}),a}return Object(i.__extends)(t,e),t.prototype.trackById=function(e,t){return t.id},t.prototype.reorderItems=function(e){var t=this;if(-100!=e.to){var n=-1==e.from||-1==e.to?e.from:e.from+1,i=-1==e.from||-1==e.to?e.to:e.to+1;this.cancelTransition=!0,setTimeout(function(){t.cancelTransition=!1},300);var s=this.state.signatures,r=s.splice(n-1,1)[0];s.splice(i-1,0,r),s=s.map(function(e,t){return e.update({order:t+1})}),this.state={signatures:s}}},t.prototype.shuffle=function(){this.ga.event(l.b.DOC_VIEW_ORDER_SIGS_TOGGLE,l.c.DOCUMENT_VIEW,this.state.isOrdered?"on":"off");var e;e=this.state.signatures.map(this.state.isOrdered?function(e,t){return e.update({order:t+1})}:function(e,t){return e.update({order:-1})}),e=r.a.orderBy(e,["order"],["asc"]),this.state={signatures:e},this.detector.detectChanges()},t.prototype.cancel=function(){this.viewCtrl.dismiss()},t.prototype.save=function(){this.viewCtrl.dismiss(this.state.signatures)},t}(o.a)},313:function(e,t,n){"use strict";n.d(t,"a",function(){return a});var i=n(0),s=(n(6),n(32)),r=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))(function(s,r){function o(e){try{a(i.next(e))}catch(e){r(e)}}function l(e){try{a(i.throw(e))}catch(e){r(e)}}function a(e){e.done?s(e.value):new n(function(t){t(e.value)}).then(o,l)}a((i=i.apply(e,t||[])).next())})},o=this&&this.__generator||function(e,t){function n(n){return function(o){return function(n){if(i)throw new TypeError("Generator is already executing.");for(;l;)try{if(i=1,s&&(r=s[2&n[0]?"return":n[0]?"throw":"next"])&&!(r=r.call(s,n[1])).done)return r;switch(s=0,r&&(n=[0,r.value]),n[0]){case 0:case 1:r=n;break;case 4:return l.label++,{value:n[1],done:!1};case 5:l.label++,s=n[1],n=[0];continue;case 7:n=l.ops.pop(),l.trys.pop();continue;default:if(r=l.trys,!(r=r.length>0&&r[r.length-1])&&(6===n[0]||2===n[0])){l=0;continue}if(3===n[0]&&(!r||n[1]>r[0]&&n[1]1){for(var f=0,m=g;f9?e.signerPhone.substr(0,4):null,phone:e.signerPhone&&e.signerPhone.length>9?e.signerPhone.substr(4,e.signerPhone.length-4):null,signature:e,block1:"",block2:"",block3:""},this.createUserForm(),this.createTokenForm()},t.prototype.createUserForm=function(){var e=this;this.userForm=this.creationKit.initForm("user"),this.creationKit.addField("firstName",this.state.firstName,r.a.TEXT,a({label:"FIRST_NAME"},o.a.configureValidators("firstName",[l.w.required]))),this.creationKit.addField("lastName",this.state.lastName,r.a.TEXT,a({label:"LAST_NAME"},o.a.configureValidators("lastName",[l.w.required]))),this.creationKit.addField("email",this.state.email,r.a.EMAIL,a({label:"EMAIL"},o.a.configureValidators("email",[l.w.required,l.w.email]))),this.creationKit.addField("phone_country",this.state.phoneCountry,r.a.SELECT,a({onChange:function(t){return e.countryCodeChange(t)},label:"COUNTRY_CODE",options:this.phoneValidation.countryCodes},o.a.configureValidators("phoneCountry",[l.w.required]))),this.creationKit.addField("phone",this.state.phone,r.a.TELEPHONE,a({label:"PHONE",pattern:"^[+]?[()/0-9. -]{9,}$"},o.a.configureValidators("phone",[l.w.required]))),this.creationKit.addSubmit("ok","SAVE",{onClick:function(t){return e.updateSignature(t)}})},t.prototype.createTokenForm=function(){var e=this;this.verificationForm=this.creationKit.initForm("token"),this.creationKit.addField("block1",this.state.block1.toUpperCase(),r.a.TEXT,a({autoFocus:!0,onPaste:function(t){return e.paste(t)},onChange:function(t){return e.focus(t)},tabIndex:1,minLength:3,maxLength:3,autocomplete:"off"},o.a.configureValidators("block1",[l.w.required,l.w.minLength(3),l.w.maxLength(3)]))),this.creationKit.addField("block2",this.state.block2.toUpperCase(),r.a.TEXT,a({onPaste:function(t){return e.paste(t)},onChange:function(t){return e.focus(t)},tabIndex:2,minLength:3,maxLength:3,autocomplete:"off"},o.a.configureValidators("block2",[l.w.required,l.w.minLength(3),l.w.maxLength(3)]))),this.creationKit.addField("block3",this.state.block3.toUpperCase(),r.a.TEXT,a({onPaste:function(t){return e.paste(t)},onChange:function(t){return e.focus(t)},tabIndex:3,minLength:3,maxLength:3,autocomplete:"off"},o.a.configureValidators("block3",[l.w.required,l.w.minLength(3),l.w.maxLength(3)]))),this.creationKit.addSubmit("ok","OK",{onClick:function(t){return e.verifyToken(t)}})},t.prototype.updateSignature=function(e){var t=this;if(e){var n=this.state.signature.update({signerEmail:this.state.email,signerPhone:this.state.phoneCountry.replace(" ","")+this.state.phone,signerName:{first:this.state.firstName,last:this.state.lastName}});this.server.updateSignature(n).subscribe(function(){t.server.generateVerificationToken(n).run(),t.state={step:1,signature:n}},function(){})}},t.prototype.verifyToken=function(e){e&&this.viewCtrl.dismiss([this.state.block1,this.state.block2,this.state.block3].join("-"))},t.prototype.countryCodeChange=function(e){this.state={phoneCountry:e.value}},t.prototype.onChange=function(e){for(var t={},n=0,i=e;n0&&r[r.length-1])&&(6===n[0]||2===n[0])){l=0;continue}if(3===n[0]&&(!r||n[1]>r[0]&&n[1]=1&&(l=!0,r.push("SELECT_CERTIFICATE")):this.signingData.cert={certificateId:t.aliases[0].id}),s.some(function(t){return t.type==c.d.SMS_PASSWORD&&e.inPerson})&&r.push("USER_DETAILS");for(var a in o)this.authMethodsByOrder.push(o[a]),o[a].length>1?(r.push("SELECT_SIGN_AUTH"),r.push("")):r.push("AUTH_TYPE_"+Object(d.e)(o[a].last().type));this.state={step:0,steps:r,formSteps:[],signature:e,documentToken:n,error:null,certificatesAliases:t.aliases,showCertificateSelection:l,bankIdProvider:i},l||this.addNextStep()},t.prototype.addNextStep=function(){var e=this;if("USER_DETAILS"==this.state.steps[this.state.step]){var t=this.state.signature;this.activeType="USER_DETAILS";var n=this.creationKit.initForm(this.activeType,{});return this.creationKit.addField("firstName",t.signerName?t.signerName.first:null,l.a.TEXT,f({label:"FIRST_NAME"},a.a.configureValidators("firstName",[u.w.required]))),this.creationKit.addField("lastName",t.signerName?t.signerName.last:null,l.a.TEXT,f({label:"LAST_NAME"},a.a.configureValidators("lastName",[u.w.required]))),this.creationKit.addField("email",t.signer,l.a.EMAIL,f({label:"EMAIL"},a.a.configureValidators("EMAIL",[u.w.required,u.w.email]))),this.creationKit.addSubmit("ok","NEXT",{onClick:function(t){return e.onClick(t)}}),this.formSteps.push({form:n}),this.formData.firstName=t.signerName?t.signerName.first:null,this.formData.lastName=t.signerName?t.signerName.last:null,this.formData.email=t.signer,void(this.state={formSteps:this.formSteps})}var i=this.authMethodIndex<=this.authMethodsByOrder.length-1,s=this.authMethodsByOrder[this.authMethodIndex];if(i&&!this.activeType&&1==s.length&&(this.activeType=s.first().type),console.log(this.activeType),this.activeType){n=this.creationKit.initForm(this.activeType,{});if(this.activeType==c.d.ONE_TIME_PASSWORD)this.creationKit.addField("password","",l.a.PASSWORD,f({label:"password",dataQa:"signing-"},a.a.configureValidators("password",[u.w.required]))),this.creationKit.addSubmit("ok","CONFIRM_AND_SIGN",{onClick:function(t){return e.onClick(t)}});else if(this.activeType==c.d.SMS_PASSWORD.toString()+"_step2"){for(var r=0;r<6;r++){var o=f({onPaste:function(t){return e.paste(t)},onChange:function(t){return e.focus(t)},tabIndex:r+1,minLength:1,maxLength:6,inputMode:"numeric",dataQa:"signing-sms-password__block"+(r+1)},a.a.configureValidators("",[u.w.required]));0==r?(o.autoFocus=!0,o.autocomplete="one-time-code"):o.autocomplete="off",this.creationKit.addField("block"+(r+1),"",l.a.TEXT,o)}this.creationKit.addSubmit("ok","CONFIRM_AND_SIGN",{onClick:function(t){return e.onClick(t)},dataQa:"signing-sms-password__confirm"})}else if(this.activeType==c.d.BANK_ID)this.state.bankIdProvider.autoRun(this.s)&&this.easySignMode&&this.onClick(!0),this.creationKit.addSubmit("send","SELECT_BANK_AND_SIGN",{onClick:function(t){return e.onClick(t)},dataQa:"signing-bank-id__confirm",activeLoading:this.bankIdLoadingEvent});else if(this.activeType==c.d.SMS_PASSWORD){var h=this.state.signature.signerPhone,g="+420";if(h){var m=this.phoneValidation.getPhoneParts(h);h=m.phoneNumber,g=m.phoneCountry||"+420"}this.formData.phoneCountry=g,this.formData.phone=h,this.creationKit.addField("phoneCountry",g,l.a.SELECT,f({label:"COUNTRY_CODE",options:this.phoneValidation.countryCodes,dataQa:"signing-sms-password__contry-code"},a.a.configureValidators("phoneCountry",[u.w.required]))),this.creationKit.addField("phone",h,l.a.TELEPHONE,f({autocomplete:"off",label:"PHONE",pattern:"^[+]?[()/0-9. -]{9,}$",dataQa:"signing-bank-id__phone"},a.a.configureValidators("phone",[u.w.required]))),this.creationKit.addSubmit("send","SEND_SMS",{onClick:function(t){return e.onClick(t)},dataQa:"signing-bank-id__send",activeLoading:this.smsLoadingEvent})}else if(this.activeType==c.d.CLICK_TO_SIGN||this.activeType==c.d.CLICK_TO_SIGN_INITIALS)this.creationKit.addSubmit("ok","SIGN",{onClick:function(t){return e.onClick(t)},dataQa:"signing-click-to-sign__confirm"});else if(this.activeType==c.d.BIOMETRIC)return this.close({authType:c.d.BIOMETRIC});this.formSteps.push({form:n}),this.authMethodIndex=this.authMethodIndex+1,this.state={formSteps:this.formSteps}}else if(s.length>1&&!this.activeType){n=this.creationKit.initForm("selection"+this.authMethodIndex);for(var b=0,v=s;b0&&r[r.length-1])&&(6===n[0]||2===n[0])){l=0;continue}if(3===n[0]&&(!r||n[1]>r[0]&&n[1]0&&(a[a.length-1].state=r.IDLE);var h=u.path;if(t){for(var d=0,p=Object.keys(t);d=0){if(s=o[a].path,o[a].state=r.ACTIVE,e){for(var u=0,c=Object.keys(e);u\n \n \n \n \n \n \n \n \n \n \n \n '),this.searchAnnot=e.bypassSecurityTrustHtml('\n \n '),this.report=e.bypassSecurityTrustHtml('\n \n \n \n \n \n \n \n '),this.scrollVertical=e.bypassSecurityTrustHtml('\n\t\t\n\t\t\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\n\t\t\n\t\t'),this.scrollHorizontal=e.bypassSecurityTrustHtml('\n\t\t\n\t\t\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\n\t\t\n\t\t'),this.logo=e.bypassSecurityTrustHtml('\n\t\t\n\t\t\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\n\t\t\n\t\t'),this.allDocuments=e.bypassSecurityTrustHtml('\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t'),this.myRequests=e.bypassSecurityTrustHtml('\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\t\n\t\t\n\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\n\t\t\n\t\t'),this.pendingDocuments=e.bypassSecurityTrustHtml('\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\n\t\t\n\t\t'),this.signedDocuments=e.bypassSecurityTrustHtml('\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t'),this.delete=e.bypassSecurityTrustHtml('\n\t\t\n\t\t\n\t\t\n\t\t'),this.openIn=e.bypassSecurityTrustHtml('\n\t\t\n\t\t\n\t\t\t\n\t\t\n\t\t\n '),this.rename=e.bypassSecurityTrustHtml('\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t'),this.method=e.bypassSecurityTrustHtml('\n\t\t\n\t\t'),this.order=e.bypassSecurityTrustHtml('\n\t\t\n\t\t\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\n\t\t\n\t\t'),this.selected=e.bypassSecurityTrustHtml('\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t'),this.selectedSmall=e.bypassSecurityTrustHtml('\n \n \n \n \n \n\t\t'),this.unselected=e.bypassSecurityTrustHtml('\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t'),this.sign=e.bypassSecurityTrustHtml('\n\t\t\n\t\t\n\t\t\n\t\t'),this.dislike=e.bypassSecurityTrustHtml('\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t'),this.add=e.bypassSecurityTrustHtml('\n\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\n\t\t'),this.selectSigner=e.bypassSecurityTrustHtml('\n\t\t\n\t\t\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\n\t\t\n\t\t'),this.send=e.bypassSecurityTrustHtml('\n\t\t\n\t\t\n\t\t\t\n\t\t\t\n\t\t\n\t\t\n\t\t'),this.newDocument=e.bypassSecurityTrustHtml('\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t'),this.requestedDocument=e.bypassSecurityTrustHtml('\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\n\t\t\n\t\t'),this.sigOpts=e.bypassSecurityTrustHtml('\n\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t'),this.addNewDocument=e.bypassSecurityTrustHtml('\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t'),this.userMenuMore=e.bypassSecurityTrustHtml('\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t'),this.sendDoc=e.bypassSecurityTrustHtml('\n\t\t\n\t\t\n\t\t\t\n\t\t\t\n\t\t\n\t\t\n\t\t'),this.email=e.bypassSecurityTrustHtml('\n\t\t\n\t\t\n\t\t\t\n\t\t\t\n\t\t\n\t\t'),this.refresh=e.bypassSecurityTrustHtml('\n\t\t\n\t\t\n\t\t\n\t\t\t\n\t\t\t\n\t\t\n\t\t\n\t\t'),this.remove=e.bypassSecurityTrustHtml('\n\t\t\n\t\t\n\t\t\n '),this.creditCard=e.bypassSecurityTrustHtml('\n \n \n \n \n \n \n \n \n '),this.document=e.bypassSecurityTrustHtml('\n \n \n \n \n \n \n \n \n \n \n '),this.editDocument=e.bypassSecurityTrustHtml('\n \n \n \n \n \n \n \n \n '),this.template=e.bypassSecurityTrustHtml('\n \n \n \n \n \n \n \n \n\t\t'),this.fingerpring=e.bypassSecurityTrustHtml('\n \n \n \n '),this.back=e.bypassSecurityTrustHtml('\n \n \n\n '),this.upload=e.bypassSecurityTrustHtml('\n \n \n \n \n \n \n '),this.saveDocument=e.bypassSecurityTrustHtml('\n \n \n \n \n \n \n \n '),this.ocr=e.bypassSecurityTrustHtml('\n \n \n \n \n \n \n \n \n \n \n\n '),this.warning=e.bypassSecurityTrustHtml('\n \n \n \n \n \n image/svg+xml\n \n \n \n \n \n \n \n \n \n '),this.contract=e.bypassSecurityTrustHtml('\n \n \n \n \n \n \n \n \n \n \n '),this.searchDocument=e.bypassSecurityTrustHtml('\n \n '),this.documents=e.bypassSecurityTrustHtml('\n \n '),this.digitalType=e.bypassSecurityTrustHtml('\n digital electronic\n '),this.biometricType=e.bypassSecurityTrustHtml('\n \n '),this.required=e.bypassSecurityTrustHtml('\n \n\n \x3c!-- Generator: Sketch 50.2 (55047) - http://www.bohemiancoding.com/sketch --\x3e\n Group\n Created with Sketch.\n \n \n \n \n \n \n \n\n '),this.signatureCurve=e.bypassSecurityTrustHtml('\n\t\n\t'),this.trash=e.bypassSecurityTrustHtml('\n\t\n\t\n\t\n\t'),this.action=e.bypassSecurityTrustHtml('\n \n ')}return e.prototype.getImg=function(e){switch(e){case"pending":return this.pendingDocument;case"requested":return this.requestedDocument;case"signed":return this.signedDocument}},e}()},342:function(e,t,n){"use strict";n.d(t,"a",function(){return s});n(0);var i=n(6),s=function(){function e(e,t,n,i,s,r,o){this.app=e,this.s=t,this.taskManager=n,this.detector=i,this.help=s,this.storage=r,this.ui=o,this.ORIGIN=this.taskManager.generateName("walkthrough"),this.isTransitioningIn=!1,this.isTransitioningOut=!1}return Object.defineProperty(e.prototype,"Position",{get:function(){return this.position?this.position:JSON.parse(localStorage.getItem("helpPosition"))},set:function(e){this.position=e,localStorage.setItem("helpPosition",JSON.stringify(this.position))},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){var e=this;this.help.ready().then(function(){var t=e.app.getActiveNavs()[0]&&e.app.getActiveNavs()[0].getActive()?e.app.getActiveNavs()[0].getActive().id.substring(0,e.app.getActiveNavs()[0].getActive().id.indexOf("/")):"default",n=t||e.app.getActiveNavs()[0].getActive().id;e.help.Context=e.app.getActiveNavs()[0]&&e.app.getActiveNavs()[0].getActive()?n:"default",e.conditionalRendering(e.app.getActiveNavs()[0].getActive(),e.help.currentHelp(e.app.getActiveNavs()[0].getActive())),e.transition(),e.app.viewDidEnter.subscribe(function(t){if(!(t instanceof i.k||t instanceof i.g)){var n=t?t.id.substring(0,t.id.indexOf("/")):"default",s=n||t.id;t instanceof i.i?(e.previousContext||(e.previousContext=e.help.Context),e.help.Context=t._viewCtrl.data.component.name,e.ui.modalDismissed.subscribe(function(){e.help.Context=e.previousContext,e.help.helpProgress.emit()})):e.previousContext?(e.help.Context=e.previousContext,e.previousContext=void 0):(e.previousContext=void 0,e.help.Context=s),e.conditionalRendering(t,e.help.currentHelp(t)),e.help.helpProgress.emit(),e.transition()}}),e.help.helpProgress.subscribe(function(t){var n=e.app.getActiveNavs()[0].getActive();if(n&&(e.help.Context=n.id.substring(0,n.id.indexOf("/"))?n.id.substring(0,n.id.indexOf("/")):n.id),void 0!==t){var i=e.source;e.conditionalRendering(n,e.help.currentHelp(n)),i&&e.source&&i.id!==e.source.id?e.transition():e.detector.markForCheck()}else e.detector.markForCheck()}).register(e.ORIGIN),e.detector.markForCheck()})},e.prototype.ngOnDestroy=function(){this.help.persist(),this.taskManager.autoDestruction(this.ORIGIN)},e.prototype.conditionalRendering=function(e,t){var n=this;if(e&&t&&null!==t.propertyBinding)if(t.await){var i=t.propertyBinding.split(".");e.instance[i[0]].subscribe(function(e){n.source=e===t.propertyValue?t:e[i[1]]===t.propertyValue?t:void 0,n.detector.markForCheck()})}else this.source=e.instance[t.propertyBinding]===t.propertyValue?t:void 0;else this.source=this.help.currentHelp(e)},e.prototype.restore=function(){this.s.is.desktop&&(this.position=JSON.parse(localStorage.getItem("helpPosition")))},e.prototype.hide=function(){this.help.seen(this.source.id)},e.prototype.transition=function(){this.isTransitioningIn?(this.isTransitioningIn=!1,this.isTransitioningOut=!0):(this.isTransitioningIn=!0,this.isTransitioningOut=!1),this.detector.detectChanges()},e}()},343:function(e,t,n){"use strict";n.d(t,"a",function(){return u});n(0);var i=n(2),s=(n.n(i),n(6),n(70),n(127),n(222),n(22),n(49)),r=(n(146),n(133)),o=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))(function(s,r){function o(e){try{a(i.next(e))}catch(e){r(e)}}function l(e){try{a(i.throw(e))}catch(e){r(e)}}function a(e){e.done?s(e.value):new n(function(t){t(e.value)}).then(o,l)}a((i=i.apply(e,t||[])).next())})},l=this&&this.__generator||function(e,t){function n(n){return function(o){return function(n){if(i)throw new TypeError("Generator is already executing.");for(;l;)try{if(i=1,s&&(r=s[2&n[0]?"return":n[0]?"throw":"next"])&&!(r=r.call(s,n[1])).done)return r;switch(s=0,r&&(n=[0,r.value]),n[0]){case 0:case 1:r=n;break;case 4:return l.label++,{value:n[1],done:!1};case 5:l.label++,s=n[1],n=[0];continue;case 7:n=l.ops.pop(),l.trys.pop();continue;default:if(r=l.trys,!(r=r.length>0&&r[r.length-1])&&(6===n[0]||2===n[0])){l=0;continue}if(3===n[0]&&(!r||n[1]>r[0]&&n[1]0&&this.queueRunning.some(function(e){return e.color!=s.a.ERROR})&&(e.returnValue=this.t.instant("ACTIONS_INCOMPLETE"))},Object.defineProperty(t.prototype,"runningBackground",{get:function(){return this.queueRunning.length>0?this.queueRunning[0].color:s.a.NEUTRAL},enumerable:!0,configurable:!0}),t.prototype.add=function(e){0===this.queueRunning.length&&(this.runningLabel=e.label,e.img&&(this.runningImg=e.img)),this.queueRunning.push(e),this.activateIfNecessary()},t.prototype.success=function(e){var t=this;this.presentTemporary(e.success,s.a.SUCCESS).then(function(){return t.remove(e)})},t.prototype.error=function(e,t){var n=this;this.presentTemporary(null!=t?t:e.error,s.a.ERROR).then(function(){return n.remove(e)})},t.prototype.removeByLabel=function(e){var t=this.queueRunning.find(function(t){return t.label==e});null!=t&&this.remove(t)},t.prototype.remove=function(e){this.queueRunning.contains(e)&&(this.queueRunning=this.queueRunning.remove(e),this.runningImg=void 0,this.queueRunning.length>0?(this.runningLabel=this.queueRunning[0].label,this.queueRunning[0].img&&(this.runningImg=this.queueRunning[0].img)):this.runningLabel=void 0,this.activateIfNecessary())},t.prototype.clear=function(){this.queueRunning=[],this.runningLabel=void 0,this.hideTemporary(),this.activate(!1,!0)},t.prototype.presentTemporary=function(e,t){var n=this;if(!e)return Promise.resolve();for(var i={label:e,className:t},s=0,r=this.queueTemporary;s0,!0),this.detector.detectChanges()},t.prototype.statusbarPadding=function(){return this.s.is.ios&&!this.s.isBrowser.getValue()?20:0},t=Object(i.__decorate)([Object(i.__param)(3,Object(r.Inject)(Object(r.forwardRef)(function(){return a.f})))],t)}(o.a)},347:function(e,t,n){"use strict";n.d(t,"a",function(){return c}),n.d(t,"b",function(){return h});var i=n(0),s=n(1),r=(n(6),n(22),n(49)),o=n(24),l=(n.n(o),n(32)),a=n(14),u=n(43),c={ACCOUNT_GENERAL:"general",PROFILE:"profile",BILLING:"billing",DESIGNER:"designer"},h=function(e){function t(t,n,i,s,r,l,a,u,h,d,p,g,f){var m=e.call(this,p)||this;m.params=t,m.menu=n,m.s=i,m.server=s,m.storage=r,m.nav=l,m.viewCtrl=a,m.detector=u,m.t=h,m.ui=d,m.taskManager=p,m.event=g,m.ga=f,m.PAGES=c,m.activeSegment="profile",m.previousSegment="profile",m.state={pages:[],title:"ACCOUNT",isDesignerChanged:!1,saveDesigner:new o.BehaviorSubject(!1)};var b=[];for(var v in c)"HELP"!=v&&"ABOUT"!=v&&b.push({label:"ACCOUNT_GENERAL"==v?"GENERAL":v,segment:c[v],disable:!1});return m.state={pages:b},m.storage.userAsync.filter(function(e){return null!==e}).take(1).subscribe(function(e){for(var n=1==e.role||2==e.role||6==e.role,i=0;i0&&s.indexOf(b[i].label)<0&&(b[i].disable=!0)}m.state={pages:b};var r=t.get("page"),o=m.state.pages.find(function(e){return e.segment==r&&!e.disable});o&&(m.activeSegment=o.segment,m.previousSegment=m.activeSegment)}),m}return Object(i.__extends)(t,e),Object.defineProperty(t.prototype,"user",{get:function(){return this.storage.userAsync},enumerable:!0,configurable:!0}),t.prototype.ngOnDestroy=function(){this.state.saveDesigner.complete(),e.prototype.ngOnDestroy.call(this)},t.prototype.ionViewWillEnter=function(){this.menu.enable(!1),this.nav.swipeBackEnabled=!1,this.selectTitle(),this.server.getSubs().run().register(this.context)},t.prototype.ionViewDidEnter=function(){this.selectTitle()},t.prototype.ionViewCanLeave=function(){return this.activeSegment!==c.DESIGNER||!this.state.isDesignerChanged||this.confirmLeave()},t.prototype.ionViewDidLeave=function(){this.nav.swipeBackEnabled=!0},t.prototype.confirmLeave=function(){var e=this;return new Promise(function(t,n){return e.ui.alertBool(e.t.instant("SAVE_OR_NOT"),null,e.t.instant("YES"),e.t.instant("NO")).do(function(e){return o.Observable.of(!0)},function(e){return o.Observable.of(!1)}).toPromise().then(function(){return e.state.saveDesigner.next(!0),t(),!0}).catch(function(){return t(),!0})})},t.prototype.selectTitle=function(){var e;switch(this.activeSegment){case c.BILLING:e="BILLING";break;case c.PROFILE:e="PROFILE";break;case c.ACCOUNT_GENERAL:e="ACCOUNT";break;case c.DESIGNER:e="SIGNATURE";break;default:e="ACCOUNT"}this.state={title:e}},t.prototype.segmentChange=function(){this.state.isDesignerChanged&&(this.confirmLeave(),this.state={isDesignerChanged:!1}),this.ga.event(u.b.ACCOUNT_SEG_CHANGE,this.previousSegment,this.activeSegment),this.previousSegment=this.activeSegment,this.selectTitle();var e=this.t.instant(this.state.title)+this.t.instant("TITLE_SEPARATOR")+this.t.instant("SIGNOSOFT");this.s.replaceUrl(e,"account/"+this.activeSegment),this.detector.detectChanges()},t.prototype.changeSegment=function(e){var t=this;this.previousSegment=this.activeSegment,this.state.isDesignerChanged?this.confirmLeave().then(function(){t.activeSegment=e}).catch(function(){t.activeSegment=e}):this.activeSegment=e,this.selectTitle(),this.viewCtrl.data.page=this.activeSegment;var n=this.t.instant(this.state.title)+this.t.instant("TITLE_SEPARATOR")+this.t.instant("SIGNOSOFT");this.s.replaceUrl(n,"account/"+this.activeSegment),this.event.publish(r.c.CLEAR)},t.prototype.swipeEvent=function(e){var t=this;if(this.s.is.cordova){var n=function(){if(e.deltaX>0)switch(t.activeSegment){case"billing":if(t.state.pages.some(function(e){return"profile"===e.segment&&e.disable}))return;t.changeSegment("profile"),t.content.scrollToTop(0);break;case"profile":if(t.state.pages.some(function(e){return"general"===e.segment&&e.disable}))return;t.changeSegment("general"),t.content.scrollToTop(0);break;case"designer":if(t.state.pages.some(function(e){return"billing"===e.segment&&e.disable}))return;t.changeSegment("billing"),t.content.scrollToTop(0)}else switch(t.activeSegment){case"general":if(t.state.pages.some(function(e){return"profile"===e.segment&&e.disable}))return;t.changeSegment("profile"),t.content.scrollToTop(0);break;case"profile":if(t.state.pages.some(function(e){return"billing"===e.segment&&e.disable}))return;t.changeSegment("billing"),t.content.scrollToTop(0);break;case"billing":if(t.state.pages.some(function(e){return"designer"===e.segment&&e.disable}))return;t.changeSegment("designer"),t.content.scrollToTop(0)}};this.state.isDesignerChanged?this.confirmLeave().then(function(){t.state={isDesignerChanged:!1},n()}):(this.state={isDesignerChanged:!1},n())}},t.prototype.designerChanged=function(e){this.state={isDesignerChanged:e}},t.prototype.openPage=function(e){var t=this;this.state.isDesignerChanged?this.confirmLeave().then(function(){t.state={isDesignerChanged:!1},t.changeSegment(e),t.content.scrollToTop(0)}):(this.state={isDesignerChanged:!1},this.changeSegment(e),this.content.scrollToTop(0))},t=Object(i.__decorate)([Object(i.__param)(4,Object(s.Inject)(Object(s.forwardRef)(function(){return a.a})))],t)}(l.a)},351:function(e,t,n){"use strict";n.d(t,"a",function(){return g}),n.d(t,"b",function(){return f});var i=n(0),s=(n(92),n(1)),r=n(52),o=n(162),l=(n(101),n(206)),a=n(32),u=n(81),c=n.n(u),h=n(150),d=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))(function(s,r){function o(e){try{a(i.next(e))}catch(e){r(e)}}function l(e){try{a(i.throw(e))}catch(e){r(e)}}function a(e){e.done?s(e.value):new n(function(t){t(e.value)}).then(o,l)}a((i=i.apply(e,t||[])).next())})},p=this&&this.__generator||function(e,t){function n(n){return function(o){return function(n){if(i)throw new TypeError("Generator is already executing.");for(;l;)try{if(i=1,s&&(r=s[2&n[0]?"return":n[0]?"throw":"next"])&&!(r=r.call(s,n[1])).done)return r;switch(s=0,r&&(n=[0,r.value]),n[0]){case 0:case 1:r=n;break;case 4:return l.label++,{value:n[1],done:!1};case 5:l.label++,s=n[1],n=[0];continue;case 7:n=l.ops.pop(),l.trys.pop();continue;default:if(r=l.trys,!(r=r.length>0&&r[r.length-1])&&(6===n[0]||2===n[0])){l=0;continue}if(3===n[0]&&(!r||n[1]>r[0]&&n[1]this.page.maxPageZoom&&this._render()}},t.prototype.num=function(){return Math.floor(996*Math.random())+4},t.prototype.renderZoomed=function(e){var t=this.pagerManager.realItemDimensions(this.page.index);if(t.width*e*t.height*e*devicePixelRatio>45e5&&(e=Math.sqrt(45e5/t.height/t.width/devicePixelRatio)),!(Math.abs(e-this.zoom)<.1)){this.requiredPageZoom(e).zoom>this.page.maxPageZoom&&this._render(e)}},t.prototype.requiredPageZoom=function(e){if(this.page.defaultPageViewport){var t=this.state.size.width/this.page.defaultPageViewport.width,n=this.page.renderable.type==r.m.IOS?e:devicePixelRatio*e;return{quality:n,zoom:t*n}}return{quality:0,zoom:0}},t.prototype._render=function(e){var t=this;if(void 0===e&&(e=this._zoom),0!==this.state.size.height&&0!==this.state.size.width&&null==this.page.renderTask){this.page.cancelRendering();var n=new Promise(function(n){d(t,void 0,void 0,function(){var t,i,s,o,l,a,u,c=this;return p(this,function(f){switch(f.label){case 0:return(t=this.page).defaultPageViewport?[3,2]:(i=t,[4,t.renderable.getViewport(1)]);case 1:i.defaultPageViewport=f.sent(),f.label=2;case 2:return l=this.requiredPageZoom(e),t.renderable.type==r.m.IOS?s=t.src:((o=document.createElement("canvas")).width=this.state.size.width*l.quality,o.height=this.state.size.height*l.quality,s=o.getContext("2d",{alpha:!1})),[4,t.renderable.getViewport(l.zoom)];case 3:return a=f.sent(),u=t.renderable.render({viewport:a,context:s}),[2,n(u.then(function(){return d(c,void 0,void 0,function(){var n,i,a,u,c,d=this;return p(this,function(p){switch(p.label){case 0:return this._destroyed?[3,5]:t.renderable.type!=r.m.PDFJS?[3,4]:(console.log("OFFSCREEN_CANVAS_SUPPORT: "+g+" : "+typeof window.OffscreenCanvas),g?(n=s.getImageData(0,0,o.width,o.height),[4,Object(h.d)(n)]):[3,2]);case 1:return i=p.sent(),(a=t.src.getValue())&&URL.revokeObjectURL(a),u=URL.createObjectURL(i),t.src.next(u),o.width=0,o.height=0,o=null,s=null,t.maxPageZoom=l.zoom,this.page.index==t.index&&(this._zoom=e),t.cleanup(),[3,3];case 2:c=window.imageExt,o.toBlob(function(n){var i=t.src.getValue();i&&URL.revokeObjectURL(i);var r=URL.createObjectURL(n);t.src.next(r),o.width=0,o.height=0,o=null,s=null,t.maxPageZoom=l.zoom,d.page.index==t.index&&(d._zoom=e),t.cleanup()},"image/"+c),p.label=3;case 3:return[3,5];case 4:t.maxPageZoom=l.zoom,this.page.index==t.index&&(this._zoom=e),t.cleanup(),p.label=5;case 5:return[2]}})})},function(e){console.error(e),t.renderable.type==r.m.PDFJS&&(o.width=0,o.height=0,o=null,s=null)}))]}})})});this.page.setRenderTask(n)}},t.prototype.render=function(){this.page.rendered||this._render()},t.prototype.resize=function(){var e=this.state.size,t=this.pagerManager.realItemDimensions(this.page.index);if(0!=t.width&&0!=t.height){if(this.state={size:t},0==t.width||0==t.height){this.renderer.setStyle(i=this.pageContainer.nativeElement,"display","none")}if(e.width!==t.width||e.height!==t.height){var n=this.element.nativeElement,i=this.pageContainer.nativeElement;0==t.width||0==t.height?this.renderer.setStyle(i,"display","none"):(this.renderer.setStyle(n,"width",t.width+"px"),this.renderer.setStyle(n,"height",t.height+"px"),this.renderer.setStyle(i,"width",t.width+"px"),this.renderer.setStyle(i,"height",t.height+"px"),this.renderer.setStyle(i,"display","block"))}this.requiredPageZoom(1).zoom>this.page.maxPageZoom&&this._render()}},Object.defineProperty(t.prototype,"pageMargin",{get:function(){return this.s.is.ios||this.s.is.android?8:29},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"itemSize",{get:function(){return this.itemDimensions},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"position",{get:function(){if(!this._position){var e=this.element.nativeElement,t=e.parentElement;this._position={top:e.offsetTop-t.offsetTop,left:e.offsetLeft-t.offsetLeft}}return this._position},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"viewport",{get:function(){var e=this.page.ratio<1,t=this.pagerManager.elementRef.nativeElement.getBoundingClientRect(),n=this.element.nativeElement.getBoundingClientRect(),i={width:n.width,height:n.height,top:n.top,left:n.left};if(this.pagerManager.carousel){var s=this.pagerManager.carousel.currentItem.realRect;i.height=s.height,i.width=s.width,i.top=t.top-s.top,i.left=t.left-s.left}var r=t.top-i.top,o=t.left-i.left;return{start:{x:Math.max(o/i.width*100,0),y:Math.max(r/i.height*100,0)},end:{x:Math.min((o+t.width)/i.width*100,100),y:Math.min((r+t.height)/i.height*100,100)},height:t.top,landscape:e}},enumerable:!0,configurable:!0}),t.prototype.addRandom=function(){var e=this.documentView.browsable.signatures.getValue(),t=this.page.createSignature(this.viewport,e);if(t)return this.documentView.browsable.addOrReplaceSignatures(t),t},t.prototype.trackById=function(e,t){return t.id},t=Object(i.__decorate)([Object(i.__param)(3,Object(s.Inject)(Object(s.forwardRef)(function(){return o.a})))],t)}(a.a)},352:function(e,t,n){"use strict";n.d(t,"a",function(){return y});var i,s=n(0),r=(n(6),n(22),n(52)),o=n(49),l=n(707),a=n(24),u=(n.n(a),n(347)),c=n(5),h=n(32),d=n(239),p=n(249),g=n(238),f=n(43),m=this&&this.__assign||Object.assign||function(e){for(var t,n=1,i=arguments.length;n0&&r[r.length-1])&&(6===n[0]||2===n[0])){l=0;continue}if(3===n[0]&&(!r||n[1]>r[0]&&n[1]1?this.disableRename():this.enableRename()},t.prototype.deselect=function(){this.state={originalDocuments:this.state.originalDocuments.map(function(e){return e.selected&&(e.selected=!1),e})}},t.prototype.search=function(){var e=this.searchbar.value.trim();this.state={searchedTerm:e},this.requestDocuments(this.state.viewType,!0)},t.prototype.filterByStatus=function(e){var t=[];this.filterTypes=this.filterTypes.map(function(e){return e.items=e.items.map(function(e){return e.selected=e.key==i.REGULAR,e}),e}).slice(),this.filterStatus.map(function(n){return n.items=n.items.map(function(t){return t.animate=!1,t.selected=t.key===e,m({},t)}),t.push({items:n.items,group:n,name:n.name}),m({},n)}),this.state={hideStatusFilters:!1,viewType:i.REGULAR},this.onFilter(t)},t.prototype.onFilter=function(e){for(var t={},n=0,i=e.filter(function(e){return e&&e.name});n0&&this.ga.event(f.b.FILTER_BY_STATUS_OWNERSHIP,f.c.DASHBOARD,t.ownership[0]),(!r||r.state!=t.state)&&t.state&&t.state.length>0&&this.ga.event(f.b.FILTER_BY_STATUS_STATE,f.c.DASHBOARD,t.state[0]),this.state={filters:t},this.requestDocuments(this.state.viewType,!0)},t.prototype.filterByType=function(e){if(e&&0!==e.length&&e[0]&&0!==e[0].items.length){var t=e[0].items[0].key;this.ga.event(f.b.FILTER_BY_TYPE,f.c.DASHBOARD,t),this.state={hideStatusFilters:e.some(function(e){return e.items.some(function(e){return"hideStatusFilters"===e.flag})}),viewType:t,filters:{}},this.requestDocuments(t,!0)}else this.requestDocuments()},t.prototype.simpleReorder=function(e){if(e&&0!==e.length&&e.first().items&&0!==e.first().items.length){var t=e.first().items.first().key;this.ga.event(f.b.DOC_REORDER,f.c.DASHBOARD,t),this.state={order:{key:t.substring(0,t.indexOf("_")),order:t.contains("_desc")?d.a.DESC:d.a.ASC}},this.requestDocuments(this.state.viewType,!0)}},t.prototype.reorder=function(e,t){void 0===t&&(t=!1),this.state.order&&this.state.order.key==e.key&&this.state.order.order==e.order||(this.state={order:e},this.requestDocuments(this.state.viewType,!0))},t.prototype.requestDocuments=function(e,t){return void 0===e&&(e=i.REGULAR),void 0===t&&(t=!1),b(this,void 0,void 0,function(){var n,s,r,o,l,a,u,h,d,p,g=this;return v(this,function(f){switch(f.label){case 0:switch(e!==this.state.viewType&&(this.state={index:0}),n={requestDocumentsActive:!0,requestDocumentsError:!1},t&&(n.originalDocuments=[],n.index=0),this.state=n,s=this.state,r=s.index,o=s.count,l=s.order,a=s.searchedTerm,u=s.filters,h=m({},u,{search:a}),c.b&&console.log("requestDocuments initialRequest:"+t+" type:"+e+" index:"+r+" count:"+o+" filter:"+JSON.stringify(h)+'"'),e){case i.REGULAR:return[3,1];case i.TEMPLATES:return[3,3];case i.DRAFTS:return[3,5];case i.DELETED:return[3,7]}return[3,9];case 1:return[4,this.server.getDocuments(null,l,r,o,h).toPromise().catch(function(e){return g.state={requestDocumentsError:!0}})];case 2:return d=f.sent(),[3,9];case 3:return[4,this.server.getDocuments("template",l,r,o,h).toPromise().catch(function(e){return g.state={requestDocumentsError:!0}})];case 4:return d=f.sent(),[3,9];case 5:return[4,this.server.getDocuments("draft",null,r,o).toPromise().catch(function(e){return g.state={requestDocumentsError:!0}})];case 6:return d=f.sent(),[3,9];case 7:return[4,this.server.getDocuments("deleted",null,r,o).toPromise().catch(function(e){return g.state={requestDocumentsError:!0}})];case 8:return d=f.sent(),[3,9];case 9:return p={requestDocumentsActive:!1},p.requestDocumentsIncreaseMax=!!(d&&d.count0&&r[r.length-1])&&(6===n[0]||2===n[0])){l=0;continue}if(3===n[0]&&(!r||n[1]>r[0]&&n[1]0&&!e.contains(s.a.DEFAULT))S.successPageRedir(e);else if(S.nav.setRoot(s.a.DEFAULT),S.s.originalSegment){var t={};S.s.originalToken&&(t.token=S.s.originalToken),S.nav.push(S.s.originalSegment,t),S.s.originalSegment=null}};(0==S.storage.user.active||0==S.storage.user.confirm||S.storage.user.active&&S.storage.user.unregistered)&&!S.nav.getViews().find(function(e){return e.id==s.a.VERIFY})?S.nav.setRoot(s.a.VERIFY,{param:"",token:S.s.URLData.token||""}):1==S.storage.user.active&&1==S.storage.user.confirm&&S.nav.getViews().find(function(e){return e.id==s.a.VERIFY})?S.nav.removeView(S.nav.getViews().find(function(e){return e.id==s.a.VERIFY})).then(t):t()},S.state={username:"",password:"",serverURL:"",serverRemembered:!1,showServer:!1,resetPassword:w.get("resetPassword")||!1,goingToRegister:!1,userRemembered:S.taskManager.create({taskId:"userRemembered",value:null,origin:S.context}),loading:S.taskManager.create({taskId:"loading",value:!1,origin:S.context}),paramsFromRegistration:null,enablePasswordLogin:!0,ready:!1},S.restore(),S}return Object(i.__extends)(t,e),t.prototype.onSelect=function(e){return m(this,void 0,void 0,function(){return b(this,function(t){switch(t.label){case 0:return[4,this.ui.modal(p.a,{src:e[0].data}).toPromise()];case 1:return t.sent(),[2]}})})},Object.defineProperty(t.prototype,"signupEnabled",{get:function(){return this.configurables.value("signupEnabled")},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){return m(this,void 0,void 0,function(){return b(this,function(e){switch(e.label){case 0:return[4,this.configurables.ready];case 1:return e.sent(),this.initForm(),this.state={ready:!0},[2]}})})},t.prototype.initForm=function(){return m(this,void 0,void 0,function(){var e,t,n=this;return b(this,function(i){return this.form=this.creationKit.initForm("login",{hideValidatorUI:!0}),e=this.configurables.value("loginUsernamePlaceholder","password"),(t=this.configurables.value("LOGIN_SERVICE","password").split(/,/)).includes("google"),t.includes("microsoft")&&this.creationKit.addField("loginGoogle","CONTINUE_WITH_MICROSOFT",l.a.BUTTON,{icon:"microsoft",classes:["button btn-submit button-with-icon","disable-hover"],dataQa:"login__submit",gaAction:g.b.LOGIN_MICROSOFT_CLICK,gaCat:g.c.LOGIN,onClick:function(e){return n.microsoftLogin(e)},activeLoading:this.microsoftLoading,ignoreValidation:!0}),(t.includes("microsoft")||t.includes("google"))&&t.includes("password")&&this.creationKit.addField("separator",null,l.a.CUSTOM,{classes:["form-separation-line"]}),t.includes("password")?(this.creationKit.addField("username",this.state.username,l.a.TEXT,f({label:Object(d.isEmpty)(e)?"EMAIL":e,readonly:this.state.userRemembered,dataQa:"login__username",onClick:function(e){return n.onLoginClick()}},u.a.configureValidators("username",[c.w.required]))),this.creationKit.addField("password",this.state.password,l.a.PASSWORD,f({label:"PASSWORD",dataQa:"login__password"},u.a.configureValidators("password",[c.w.required]))),this.creationKit.addSubmit("login","LOG_IN",{classes:["button btn-submit","disable-hover"],dataQa:"login__submit",gaAction:g.b.LOGIN_CLICK,gaCat:g.c.LOGIN,onClick:function(e){return n.doLogin(e)},activeLoading:this.state.loading})):this.state={enablePasswordLogin:!1},[2]})})},t.prototype.formChanged=function(e){for(var t={},n=0,i=e;n1&&this.ui.alertOK("Business mode is active","Please unsubscribe your current plan.").run()},t.prototype.microsoftLogin=function(e){var t=this.nav.getPrevious()?"#/"+this.nav.getPrevious().id:"",n=window.location.href.split("#")[0];this.microsoftLoading.next(!0);var i=this.configurables.value("LOGIN_SERVICE.MS.TENANT","common"),s={client_id:this.configurables.value("LOGIN_SERVICE.MS.CLIENT_ID"),response_type:"token",redirect_uri:n+"#",response_mode:"fragment",scope:"openid User.Read",state:{success_page:t,csrf:"",type:"microsoft"},nonce:"12346",prompt:"select_account"},r="https://login.microsoftonline.com/"+i+"/oauth2/v2.0/authorize?"+Object(h.i)(s);console.log("microsoft url: "+r),location.href=r},t.prototype.doLoginThirdParty=function(e,t){var n=this,i="";"localhost"!==location.hostname&&(i=location.hostname),this.microsoftLoading.next(!0),this.server.restLoginThirdParty({accessToken:e,type:t.type,domain:i}).catch(function(e){return n.ui.alertError(e).flatMapTo(o.Observable.empty())}).subscribe(function(){n.microsoftLoading.next(!1),n.configurables.reload(),sessionStorage&&null!==sessionStorage.getItem("settings")&&sessionStorage.removeItem("settings"),n.s.clearURL(),n.changeLanguage(),n.redirect(t.success_page)},function(){n.microsoftLoading.next(!1)})},t.prototype.doLogin=function(e){var t=this;if(e){var n="";"localhost"!==location.hostname&&(n=location.hostname);this.server.login(this.state.username,this.state.password,n).watchWithSubject(this.state.loading).catch(function(e){return t.ui.alertError(e).flatMapTo(o.Observable.empty())}).subscribe(function(){t.configurables.reload(),t.fingerprint.ready().then(function(){if(t.platform.is("cordova")&&t.fingerprint.isAvailable){var e=function(){t.storage.showFingerprintModal=!1,t.ui.modal(r.a,{password:t.state.password,fromLogin:!0},{}).subscribe()};t.storage.showFingerprintModal&&t.fingerprint.isAvailable&&t.storage.user.active&&(t.fingerprint.isEnabled?t.fingerprint.disable().then(function(){e()}):e())}}),sessionStorage&&null!==sessionStorage.getItem("settings")&&sessionStorage.removeItem("settings"),t.s.clearURL(),t.changeLanguage(),t.redirect()})}},t.prototype.changeLanguage=function(){var e=this;(this.storage.user.language?this.storage.user.language:this.storage.systemLang)!=this.storage.currentLang&&(this.storage.storageLang=this.storage.user.language?this.storage.user.language:"system",this.t.use(this.storage.currentLang).subscribe(function(t){return e.detector.markForCheck()},function(e){}))},t.prototype.fingerprintLogin=function(){var e=this;this.fingerprint.ready().then(function(){if(e.platform.is("cordova")&&e.fingerprint.isEnabled){var t=function(){e.storage.showFingerprintModal=!0};e.fingerprint.verify(e.storage.user.email).then(function(n){var i="";"localhost"!==location.hostname&&(i=location.hostname);var s=e.server.login(e.state.username,n,i,!0);e.ui.loading(e.t.instant("LOGGING_IN"),s).catch(function(n){return"NO_CONNECTION"!=n&&e.fingerprint.disable().then(function(){t(),e.detector.detectChanges()}),e.ui.alertError(n).flatMapTo(o.Observable.empty())}).subscribe(function(){e.configurables.reload(),e.s.clearURL(),e.changeLanguage(),e.redirect()})}).catch(function(n){console.log("Fingerprint verify error: ",n),"Cancelled"!==n&&e.fingerprint.disable().then(function(){t(),e.detector.detectChanges(),e.ui.alertError(e.s.is.ios?"face"==e.fingerprint.biometryType?"VALIDITY_OF_FINGERPRINT_EXPIRED_IOS_FACE":"VALIDITY_OF_FINGERPRINT_EXPIRED_IOS":"VALIDITY_OF_FINGERPRINT_EXPIRED").subscribe()}).catch(function(e){return console.log("Err, password not deleted: ",e)})})}})},t.prototype.onLoginClick=function(){var e=this;if(console.log(this.fingerprint.isEnabled),this.fingerprint.isEnabled){this.ui.alertBool(this.t.instant("CHANGE_USER"),this.t.instant("TOUCHID_CHANGE_USER")).subscribe(function(t){e.switchAccount()},function(){})}},t.prototype.reset=function(){this.state={resetPassword:!0};this.nav.push(s.a.RESET,{username:this.state.username,token:""})},t.prototype.switchAccount=function(){var e=this;this.fingerprint.ready().then(function(){e.platform.is("cordova")&&e.fingerprint.isEnabled&&e.fingerprint.disable().then(function(){e.storage.user=null,e.storage.showFingerprintModal=!0,e.state={username:"",password:""},e.state.userRemembered.next(!1),setTimeout(function(){e.loginInput&&e.loginInput.setFocus()},250)}).catch(function(e){console.log("Account switch error: ",e)})})},t}(a.a)},355:function(e,t,n){"use strict";n.d(t,"a",function(){return g});var i=n(0),s=(n(6),n(22),n(32)),r=n(50),o=n(20),l=n(366),a=n(36),u=n(49),c=n(43),h=this&&this.__assign||Object.assign||function(e){for(var t,n=1,i=arguments.length;n0&&r[r.length-1])&&(6===n[0]||2===n[0])){l=0;continue}if(3===n[0]&&(!r||n[1]>r[0]&&n[1]0&&(u+="(?=(.*[A-Z]){"+n+",})",l+=", "+n+" "+this.t.instant("UPPERCASE_LETTERS")),i>0&&(u+="(?=(.*[0-9]){"+i+",})",l+=", "+i+" "+this.t.instant("DIGITS")),s>0&&(u+="(?=(.*[!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~]){"+s+",})",l+=", "+s+" "+this.t.instant("SPECIAL_CHARACTERS")+" (!\"#$%&'()*+,-./:;<=>?@[]^_`{|}~)"),u+=".*$",a.a.config=this.config,this.languageForm=this.creationKit.initForm("languageForm",{heading:"PICK_YOUR_LANGUAGE",class:"noBottom"}),this.creationKit.addField("language",this.state.language,r.a.SELECT,{options:this.languages,onChange:function(t){return e.changeLanguage(t)}}),this.creationKit.addSubmit("next","NEXT",{classes:["small button my-0"],onClick:function(t){return e.next(t)},gaAction:c.b.REG_LANG_SELECT,gaCat:c.c.REGISTER,gaLabel:this.state.language}),this.creationKit.addField("existingAccount","I_ALREADY_HAVE_AN_ACCOUNT",r.a.BUTTON,{classes:["transparent small button my-0"],ignoreValidation:!0,onClick:function(){return e.navCtrl.popToRoot()},gaAction:c.b.REG_ALREADY_HAVE_ACCOUNT,gaCat:c.c.REGISTER}),this.namesForm=this.creationKit.initForm("namesForm",{heading:"TELL_US_YOUR_NAME",class:"noBottom"}),this.creationKit.addField("firstName","",r.a.TEXT,h({autocomplete:"given-name",label:"FIRST_NAME",autoCapitalize:"sentences"},a.a.configureValidators("firstName",[o.w.required]))),this.creationKit.addField("lastName","",r.a.TEXT,h({autocomplete:"family-name",label:"LAST_NAME",autoCapitalize:"sentences"},a.a.configureValidators("lastName",[o.w.required]))),this.creationKit.addSubmit("next","NEXT",{onClick:function(t){return e.next(t)},gaAction:c.b.REG_NAME_CONFIRM,gaCat:c.c.REGISTER}),this.creationKit.addField("back","BACK",r.a.BUTTON,{classes:["transparent small button"],ignoreValidation:!0,onClick:function(){return e.previous()},gaAction:c.b.REG_BACK_CLICK,gaCat:c.c.REGISTER}),this.credentialsForm=this.creationKit.initForm("credentialsForm",{heading:"SET_YOUR_CREDENTIALS",class:"noBottom"}),this.creationKit.addField("email","",r.a.EMAIL,h({autocomplete:"username",label:"EMAIL"},a.a.configureValidators("email",[o.w.required,o.w.email]))),this.creationKit.addField("password","",r.a.PASSWORD,h({autocomplete:"new-password",hint:l,label:"PASSWORD"},a.a.configureValidators("password",[o.w.required,o.w.pattern(u)])));var d=this.getConfirmationLabel();d&&this.creationKit.addField("confirm","",r.a.CHECKBOX,h({label:d},a.a.configureValidators("confirm",[o.w.required,o.w.requiredTrue]))),this.state.trialEnabled&&this.creationKit.addField("trial","",r.a.CHECKBOX,{label:"TRIAL"}),this.creationKit.addSubmit("save","SIGN_UP",{onClick:function(t){return e.save(t)},gaAction:c.b.REG_EMAIL_CONFIRM,gaCat:c.c.REGISTER}),this.creationKit.addField("back","BACK",r.a.BUTTON,{classes:["transparent small button"],ignoreValidation:!0,onClick:function(){return e.previous()},gaAction:c.b.REG_BACK_CLICK,gaCat:c.c.REGISTER}),this.state.prefill&&this.storage.ready().subscribe(function(){null!=e.storage.user&&e.storage.user.unregistered&&(e.namesForm.defaults.next({firstName:e.storage.user.firstName,lastName:e.storage.user.lastName}),e.credentialsForm.defaults.next({email:e.storage.user.email}),e.state={registration:{firstName:e.storage.user.firstName,lastName:e.storage.user.lastName,email:e.storage.user.email}})})},t.prototype.save=function(e){var t=this;if(e){var n=this.state.registration;this.server.createUser(n.firstName,n.lastName,n.email,n.password,n.trial,"system"==this.storage.storageLang?"":this.storage.storageLang,{clientId:this.s.URLData.client,deptId:this.s.URLData.department}).subscribe(function(){return t.redirect()},console.error).register(this.context)}},t.prototype.next=function(e){e&&(this.state={stage:this.state.stage+1})},t.prototype.previous=function(){this.state={stage:this.state.stage-1}},t.prototype.registrationChange=function(e){for(var t={},n=0,i=e;n'+(this.t.instant("TERMS_OF_SERVICE_INF")?this.t.instant("TERMS_OF_SERVICE_INF"):this.t.instant("TERMS_OF_SERVICE"))+""),0!=this.s.config.termsUrl.length&&0!=this.s.config.privacyUrl&&(e+=" "+this.t.instant("AND")+" "),0!=this.s.config.privacyUrl.length&&(e+=''+(this.t.instant("PRIVACY_POLICY_INF")?this.t.instant("PRIVACY_POLICY_INF"):this.t.instant("PRIVACY_POLICY"))+""),e},t.prototype.changeLanguage=function(e){return d(this,void 0,void 0,function(){var t,n,i,s=this;return p(this,function(r){switch(r.label){case 0:return[4,this.storage.ready()];case 1:return r.sent(),t="system"==e.value?this.storage.systemLang:e.value,n="system"==e.value?"":e.value,i=e.value,this.state={language:t},this.storage.storageLang=i,this.storage.user.update({language:n}),this.t.use(this.state.language).subscribe(function(e){s.detector.destroyed||s.detector.detectChanges()}),[2]}})})},t.prototype.redirect=function(){null!==sessionStorage.getItem("settings")&&sessionStorage.removeItem("settings"),null!=this.storage.user&&this.storage.user.active?this.configurables.value("onboardingView",!0)?this.navCtrl.setRoot(u.a.ONBOARDING):this.navCtrl.setRoot(u.a.DASHBOARD):this.navCtrl.setRoot(u.a.VERIFY)},t.prototype.back=function(){},t}(s.a)},356:function(e,t,n){"use strict";n.d(t,"a",function(){return o});n(0),n(6);var i=n(49),s=n(20),r=(n(22),n(205)),o=function(){function e(e,t,n,i,o,l,a,u,c,h,d,p){this.nav=e,this.s=t,this.server=n,this.t=i,this.storage=o,this.menu=l,this.ui=a,this.fb=u,this.titleService=c,this.taskManager=h,this.configurables=d,this.navParams=p,this.CONTEXT=this.taskManager.generateName("ResetPage"),this.password=this.fb.control("",[s.w.required]),this.username=this.fb.control("",[s.w.required,r.a.isItEmail]),this.errorInfo=this.taskManager.create({taskId:"errorInfo",value:null,origin:this.CONTEXT}),this.serverRemembered=!1,this.username.setValue(p.get("username")||this.s.URLData.user),this.token=p.get("token")||this.s.URLData.token,this.s.URLData.token=null,this.showPasswordFields=!1,this.token&&(this.showPasswordFields=!0);var g=this.s.config.passMinLength,f=this.s.config.passUppercase,m=this.s.config.passDigits,b=this.s.config.passCharacters;this.passHelp=this.t.instant("USE_AT_LEAST")+" "+g+" "+this.t.instant("CHARACTERS");var v="^(?=.{"+g+",})";f>0&&(v+="(?=(.*[A-Z]){"+f+",})",this.passHelp+=", "+f+" "+this.t.instant("UPPERCASE_LETTERS")),m>0&&(v+="(?=(.*[0-9]){"+m+",})",this.passHelp+=", "+m+" "+this.t.instant("DIGITS")),b>0&&(v+="(?=(.*[!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~]){"+b+",})",this.passHelp+=", "+b+" "+this.t.instant("SPECIAL_CHARACTERS")+" (!\"#$%&'()*+,-./:;<=>?@[]^_`{|}~)"),this.password=this.fb.control("",[s.w.required,s.w.pattern(v+=".*$")])}return Object.defineProperty(e.prototype,"customForgottenPassword",{get:function(){return this.configurables.value("customForgottenPassword",null)},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){this.form=this.fb.group(this.showPasswordFields?{password:this.password}:{username:this.username})},e.prototype.ngOnDestroy=function(){this.taskManager.autoDestruction(this.CONTEXT)},e.prototype.ionViewWillEnter=function(){this.menu.enable(!1),this.nav.swipeBackEnabled=!1},e.prototype.ionViewDidEnter=function(){this.titleService.setTitle("RESET_PASSWD")},e.prototype.ionViewDidLeave=function(){this.nav.swipeBackEnabled=!0},Object.defineProperty(e.prototype,"notSignoSoft",{get:function(){return this.server.homepage!=i.f},enumerable:!0,configurable:!0}),e.prototype.restore=function(){var e=this;this.storage.ready().subscribe(function(){e.serverURL=e.storage.serverURL}).register(this.CONTEXT)},Object.defineProperty(e.prototype,"isMatching",{get:function(){return this.form.valid},enumerable:!0,configurable:!0}),e.prototype.reset=function(){var e=this;if(this.showPasswordFields){if(!this.password.value)return this.ui.alertOK(this.t.instant("INVALID_PASSWORD"),this.t.instant("PASSWORD_NO_MATCH")).run().register(this.CONTEXT);t=this.server.resetPassword(this.username.value,this.password.value,this.token),n=this.ui.loading(this.t.instant("RESETING_PASSWORD"),t),i=this.t.get(["SUCCESS","PASSWD_RESET_SUCCESS"]);n.flatMapTo(i).subscribe(function(){e.errorInfo.next(null),e.backToLogin()},function(t){e.errorInfo.next(t),console.log(t)}).register(this.CONTEXT)}else{if(!r.b.test(this.username.value))return this.ui.alertOK(this.t.instant("MISSING_EMAIL"),this.t.instant("INVALID_EMAIL")).run().register(this.CONTEXT);var t=this.server.createResetToken(this.username.value),n=this.ui.loading(this.t.instant("CREATING_RESET_TOKEN"),t),i=this.t.get(["SUCCESS","PASSWD_RESET_TOKEN_SUCCESS"]);n.flatMapTo(i).subscribe(function(){e.errorInfo.next(null),e.backToLogin()},function(t){e.errorInfo.next(t),console.log(t)}).register(this.CONTEXT)}},e.prototype.backToLogin=function(){console.log(this.storage.serverURL),this.nav.pop()},e}()},357:function(e,t,n){"use strict";n.d(t,"a",function(){return d});var i=n(0),s=(n(6),n(80)),r=n(49),o=(n(22),n(176)),l=n(32),a=n(50),u=n(36),c=n(20),h=this&&this.__assign||Object.assign||function(e){for(var t,n=1,i=arguments.length;n0?i.get("token"):null},f.storage.userAsync.filter(function(e){return null!==e}).take(1).subscribe(function(e){!e.fromVerify||e.confirm||f.state.token||f.logout(),!f.state.token&&e.unregistered&&f.logout(),f.state={showPassword:e.fromVerify&&null!=f.state.token,type:e.active&&!e.confirm||e.active&&e.unregistered?"agree":f.state.type}}).register(f.context),f.storage.userAsync.filter(function(e){return null!==e&&e.active&&e.confirm&&!e.unregistered}).take(1).subscribe(function(e){e.active&&f.redirect()}).register(f.context),f.createForms(),f.loadForms(),f}return Object(i.__extends)(t,e),t.prototype.ionViewWillEnter=function(){this.navCtrl.swipeBackEnabled=!1},t.prototype.ionViewDidEnter=function(){this.s.URLData.target=null},t.prototype.ionViewDidLoad=function(){var e=this;this.s.crossTabChannel&&(this.crossTabListener=function(t){1==t.userActive&&(e.storage.user=e.storage.user.activate(),e.redirect())},this.s.crossTabChannel.listen(this.crossTabListener))},t.prototype.ngOnDestroy=function(){e.prototype.ngOnDestroy.call(this),this.crossTabListener&&this.s.crossTabChannel.remove(this.crossTabListener)},t.prototype.ionViewCanLeave=function(){return!this.storage.token||1==this.storage.user.active&&1==this.storage.user.confirm&&!this.storage.user.unregistered},t.prototype.ionViewWillLeave=function(){this.navCtrl.swipeBackEnabled=!0},t.prototype.createForms=function(){var e=this,t=this.s.config.passMinLength,n=this.s.config.passUppercase,i=this.s.config.passDigits,s=this.s.config.passCharacters,r=this.t.instant("USE_AT_LEAST")+" "+t+" "+this.t.instant("CHARACTERS"),o="^(?=.{"+t+",})";n>0&&(o+="(?=(.*[A-Z]){"+n+",})",r+=", "+n+" "+this.t.instant("UPPERCASE_LETTERS")),i>0&&(o+="(?=(.*[0-9]){"+i+",})",r+=", "+i+" "+this.t.instant("DIGITS")),s>0&&(o+="(?=(.*[!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~]){"+s+",})",r+=", "+s+" "+this.t.instant("SPECIAL_CHARACTERS")+" (!\"#$%&'()*+,-./:;<=>?@[]^_`{|}~)"),o+=".*$",this.verificationForm=this.creationKit.initForm("verificationForm",{heading:"GET_STARTED"}),this.creationKit.addField("firstName","",a.a.TEXT,h({label:"FIRST_NAME"},u.a.configureValidators("firstName",[c.w.required]))),this.creationKit.addField("lastName","",a.a.TEXT,h({label:"LAST_NAME"},u.a.configureValidators("lastName",[c.w.required]))),this.creationKit.addField("password","",a.a.PASSWORD,h({hint:r,label:"PASSWORD"},u.a.configureValidators("password",[c.w.required,c.w.pattern(o)])));var l=this.getConfirmationLabel();l&&this.creationKit.addField("confirm","",a.a.CHECKBOX,h({label:l},u.a.configureValidators("confirm",[c.w.required,c.w.requiredTrue]))),this.creationKit.addSubmit("submit","SIGN_UP",{onClick:function(t){return e.save(t)}})},t.prototype.loadForms=function(){var e=this;this.storage.ready().subscribe(function(){var t=e.storage.user;if(null!==t){var n={firstName:t.firstName,lastName:t.lastName};e.state={verification:n},e.verificationForm.defaults.next(n)}}).register(this.context)},t.prototype.save=function(e){var t=this;if(e){var n=this.state.verification,i=this.storage.user,s={firstName:n.firstName||null,lastName:n.lastName||null,profileCompanyName:n.companyName||null,profileVatNo:n.vatNo||null,profilePhoneNo:n.phoneNo||null,profileAddressStreet:n.addressStreet||null,profileAddressAdditional:n.addressAdditional||null,profilePostCode:n.postCode||null,profileCity:n.city||null,profileProvince:n.province||null,profileState:n.state||null,confirm:!0,unregistered:!1},r=this.server.updateUser(n.firstName,n.lastName,i.email,{confirm:!0,password:n.password,passwordToken:this.state.token},n),o=i.update(s);r.subscribe(function(){return t.storage.user=o},console.error).register(this.context)}},t.prototype.verificationChange=function(e){for(var t={},n=0,i=e;n'+(this.t.instant("TERMS_OF_SERVICE_INF")?this.t.instant("TERMS_OF_SERVICE_INF"):this.t.instant("TERMS_OF_SERVICE"))+""),0!=this.s.config.termsUrl.length&&0!=this.s.config.privacyUrl&&(e+=" "+this.t.instant("AND")+" "),0!=this.s.config.privacyUrl.length&&(e+=''+(this.t.instant("PRIVACY_POLICY_INF")?this.t.instant("PRIVACY_POLICY_INF"):this.t.instant("PRIVACY_POLICY"))+""),e},t}(l.a)},36:function(e,t,n){"use strict";n.d(t,"a",function(){return a});n(0);var i=n(1),s=n(20),r=n(50),o=n(24),l=(n.n(o),this&&this.__assign||Object.assign||function(e){for(var t,n=1,i=arguments.length;nt[i])return 1;if(e[i]0&&r[r.length-1])&&(6===n[0]||2===n[0])){l=0;continue}if(3===n[0]&&(!r||n[1]>r[0]&&n[1]n.order?1:e.t.instant(t.name)e.t.instant(n.name)?1:0});var i=t.toObject("name");this.allFields.forEach(function(t){var n=i[t.name];switch(n&&!0===n.required&&(t.required=!0),t.type){case"image":e.imageFields.push(t);break;case"date":case"string":case"checkbox":e.textFields.push(t),e.textFieldsByName[t.name]=t}})},t.prototype.initForm=function(){var e=this,t=this.secondary.length>0;this.textFields.forEach(function(t){var n={label:t.name,onChange:function(t){return e.onPrimaryChange(t)}};t.required&&(n=c({},n,o.a.configureValidators("",[u.w.required]))),"date"===t.type?e.creationKit.addField(t.name,e.dateToString(t.value),r.a.DATE,n):"checkbox"===t.type?e.creationKit.addField(t.name,t.value,r.a.CHECKBOX,{label:t.name,onChange:function(t){return e.onPrimaryChange(t)}}):("signatureLocation"===t.name&&(t.value=e.textFieldsByName.city?e.textFieldsByName.city.value:""),"personalNo"===t.name&&(t.value=(t.value||"").replace("/","")),e.creationKit.addField(t.name,t.value,r.a.TEXT,n))}),t&&(this.creationKit.addField("secondarySame",this.secondarySame,r.a.CHECKBOX,{value:this.secondarySame,label:"SECONDARY_ADDR_SAME",onChange:function(){return e.prefillFlip()}}),this.secondary.forEach(function(t){var n=Object(a.c)(t.name);e.secondaryByPrimary[n]=t.name}),this.secondaryData=this.creationKit.initForm("ocrSecondary",{heading:"SECONDARY_ADDRESS",collapsed:!1,collapsible:!1}),this.secondary.forEach(function(t){var n=Object(a.c)(t.name),i=e.textFieldsByName[n],s={label:n,onChange:function(t){return e.onSecondaryChange(t)}};e.secondarySame&&null!=i?"date"===i.type?e.creationKit.addField(t.name,e.dateToString(i.value),r.a.DATE,s):e.creationKit.addField(t.name,i.value,"checkbox"===i.type?r.a.CHECKBOX:r.a.TEXT,s):e.creationKit.addField(t.name,"",r.a.TEXT,s)})),this.creationKit.addSubmit("submit","CONFIRM",{onClick:function(){return e.confirm()},classes:["button","block","disable-hover"]}),this.creationKit.addSubmit("retake","RETAKE",{onClick:function(){return e.cancel()},classes:["button","block","transparent","disable-hover"]})},t.prototype.confirm=function(){var e=this,t=this.textFields.slice();this.secondaryData&&this.secondaryData.fields.forEach(function(n){if(n.type!==r.a.BUTTON&&n.type!==r.a.SUBMIT){var i,s=e.textFieldsByName[Object(a.c)(n.name)];s?((i=c({},s)).name=n.name,i.value="string"===s.type?n.value:new Date(n.value).getTime()):i={name:n.name,type:"string",nameEnglish:"",nameNative:"",value:n.value,order:0},t.push(i)}});this.validateData({sideImages:this.sideImages,textFields:t,imageFields:this.imageFields})},t.prototype.validateData=function(e){return h(this,void 0,void 0,function(){var t,n,s;return d(this,function(r){switch(r.label){case 0:return this.lastResultData=e,this.state={viewState:i.LOADING},[4,this.server.validateFormData(e.textFields,this.ocrService.documentToken).toPromiseHandleError()];case 1:return t=r.sent(),n=t[0],(s=t[1])?(console.error("ValidateFormData error",s),this.state={viewState:i.RESULT,resultDetail:this.t.instant(s)}):n.response?this.state={viewState:i.RESULT,resultDetail:n.response.replace(//g,"\n")}:(this.lastResultData.action="OK",this.viewCtrl.dismiss(e)),[2]}})})},t.prototype.prefillSecondary=function(){var e=this;this.secondary.forEach(function(t){var n=e.textFieldsByName[Object(a.c)(t.name)];null!=n&&e.secondaryForm.setFieldValue(t.name,"string"===n.type?n.value:"checkbox"===n.type?n.value:e.dateToString(n.value))})},t.prototype.prefillFlip=function(){var e=this;this.secondarySame=!this.secondarySame,this.secondarySame?this.prefillSecondary():this.secondary.forEach(function(t){var n=e.textFieldsByName[Object(a.c)(t.name)];if(void 0!==n){var i=n.value;"date"===n.type&&(i=e.dateToString(n.value)),e.secondaryForm.getFieldValue(t.name)===i&&e.secondaryForm.setFieldValue(t.name,"")}})},t.prototype.cancel=function(){this.done||(this.done=!0,this.viewCtrl.dismiss(null,"cancel"))},t.prototype.close=function(e){this.lastResultData.action=e,this.viewCtrl.dismiss(this.lastResultData)},t.prototype.back=function(){this.lastResultData=null,this.state={viewState:i.FORM}},t.prototype.onPrimaryChange=function(e){var t=this.textFieldsByName[e.name],n=this.secondaryByPrimary[e.name];this.secondarySame&&n&&this.secondaryForm.setFieldValue(n,e.value),t.value="string"===t.type||"checkbox"===t.type?e.value:Date.parse(e.value)},t.prototype.onSecondaryChange=function(e){this.secondarySame&&(this.secondarySame=!1,this.primaryForm.setFieldValue("secondarySame",!1))},t.prototype.dateToString=function(e){return"number"==typeof e&&(e=new Date(e)),e.toISOString().split("T")[0]},t}(l.a)},373:function(e,t,n){"use strict";n.d(t,"a",function(){return u});var i=n(0),s=n(32),r=n(50),o=n(36),l=n(20),a=(n(6),this&&this.__assign||Object.assign||function(e){for(var t,n=1,i=arguments.length;n0&&r[r.length-1])&&(6===n[0]||2===n[0])){l=0;continue}if(3===n[0]&&(!r||n[1]>r[0]&&n[1]0?Array.from(e).reduce(function(e,t){var n=t[0],i=t[1];return Object.defineProperty(e,n,{value:i,enumerable:!0})},{}):void 0},e}()},44:function(e,t,n){"use strict";n.d(t,"a",function(){return o});n(0),n(304);var i=n(1),s=(n(14),n(24)),r=(n.n(s),n(15),n(523)),o=(n(5),function(){function e(e,t,n,r){var o=this;this.storage=e,this.server=t,this.repository=n,this.s=r,this.disabled=!1,this.helpProgress=new i.EventEmitter,this.highlighted=new s.BehaviorSubject(null),this.storage.ready().subscribe(function(){o.storage.userAsync.filter(function(e){return null!==e}).subscribe(function(e){o.disabled=e.helpDone||!o.s.config.enableHelp,o.highlighted.getValue()&&o.highlighted.next(o.disabled?null:{id:o.highlighted.getValue().id,disabled:o.disabled})})})}return e.prototype.currentHelp=function(e){var t=this;if(!this.repository.Tasks[this.context])return this.highlighted.next(null),null;var n=this.repository.Tasks[this.context].find(function(n){if(e&&null!==n.propertyBinding){if(n.await){var i=n.propertyBinding.split("."),o=e.instance[i[0]];if(o){var l=void 0;return!!(l=o instanceof s.Observable?Object(r.a)(o,{}):o).getValue()&&(l.getValue()===n.propertyValue&&!n.done&&n.context===t.context||l.getValue()[i[1]]===n.propertyValue&&!n.done&&n.context===t.context)}return!1}return e.instance[n.propertyBinding]===n.propertyValue}return!n.done&&n.context===t.context});return this.highlighted.next(this.disabled?null:n?{id:n.id,disabled:this.disabled}:null),n},Object.defineProperty(e.prototype,"User",{get:function(){return this.storage.userAsync},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"Context",{get:function(){return this.context},set:function(e){this.context=e},enumerable:!0,configurable:!0}),e.prototype.highlight=function(e,t){if(console.log(this.disabled),this.disabled)return!1;if(!this.repository.Tasks[this.context])return!1;var n=this.repository.Tasks[this.context].find(function(t){return t.id===e});if(!n)return!1;if(t&&null!==n.propertyBinding){if(n.await){var i=n.propertyBinding.split("."),o=t.instance[i[0]];return!((o=o instanceof s.Observable?Object(r.a)(o,{}).getValue():o.getValue())!==n.propertyValue&&o[i[1]]!==n.propertyValue)}return t.instance[n.propertyBinding]===n.propertyValue}var l=this.repository.Tasks[this.context].indexOf(n),a=this.repository.Tasks[this.context][l-1];return!(a&&!a.done&&a.propertyBinding===n.propertyBinding&&a.propertyValue===n.propertyValue)&&(!n.seen&&!n.done)},e.prototype.seen=function(e){if(this.repository.Tasks[this.context]){var t=this.repository.Tasks[this.context].findIndex(function(t){return t.id===e});-1!==t?(this.repository.Tasks[this.context][t].seen=!0,this.helpProgress.emit(this.repository.Tasks[this.context][t]),this.persist()):console.warn("Help task ID "+e+" could not be found.")}},e.prototype.done=function(e){if(this.repository.Tasks[this.context]){var t=this.repository.Tasks[this.context].findIndex(function(t){return t.id===e});-1!==t?(this.repository.Tasks[this.context][t].seen=!0,this.repository.Tasks[this.context][t].done=!0,this.helpProgress.emit(this.repository.Tasks[this.context][t]),this.persist()):console.warn("Help task ID "+e+" could not be found.")}},e.prototype.unsee=function(e){if(this.repository.Tasks[this.context]){var t;-1!==(t=e?this.repository.Tasks[this.context].findIndex(function(t){return t.id===e}):this.repository.Tasks[this.context].indexOf(this.currentHelp()))?(this.repository.Tasks[this.context][t].seen=!1,this.repository.Tasks[this.context][t].done=!1,this.helpProgress.emit(this.repository.Tasks[this.context][t]),this.persist()):console.warn("Help task ID "+e+" could not be found.")}},e.prototype.disable=function(){var e=this;return new Promise(function(t,n){e.storage.ready().subscribe(function(){e.storage.user=e.storage.user.update({helpDone:!e.storage.user.helpDone}),e.disabled=e.storage.user.helpDone,e.highlighted.getValue()&&e.highlighted.next(e.disabled?null:{id:e.highlighted.getValue().id,disabled:e.disabled}),e.helpProgress.emit(),e.storage.userAsync.filter(function(e){return null!==e}).take(1).subscribe(function(n){e.server.updateUser(n.firstName,n.lastName,n.email,n.confirm,{firstName:n.firstName,lastName:n.lastName,companyName:n.profileCompanyName,vatNo:n.profileVatNo,phoneNo:n.profilePhoneNo,addressStreet:n.profileAddressStreet,addressAdditional:n.profileAddressAdditional,postCode:n.profilePostCode,city:n.profileCity,province:n.profileProvince,state:n.profileState},n.helpDone).subscribe(function(){t()})})})})},e.prototype.list=function(e){return this.repository.Tasks[this.context]?this.repository.Tasks[this.context].filter(function(t){if(e&&null!==t.propertyBinding){if(t.await){var n=t.propertyBinding.split("."),i=e.instance[n[0]];return i instanceof s.Observable?i=Object(r.a)(i,{}).getValue():i&&(i=i.getValue()),i===t.propertyValue||!(!i||i[n[1]]!==t.propertyValue)}return e.instance[t.propertyBinding]===t.propertyValue}return!0}):[]},e.prototype.ready=function(){return this.repository.ready},e.prototype.persist=function(){this.repository.persist()},e.prototype.reset=function(){this.repository.reset(),this.helpProgress.emit()},e}())},48:function(e,t,n){"use strict";n.d(t,"a",function(){return r});n(0);var i=n(24),s=(n.n(i),n(75)),r=function(){function e(e,t){this.http=e,this.s=t,this.config=null,this._ready=new i.BehaviorSubject(!1)}return Object.defineProperty(e.prototype,"loadSignatureAuthType",{get:function(){return this.s.isBankId?s.d.BANK_ID:s.d.BIOMETRIC},enumerable:!0,configurable:!0}),e.prototype.getConfig=function(e){return this.config[e]},e.prototype.ready=function(){return this._ready.asObservable().filter(function(e){return e}).take(1).mapTo(null)},e.prototype.load=function(){var e=this;return new Promise(function(t,n){e.http.get("assets/config.json").catch(function(e){return console.error("Error reading configuration file"),t(e),i.Observable.throw(e.json().error||"Server error")}).subscribe(function(n){e.config=n,t(!0)})}).then(function(){e._ready.next(!0)})},e}()},49:function(e,t,n){"use strict";var i=n(15),s=n(5),r=n(125),o=n(93),l=n(6),a=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.init=function(){var e=this.leavingView.pageRef().nativeElement,t=new l.b(this.plt,e.querySelector("ion-backdrop")),n=new l.b(this.plt,e.querySelector(".popover-wrapper"));n.fromTo("opacity",.99,0),t.fromTo("opacity",.08,0),this.easing("ease").duration(0).add(t).add(n)},t}(l.j);n.d(t,"f",function(){return i.d}),n.d(t,"i",function(){return i.g}),n.d(t,"g",function(){return s.g}),n.d(t,!1,function(){}),n.d(t,"a",function(){return s.a}),n.d(t,"c",function(){return r.c}),n.d(t,"b",function(){return r.b}),n.d(t,"d",function(){return r.d}),n.d(t,"h",function(){return o.b}),n.d(t,"e",function(){return u})},5:function(e,t,n){"use strict";n(0),n(1);var i=n(91),s=(n(6),n(146),n(24)),r=n(1046),o=(n(1047),n(1048)),l=n.n(o),a=(n(22),n(287)),u=n(366),c=function(e){return v(e)&&!E(e)},h=function(e){return!!C(e,/iPad/i)||!(!C(e,/Macintosh/i)||!T(e,"(any-pointer:coarse)"))},d=function(e){return C(e,/iPhone/i)},p=function(e){return C(e,/iPhone|iPod/i)||h(e)},g=function(e){return C(e,/android|sink/i)},f=function(e){return g(e)&&!C(e,/mobile/i)},m=function(e){var t=e.innerWidth,n=e.innerHeight,i=Math.min(t,n),s=Math.max(t,n);return i>390&&i<520&&s>620&&s<800},b=function(e){var t=e.innerWidth,n=e.innerHeight;Math.min(t,n),Math.max(t,n);return h(e)||f(e)},v=function(e){return g(e)||p(e)},y=function(e){return!v(e)},E=function(e){return w(e)||I(e)},w=function(e){return!!(e.cordova||e.phonegap||e.PhoneGap)},I=function(e){var t=e.Capacitor;return t&&!!t.isNative},S=function(e){return C(e,/electron/i)},_=function(e){return!!(e.matchMedia&&e.matchMedia("(display-mode: standalone)").matches||e.navigator.standalone)},C=function(e,t){return t.test(e.navigator.userAgent)},T=function(e,t){return e.matchMedia&&e.matchMedia(t).matches},N={ipad:h,iphone:d,ios:p,android:g,phablet:m,tablet:b,cordova:w,capacitor:I,electron:S,pwa:_,mobile:v,mobileweb:c,desktop:y,core:y,hybrid:E},R=function(e){return Object.keys(N).map(function(t){return N[t](e)?t:null}).filter(function(e){return e})};n.d(t,"g",function(){return k}),n.d(t,"a",function(){return L}),n.d(t,"e",function(){return A}),n.d(t,"d",function(){return x}),n.d(t,"c",function(){return M}),n.d(t,"b",function(){return P}),n.d(t,"f",function(){return U});var O=this&&this.__assign||Object.assign||function(e){for(var t,n=1,i=arguments.length;ne),r.isPortrait.getValue()?(r.isPhone.next(e<550),r.isTablet.next(e<750)):(r.isPhone.next(t<550),r.isTablet.next(t<750))},e._platforms=R(window),this.isPhone=new s.BehaviorSubject(!1),this.isPortrait=new s.BehaviorSubject(!1),this.isTablet=new s.BehaviorSubject(!0),this.width=new s.BehaviorSubject(null),this.height=new s.BehaviorSubject(null),this.isBrowser=new s.BehaviorSubject(!0),this.platformVersion=new s.BehaviorSubject(null),this.headerHeight=new s.BehaviorSubject(0),this.openWithFile=new s.BehaviorSubject(null),e.ready().then(function(){r.resize(),r.is.cordova&&(t&&t.platform&&(console.log("getPlaform "+t.platform),r.isBrowser.next("browser"===t.platform)),t&&t.version&&r.platformVersion.next(parseInt(t.version)))}),(e.is("core")||this.platform.is("mobileweb"))&&(this.crossTabChannel=new l.a("signosoft")),this.processURL(),s.Observable.fromEvent(window,"resize").merge(s.Observable.fromEvent(window,"orientationchange").debounceTime(150)).sampleTime(0,a.animationFrame).subscribe(this.resize),("ie"==D.name||"edge"==D.name&&parseInt(D.version)<75)&&(this.notSupportedBrowser=!0,console.log("notSupportedBrowser"));var o=D&&D.name||"safari",u=e.is("cordova"),c=e.is("ios"),h=e.is("android"),d=/^Win/.test(navigator.platform),p="chrome"==o,g="edge"==o,f="firefox"==o,m="safari"==o,b="ie"==o,v="opera"==o,y="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0,E=e.is("core"),w=e.is("mobile"),I=e.is("mobileweb"),S=e.is("tablet");this.is={desktop:E,tablet:S,cordova:u,ios:c,android:h,windows:d,phone:!S&&!E,chrome:p,firefox:f,edge:g,safari:m,ie:b,opera:v,shitty:!p&&!f,mobile:w,mobileweb:I,touchscreen:y};var _=O({},D);for(var C in this.is)this.is[C]&&(_[C]=this.is[C]);P&&console.info("[shared-service] platform info",_)}return Object.defineProperty(e.prototype,"isFree",{get:function(){return this._isFree},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isBankId",{get:function(){return this._isBankId},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"redirectedToDocument",{get:function(){return!!this.URLData.documentLink},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"redirectedToLogin",{get:function(){return!!this.URLData.user},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"originKnown",{get:function(){return!!this.URLData.origin},enumerable:!0,configurable:!0}),e.prototype.replaceUrl=function(e,t,n){void 0===n&&(n=!1);var i=location.protocol+"//"+location.host+location.pathname;n||0==location.search.length||(i+=""+location.search),history.replaceState(null,e,i+"#/"+t)},e.prototype.setTitle=function(e,t){var n=this;void 0===t&&(t=null),requestAnimationFrame(function(){var i=n.t.instant(e)+n.t.instant("TITLE_SEPARATOR")+(t||n.t.instant("SIGNOSOFT"));n._app.setTitle(i)})},e.prototype.clearQuery=function(){var e=location.hash,t=e.indexOf("?");t>-1&&(e=e.substr(0,t));var n=location.protocol+"//"+location.host+location.pathname;history.replaceState(null,null,""+n+e)},e.prototype.clearURL=function(){this.URLData={documentLink:"",target:"",origin:"",user:"",token:"",server:"",selectedPlan:"",billingPeriod:"",paymentResult:"",client:null,department:null,config:"",all:{}}},e.prototype.getIonicNavParam=function(e){var t=e.indexOf("?");return t>-1&&(e=e.substr(0,t)),e},e.prototype.processURL=function(){var e,t=location.href.indexOf("?");e=t<0?"":location.href.substr(t),e=(e=decodeURIComponent(e)).replace(/^\?|\/$/g,"");for(var n=new i.i({fromString:e}),s={},r=0,o=n.keys();r=2?u[1]:null}this.redirectedToDocument&&(this.URLData.target=k.DOCUMENT),this.clearQuery()},e.prototype.allowPayment=function(e){return!e||(!e.method||("gateway"==e.method&&!this.is.cordova||(!("inApp"!=e.method||"apple"!=e.provider||!this.is.ios||!this.is.cordova)||!("inApp"!=e.method||"google"!=e.provider||!this.is.android||!this.is.cordova))))},e.prototype.isEU=function(e){return u.a.hasOwnProperty(e)},e.prototype.parseStyledElements=function(){var e=this;setTimeout(function(){var t=e.config.prefabs,n=e.config.elements;if(n)for(var i in n)if(n.hasOwnProperty(i)&&n[i].hasOwnProperty("prefab"))for(var s=document.querySelectorAll("."+i),r=0;r0&&(console.log("document-manager: increase documents"),t=this.all.getValue().concat(t)),this.all.next(t),void 0!==e.pendingCount&&void 0!==!!e.waitingCount&&(this._pendingCount.next(e.pendingCount),this._waitingCount.next(e.waitingCount))},e.prototype.updateDocument=function(e){this.all.update(function(t){return t.map(function(t){return t.id==e.id?e:t})})},e.prototype.deleteDocuments=function(e){var t=this;if(console.log(e),0!=e.length){var n=[],s=[];e.forEach(function(e){if(e instanceof u?n.push(e):e instanceof i.a&&s.push(e),e.state==o.b.WAITING){var r=!1,l=e.signatures.sort(function(e,t){return e.order-t.order});if(e.signatures.length>0){var a=l.find(function(e){return e.order<0||e.order>0&&0==e.signed}).order;r=l.some(function(e){return e.signer==t.user.email&&!e.signed&&e.order==a})}r?t._waitingCount.next(t._waitingCount.getValue()-1):t._pendingCount.next(t._pendingCount.getValue()-1)}}),this.all.update(function(e){return e.filter(function(e){return!s.contains(e)})}),this.pending.update(function(e){return e.filter(function(e){return!n.contains(e)&&!s.find(function(t){return t.id===e.id})})})}},e.prototype.init=function(){this._all=new d.BehaviorSubject([]),this._myRequests=new d.BehaviorSubject([]),this._pending=new d.BehaviorSubject([]),this._templates=new d.BehaviorSubject([]),this._signed=new d.BehaviorSubject([]),this._pendingCount=new d.BehaviorSubject(0),this._waitingCount=new d.BehaviorSubject(0)},e.prototype.destroy=function(){this._all.complete(),this._myRequests.complete(),this._pending.complete(),this._templates.complete(),this._signed.complete(),this._pendingCount.complete(),this._waitingCount.complete(),this._markForUpdate.complete()},e}(),m=function(){function e(e){this.activePayment=e.activePayment,this.cardIssuer=e.cardIssuer,this.cardNumber=e.cardNumber,this.currency=e.currency,this.date=e.date?new Date(e.date):null,this.docs=e.docs,this.freeDocs=e.freeDocs,this.desc=e.desc,this.nextDesc=e.nextDesc,this.type=e.type,this.method=e.method,this.provider=e.provider,this.planCurrency=e.planCurrency,this.docPrice=e.docPrice,this.plans=e.plans,this.vat=e.vat,this.trialActivated=e.trialActivated,this.trialDocs=e.trialDocs,this.trialPeriod=e.trialPeriod,this.enableUndoCancel=e.enableUndoCancel,this.nextType=e.nextType,this.isDev=e.isDev,this.isProductionGateway=e.isProductionGateway}return Object.defineProperty(e.prototype,"readableDesc",{get:function(){return null!=this.desc?this.desc.charAt(0).toUpperCase()+this.desc.slice(1).toLowerCase():""},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"readableNextDesc",{get:function(){return null!=this.nextDesc?this.nextDesc.charAt(0).toUpperCase()+this.nextDesc.slice(1).toLowerCase():""},enumerable:!0,configurable:!0}),e.fromServer=function(t){return new e({activePayment:t.activePayment,cardIssuer:t.subsCardIssuer,cardNumber:t.subsCardNumber,currency:t.subsCurrency,date:t.subsDate,docs:t.subsDocs,freeDocs:t.freeDocs,desc:t.subsDesc,nextDesc:t.subsNextDesc,type:t.subsType,method:t.subsMethod,provider:t.subsProvider,planCurrency:t.planCurrency,docPrice:t.docPrice,trialActivated:t.trialActivated,trialPeriod:t.trialPeriod,trialDocs:t.trialDocs,plans:t.plans?t.plans.map(function(e){var t={};return t.id=e.subsTypeId,t.name=e.subsTypeName,t.priceMonth=e.subsTypePriceMonth,t.priceAnnual=e.subsTypePriceAnnual,t.amount=e.subsTypeAmount,t}):[],vat:t.vat,enableUndoCancel:t.enableUndoCancel,nextType:t.subsNextType,isDev:t.isDev,isProductionGateway:t.isProductionGateway})},e.emty=function(){return new e({activePayment:null,cardIssuer:null,cardNumber:null,currency:null,date:null,docs:0,freeDocs:null,desc:null,nextDesc:null,type:null,method:null,provider:null,planCurrency:null,docPrice:null,plans:[],vat:null,trialActivated:null,trialDocs:null,trialPeriod:null,enableUndoCancel:null,nextType:null,isDev:null,isProductionGateway:null})},e.prototype.update=function(t){for(var n in t)this[n]=t[n];return new e(this)},e}(),b=function(){function e(e){this.id=e.id,this.date=e.date,this.currency=e.currency,this.amount=e.amount,this.desc=e.desc,this.type=e.type}return e.fromServer=function(t){return new e({id:t.payId,date:t.payDate,currency:t.payCurrency,amount:t.payAmount,desc:t.payDesc,type:t.payType})},e}(),v=function(){function e(e){this.documents=e.documents,this.documentsPosition=e.documentsPosition,this.name=e.name,this.id=e.id,this.token=e.token,this.activeId=e.activeId,this.activeRange=e.activeRange,this.state=e.state,this.activeId||(this.activeId=this.documents[0].id),this.activeRange||(this.activeRange=this.setActiveRange(this.documents[0])),this.state||(this.state=this.setState()),console.log("state: "+this.state+" range start:"+this.activeRange.start+" end:"+this.activeRange.end)}return e.prototype.isOnPage=function(e){return e>=this.activeRange.start&&e<=this.activeRange.end},e.prototype.updateDocument=function(e){var t={};e.id!=this.activeId&&(t.activeId=e.id,t.activeRange=this.setActiveRange(e));for(var n=0;nn&&(t=s,n=e[s])}return t}),Array.prototype.contains||(Array.prototype.contains=function(e){return this.indexOf(e)>-1}),Array.prototype.isEqual||(Array.prototype.isEqual=function(e){var t=this;return this.length==e.length&&e.every(function(e){return t.contains(e)})}),Array.prototype.remove||(Array.prototype.remove=function(e){var t=this.indexOf(e),n=this.slice();return 1===n.length&&0===t?n.length=0:t>-1&&n.splice(t,1),n}),Array.prototype.last||(Array.prototype.last=function(){return this[this.length-1]}),Array.prototype.first||(Array.prototype.first=function(){return this[0]}),Array.prototype.toObject||(Array.prototype.toObject=function(e,t){return this&&0!=this.length?this.reduce(function(n,i){return n[i[e]]=null!=t?i[t]:i,n},{}):{}}),String.prototype.contains||(String.prototype.contains=function(e){return this.indexOf(e)>-1}),String.prototype.removeAccent||(String.prototype.removeAccent=function(){return String.prototype.normalize?this.normalize("NFD").replace(/[\u0300-\u036f]/g,""):this}),String.prototype.capitalize||(String.prototype.capitalize=function(){return this.charAt(0).toUpperCase()+this.slice(1)});var i;!function(e){function t(e){return e.length>0?e.reduce(function(e,t){return e+t})/(e.length||1):null}function n(e){return function(e){return e.replace(/[,.:;'"?!]/g,"")}(e).trim().removeAccent().toLowerCase()}e.DEFAULT_OPTIONS={ignorePunctuation:!0,sensitivity:"base",localeMatcher:"best fit"},e.cmpDates=function(e,t){return e.getTime()-t.getTime()},e.cmpNumbers=function(e,t){return e-t},e.cmpStrings=function(t,n,i){return t.localeCompare(n,i,e.DEFAULT_OPTIONS)},e.smartMatch=function(e,i,s){void 0===s&&(s=!1),s||(e=n(e),i=n(i));var r={text:e.split(" ").filter(function(e){return e.length>=3}),query:i.split(" ").filter(function(e){return e.length>=3})},o=[],l=e.indexOf(i);return l>=0&&o.push(l),r.text.forEach(function(e){var t=null;r.query.forEach(function(n){var i=e.indexOf(n);t=function(e,t){return e>=0?null==t?e:Math.min(e,t):t}(i,t)}),null!=t&&o.push(t)}),{occurences:o.length,grade:t(o)}},e.avg=t,e.normalize=n}(i||(i={}))},523:function(e,t,n){"use strict";function i(e){if(!e)return[];for(var t=[e],n=[e],i=function(e){e instanceof s.Observable&&!t.contains(e)&&(t.push(e),n.push(e))};0!=n.length;){var r=n.pop(),l=r.operator;i(r.source),r instanceof o.ArrayObservable&&r.array.forEach(i),l&&(i(l.ish),i(l.caught))}return t}t.b=i,t.a=function(e,t){var n=new r.BehaviorSubject(t);return e.subscribe(function(e){n.next(e)},function(e){n.error(e)},function(){n.complete()}),n};var s=n(2),r=(n.n(s),n(123)),o=(n.n(r),n(87)),l=(n.n(o),n(437));n.n(l);s.Observable.fromCallback=function(e){return s.Observable.create(function(t){e(function(e){t.next(e),t.complete()},function(e){t.error(e)})})},s.Observable.fromPDFPromise=function(e){return s.Observable.create(function(t){e.then(function(e){t.next(e),t.complete()},function(e){t.error(e)})})},s.Observable.prototype.decompose=i,s.Observable.prototype.run=function(){return this.subscribe(function(){},function(){})},s.Observable.prototype.validate=function(e){return this.filter(function(t){return!(!(t&&t.input&&e(t.input))||!t.dismissed&&"function"==typeof t.dismiss&&(t.dismiss(),1))}).map(function(e){return e.input})},s.Observable.prototype.ignoreErrors=function(){return this.catch(function(){return s.Observable.empty()})},s.Observable.prototype.watchWithFunc=function(e){var t=this;return Object(l.defer)(function(){return e(!0),t}).do(function(t){return e(!1)},function(t){return e(!1)},function(){return e(!1)})},s.Observable.prototype.watchWithSubject=function(e){return this.watchWithFunc(function(t){e.next(t)})},s.Observable.prototype.toPromiseHandleError=function(){return this.toPromise().then(function(e){return[e,void 0]}).catch(function(e){return Promise.resolve([void 0,e])})},r.BehaviorSubject.prototype.update=function(e){this.next(e(this.getValue()))},r.BehaviorSubject.prototype.setValue=function(e){this._value=e}},525:function(e,t,n){"use strict";t.a=function(){return([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,function(e){return(e^crypto.getRandomValues(new Uint8Array(1))[0]&15>>e/4).toString(16)})}},55:function(e,t,n){"use strict";n.d(t,"a",function(){return s});n(0);var i=n(123),s=(n.n(i),n(22),function(){function e(e,t){this.titleService=e,this.t=t,this.title=new i.BehaviorSubject(e.getTitle())}return e.prototype.setTitle=function(e){e&&(this.titleService.setTitle(this.t.instant(e)),this.title.next(e))},e}())},63:function(e,t,n){"use strict";n(0),n(1);var i={countries:[{code:"+420",name:"Czech Republic"},{code:"+421",name:"Slovakia"},{code:"+49",name:"Germany"},{code:"+44",name:"United Kingdom"},{code:"+1",name:"United States"},{code:"+7 840",name:"Abkhazia"},{code:"+93",name:"Afghanistan"},{code:"+355",name:"Albania"},{code:"+213",name:"Algeria"},{code:"+1 684",name:"American Samoa"},{code:"+376",name:"Andorra"},{code:"+244",name:"Angola"},{code:"+1 264",name:"Anguilla"},{code:"+1 268",name:"Antigua and Barbuda"},{code:"+54",name:"Argentina"},{code:"+374",name:"Armenia"},{code:"+297",name:"Aruba"},{code:"+247",name:"Ascension"},{code:"+61",name:"Australia"},{code:"+672",name:"Australian External Territories"},{code:"+43",name:"Austria"},{code:"+994",name:"Azerbaijan"},{code:"+1 242",name:"Bahamas"},{code:"+973",name:"Bahrain"},{code:"+880",name:"Bangladesh"},{code:"+1 246",name:"Barbados"},{code:"+1 268",name:"Barbuda"},{code:"+375",name:"Belarus"},{code:"+32",name:"Belgium"},{code:"+501",name:"Belize"},{code:"+229",name:"Benin"},{code:"+1 441",name:"Bermuda"},{code:"+975",name:"Bhutan"},{code:"+591",name:"Bolivia"},{code:"+387",name:"Bosnia and Herzegovina"},{code:"+267",name:"Botswana"},{code:"+55",name:"Brazil"},{code:"+246",name:"British Indian Ocean Territory"},{code:"+1 284",name:"British Virgin Islands"},{code:"+673",name:"Brunei"},{code:"+359",name:"Bulgaria"},{code:"+226",name:"Burkina Faso"},{code:"+257",name:"Burundi"},{code:"+855",name:"Cambodia"},{code:"+237",name:"Cameroon"},{code:"+1",name:"Canada"},{code:"+238",name:"Cape Verde"},{code:"+ 345",name:"Cayman Islands"},{code:"+236",name:"Central African Republic"},{code:"+235",name:"Chad"},{code:"+56",name:"Chile"},{code:"+86",name:"China"},{code:"+61",name:"Christmas Island"},{code:"+61",name:"Cocos-Keeling Islands"},{code:"+57",name:"Colombia"},{code:"+269",name:"Comoros"},{code:"+242",name:"Congo"},{code:"+243",name:"Congo, Dem. Rep. of (Zaire)"},{code:"+682",name:"Cook Islands"},{code:"+506",name:"Costa Rica"},{code:"+385",name:"Croatia"},{code:"+53",name:"Cuba"},{code:"+599",name:"Curacao"},{code:"+537",name:"Cyprus"},{code:"+45",name:"Denmark"},{code:"+246",name:"Diego Garcia"},{code:"+253",name:"Djibouti"},{code:"+1 767",name:"Dominica"},{code:"+1 809",name:"Dominican Republic"},{code:"+670",name:"East Timor"},{code:"+56",name:"Easter Island"},{code:"+593",name:"Ecuador"},{code:"+20",name:"Egypt"},{code:"+503",name:"El Salvador"},{code:"+240",name:"Equatorial Guinea"},{code:"+291",name:"Eritrea"},{code:"+372",name:"Estonia"},{code:"+251",name:"Ethiopia"},{code:"+500",name:"Falkland Islands"},{code:"+298",name:"Faroe Islands"},{code:"+679",name:"Fiji"},{code:"+358",name:"Finland"},{code:"+33",name:"France"},{code:"+596",name:"French Antilles"},{code:"+594",name:"French Guiana"},{code:"+689",name:"French Polynesia"},{code:"+241",name:"Gabon"},{code:"+220",name:"Gambia"},{code:"+995",name:"Georgia"},{code:"+233",name:"Ghana"},{code:"+350",name:"Gibraltar"},{code:"+30",name:"Greece"},{code:"+299",name:"Greenland"},{code:"+1 473",name:"Grenada"},{code:"+590",name:"Guadeloupe"},{code:"+1 671",name:"Guam"},{code:"+502",name:"Guatemala"},{code:"+224",name:"Guinea"},{code:"+245",name:"Guinea-Bissau"},{code:"+595",name:"Guyana"},{code:"+509",name:"Haiti"},{code:"+504",name:"Honduras"},{code:"+852",name:"Hong Kong SAR China"},{code:"+36",name:"Hungary"},{code:"+354",name:"Iceland"},{code:"+91",name:"India"},{code:"+62",name:"Indonesia"},{code:"+98",name:"Iran"},{code:"+964",name:"Iraq"},{code:"+353",name:"Ireland"},{code:"+972",name:"Israel"},{code:"+39",name:"Italy"},{code:"+225",name:"Ivory Coast"},{code:"+1 876",name:"Jamaica"},{code:"+81",name:"Japan"},{code:"+962",name:"Jordan"},{code:"+7 7",name:"Kazakhstan"},{code:"+254",name:"Kenya"},{code:"+686",name:"Kiribati"},{code:"+965",name:"Kuwait"},{code:"+996",name:"Kyrgyzstan"},{code:"+856",name:"Laos"},{code:"+371",name:"Latvia"},{code:"+961",name:"Lebanon"},{code:"+266",name:"Lesotho"},{code:"+231",name:"Liberia"},{code:"+218",name:"Libya"},{code:"+423",name:"Liechtenstein"},{code:"+370",name:"Lithuania"},{code:"+352",name:"Luxembourg"},{code:"+853",name:"Macau SAR China"},{code:"+389",name:"Macedonia"},{code:"+261",name:"Madagascar"},{code:"+265",name:"Malawi"},{code:"+60",name:"Malaysia"},{code:"+960",name:"Maldives"},{code:"+223",name:"Mali"},{code:"+356",name:"Malta"},{code:"+692",name:"Marshall Islands"},{code:"+596",name:"Martinique"},{code:"+222",name:"Mauritania"},{code:"+230",name:"Mauritius"},{code:"+262",name:"Mayotte"},{code:"+52",name:"Mexico"},{code:"+691",name:"Micronesia"},{code:"+1 808",name:"Midway Island"},{code:"+373",name:"Moldova"},{code:"+377",name:"Monaco"},{code:"+976",name:"Mongolia"},{code:"+382",name:"Montenegro"},{code:"+1664",name:"Montserrat"},{code:"+212",name:"Morocco"},{code:"+95",name:"Myanmar"},{code:"+264",name:"Namibia"},{code:"+674",name:"Nauru"},{code:"+977",name:"Nepal"},{code:"+31",name:"Netherlands"},{code:"+599",name:"Netherlands Antilles"},{code:"+1 869",name:"Nevis"},{code:"+687",name:"New Caledonia"},{code:"+64",name:"New Zealand"},{code:"+505",name:"Nicaragua"},{code:"+227",name:"Niger"},{code:"+234",name:"Nigeria"},{code:"+683",name:"Niue"},{code:"+672",name:"Norfolk Island"},{code:"+850",name:"North Korea"},{code:"+1 670",name:"Northern Mariana Islands"},{code:"+47",name:"Norway"},{code:"+968",name:"Oman"},{code:"+92",name:"Pakistan"},{code:"+680",name:"Palau"},{code:"+970",name:"Palestinian Territory"},{code:"+507",name:"Panama"},{code:"+675",name:"Papua New Guinea"},{code:"+595",name:"Paraguay"},{code:"+51",name:"Peru"},{code:"+63",name:"Philippines"},{code:"+48",name:"Poland"},{code:"+351",name:"Portugal"},{code:"+1 787",name:"Puerto Rico"},{code:"+974",name:"Qatar"},{code:"+262",name:"Reunion"},{code:"+40",name:"Romania"},{code:"+7",name:"Russia"},{code:"+250",name:"Rwanda"},{code:"+685",name:"Samoa"},{code:"+378",name:"San Marino"},{code:"+966",name:"Saudi Arabia"},{code:"+221",name:"Senegal"},{code:"+381",name:"Serbia"},{code:"+248",name:"Seychelles"},{code:"+232",name:"Sierra Leone"},{code:"+65",name:"Singapore"},{code:"+386",name:"Slovenia"},{code:"+677",name:"Solomon Islands"},{code:"+27",name:"South Africa"},{code:"+500",name:"South Georgia and the South Sandwich Islands"},{code:"+82",name:"South Korea"},{code:"+34",name:"Spain"},{code:"+94",name:"Sri Lanka"},{code:"+249",name:"Sudan"},{code:"+597",name:"Suriname"},{code:"+268",name:"Swaziland"},{code:"+46",name:"Sweden"},{code:"+41",name:"Switzerland"},{code:"+963",name:"Syria"},{code:"+886",name:"Taiwan"},{code:"+992",name:"Tajikistan"},{code:"+255",name:"Tanzania"},{code:"+66",name:"Thailand"},{code:"+670",name:"Timor Leste"},{code:"+228",name:"Togo"},{code:"+690",name:"Tokelau"},{code:"+676",name:"Tonga"},{code:"+1 868",name:"Trinidad and Tobago"},{code:"+216",name:"Tunisia"},{code:"+90",name:"Turkey"},{code:"+993",name:"Turkmenistan"},{code:"+1 649",name:"Turks and Caicos Islands"},{code:"+688",name:"Tuvalu"},{code:"+1 340",name:"U.S. Virgin Islands"},{code:"+256",name:"Uganda"},{code:"+380",name:"Ukraine"},{code:"+971",name:"United Arab Emirates"},{code:"+598",name:"Uruguay"},{code:"+998",name:"Uzbekistan"},{code:"+678",name:"Vanuatu"},{code:"+58",name:"Venezuela"},{code:"+84",name:"Vietnam"},{code:"+1 808",name:"Wake Island"},{code:"+681",name:"Wallis and Futuna"},{code:"+967",name:"Yemen"},{code:"+260",name:"Zambia"},{code:"+255",name:"Zanzibar"},{code:"+263",name:"Zimbabwe"}]};n.d(t,"a",function(){return s});var s=function(){function e(){}return e.prototype.getPhoneParts=function(e){if(!e)return{phoneNumber:"",phoneCountry:""};for(var t=e,n="",i=0,s=this.countryCodesForSearch;in?n:e=e.x,top:this.top<=e.y,bottom:this.bottom>=e.y}},e.singleVal=function(t){return new e(t,t,t,t)},e.fromInterface=function(t){return new e(t.top,t.left,t.bottom,t.right)},e.prototype.copy=function(){return new e(this.top,this.left,this.bottom,this.right)},e.properties=["top","left","bottom","right"],e}()},650:function(e,t,n){"use strict";n.d(t,"a",function(){return c});var i,s=n(212),r=n(24),o=(n.n(r),n(67)),l=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),a="STEPOVER";!function(e){e.SERVER_INIT="SERVER_INIT",e.SIGNPAD_INITIALIZED="SIGNPAD_INITIALIZED",e.SIGNPAD_NOT_FOUND="SIGNPAD_NOT_FOUND",e.SIGNPAD_DISCONNECTED="SIGNPAD_DISCONNECTED",e.ACCEPTED="ACCEPTED",e.SIGNATURE_DEVICE="SIGNATURE_DEVICE",e.SIGNED_DOC="SIGNED_DOC",e.ERROR="ERROR"}(i||(i={}));var u;!function(e){e.DISPLAY_DOCUMENT="DISPLAY_DOCUMENT",e.SEND_DATA="SEND_DATA",e.START_SIGNING="START_SIGNING",e.SIGN_LOCAL="SIGN_LOCAL",e.CLEAR_SCREEN="CLEAR_SCREEN",e.CANCEL_SIGNING="CANCEL_SIGNING",e.CONFIRM_SIGNATURE="CONFIRM_SIGNATURE",e.SIGNPAD_LOOKUP="SIGNPAD_LOOKUP"}(u||(u={}));var c=function(e){function t(t,n,i,s,o,l,a){var u=e.call(this)||this;if(u.signpadInitialized=new r.Subject,u.authorizationCode=null,u.localWebSocketURL=t,u.globalWebSocketURL=n,u.loadInitImageURL=i,!(t&&n&&i))throw Error("error: please provide URL");return u.isEdge=s,u.webSocket=null,u.offlineMode=l,u.signoSoftSignaturePad=o,u.minDriverVersion=a,u}return l(t,e),t.prototype.ngOnInit=function(){this.signoSoftSignaturePad?(this.tryToConnect(),this.signingStarts()):this.signoSoftSignaturePad=null},t.prototype.ngOnDestroy=function(){null!=this.webSocket&&this.webSocket.close()},t.prototype.close=function(){null!=this.webSocket&&this.webSocket.close()},t.prototype.setupSignaturePad=function(e){this.signoSoftSignaturePad=e,this.tryToConnect(),this.signingStarts()},t.prototype.hanhleMessage=function(){var e=this;this.webSocket.onmessage=function(t){console.log("websocket:",t.data);var n=JSON.parse(t.data);if(!e.webSocket)return console.log("Try to handle message, but socket is disconnected!");switch(n.event){case i.SERVER_INIT:e.webSocket.send('{"event": "'+u.SEND_DATA+'"}'),e._device.driverVersion=n.version,e.signoSoftSignaturePad&&e.signoSoftSignaturePad.driverVersion(n.version);break;case i.ACCEPTED:break;case i.SIGNPAD_INITIALIZED:e.webSocket.send(JSON.stringify({event:u.DISPLAY_DOCUMENT,docData:e._document})),e.checkDriverVersion(),e._device.connected=!0,e._device.interface="SignoSoftDriver",e._device.manufacturer=n.signpad.manufacturer,e._device.model=n.signpad.model,e._device.serial=n.signpad.serial,e._device.keyHash=n.signpad.keyhash,e.passive="ELCOM"==e._device.manufacturer,e.signpadInitialized&&(e.signpadInitialized.next(e._device),e.signpadInitialized.complete()),null!=e.signoSoftSignaturePad&&(e.signoSoftSignaturePad.deviceConnected(),e.startSigning(!0));break;case i.SIGNPAD_NOT_FOUND:e.signpadInitialized.error("SIGNPAD_NOT_FOUND"),e.webSocket.send(JSON.stringify({event:u.DISPLAY_DOCUMENT,docData:e._document}));break;case i.SIGNPAD_DISCONNECTED:e.signpadDisconnected();break;case i.SIGNATURE_DEVICE:null!=e.signoSoftSignaturePad&&e.signoSoftSignaturePad.deregisterMouseHandlers(),e.setDevice(n.signpad);break;case"Connect to EasyScript":e.webSocket.close();break;case i.SIGNED_DOC:e._document=n.docData,e.docSigned.next(n.docData),e.docSigned.complete();break;case i.ERROR:/signing/.test(n.description)&&null!=e.docSigned?(e.docSigned.error("ERROR"),console.log("Error sign document on driver")):console.log(n);break;case"Hey bro, what up?":case"Gotcha. Wait for it, dude.":break;default:console.error("unknown message for SignoSoft Web Socket server initialization:",n)}}},t.prototype.openWebSocket=function(){var e=this;(null==this.webSocket||this.webSocket.readyState>=2)&&(this.webSocket=new WebSocket(this.localWebSocketURL)),this.webSocket.onclose=function(t){console.log("closing socket"),e.signoSoftSignaturePad&&e.signoSoftSignaturePad.driverDisconnect(),e._device.connected=!1,e._device.prevPoint=null,e.webSocket=null},this.hanhleMessage(),this.webSocket.onerror=function(t){console.info("!!! THIS IS NOT A ERROR !!!"),e.signpadInitialized&&!e._device.connected&&(e.signpadInitialized.error("DRIVER_NOT_CONNECTED"),e.signpadInitialized.complete())}},t.prototype.prepairDriver=function(){if(console.log("prepairDriver"),null!=this.webSocket){this.signoSoftSignaturePad.driverConnected(),this.signoSoftSignaturePad.driverVersion(this._device.driverVersion);this.openWebSocket()}},t.prototype.reconnect=function(e){(null==this.webSocket||this.webSocket.readyState>=2)&&(this.webSocket=new WebSocket(this.localWebSocketURL)),this.signoSoftSignaturePad=e,this.signoSoftSignaturePad.driverConnected(),this.openWebSocket()},Object.defineProperty(t.prototype,"document",{set:function(e){this._document=e,this.openWebSocket()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"updateDocument",{set:function(e){this._document=e,this.webSocket.send(JSON.stringify({event:u.DISPLAY_DOCUMENT,docData:this._document}))},enumerable:!0,configurable:!0}),t.prototype.tryToConnect=function(){var e=this;this._device.prevPoint=null,this.authorizationCode=this.createAuth();try{console.log("tryToConnect"),this.prepairDriver(),this._device.manufacturer&&this._device.model&&(this.signoSoftSignaturePad.driverConnected(),this.signoSoftSignaturePad.driverVersion(this._device.driverVersion),this.initDevice({manufacturer:this._device.manufacturer,model:this._device.model}),null!=this.signoSoftSignaturePad&&this.signoSoftSignaturePad.deregisterMouseHandlers(),"STEPOVER"==this._device.manufacturer||"WACOM"==this._device.manufacturer||"HANVON"==this._device.manufacturer||"SCRIPTEL"==this._device.manufacturer||"SIGNOTEC"==this._device.manufacturer||"ELCOM"==this._device.manufacturer?this.webSocket.onmessage=function(t){return e.handleMessages(t)}:console.error("Signosoft device ERROR. Missing or unknown device type: "+this._device.manufacturer))}catch(e){console.error(e)}},t.prototype.signpadDisconnected=function(){this._device.connected=!1,this._device.interface=null,this._device.manufacturer=null,this._device.model=null,this.hanhleMessage(),null!=this.signoSoftSignaturePad&&(this.tryToConnect(),this.signingStarts())},t.prototype.initDevice=function(e){this.checkDriverVersion(),this._device.connected=!0,this._device.interface="SignoSoftDriver",this._device.manufacturer=e.manufacturer,this._device.model=e.model,this.signoSoftSignaturePad.deviceConnected(),this.passive="ELCOM"==this._device.manufacturer,this.signpadInitialized&&(this.signpadInitialized.next(this._device),this.signpadInitialized.complete()),this.startSigning(!0)},t.prototype.startSigning=function(e,t){var n,i;e?(console.log("startSigning standard"),n=this.signoSoftSignaturePad.metadata,i=this.signoSoftSignaturePad.signature):(console.log("startSigning without signpad"),n=t.metadata,i=t.signature);var s=0;switch(n.signatureBiometricsLvl){case"withoutPressure":s=1;break;case"none":s=2}var r=i.params;i.params||(r={infoText1:"",infoText2:"",infoText3:""});var o={event:u.START_SIGNING,docHash:n.docHash,signosoftPublicKey:n.signosoftPublicKey,biodataPublicKey:n.biodataPublicKey,x:i.x,y:i.y,width:i.width,height:i.height,page:i.page,signpad:e,showConfirm:!0,infoText1:r.infoText1,infoText2:r.infoText2,infoText3:r.infoText3,biometrics:s,autoClose:!1};this.webSocket.send(JSON.stringify(o))},t.prototype.setDevice=function(e){var t=this;if("STEPOVER"!=e.manufacturer&&"WACOM"!=e.manufacturer&&"HANVON"!=e.manufacturer&&"SCRIPTEL"!=e.manufacturer&&"SIGNOTEC"!=e.manufacturer&&"ELCOM"!=e.manufacturer)throw console.error("Signosoft device ERROR. Missing or unknown device type: "+e.manufacturer),Error("Missing or unknown device type in SignoSoft WebSocket initial message.");this._device.manufacturer=e.manufacturer,this.webSocket.onmessage=function(e){return t.handleMessages(e)},this.checkDriverVersion(),this._device.connected=!0,this._device.interface="SignoSoftDriver",this._device.maxX=e.maxX,this._device.maxY=e.maxY,this._device.measuredYtargetLine=.808*this._device.maxY,this._device.maxPressure=e.maxZ,this._device.prevPoint=null,this.passive="ELCOM"==this._device.manufacturer,this._device.description=null,e.hasOwnProperty("description")&&(this._device.description=e.description),this._device.serial=null,e.hasOwnProperty("serial")&&(this._device.serial=e.serial),this.signoSoftSignaturePad.deviceSetScale()},t.prototype.handleMessages=function(e){var t=JSON.parse(e.data);switch(t.event){case"SIGNATURE_POINT":if("StepOver"==this._device.manufacturer)break;var n=t.point;switch(n.dataType){case"PEN_DOWN":null!=this._device.prevPoint&&this.signoSoftSignaturePad.handlePenUp(this._device.prevPoint);var i=this.scaleXYP({x:n.x,y:n.y,z:n.z,t:n.t});this.signoSoftSignaturePad.pushNewPoint(i),this.signoSoftSignaturePad.handlePenDown(i),this._device.prevPoint=i;break;case"PEN_MOVE":var s=this.scaleXYP({x:n.x,y:n.y,z:n.z,t:n.t});this.signoSoftSignaturePad.pushNewPoint(s),null!=this._device.prevPoint&&this.signoSoftSignaturePad.handlePenMove(s),this._device.prevPoint=s;break;case"PEN_UP":null!=this._device.prevPoint&&this.signoSoftSignaturePad.handlePenUp(this._device.prevPoint),this._device.prevPoint=null;break;case"AIR_MOVE":null!=this._device.prevPoint&&null!=this.signoSoftSignaturePad&&this.signoSoftSignaturePad.handlePenUp(this._device.prevPoint),this._device.prevPoint=null;var r=this.scaleXYP({x:n.x,y:n.y,z:n.z,t:n.t});null!=this.signoSoftSignaturePad&&this.signoSoftSignaturePad.pushNewPoint(r);break;case"BUTTON_TOUCH":break;default:console.error("[Wacom] unknown signaturePoint datatype from SignoSoft Web Socket server:",t)}break;case"SIGNATURE_DATA":null!=this._device.prevPoint&&this.signoSoftSignaturePad.handlePenUp(this._device.prevPoint),this._device.prevPoint=null,this.signoSoftSignaturePad.setFullSignatureDataEnc(t.signatureData),this.signoSoftSignaturePad.askForConfirmation();break;case"SIGNATURE_IMG":if("WACOM"==this._device.manufacturer)return;this.signoSoftSignaturePad.drawImageScaled(t.sigImg),this.signoSoftSignaturePad.signed=!0,this.signoSoftSignaturePad.askForConfirmation();break;case"SIGNED_DOC":this._document=t.docData,this.docSigned.next(t.docData),this.docSigned.complete();break;case"BUTTON_TOUCH":"OK"==t.button?(null!=this._device.prevPoint&&this.signoSoftSignaturePad.handlePenUp(this._device.prevPoint),this._device.prevPoint=null,this.signoSoftSignaturePad.confirmSignature()):"CLEAR"==t.button?(null!=this._device.prevPoint&&this.signoSoftSignaturePad.handlePenUp(this._device.prevPoint),this._device.prevPoint=null,this.signoSoftSignaturePad.clearSignature()):"CANCEL"==t.button&&(null!=this._device.prevPoint&&this.signoSoftSignaturePad.handlePenUp(this._device.prevPoint),this._device.prevPoint=null,this.signoSoftSignaturePad.backClicked());break;case"SIGNATURE_DEVICE":this.setDevice(t.signpad);break;case"ERROR":/signing/.test(t.description)&&null!=this.docSigned?(this.docSigned.error("ERROR"),console.log("Error sign document on driver")):console.log(t);break;case"SIGNPAD_DISCONNECTED":this.signpadDisconnected();break;default:console.error("[handleMessages] Unknown message from SignoSoft Web Socket server:",t)}},t.prototype.pushFullSignatureDataTemporary=function(e){var t=[];for(var n in e){var i=e[n];if(i.hasOwnProperty("dataType")&&("PEN_DOWN"==i.dataType||"PEN_MOVE"==i.dataType||"AIR_MOVE"==i.dataType)){var s=this.scaleXYP({x:i.x,y:i.y,z:i.z,t:i.t});t.push(s)}}this.signoSoftSignaturePad.setFullSignatureData(t)},t.prototype.signingStarts=function(){},t.prototype.signingEnds=function(){},t.prototype.signLocal=function(e,t){if(null!=this.webSocket){this._device.connected||this.startSigning(!1,e),console.log("sign local send");var n={event:u.SIGN_LOCAL,sigImg:e.signatureImageBase64,signatureData:e.bioData,design:t};null!=e.sigName&&(n.sigName=e.sigName.toString()),this.webSocket.send(JSON.stringify(n))}return this.docSigned=new r.Subject,this.docSigned},t.prototype.clear=function(){this._device.connected&&this.webSocket.send('{"event": "'+u.CLEAR_SCREEN+'"}')},t.prototype.disconnect=function(){this.signoSoftSignaturePad=null,null!=this.webSocket&&(console.log("CANCEL_SIGNING"),this._device.connected&&this.webSocket.send('{"event": "'+u.CANCEL_SIGNING+'"}'))},t.prototype.disconnectHard=function(){null!=this.webSocket&&(this.webSocket.close(),console.log("disconnectHard"),this._device.connected=!1,this._device.interface=null,this._device.manufacturer=null,this._device.model=null,this.signoSoftSignaturePad=null)},t.prototype.confirmSignature=function(){this._device.connected&&(this._device.manufacturer==a?this.signoSoftSignaturePad.confirmSignature():this.webSocket.send('{"event": "'+u.CONFIRM_SIGNATURE+'"}'))},t.prototype.createAuth=function(){for(var e="",t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",n=0;n<12;n++)e+=t.charAt(Math.floor(Math.random()*t.length));return e},t.prototype.checkDriverVersion=function(){-1==Object(o.f)(this._device.driverVersion,this.minDriverVersion)&&null!==this._device.driverVersion&&null!=this.minDriverVersion&&(console.log("OLD VERSION"),this.disconnectHard())},t}(s.a)},651:function(e,t,n){"use strict";n.d(t,"a",function(){return s});n(0),n(6);var i=n(80),s=function(){return function(e,t,n,s){var r=this;this.platform=e,this.events=t,this.viewCtrl=n,this.s=s,this.s.URLData.documentLink=null,this.s.URLData.target=null,sessionStorage.removeItem("settings"),this.platform.pause.subscribe(function(){r.events.publish(i.a.LOG_OUT),r.viewCtrl.dismiss()})}}()},67:function(e,t,n){"use strict";function i(e,t){t.forEach(function(t){Object.getOwnPropertyNames(t.prototype).forEach(function(n){"constructor"!==n&&(e.prototype[n]=t.prototype[n])})})}function s(e,t){return e.documentInContract?t[e.documentInContract]:t[-1]}var r=n(522),o=n(523),l=n(205),a=n(150),u=n(361);n.d(t,"b",function(){return r.a}),n.d(t,!1,function(){return i}),n.d(t,!1,function(){}),n.d(t,!1,function(){}),n.d(t,!1,function(){}),n.d(t,"g",function(){return o.b}),n.d(t,"a",function(){return l.a}),n.d(t,"d",function(){return a.c}),n.d(t,"c",function(){return a.b}),n.d(t,"h",function(){return s}),n.d(t,!1,function(){}),n.d(t,"e",function(){return u.a}),n.d(t,"i",function(){return u.c}),n.d(t,"f",function(){return u.b})},674:function(e,t,n){"use strict";n.d(t,"a",function(){return s});n(0),n(6),n(22);var i=n(75),s=function(){function e(e,t,n,i,s){this.viewCtrl=e,this.t=t,this.s=n,this.sanitizer=i,this.buttons=[],this.signature=s.data.signature}return e.prototype.ngOnInit=function(){var e={};e[i.d.BIOMETRIC]={code:i.d.BIOMETRIC,label:"HANDWRITTEN_DIGITAL_SIGNATURE",img:this.sanitizer.bypassSecurityTrustResourceUrl("./assets/img/method-touchscreen-icon.svg")},e[i.d.BANK_ID]={code:i.d.BANK_ID,label:"BANK_ID",img:this.sanitizer.bypassSecurityTrustResourceUrl("./assets/img/method-bankid-icon.svg")},e[i.d.SCAN]={code:i.d.SCAN,label:"SIGNATURE_SCAN",img:this.sanitizer.bypassSecurityTrustResourceUrl("./assets/img/method-signature-scan-icon.svg")},console.log(e),console.log(this.signature.authMethods),this.buttons=this.signature.authMethods.slice().sort(function(e,t){return e.order-t.order}).map(function(t){return e[t.type]}).filter(function(e){return null!=e})},e.prototype.pick=function(e){this.viewCtrl.dismiss(e)},e.prototype.close=function(){this.viewCtrl.dismiss(null)},e}()},684:function(e,t,n){"use strict";function i(e){return u["ɵvid"](0,[(e()(),u["ɵeld"](0,0,null,null,0,"div",[["class","warning"]],[[8,"innerHTML",1]],null,null,null,null))],null,function(e,t){e(t,0,0,t.component.img.warning)})}function s(e){return u["ɵvid"](0,[(e()(),u["ɵeld"](0,0,null,null,1,"div",[["class","email"]],null,null,null,null,null)),(e()(),u["ɵted"](1,null,["",""]))],null,function(e,t){e(t,1,0,t.parent.context.$implicit.signer)})}function r(e){return u["ɵvid"](0,[(e()(),u["ɵeld"](0,0,null,null,2,"div",[["class","email"]],null,null,null,null,null)),(e()(),u["ɵted"](1,null,[""," "])),u["ɵpid"](131072,c.a,[h.a,u.ChangeDetectorRef])],null,function(e,t){e(t,1,0,t.parent.context.$implicit.signerName?u["ɵunv"](t,1,0,u["ɵnov"](t,2).transform("IN_PERSON")):"")})}function o(e){return u["ɵvid"](0,[(e()(),u["ɵeld"](0,0,null,null,2,"div",[["class","email"]],null,null,null,null,null)),(e()(),u["ɵted"](1,null,[""," (",")"])),u["ɵpid"](131072,c.a,[h.a,u.ChangeDetectorRef])],null,function(e,t){e(t,1,0,t.parent.context.$implicit.signer,t.parent.context.$implicit.signerName?u["ɵunv"](t,1,1,u["ɵnov"](t,2).transform("IN_PERSON")):"")})}function l(e){return u["ɵvid"](0,[(e()(),u["ɵeld"](0,0,null,null,22,"div",[["class","sign"]],null,null,null,null,null)),(e()(),u["ɵted"](-1,null,["\n "])),(e()(),u["ɵeld"](2,0,null,null,0,"span",[["class","icon blue"]],[[2,"active",null],[8,"innerHTML",1]],[[null,"click"]],function(e,t,n){var i=!0;if("click"===t){i=!1!==e.component.signClick(e.context.$implicit,!0)&&i}return i},null,null)),(e()(),u["ɵted"](-1,null,["\n "])),(e()(),u["ɵeld"](4,0,null,null,17,"div",[["class","content"]],null,[[null,"click"]],function(e,t,n){var i=!0;if("click"===t){i=!1!==e.component.signClick(e.context.$implicit,!1)&&i}return i},null,null)),(e()(),u["ɵted"](-1,null,["\n "])),(e()(),u["ɵeld"](6,0,null,null,5,"div",[["class","label"]],[[2,"required",null],[2,"active",null]],null,null,null,null)),(e()(),u["ɵted"](7,null,["\n "," ","\n "])),(e()(),u["ɵand"](16777216,null,null,1,null,i)),u["ɵdid"](9,16384,null,0,d.NgIf,[u.ViewContainerRef,u.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),u["ɵted"](-1,null,["\n"])),(e()(),u["ɵted"](-1,null,["\n "])),(e()(),u["ɵted"](-1,null,["\n "])),(e()(),u["ɵand"](16777216,null,null,1,null,s)),u["ɵdid"](14,16384,null,0,d.NgIf,[u.ViewContainerRef,u.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),u["ɵted"](-1,null,["\n "])),(e()(),u["ɵand"](16777216,null,null,1,null,r)),u["ɵdid"](17,16384,null,0,d.NgIf,[u.ViewContainerRef,u.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),u["ɵted"](-1,null,["\n "])),(e()(),u["ɵand"](16777216,null,null,1,null,o)),u["ɵdid"](20,16384,null,0,d.NgIf,[u.ViewContainerRef,u.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),u["ɵted"](-1,null,["\n "])),(e()(),u["ɵted"](-1,null,["\n\t"]))],function(e,t){var n=t.component;e(t,9,0,!t.context.$implicit.inPerson&&!t.context.$implicit.signerName&&!t.context.$implicit.signer||0===t.context.$implicit.authMethods.length);e(t,14,0,!t.context.$implicit.inPerson);e(t,17,0,t.context.$implicit.inPerson&&(n.isEmpty(t.context.$implicit.signer)||n.docOwner==t.context.$implicit.signer));e(t,20,0,t.context.$implicit.inPerson&&!n.isEmpty(t.context.$implicit.signer)&&n.docOwner!=t.context.$implicit.signer)},function(e,t){var n=t.component;e(t,2,0,n.edit,n.edit?n.img.remove:t.context.$implicit.signed?n.img.sign:"");e(t,6,0,t.context.$implicit.required&&!t.context.$implicit.signed&&n.canSign(t.context.$implicit)&&!n.edit,n.activeSignature&&n.activeSignature.id==t.context.$implicit.id);e(t,7,0,n.signerText(t.context.$implicit),t.context.$implicit.order>0?"("+t.context.$implicit.order+")":"")})}function a(e){return u["ɵvid"](2,[(e()(),u["ɵted"](-1,null,["\n\t"])),(e()(),u["ɵand"](16777216,null,null,2,null,l)),u["ɵdid"](2,802816,null,0,d.NgForOf,[u.ViewContainerRef,u.TemplateRef,u.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),u["ɵpid"](131072,d.AsyncPipe,[u.ChangeDetectorRef]),(e()(),u["ɵted"](-1,null,["\n\t"]))],function(e,t){var n=t.component;e(t,2,0,u["ɵunv"](t,2,0,u["ɵnov"](t,3).transform(n.signaturesSort)))},null)}n.d(t,"a",function(){return y}),t.c=a,n.d(t,"b",function(){return E});var u=n(1),c=n(21),h=n(17),d=n(11),p=n(245),g=n(14),f=n(7),m=n(34),b=n(5),v=n(77),y=u["ɵcrt"]({encapsulation:2,styles:[],data:{}}),E=u["ɵccf"]("sign-menu",p.a,function(e){return u["ɵvid"](0,[(e()(),u["ɵeld"](0,0,null,null,1,"sign-menu",[],null,null,null,a,y)),u["ɵdid"](1,770048,null,0,p.a,[g.a,f.a,u.ElementRef,u.ChangeDetectorRef,u.Renderer2,m.a,h.a,b.f,v.a],null,null)],function(e,t){e(t,1,0)},null)},{signatures:"signatures",activeSignature:"activeSignature",docOwner:"docOwner",edit:"edit",documentView:"documentView"},{signatureClick:"signatureClick"},[])},685:function(e,t,n){"use strict";function i(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,9,"div",[["class","doc"]],null,[[null,"click"]],function(e,t,n){var i=!0;if("click"===t){i=!1!==e.component.documentClick(e.context.$implicit)&&i}return i},null,null)),(e()(),r["ɵted"](-1,null,["\n "])),(e()(),r["ɵeld"](2,0,null,null,0,"span",[["class","icon blue"]],[[8,"innerHTML",1]],null,null,null,null)),(e()(),r["ɵted"](-1,null,["\n "])),(e()(),r["ɵeld"](4,0,null,null,4,"div",[["class","content"]],null,null,null,null,null)),(e()(),r["ɵted"](-1,null,["\n "])),(e()(),r["ɵeld"](6,0,null,null,1,"div",[["class","label"]],[[2,"active",null]],null,null,null,null)),(e()(),r["ɵted"](7,null,["\n ","\n "])),(e()(),r["ɵted"](-1,null,["\n "])),(e()(),r["ɵted"](-1,null,["\n "]))],null,function(e,t){var n=t.component;e(t,2,0,n.signedDocs[t.context.$implicit.id]&&n.document.state!=n.DocumentState.NEW?n.img.sign:"");e(t,6,0,t.context.$implicit.contractRange&&n.page>=t.context.$implicit.contractRange.start&&n.page<=t.context.$implicit.contractRange.end);e(t,7,0,t.context.$implicit.name)})}function s(e){return r["ɵvid"](2,[(e()(),r["ɵted"](-1,null,["\n "])),(e()(),r["ɵeld"](1,0,null,null,4,"div",[],null,null,null,null,null)),(e()(),r["ɵted"](-1,null,["\n "])),(e()(),r["ɵand"](16777216,null,null,1,null,i)),r["ɵdid"](4,802816,null,0,o.NgForOf,[r.ViewContainerRef,r.TemplateRef,r.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(e()(),r["ɵted"](-1,null,["\n "])),(e()(),r["ɵted"](-1,null,["\n\t"]))],function(e,t){e(t,4,0,t.component.documents)},null)}n.d(t,"b",function(){return p}),t.c=s,n.d(t,"a",function(){return g});var r=n(1),o=n(11),l=n(246),a=n(14),u=n(7),c=n(34),h=n(17),d=n(5),p=r["ɵcrt"]({encapsulation:0,styles:[".doc[_ngcontent-%COMP%] {\n margin-bottom: 15px;\n display: flex;\n height: 35px;\n }\n\n .doc[_ngcontent-%COMP%]:last-child {\n margin-bottom: 0px;\n }\n\n .doc[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] {\n flex-grow: 1;\n cursor: pointer;\n max-width: 75%;\n display: flex;\n align-items: center;\n }\n\n .doc[_ngcontent-%COMP%] .icon.active[_ngcontent-%COMP%] {\n cursor: pointer;\n }\n\n .doc[_ngcontent-%COMP%] .label[_ngcontent-%COMP%] {\n font-size: 14px;\n margin-bottom: 3px;\n text-overflow: ellipsis;\n white-space: nowrap;\n overflow: hidden;\n max-width: 93%;\n }\n\n .doc[_ngcontent-%COMP%] .label.active[_ngcontent-%COMP%] {\n color: var(--primary);\n }\n\n .doc[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%] {\n width: 66px;\n text-align: center;\n }"],data:{}}),g=r["ɵccf"]("document-menu",l.a,function(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"document-menu",[],null,null,null,s,p)),r["ɵdid"](1,638976,null,0,l.a,[a.a,u.a,c.a,h.a,d.f],null,null)],function(e,t){e(t,1,0)},null)},{page:"page",signatures:"signatures",documents:"documents",document:"document"},{documentClicked:"documentClicked"},[])},686:function(e,t,n){"use strict";function i(e){return r["ɵvid"](0,[(e()(),r["ɵand"](0,null,null,0))],null,null)}function s(e){return r["ɵvid"](2,[r["ɵqud"](402653184,1,{container:0}),(e()(),r["ɵted"](-1,null,["\n "])),(e()(),r["ɵeld"](2,0,null,null,18,"ion-header",[],null,null,null,null,null)),r["ɵdid"](3,16384,null,0,o.a,[l.a,r.ElementRef,r.Renderer,[2,a.a]],null,null),(e()(),r["ɵted"](-1,null,["\n \t"])),(e()(),r["ɵeld"](5,0,null,null,14,"ion-navbar",[["class","toolbar"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,u.b,u.a)),r["ɵdid"](6,49152,null,0,c.a,[h.a,[2,a.a],[2,d.a],l.a,r.ElementRef,r.Renderer],null,null),(e()(),r["ɵted"](-1,3,["\n "])),(e()(),r["ɵeld"](8,0,null,3,2,"div",[["class","title"]],null,null,null,null,null)),(e()(),r["ɵted"](9,null,["",""])),r["ɵpid"](131072,p.a,[g.a,r.ChangeDetectorRef]),(e()(),r["ɵted"](-1,3,["\n "])),(e()(),r["ɵeld"](12,0,null,2,6,"ion-buttons",[["end",""]],null,null,null,null,null)),r["ɵdid"](13,16384,null,1,f.a,[l.a,r.ElementRef,r.Renderer,[2,m.a],[2,c.a]],null,null),r["ɵqud"](603979776,2,{_buttons:1}),(e()(),r["ɵted"](-1,null,["\n "])),(e()(),r["ɵeld"](16,0,null,null,1,"button",[["class","close-btn"],["ion-button",""]],null,[[null,"click"]],function(e,t,n){var i=!0;if("click"===t){i=!1!==e.component.close()&&i}return i},b.b,b.a)),r["ɵdid"](17,1097728,[[2,4]],0,v.a,[[8,""],l.a,r.ElementRef,r.Renderer],null,null),(e()(),r["ɵted"](-1,null,["\n "])),(e()(),r["ɵted"](-1,3,["\n "])),(e()(),r["ɵted"](-1,null,["\n "])),(e()(),r["ɵted"](-1,null,["\n "])),(e()(),r["ɵeld"](22,0,null,null,4,"ion-content",[],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,y.b,y.a)),r["ɵdid"](23,4374528,null,0,E.a,[l.a,w.a,I.a,r.ElementRef,r.Renderer,h.a,S.a,r.NgZone,[2,a.a],[2,d.a]],null,null),(e()(),r["ɵted"](-1,1,["\n \t"])),(e()(),r["ɵand"](16777216,[[1,3],["container",2]],1,0,null,i)),(e()(),r["ɵted"](-1,1,["\n "])),(e()(),r["ɵted"](-1,null,["\n\t"]))],null,function(e,t){var n=t.component;e(t,5,0,r["ɵnov"](t,6)._hidden,r["ɵnov"](t,6)._sbPadding);e(t,9,0,r["ɵunv"](t,9,0,r["ɵnov"](t,10).transform(n.title)));e(t,22,0,r["ɵnov"](t,23).statusbarPadding,r["ɵnov"](t,23)._hasRefresher)})}n.d(t,"a",function(){return N});var r=n(1),o=n(58),l=n(4),a=n(7),u=n(65),c=n(45),h=n(13),d=n(25),p=n(21),g=n(17),f=n(72),m=n(60),b=n(41),v=n(33),y=n(46),E=n(29),w=n(8),I=n(12),S=n(35),_=n(307),C=n(18),T=r["ɵcrt"]({encapsulation:0,styles:["//[_ngcontent-%COMP%] ion-content[_ngcontent-%COMP%] {\n // background-color: #ebe6ea;\n // }"],data:{}}),N=r["ɵccf"]("universal-modal",_.a,function(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"universal-modal",[],null,null,null,s,T)),r["ɵdid"](1,245760,null,0,_.a,[r.ComponentFactoryResolver,C.a,a.a],null,null)],function(e,t){e(t,1,0)},null)},{},{},[])},687:function(e,t,n){"use strict";function i(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,13,"ion-item",[["class","user item item-block"]],null,[[null,"click"]],function(e,t,n){var i=!0;if("click"===t){i=!1!==e.component.close()&&i}return i},a.b,a.a)),l["ɵdid"](1,1097728,null,3,u.a,[c.a,h.a,l.ElementRef,l.Renderer,[2,d.a]],null,null),l["ɵqud"](335544320,1,{contentLabel:0}),l["ɵqud"](603979776,2,{_buttons:1}),l["ɵqud"](603979776,3,{_icons:1}),l["ɵdid"](5,16384,null,0,p.a,[],null,null),(e()(),l["ɵted"](-1,2,["\n "])),(e()(),l["ɵeld"](7,0,null,2,2,"div",[],null,null,null,null,null)),(e()(),l["ɵted"](8,null,["",""])),(e()(),l["ɵeld"](9,0,null,null,0,"span",[["class","icon"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,2,["\n "])),(e()(),l["ɵeld"](11,0,null,2,1,"div",[["class","email"]],null,null,null,null,null)),(e()(),l["ɵted"](12,null,["",""])),(e()(),l["ɵted"](-1,2,["\n "]))],null,function(e,t){e(t,8,0,t.context.ngIf.fullName);e(t,12,0,t.context.ngIf.email)})}function s(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,8,"button",[["class","upgrade-plan item item-block"],["gaAction","menu_upgrade_plan"],["gaCat","menu"],["ion-item",""]],null,[[null,"click"]],function(e,t,n){var i=!0,s=e.component;if("click"===t){i=!1!==l["ɵnov"](e,6).onClick(n)&&i}if("click"===t){i=!1!==s.openOtherPage(s.APP_STATE.UPGRADE_PLAN)&&i}return i},a.b,a.a)),l["ɵdid"](1,1097728,null,3,u.a,[c.a,h.a,l.ElementRef,l.Renderer,[2,d.a]],null,null),l["ɵqud"](335544320,4,{contentLabel:0}),l["ɵqud"](603979776,5,{_buttons:1}),l["ɵqud"](603979776,6,{_icons:1}),l["ɵdid"](5,16384,null,0,p.a,[],null,null),l["ɵdid"](6,16384,null,0,g.a,[f.a],{gaCat:[0,"gaCat"],gaAction:[1,"gaAction"]},null),(e()(),l["ɵted"](7,2,["\n ","\n "])),l["ɵpid"](131072,m.a,[b.a,l.ChangeDetectorRef])],function(e,t){e(t,6,0,"menu","menu_upgrade_plan")},function(e,t){e(t,7,0,l["ɵunv"](t,7,0,l["ɵnov"](t,8).transform("UPGRADE_PLAN")))})}function r(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,8,"button",[["class","item item-block"],["gaAction","menu_administration"],["gaCat","menu"],["ion-item",""]],null,[[null,"click"]],function(e,t,n){var i=!0,s=e.component;if("click"===t){i=!1!==l["ɵnov"](e,6).onClick(n)&&i}if("click"===t){i=!1!==s.goToAdmin()&&i}return i},a.b,a.a)),l["ɵdid"](1,1097728,null,3,u.a,[c.a,h.a,l.ElementRef,l.Renderer,[2,d.a]],null,null),l["ɵqud"](335544320,13,{contentLabel:0}),l["ɵqud"](603979776,14,{_buttons:1}),l["ɵqud"](603979776,15,{_icons:1}),l["ɵdid"](5,16384,null,0,p.a,[],null,null),l["ɵdid"](6,16384,null,0,g.a,[f.a],{gaCat:[0,"gaCat"],gaAction:[1,"gaAction"]},null),(e()(),l["ɵted"](7,2,["\n ","\n "])),l["ɵpid"](131072,m.a,[b.a,l.ChangeDetectorRef])],function(e,t){e(t,6,0,"menu","menu_administration")},function(e,t){e(t,7,0,l["ɵunv"](t,7,0,l["ɵnov"](t,8).transform("ADMINISTRATION")))})}function o(e){return l["ɵvid"](2,[(e()(),l["ɵted"](-1,null,["\n "])),(e()(),l["ɵeld"](1,0,null,null,48,"ion-list",[],null,null,null,null,null)),l["ɵdid"](2,16384,null,0,v.a,[h.a,l.ElementRef,l.Renderer,y.a,E.l,w.a],null,null),(e()(),l["ɵted"](-1,null,["\n "])),(e()(),l["ɵand"](16777216,null,null,2,null,i)),l["ɵdid"](5,16384,null,0,I.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),l["ɵpid"](131072,I.AsyncPipe,[l.ChangeDetectorRef]),(e()(),l["ɵted"](-1,null,["\n "])),(e()(),l["ɵted"](-1,null,["\n "])),(e()(),l["ɵand"](16777216,null,null,4,null,s)),l["ɵdid"](10,16384,null,0,I.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),l["ɵpid"](131072,I.AsyncPipe,[l.ChangeDetectorRef]),l["ɵpid"](131072,I.AsyncPipe,[l.ChangeDetectorRef]),l["ɵpid"](131072,I.AsyncPipe,[l.ChangeDetectorRef]),(e()(),l["ɵted"](-1,null,["\n "])),(e()(),l["ɵeld"](15,0,null,null,8,"button",[["class","item item-block"],["gaAction","menu_manage_account"],["gaCat","menu"],["ion-item",""]],null,[[null,"click"]],function(e,t,n){var i=!0,s=e.component;if("click"===t){i=!1!==l["ɵnov"](e,21).onClick(n)&&i}if("click"===t){i=!1!==s.openPage(s.PAGES.ACCOUNT_GENERAL)&&i}return i},a.b,a.a)),l["ɵdid"](16,1097728,null,3,u.a,[c.a,h.a,l.ElementRef,l.Renderer,[2,d.a]],null,null),l["ɵqud"](335544320,7,{contentLabel:0}),l["ɵqud"](603979776,8,{_buttons:1}),l["ɵqud"](603979776,9,{_icons:1}),l["ɵdid"](20,16384,null,0,p.a,[],null,null),l["ɵdid"](21,16384,null,0,g.a,[f.a],{gaCat:[0,"gaCat"],gaAction:[1,"gaAction"]},null),(e()(),l["ɵted"](22,2,["\n ","\n "])),l["ɵpid"](131072,m.a,[b.a,l.ChangeDetectorRef]),(e()(),l["ɵted"](-1,null,["\n "])),(e()(),l["ɵeld"](25,0,null,null,8,"button",[["class","item item-block"],["gaAction","menu_help"],["gaCat","menu"],["ion-item",""]],null,[[null,"click"]],function(e,t,n){var i=!0,s=e.component;if("click"===t){i=!1!==l["ɵnov"](e,31).onClick(n)&&i}if("click"===t){i=!1!==s.openOtherPage(s.APP_STATE.HELP)&&i}return i},a.b,a.a)),l["ɵdid"](26,1097728,null,3,u.a,[c.a,h.a,l.ElementRef,l.Renderer,[2,d.a]],null,null),l["ɵqud"](335544320,10,{contentLabel:0}),l["ɵqud"](603979776,11,{_buttons:1}),l["ɵqud"](603979776,12,{_icons:1}),l["ɵdid"](30,16384,null,0,p.a,[],null,null),l["ɵdid"](31,16384,null,0,g.a,[f.a],{gaCat:[0,"gaCat"],gaAction:[1,"gaAction"]},null),(e()(),l["ɵted"](32,2,["\n ","\n "])),l["ɵpid"](131072,m.a,[b.a,l.ChangeDetectorRef]),(e()(),l["ɵted"](-1,null,["\n "])),(e()(),l["ɵand"](16777216,null,null,3,null,r)),l["ɵdid"](36,16384,null,0,I.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),l["ɵpid"](131072,I.AsyncPipe,[l.ChangeDetectorRef]),l["ɵpid"](131072,I.AsyncPipe,[l.ChangeDetectorRef]),(e()(),l["ɵted"](-1,null,["\n "])),(e()(),l["ɵeld"](40,0,null,null,8,"button",[["class","item item-block"],["gaAction","menu_log_out"],["gaCat","menu"],["id","user-menu-logout-button"],["ion-item",""]],null,[[null,"click"]],function(e,t,n){var i=!0,s=e.component;if("click"===t){i=!1!==l["ɵnov"](e,46).onClick(n)&&i}if("click"===t){i=!1!==s.logOut()&&i}return i},a.b,a.a)),l["ɵdid"](41,1097728,null,3,u.a,[c.a,h.a,l.ElementRef,l.Renderer,[2,d.a]],null,null),l["ɵqud"](335544320,16,{contentLabel:0}),l["ɵqud"](603979776,17,{_buttons:1}),l["ɵqud"](603979776,18,{_icons:1}),l["ɵdid"](45,16384,null,0,p.a,[],null,null),l["ɵdid"](46,16384,null,0,g.a,[f.a],{gaCat:[0,"gaCat"],gaAction:[1,"gaAction"]},null),(e()(),l["ɵted"](47,2,["\n ","\n "])),l["ɵpid"](131072,m.a,[b.a,l.ChangeDetectorRef]),(e()(),l["ɵted"](-1,null,["\n "])),(e()(),l["ɵted"](-1,null,["\n "]))],function(e,t){var n=t.component;e(t,5,0,l["ɵunv"](t,5,0,l["ɵnov"](t,6).transform(n.user)));var i=null;e(t,10,0,(null==(i=l["ɵunv"](t,10,0,l["ɵnov"](t,11).transform(n.subscribe)))?null:i.type)<=2&&!l["ɵunv"](t,10,0,l["ɵnov"](t,12).transform(n.user)).isBussinessMember&&n.s.allowPayment(l["ɵunv"](t,10,0,l["ɵnov"](t,13).transform(n.subscribe))));e(t,21,0,"menu","menu_manage_account");e(t,31,0,"menu","menu_help");e(t,36,0,(1==l["ɵunv"](t,36,0,l["ɵnov"](t,37).transform(n.user)).role||2==l["ɵunv"](t,36,0,l["ɵnov"](t,38).transform(n.user)).role)&&!n.s.is.cordova);e(t,46,0,"menu","menu_log_out")},function(e,t){e(t,22,0,l["ɵunv"](t,22,0,l["ɵnov"](t,23).transform("MANAGE_ACCOUNT")));e(t,32,0,l["ɵunv"](t,32,0,l["ɵnov"](t,33).transform("HELP_AND_FEEDBACK")));e(t,47,0,l["ɵunv"](t,47,0,l["ɵnov"](t,48).transform("LOG_OUT")))})}n.d(t,"a",function(){return k});var l=n(1),a=n(85),u=n(38),c=n(37),h=n(4),d=n(66),p=n(74),g=n(114),f=n(43),m=n(21),b=n(17),v=n(59),y=n(8),E=n(23),w=n(12),I=n(11),S=n(303),_=n(7),C=n(13),T=n(77),N=n(14),R=n(5),O=n(44),D=l["ɵcrt"]({encapsulation:2,styles:[],data:{}}),k=l["ɵccf"]("user-menu-popover",S.a,function(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"user-menu-popover",[],null,null,null,o,D)),l["ɵdid"](1,114688,null,0,S.a,[_.a,C.a,T.a,N.a,R.f,O.a],null,null)],function(e,t){e(t,1,0)},null)},{},{},[])},688:function(e,t,n){"use strict";function i(e){return s["ɵvid"](2,[(e()(),s["ɵted"](-1,null,["\n\t"])),(e()(),s["ɵeld"](1,0,null,null,8,"ion-content",[],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,r.b,r.a)),s["ɵdid"](2,4374528,null,0,o.a,[l.a,a.a,u.a,s.ElementRef,s.Renderer,c.a,h.a,s.NgZone,[2,d.a],[2,p.a]],null,null),(e()(),s["ɵted"](-1,1,["\n\t\t"])),(e()(),s["ɵeld"](4,0,null,1,1,"h3",[],null,null,null,null,null)),(e()(),s["ɵted"](-1,null,["Signed"])),(e()(),s["ɵted"](-1,1,["\n "])),(e()(),s["ɵeld"](7,0,null,1,1,"p",[],null,null,null,null,null)),(e()(),s["ɵted"](-1,null,["Please go back to the browser using the back button."])),(e()(),s["ɵted"](-1,1,["\n "])),(e()(),s["ɵted"](-1,null,["\n\t"]))],null,function(e,t){e(t,1,0,s["ɵnov"](t,2).statusbarPadding,s["ɵnov"](t,2)._hasRefresher)})}n.d(t,"a",function(){return v});var s=n(1),r=n(46),o=n(29),l=n(4),a=n(8),u=n(12),c=n(13),h=n(35),d=n(7),p=n(25),g=n(651),f=n(77),m=n(5),b=s["ɵcrt"]({encapsulation:0,styles:["p[_ngcontent-%COMP%] {\n\t\t\ttext-align: center;\n\t\t\tfont-size: 15px;\n\t\t\tmargin: 0;\n\t\t}\n\n\t\th3[_ngcontent-%COMP%] {\n\t\t\tmargin: 0;\n\t\t\tfont-size: 20px;\n\t\t\ttext-align: center;\n\t\t\tmargin-bottom: 30px;\n\t\t}\n\n\t\tp[_ngcontent-%COMP%]:first-child {\n\t\t\tpadding-top: 20px;\n\t\t}"],data:{}}),v=s["ɵccf"]("select-signer",g.a,function(e){return s["ɵvid"](0,[(e()(),s["ɵeld"](0,0,null,null,1,"select-signer",[],null,null,null,i,b)),s["ɵdid"](1,49152,null,0,g.a,[a.a,f.a,d.a,m.f],null,null)],null,null)},{},{},[])},689:function(e,t,n){"use strict";function i(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,6,"button",[["class","button fingerprint transparent"],["icon-start",""],["ion-button",""],["type","button"]],null,[[null,"click"]],function(e,t,n){var i=!0;if("click"===t){i=!1!==e.component.signWithFingerprint()&&i}return i},o.b,o.a)),r["ɵdid"](1,1097728,null,0,l.a,[[8,""],a.a,r.ElementRef,r.Renderer],null,null),(e()(),r["ɵted"](-1,0,["\n "])),(e()(),r["ɵeld"](3,0,null,0,1,"ion-icon",[["name","finger-print"],["role","img"]],[[2,"hide",null]],null,null,null,null)),r["ɵdid"](4,147456,null,0,u.a,[a.a,r.ElementRef,r.Renderer],{name:[0,"name"]},null),(e()(),r["ɵted"](5,0,["\n ","\n "])),r["ɵpid"](131072,c.a,[h.a,r.ChangeDetectorRef])],function(e,t){e(t,4,0,"finger-print")},function(e,t){var n=t.component;e(t,3,0,r["ɵnov"](t,4)._hidden);e(t,5,0,r["ɵunv"](t,5,0,r["ɵnov"](t,6).transform(n.s.is.ios?"face"==n.fingerprint.biometryType?"SIGN_WITH_FINGERPRINT_IOS_FACE":"SIGN_WITH_FINGERPRINT_IOS":"SIGN_WITH_FINGERPRINT")))})}function s(e){return r["ɵvid"](2,[r["ɵqud"](402653184,1,{input:0}),(e()(),r["ɵted"](-1,null,["\n "])),(e()(),r["ɵeld"](2,0,null,null,10,"ion-header",[],null,null,null,null,null)),r["ɵdid"](3,16384,null,0,d.a,[a.a,r.ElementRef,r.Renderer,[2,p.a]],null,null),(e()(),r["ɵted"](-1,null,["\n "])),(e()(),r["ɵeld"](5,0,null,null,6,"ion-navbar",[["class","toolbar"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,g.b,g.a)),r["ɵdid"](6,49152,null,0,f.a,[m.a,[2,p.a],[2,b.a],a.a,r.ElementRef,r.Renderer],null,null),(e()(),r["ɵted"](-1,3,["\n "])),(e()(),r["ɵeld"](8,0,null,3,2,"div",[["class","title"]],null,null,null,null,null)),(e()(),r["ɵted"](9,null,["",""])),r["ɵpid"](131072,c.a,[h.a,r.ChangeDetectorRef]),(e()(),r["ɵted"](-1,3,["\n "])),(e()(),r["ɵted"](-1,null,["\n "])),(e()(),r["ɵted"](-1,null,["\n "])),(e()(),r["ɵeld"](14,0,null,null,42,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,v.b,v.a)),r["ɵdid"](15,4374528,null,0,y.a,[a.a,E.a,w.a,r.ElementRef,r.Renderer,m.a,I.a,r.NgZone,[2,p.a],[2,b.a]],null,null),(e()(),r["ɵted"](-1,1,["\n "])),(e()(),r["ɵeld"](17,0,null,1,38,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(e,t,n){var i=!0,s=e.component;if("submit"===t){i=!1!==r["ɵnov"](e,19).onSubmit(n)&&i}if("reset"===t){i=!1!==r["ɵnov"](e,19).onReset()&&i}if("submit"===t){i=!1!==s.confirm()&&i}return i},null,null)),r["ɵdid"](18,16384,null,0,S.y,[],null,null),r["ɵdid"](19,4210688,null,0,S.p,[[8,null],[8,null]],null,null),r["ɵprd"](2048,null,S.b,null,[S.p]),r["ɵdid"](21,16384,null,0,S.o,[S.b],null,null),(e()(),r["ɵted"](-1,null,["\n "])),(e()(),r["ɵeld"](23,0,null,null,2,"p",[["class","message"]],null,null,null,null,null)),(e()(),r["ɵted"](24,null,["",""])),r["ɵpid"](131072,c.a,[h.a,r.ChangeDetectorRef]),(e()(),r["ɵted"](-1,null,["\n "])),(e()(),r["ɵeld"](27,0,null,null,10,"ion-item",[["class","item item-block"]],null,null,null,_.b,_.a)),r["ɵdid"](28,1097728,null,3,C.a,[T.a,a.a,r.ElementRef,r.Renderer,[2,N.a]],null,null),r["ɵqud"](335544320,2,{contentLabel:0}),r["ɵqud"](603979776,3,{_buttons:1}),r["ɵqud"](603979776,4,{_icons:1}),r["ɵdid"](32,16384,null,0,R.a,[],null,null),(e()(),r["ɵted"](-1,2,["\n "])),(e()(),r["ɵeld"](34,0,null,3,2,"ion-input",[["clearOnEdit","false"],["name","password"],["passwordToggle",""]],null,null,null,O.b,O.a)),r["ɵdid"](35,5423104,[[1,4],["input",4]],0,D.a,[a.a,E.a,T.a,m.a,r.ElementRef,r.Renderer,[2,y.a],[2,C.a],[2,S.m],w.a],{type:[0,"type"],clearOnEdit:[1,"clearOnEdit"],placeholder:[2,"placeholder"]},null),r["ɵdid"](36,4210688,null,0,k.a,[r.ElementRef,r.Renderer2,L.f],null,null),(e()(),r["ɵted"](-1,2,["\n "])),(e()(),r["ɵted"](-1,null,["\n\n "])),(e()(),r["ɵeld"](39,0,null,null,4,"div",[["class","fingerprint-button-wrapper"]],null,null,null,null,null)),(e()(),r["ɵted"](-1,null,["\n "])),(e()(),r["ɵand"](16777216,null,null,1,null,i)),r["ɵdid"](42,16384,null,0,A.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵted"](-1,null,["\n "])),(e()(),r["ɵted"](-1,null,["\n\n "])),(e()(),r["ɵeld"](45,0,null,null,9,"div",[["class","controls"]],null,null,null,null,null)),(e()(),r["ɵted"](-1,null,["\n "])),(e()(),r["ɵeld"](47,0,null,null,2,"button",[["class","button transparent cancel"],["type","button"]],null,[[null,"click"]],function(e,t,n){var i=!0;if("click"===t){i=!1!==e.component.cancel()&&i}return i},null,null)),(e()(),r["ɵted"](48,null,["",""])),r["ɵpid"](131072,c.a,[h.a,r.ChangeDetectorRef]),(e()(),r["ɵted"](-1,null,["\n "])),(e()(),r["ɵeld"](51,0,null,null,2,"button",[["class","button transparent"],["type","submit"]],[[8,"disabled",0]],null,null,null,null)),(e()(),r["ɵted"](52,null,["",""])),r["ɵpid"](131072,c.a,[h.a,r.ChangeDetectorRef]),(e()(),r["ɵted"](-1,null,["\n "])),(e()(),r["ɵted"](-1,null,["\n "])),(e()(),r["ɵted"](-1,1,["\n "])),(e()(),r["ɵted"](-1,null,["\n "]))],function(e,t){var n=t.component;e(t,35,0,n.inputOpts.type,"false",n.inputOpts.placeholder);e(t,42,0,n.fingerprint.isEnabled&&!n.hideFingerprint)},function(e,t){var n=t.component;e(t,5,0,r["ɵnov"](t,6)._hidden,r["ɵnov"](t,6)._sbPadding);e(t,9,0,r["ɵunv"](t,9,0,r["ɵnov"](t,10).transform(n.title)));e(t,14,0,r["ɵnov"](t,15).statusbarPadding,r["ɵnov"](t,15)._hasRefresher);e(t,17,0,r["ɵnov"](t,21).ngClassUntouched,r["ɵnov"](t,21).ngClassTouched,r["ɵnov"](t,21).ngClassPristine,r["ɵnov"](t,21).ngClassDirty,r["ɵnov"](t,21).ngClassValid,r["ɵnov"](t,21).ngClassInvalid,r["ɵnov"](t,21).ngClassPending);e(t,24,0,r["ɵunv"](t,24,0,r["ɵnov"](t,25).transform(n.message)));e(t,48,0,r["ɵunv"](t,48,0,r["ɵnov"](t,49).transform("CANCEL")));e(t,51,0,r["ɵnov"](t,35).value.length<1);e(t,52,0,r["ɵunv"](t,52,0,r["ɵnov"](t,53).transform("CONFIRM")))})}n.d(t,"a",function(){return V});var r=n(1),o=n(41),l=n(33),a=n(4),u=n(47),c=n(21),h=n(17),d=n(58),p=n(7),g=n(65),f=n(45),m=n(13),b=n(25),v=n(46),y=n(29),E=n(8),w=n(12),I=n(35),S=n(20),_=n(85),C=n(38),T=n(37),N=n(66),R=n(74),O=n(173),D=n(104),k=n(248),L=n(5),A=n(11),x=n(314),M=n(18),P=n(14),U=n(78),j=n(19),F=r["ɵcrt"]({encapsulation:2,styles:[],data:{}}),V=r["ɵccf"]("password-alert",x.a,function(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"password-alert",[],null,null,null,s,F)),r["ɵdid"](1,49152,null,0,x.a,[h.a,L.f,M.a,p.a,P.a,U.a,j.a,r.ChangeDetectorRef],null,null)],null,null)},{},{},[])},690:function(e,t,n){"use strict";function i(e){return o["ɵvid"](0,[(e()(),o["ɵeld"](0,0,null,null,14,"ion-item",[["class","item item-block"]],null,null,null,l.b,l.a)),o["ɵdid"](1,1097728,null,3,a.a,[u.a,c.a,o.ElementRef,o.Renderer,[2,h.a]],null,null),o["ɵqud"](335544320,2,{contentLabel:0}),o["ɵqud"](603979776,3,{_buttons:1}),o["ɵqud"](603979776,4,{_icons:1}),o["ɵdid"](5,16384,null,0,d.a,[],null,null),(e()(),o["ɵted"](-1,2,["\n "])),(e()(),o["ɵeld"](7,0,null,1,3,"ion-label",[["floating",""]],null,null,null,null,null)),o["ɵdid"](8,16384,[[2,4]],0,p.a,[c.a,o.ElementRef,o.Renderer,[8,""],[8,null],[8,null],[8,null]],null,null),(e()(),o["ɵted"](9,null,["",""])),o["ɵpid"](131072,g.a,[f.a,o.ChangeDetectorRef]),(e()(),o["ɵted"](-1,2,["\n "])),(e()(),o["ɵeld"](12,0,null,3,1,"ion-input",[["name","password"],["type","password"]],null,null,null,m.b,m.a)),o["ɵdid"](13,5423104,[[1,4],["input",4]],0,b.a,[c.a,v.a,u.a,y.a,o.ElementRef,o.Renderer,[2,E.a],[2,a.a],[2,w.m],I.a],{type:[0,"type"]},null),(e()(),o["ɵted"](-1,2,["\n "]))],function(e,t){e(t,13,0,"password")},function(e,t){e(t,9,0,o["ɵunv"](t,9,0,o["ɵnov"](t,10).transform("PLEASE_ENTER_YOUR_PASSWORD_HERE")))})}function s(e){return o["ɵvid"](0,[(e()(),o["ɵeld"](0,0,null,null,2,"span",[],null,null,null,null,null)),(e()(),o["ɵted"](1,null,["",""])),o["ɵpid"](131072,g.a,[f.a,o.ChangeDetectorRef])],null,function(e,t){e(t,1,0,o["ɵunv"](t,1,0,o["ɵnov"](t,2).transform("ALL_FINGERPRINTS_ON_THIS_DEVICE")))})}function r(e){return o["ɵvid"](0,[o["ɵqud"](671088640,1,{input:0}),(e()(),o["ɵted"](-1,null,["\n "])),(e()(),o["ɵeld"](2,0,null,null,48,"ion-content",[],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,S.b,S.a)),o["ɵdid"](3,4374528,null,0,E.a,[c.a,v.a,I.a,o.ElementRef,o.Renderer,y.a,_.a,o.NgZone,[2,C.a],[2,T.a]],null,null),(e()(),o["ɵted"](-1,1,["\n "])),(e()(),o["ɵeld"](5,0,null,1,44,"form",[["class","content-wrapper"],["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(e,t,n){var i=!0,s=e.component;if("submit"===t){i=!1!==o["ɵnov"](e,7).onSubmit(n)&&i}if("reset"===t){i=!1!==o["ɵnov"](e,7).onReset()&&i}if("submit"===t){i=!1!==s.enable()&&i}return i},null,null)),o["ɵdid"](6,16384,null,0,w.y,[],null,null),o["ɵdid"](7,4210688,null,0,w.p,[[8,null],[8,null]],null,null),o["ɵprd"](2048,null,w.b,null,[w.p]),o["ɵdid"](9,16384,null,0,w.o,[w.b],null,null),(e()(),o["ɵted"](-1,null,["\n "])),(e()(),o["ɵeld"](11,0,null,null,15,"div",[["class","content"]],null,null,null,null,null)),(e()(),o["ɵted"](-1,null,["\n "])),(e()(),o["ɵeld"](13,0,null,null,1,"ion-icon",[["name","finger-print"],["role","img"]],[[2,"hide",null]],null,null,null,null)),o["ɵdid"](14,147456,null,0,N.a,[c.a,o.ElementRef,o.Renderer],{name:[0,"name"]},null),(e()(),o["ɵted"](-1,null,["\n "])),(e()(),o["ɵeld"](16,0,null,null,2,"h1",[],null,null,null,null,null)),(e()(),o["ɵted"](17,null,["\n ",""])),o["ɵpid"](131072,g.a,[f.a,o.ChangeDetectorRef]),(e()(),o["ɵted"](-1,null,["\n "])),(e()(),o["ɵeld"](20,0,null,null,2,"p",[["class","message"]],null,null,null,null,null)),(e()(),o["ɵted"](21,null,["\n ","\n "])),o["ɵpid"](131072,g.a,[f.a,o.ChangeDetectorRef]),(e()(),o["ɵted"](-1,null,["\n "])),(e()(),o["ɵand"](16777216,null,null,1,null,i)),o["ɵdid"](25,16384,null,0,R.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["ɵted"](-1,null,["\n "])),(e()(),o["ɵted"](-1,null,["\n "])),(e()(),o["ɵeld"](28,0,null,null,8,"p",[],null,null,null,null,null)),(e()(),o["ɵted"](-1,null,["\n "])),(e()(),o["ɵand"](16777216,null,null,1,null,s)),o["ɵdid"](31,16384,null,0,R.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["ɵted"](-1,null,["\n "])),(e()(),o["ɵeld"](33,0,null,null,2,"span",[],null,null,null,null,null)),(e()(),o["ɵted"](34,null,["",""])),o["ɵpid"](131072,g.a,[f.a,o.ChangeDetectorRef]),(e()(),o["ɵted"](-1,null,["\n "])),(e()(),o["ɵted"](-1,null,["\n "])),(e()(),o["ɵeld"](38,0,null,null,10,"div",[["class","controls"]],null,null,null,null,null)),(e()(),o["ɵted"](-1,null,["\n "])),(e()(),o["ɵeld"](40,0,null,null,3,"button",[["class","button transparent cancel"],["type","button"]],null,[[null,"click"]],function(e,t,n){var i=!0;if("click"===t){i=!1!==e.component.notNow()&&i}return i},null,null)),(e()(),o["ɵted"](41,null,["\n ","\n "])),o["ɵpid"](131072,g.a,[f.a,o.ChangeDetectorRef]),o["ɵpid"](131072,g.a,[f.a,o.ChangeDetectorRef]),(e()(),o["ɵted"](-1,null,["\n "])),(e()(),o["ɵeld"](45,0,null,null,2,"button",[["class","button transparent"],["type","submit"]],[[8,"disabled",0]],null,null,null,null)),(e()(),o["ɵted"](46,null,["\n ","\n "])),o["ɵpid"](131072,g.a,[f.a,o.ChangeDetectorRef]),(e()(),o["ɵted"](-1,null,["\n "])),(e()(),o["ɵted"](-1,null,["\n "])),(e()(),o["ɵted"](-1,1,["\n "])),(e()(),o["ɵted"](-1,null,["\n "]))],function(e,t){var n=t.component;e(t,14,0,"finger-print");e(t,25,0,!n.fromLogin);e(t,31,0,!(n.s.is.ios&&"face"==n.fingerprint.biometryType))},function(e,t){var n=t.component;e(t,2,0,o["ɵnov"](t,3).statusbarPadding,o["ɵnov"](t,3)._hasRefresher);e(t,5,0,o["ɵnov"](t,9).ngClassUntouched,o["ɵnov"](t,9).ngClassTouched,o["ɵnov"](t,9).ngClassPristine,o["ɵnov"](t,9).ngClassDirty,o["ɵnov"](t,9).ngClassValid,o["ɵnov"](t,9).ngClassInvalid,o["ɵnov"](t,9).ngClassPending);e(t,13,0,o["ɵnov"](t,14)._hidden);e(t,17,0,o["ɵunv"](t,17,0,o["ɵnov"](t,18).transform(n.s.is.ios?"face"==n.fingerprint.biometryType?"USE_YOUR_FINGERPRINT_IOS_FACE":"USE_YOUR_FINGERPRINT_IOS":"USE_YOUR_FINGERPRINT")));e(t,21,0,o["ɵunv"](t,21,0,o["ɵnov"](t,22).transform("USE_FINGERPRINT_FOR_ACCESS")));e(t,34,0,n.fromLogin?o["ɵunv"](t,34,0,o["ɵnov"](t,35).transform("CHANGE_THIS_LATER_IN_PROFILE")):"");e(t,41,0,o["ɵunv"](t,41,0,n.fromLogin?o["ɵnov"](t,42).transform("NOT_NOW"):o["ɵnov"](t,43).transform("CANCEL")));e(t,45,0,!!n.input&&n.input.value.length<1);e(t,46,0,o["ɵunv"](t,46,0,o["ɵnov"](t,47).transform("ENABLE")))})}n.d(t,"a",function(){return U});var o=n(1),l=n(85),a=n(38),u=n(37),c=n(4),h=n(66),d=n(74),p=n(79),g=n(21),f=n(17),m=n(173),b=n(104),v=n(8),y=n(13),E=n(29),w=n(20),I=n(12),S=n(46),_=n(35),C=n(7),T=n(25),N=n(47),R=n(11),O=n(176),D=n(5),k=n(14),L=n(18),A=n(19),x=n(15),M=n(78),P=o["ɵcrt"]({encapsulation:2,styles:[],data:{}}),U=o["ɵccf"]("fingerprint-modal",O.a,function(e){return o["ɵvid"](0,[(e()(),o["ɵeld"](0,0,null,null,1,"fingerprint-modal",[],null,null,null,r,P)),o["ɵdid"](1,49152,null,0,O.a,[D.f,k.a,f.a,C.a,L.a,A.a,x.e,M.a],null,null)],null,null)},{},{},[])},691:function(e,t,n){"use strict";function i(e){return v["ɵvid"](0,[(e()(),v["ɵeld"](0,0,null,null,2,"h2",[],null,null,null,null,null)),(e()(),v["ɵted"](1,null,["",""])),v["ɵpid"](131072,y.a,[E.a,v.ChangeDetectorRef])],null,function(e,t){e(t,1,0,v["ɵunv"](t,1,0,v["ɵnov"](t,2).transform("SUMMARY")))})}function s(e){return v["ɵvid"](0,[(e()(),v["ɵeld"](0,0,null,null,23,null,null,null,null,null,null,null)),(e()(),v["ɵted"](-1,null,["\n "])),(e()(),v["ɵeld"](2,0,null,null,20,"div",[["class","address"]],null,null,null,null,null)),(e()(),v["ɵted"](-1,null,["\n "])),(e()(),v["ɵeld"](4,0,null,null,2,"h3",[],null,null,null,null,null)),(e()(),v["ɵted"](5,null,["",""])),v["ɵpid"](131072,y.a,[E.a,v.ChangeDetectorRef]),(e()(),v["ɵted"](-1,null,["\n "])),(e()(),v["ɵeld"](8,0,null,null,13,"div",[],null,null,null,null,null)),(e()(),v["ɵted"](-1,null,["\n "])),(e()(),v["ɵeld"](10,0,null,null,1,"b",[],null,null,null,null,null)),(e()(),v["ɵted"](-1,null,["LetsSign"])),(e()(),v["ɵeld"](12,0,null,null,0,"br",[],null,null,null,null,null)),(e()(),v["ɵted"](-1,null,["\n Alameda Francisco Alves, 169"])),(e()(),v["ɵeld"](14,0,null,null,0,"br",[],null,null,null,null,null)),(e()(),v["ɵted"](-1,null,["\n 80. Andar"])),(e()(),v["ɵeld"](16,0,null,null,0,"br",[],null,null,null,null,null)),(e()(),v["ɵted"](-1,null,["\n 09090-790 Santo André - SP"])),(e()(),v["ɵeld"](18,0,null,null,0,"br",[],null,null,null,null,null)),(e()(),v["ɵted"](19,null,["\n ",""])),(e()(),v["ɵeld"](20,0,null,null,0,"br",[],null,null,null,null,null)),(e()(),v["ɵted"](-1,null,["\n "])),(e()(),v["ɵted"](-1,null,["\n "])),(e()(),v["ɵted"](-1,null,["\n "]))],null,function(e,t){var n=t.component;e(t,5,0,v["ɵunv"](t,5,0,v["ɵnov"](t,6).transform("BILLING_ADDRESS")));e(t,19,0,n.countries.getName("BRA",t.parent.context.ngIf.currentLanguage))})}function r(e){return v["ɵvid"](0,[(e()(),v["ɵeld"](0,0,null,null,4,"button",[["class","button transparent outline edit"],["gaAction","checkout_edit_address"],["gaCat","checkout"],["ion-button",""],["small",""]],null,[[null,"click"]],function(e,t,n){var i=!0;if("click"===t){i=!1!==v["ɵnov"](e,2).onClick(n)&&i}if("click"===t){i=!1!=(e.parent.context.ngIf.isInEditMode=!e.parent.context.ngIf.isInEditMode)&&i}return i},w.b,w.a)),v["ɵdid"](1,1097728,null,0,I.a,[[8,""],S.a,v.ElementRef,v.Renderer],{small:[0,"small"]},null),v["ɵdid"](2,16384,null,0,_.a,[C.a],{gaCat:[0,"gaCat"],gaAction:[1,"gaAction"]},null),(e()(),v["ɵted"](3,0,["\n ","\n "])),v["ɵpid"](131072,y.a,[E.a,v.ChangeDetectorRef])],function(e,t){e(t,1,0,"");e(t,2,0,"checkout","checkout_edit_address")},function(e,t){e(t,3,0,v["ɵunv"](t,3,0,v["ɵnov"](t,4).transform("EDIT_ADDRESS")))})}function o(e){return v["ɵvid"](0,[(e()(),v["ɵeld"](0,0,null,null,8,null,null,null,null,null,null,null)),(e()(),v["ɵted"](-1,null,["\n "])),(e()(),v["ɵeld"](2,0,null,null,2,"h2",[],null,null,null,null,null)),(e()(),v["ɵted"](3,null,["",""])),v["ɵpid"](131072,y.a,[E.a,v.ChangeDetectorRef]),(e()(),v["ɵted"](-1,null,["\n "])),(e()(),v["ɵeld"](6,0,null,null,1,"s-form",[],null,[[null,"values"]],function(e,t,n){var i=!0;if("values"===t){i=!1!==e.component.billingInfoChange(n)&&i}return i},T.b,T.a)),v["ɵdid"](7,4440064,null,0,N.a,[R.a,O.a,v.ChangeDetectorRef],{structure:[0,"structure"]},{values:"values"}),(e()(),v["ɵted"](-1,null,["\n "]))],function(e,t){e(t,7,0,t.component.addressForm)},function(e,t){e(t,3,0,v["ɵunv"](t,3,0,v["ɵnov"](t,4).transform("BILLING_ADDRESS")))})}function l(e){return v["ɵvid"](0,[(e()(),v["ɵeld"](0,0,null,null,1,"loading",[],null,null,null,D.b,D.a)),v["ɵdid"](1,49152,null,0,k.a,[v.ElementRef],null,null)],null,null)}function a(e){return v["ɵvid"](0,[(e()(),v["ɵeld"](0,0,null,null,17,"div",[["class","cardForm"]],[[2,"hidden",null]],null,null,null,null)),(e()(),v["ɵted"](-1,null,["\n "])),(e()(),v["ɵand"](16777216,null,null,1,null,l)),v["ɵdid"](3,16384,null,0,L.NgIf,[v.ViewContainerRef,v.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),v["ɵted"](-1,null,["\n "])),(e()(),v["ɵeld"](5,0,null,null,2,"div",[["class","payment-title"]],null,null,null,null,null)),(e()(),v["ɵted"](6,null,["",""])),v["ɵpid"](131072,y.a,[E.a,v.ChangeDetectorRef]),(e()(),v["ɵted"](-1,null,["\n "])),(e()(),v["ɵeld"](9,0,null,null,7,"div",[["class","payment-info"]],null,null,null,null,null)),(e()(),v["ɵted"](-1,null,["\n "])),(e()(),v["ɵeld"](11,0,null,null,0,"div",[["class","cnn"],["data-bluesnap","ccn"]],null,null,null,null,null)),(e()(),v["ɵted"](-1,null,["\n "])),(e()(),v["ɵeld"](13,0,null,null,0,"div",[["class","exp"],["data-bluesnap","exp"]],null,null,null,null,null)),(e()(),v["ɵted"](-1,null,["\n "])),(e()(),v["ɵeld"](15,0,null,null,0,"div",[["class","cvv"],["data-bluesnap","cvv"]],null,null,null,null,null)),(e()(),v["ɵted"](-1,null,["\n "])),(e()(),v["ɵted"](-1,null,["\n "]))],function(e,t){e(t,3,0,!t.parent.context.ngIf.paymentInfo.isReady)},function(e,t){e(t,0,0,t.parent.context.ngIf.isInEditMode);e(t,6,0,v["ɵunv"](t,6,0,v["ɵnov"](t,7).transform("PAYMENT_INFORMATION")))})}function u(e){return v["ɵvid"](0,[(e()(),v["ɵeld"](0,0,null,null,10,"ion-item",[["class","item item-block"]],null,null,null,A.b,A.a)),v["ɵdid"](1,1097728,null,3,x.a,[M.a,S.a,v.ElementRef,v.Renderer,[2,P.a]],null,null),v["ɵqud"](335544320,8,{contentLabel:0}),v["ɵqud"](603979776,9,{_buttons:1}),v["ɵqud"](603979776,10,{_icons:1}),v["ɵdid"](5,16384,null,0,U.a,[],null,null),(e()(),v["ɵted"](-1,2,["\n "])),(e()(),v["ɵeld"](7,0,null,0,1,"ion-icon",[["item-start",""],["name","checkmark"],["role","img"]],[[2,"hide",null]],null,null,null,null)),v["ɵdid"](8,147456,[[10,4]],0,j.a,[S.a,v.ElementRef,v.Renderer],{name:[0,"name"]},null),(e()(),v["ɵted"](9,2,["\n ","\n "])),v["ɵpid"](131072,y.a,[E.a,v.ChangeDetectorRef])],function(e,t){e(t,8,0,"checkmark")},function(e,t){e(t,7,0,v["ɵnov"](t,8)._hidden);e(t,9,0,v["ɵunv"](t,9,0,v["ɵnov"](t,10).transform(t.context.$implicit)))})}function c(e){return v["ɵvid"](0,[(e()(),v["ɵeld"](0,0,null,null,26,"ion-list",[["class","included-features"]],null,null,null,null,null)),v["ɵdid"](1,16384,null,0,F.a,[S.a,v.ElementRef,v.Renderer,V.a,G.l,B.a],null,null),(e()(),v["ɵted"](-1,null,["\n "])),(e()(),v["ɵeld"](3,0,null,null,7,"ion-list-header",[["class","item"]],null,null,null,A.b,A.a)),v["ɵdid"](4,1097728,null,3,x.a,[M.a,S.a,v.ElementRef,v.Renderer,[2,P.a]],null,null),v["ɵqud"](335544320,2,{contentLabel:0}),v["ɵqud"](603979776,3,{_buttons:1}),v["ɵqud"](603979776,4,{_icons:1}),v["ɵdid"](8,16384,null,0,z.a,[S.a,v.Renderer,v.ElementRef,[8,null]],null,null),(e()(),v["ɵted"](9,2,["\n ","\n "])),v["ɵpid"](131072,y.a,[E.a,v.ChangeDetectorRef]),(e()(),v["ɵted"](-1,null,["\n "])),(e()(),v["ɵeld"](12,0,null,null,10,"ion-item",[["class","item item-block"]],null,null,null,A.b,A.a)),v["ɵdid"](13,1097728,null,3,x.a,[M.a,S.a,v.ElementRef,v.Renderer,[2,P.a]],null,null),v["ɵqud"](335544320,5,{contentLabel:0}),v["ɵqud"](603979776,6,{_buttons:1}),v["ɵqud"](603979776,7,{_icons:1}),v["ɵdid"](17,16384,null,0,U.a,[],null,null),(e()(),v["ɵted"](-1,2,["\n "])),(e()(),v["ɵeld"](19,0,null,0,1,"ion-icon",[["item-start",""],["name","checkmark"],["role","img"]],[[2,"hide",null]],null,null,null,null)),v["ɵdid"](20,147456,[[7,4]],0,j.a,[S.a,v.ElementRef,v.Renderer],{name:[0,"name"]},null),(e()(),v["ɵted"](21,2,["\n ","\n "])),v["ɵpid"](131072,y.a,[E.a,v.ChangeDetectorRef]),(e()(),v["ɵted"](-1,null,["\n "])),(e()(),v["ɵand"](16777216,null,null,1,null,u)),v["ɵdid"](25,802816,null,0,L.NgForOf,[v.ViewContainerRef,v.TemplateRef,v.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(e()(),v["ɵted"](-1,null,["\n "]))],function(e,t){e(t,20,0,"checkmark");e(t,25,0,t.parent.parent.context.ngIf.selectedPlan.features)},function(e,t){e(t,9,0,v["ɵunv"](t,9,0,v["ɵnov"](t,10).transform("INCLUDED_FEATURES")));e(t,19,0,v["ɵnov"](t,20)._hidden);e(t,21,0,v["ɵunv"](t,21,0,v["ɵnov"](t,22).transform(t.parent.parent.context.ngIf.selectedPlan.numberOfDocuments)))})}function h(e){return v["ɵvid"](0,[(e()(),v["ɵeld"](0,0,null,null,2,"span",[["class","per-month"]],null,null,null,null,null)),(e()(),v["ɵted"](1,null,["",""])),v["ɵpid"](131072,y.a,[E.a,v.ChangeDetectorRef])],null,function(e,t){e(t,1,0,v["ɵunv"](t,1,0,v["ɵnov"](t,2).transform("PER_MONTH")))})}function d(e){return v["ɵvid"](0,[(e()(),v["ɵeld"](0,0,null,null,2,"span",[["class","per-year"]],null,null,null,null,null)),(e()(),v["ɵted"](1,null,["",""])),v["ɵpid"](131072,y.a,[E.a,v.ChangeDetectorRef])],null,function(e,t){e(t,1,0,v["ɵunv"](t,1,0,v["ɵnov"](t,2).transform("PER_YEAR")))})}function p(e){return v["ɵvid"](0,[(e()(),v["ɵeld"](0,0,null,null,2,"p",[["class","info"]],null,null,null,null,null)),(e()(),v["ɵted"](1,null,["",""])),v["ɵpid"](131072,y.a,[E.a,v.ChangeDetectorRef])],null,function(e,t){e(t,1,0,v["ɵunv"](t,1,0,v["ɵnov"](t,2).transform("ON_THE_RENEWAL_DATE")))})}function g(e){return v["ɵvid"](0,[(e()(),v["ɵeld"](0,0,null,null,2,"p",[["class","info"]],null,null,null,null,null)),(e()(),v["ɵted"](1,null,["",""])),v["ɵpid"](131072,y.a,[E.a,v.ChangeDetectorRef])],null,function(e,t){e(t,1,0,v["ɵunv"](t,1,0,v["ɵnov"](t,2).transform("YOU_CAN_CANCEL_THE_SUBSCRIPTION")))})}function f(e){return v["ɵvid"](0,[(e()(),v["ɵeld"](0,0,null,null,63,null,null,null,null,null,null,null)),(e()(),v["ɵted"](-1,null,["\n "])),(e()(),v["ɵted"](-1,null,["\n "])),(e()(),v["ɵeld"](3,0,null,null,10,"div",[["class","summary"]],null,null,null,null,null)),(e()(),v["ɵted"](-1,null,["\n "])),(e()(),v["ɵeld"](5,0,null,null,7,"div",[["class","selected-plan"]],null,null,null,null,null)),(e()(),v["ɵted"](-1,null,["\n "])),(e()(),v["ɵeld"](7,0,null,null,1,"h3",[],null,null,null,null,null)),(e()(),v["ɵted"](8,null,["",""])),(e()(),v["ɵted"](-1,null,["\n "])),(e()(),v["ɵeld"](10,0,null,null,1,"div",[["class","bold"]],null,null,null,null,null)),(e()(),v["ɵted"](11,null,["","\n "])),(e()(),v["ɵted"](-1,null,["\n "])),(e()(),v["ɵted"](-1,null,["\n "])),(e()(),v["ɵted"](-1,null,["\n\n "])),(e()(),v["ɵand"](16777216,null,null,1,null,c)),v["ɵdid"](16,16384,null,0,L.NgIf,[v.ViewContainerRef,v.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),v["ɵted"](-1,null,["\n\n "])),(e()(),v["ɵeld"](18,0,null,null,20,"ion-item",[["class","price-to-pay item item-block"]],null,null,null,A.b,A.a)),v["ɵdid"](19,1097728,null,3,x.a,[M.a,S.a,v.ElementRef,v.Renderer,[2,P.a]],null,null),v["ɵqud"](335544320,11,{contentLabel:0}),v["ɵqud"](603979776,12,{_buttons:1}),v["ɵqud"](603979776,13,{_icons:1}),v["ɵdid"](23,16384,null,0,U.a,[],null,null),(e()(),v["ɵted"](-1,2,["\n "])),(e()(),v["ɵeld"](25,0,null,2,2,"div",[["class","heading"]],null,null,null,null,null)),(e()(),v["ɵted"](26,null,["",""])),v["ɵpid"](131072,y.a,[E.a,v.ChangeDetectorRef]),(e()(),v["ɵted"](-1,2,["\n "])),(e()(),v["ɵeld"](29,0,null,2,8,"div",[["class","price"]],null,null,null,null,null)),(e()(),v["ɵted"](30,null,["\n ","\n "])),v["ɵppd"](31,3),(e()(),v["ɵand"](16777216,null,null,1,null,h)),v["ɵdid"](33,16384,null,0,L.NgIf,[v.ViewContainerRef,v.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),v["ɵted"](-1,null,["\n "])),(e()(),v["ɵand"](16777216,null,null,1,null,d)),v["ɵdid"](36,16384,null,0,L.NgIf,[v.ViewContainerRef,v.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),v["ɵted"](-1,null,["\n "])),(e()(),v["ɵted"](-1,2,["\n "])),(e()(),v["ɵted"](-1,null,["\n\n "])),(e()(),v["ɵand"](16777216,null,null,1,null,p)),v["ɵdid"](41,16384,null,0,L.NgIf,[v.ViewContainerRef,v.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),v["ɵted"](-1,null,["\n "])),(e()(),v["ɵand"](16777216,null,null,1,null,g)),v["ɵdid"](44,16384,null,0,L.NgIf,[v.ViewContainerRef,v.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),v["ɵted"](-1,null,["\n\n "])),(e()(),v["ɵted"](-1,null,["\n\n "])),(e()(),v["ɵeld"](47,0,null,null,12,"div",[["class","controls"]],null,null,null,null,null)),(e()(),v["ɵted"](-1,null,["\n "])),(e()(),v["ɵeld"](49,0,null,null,3,"button",[["class","cancel"],["ion-button",""]],null,[[null,"click"]],function(e,t,n){var i=!0;if("click"===t){i=!1!==e.component.cancel()&&i}return i},w.b,w.a)),v["ɵdid"](50,1097728,null,0,I.a,[[8,""],S.a,v.ElementRef,v.Renderer],null,null),(e()(),v["ɵted"](51,0,["",""])),v["ɵpid"](131072,y.a,[E.a,v.ChangeDetectorRef]),(e()(),v["ɵted"](-1,null,["\n "])),(e()(),v["ɵeld"](54,0,null,null,4,"button",[["class","confirm"],["ion-button",""]],null,[[null,"click"]],function(e,t,n){var i=!0;if("click"===t){i=!1!==e.component.confirm()&&i}return i},w.b,w.a)),v["ɵdid"](55,1097728,null,0,I.a,[[8,""],S.a,v.ElementRef,v.Renderer],null,null),(e()(),v["ɵted"](56,0,[""," ","\n "])),v["ɵpid"](131072,y.a,[E.a,v.ChangeDetectorRef]),v["ɵppd"](58,3),(e()(),v["ɵted"](-1,null,["\n "])),(e()(),v["ɵted"](-1,null,["\n "])),(e()(),v["ɵeld"](61,0,null,null,1,"div",[["class","waring"]],null,null,null,null,null)),(e()(),v["ɵted"](62,null,["",""])),(e()(),v["ɵted"](-1,null,["\n "]))],function(e,t){var n=t.component;e(t,16,0,t.parent.context.ngIf.selectedPlan);e(t,33,0,t.parent.context.ngIf.billingPeriod==n.BillingPeriod.MONTHLY);e(t,36,0,t.parent.context.ngIf.billingPeriod==n.BillingPeriod.ANNUAL);e(t,41,0,t.parent.context.ngIf.selectedPlan);e(t,44,0,t.parent.context.ngIf.selectedPlan)},function(e,t){e(t,8,0,t.parent.context.ngIf.productInfo.type);e(t,11,0,t.parent.context.ngIf.productInfo.value);e(t,26,0,v["ɵunv"](t,26,0,v["ɵnov"](t,27).transform("PRICE_TO_PAY")));e(t,30,0,v["ɵunv"](t,30,0,e(t,31,0,v["ɵnov"](t.parent.parent,0),t.parent.context.ngIf.priceToPay,t.parent.context.ngIf.localCurrency,"symbol")));e(t,51,0,v["ɵunv"](t,51,0,v["ɵnov"](t,52).transform("CANCEL")));e(t,56,0,v["ɵunv"](t,56,0,v["ɵnov"](t,57).transform(t.parent.context.ngIf.isPlanUpgrade?"UPGRADE":"PAY")),v["ɵunv"](t,56,1,e(t,58,0,v["ɵnov"](t.parent.parent,0),t.parent.context.ngIf.priceToPay,t.parent.context.ngIf.localCurrency,"symbol")));e(t,62,0,t.parent.context.ngIf.paymentError)})}function m(e){return v["ɵvid"](0,[(e()(),v["ɵeld"](0,0,null,null,34,"div",[["class","checkout"]],null,null,null,null,null)),(e()(),v["ɵted"](-1,null,["\n "])),(e()(),v["ɵeld"](2,0,null,null,6,"button",[["class","button transparent different-plan-mobile"],["icon-start",""],["ion-button",""]],null,[[null,"click"]],function(e,t,n){var i=!0;if("click"===t){i=!1!==e.component.cancel()&&i}return i},w.b,w.a)),v["ɵdid"](3,1097728,null,0,I.a,[[8,""],S.a,v.ElementRef,v.Renderer],null,null),(e()(),v["ɵted"](-1,0,["\n "])),(e()(),v["ɵeld"](5,0,null,0,1,"ion-icon",[["name","arrow-back"],["role","img"]],[[2,"hide",null]],null,null,null,null)),v["ɵdid"](6,147456,null,0,j.a,[S.a,v.ElementRef,v.Renderer],{name:[0,"name"]},null),(e()(),v["ɵted"](7,0,["\n ","\n "])),v["ɵpid"](131072,y.a,[E.a,v.ChangeDetectorRef]),(e()(),v["ɵted"](-1,null,["\n "])),(e()(),v["ɵeld"](10,0,null,null,20,"div",[["class","content-wrapper"]],null,null,null,null,null)),(e()(),v["ɵted"](-1,null,["\n "])),(e()(),v["ɵand"](16777216,null,null,1,null,i)),v["ɵdid"](13,16384,null,0,L.NgIf,[v.ViewContainerRef,v.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),v["ɵted"](-1,null,["\n\n "])),(e()(),v["ɵand"](16777216,null,null,1,null,s)),v["ɵdid"](16,16384,null,0,L.NgIf,[v.ViewContainerRef,v.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),v["ɵted"](-1,null,["\n\n "])),(e()(),v["ɵand"](16777216,null,null,1,null,r)),v["ɵdid"](19,16384,null,0,L.NgIf,[v.ViewContainerRef,v.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),v["ɵted"](-1,null,["\n\n"])),(e()(),v["ɵted"](-1,null,["\n\n "])),(e()(),v["ɵand"](16777216,null,null,1,null,o)),v["ɵdid"](23,16384,null,0,L.NgIf,[v.ViewContainerRef,v.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),v["ɵted"](-1,null,["\n\n "])),(e()(),v["ɵand"](16777216,null,null,1,null,a)),v["ɵdid"](26,16384,null,0,L.NgIf,[v.ViewContainerRef,v.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),v["ɵted"](-1,null,["\n\n "])),(e()(),v["ɵand"](16777216,null,null,1,null,f)),v["ɵdid"](29,16384,null,0,L.NgIf,[v.ViewContainerRef,v.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),v["ɵted"](-1,null,["\n "])),(e()(),v["ɵted"](-1,null,["\n "])),(e()(),v["ɵeld"](32,0,null,null,1,"info-footer",[],null,[[null,"openFAQ"]],function(e,t,n){var i=!0;if("openFAQ"===t){i=!1!==e.component.goToFAQ()&&i}return i},q.b,q.a)),v["ɵdid"](33,49152,null,0,W.a,[H.f,K.a,Y.a],null,{openFAQ:"openFAQ"}),(e()(),v["ɵted"](-1,null,["\n "]))],function(e,t){e(t,6,0,"arrow-back");e(t,13,0,!t.context.ngIf.isInEditMode);e(t,16,0,!t.context.ngIf.isInEditMode);e(t,19,0,!t.context.ngIf.isInEditMode);e(t,23,0,t.context.ngIf.isInEditMode);e(t,26,0,!t.context.ngIf.isPlanUpgrade);e(t,29,0,!t.context.ngIf.isInEditMode)},function(e,t){e(t,5,0,v["ɵnov"](t,6)._hidden);e(t,7,0,v["ɵunv"](t,7,0,v["ɵnov"](t,8).transform("BACK")))})}function b(e){return v["ɵvid"](2,[v["ɵpid"](0,Z.a,[v.LOCALE_ID]),(e()(),v["ɵeld"](1,0,null,null,23,"ion-header",[["watchHeight",""]],null,null,null,null,null)),v["ɵdid"](2,16384,null,0,X.a,[S.a,v.ElementRef,v.Renderer,[2,$.a]],null,null),v["ɵdid"](3,4210688,null,0,Q.a,[v.ElementRef,H.f,v.NgZone],null,null),(e()(),v["ɵted"](-1,null,["\n "])),(e()(),v["ɵeld"](5,0,null,null,18,"ion-navbar",[["class","toolbar"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,J.b,J.a)),v["ɵdid"](6,49152,null,0,ee.a,[te.a,[2,$.a],[2,K.a],S.a,v.ElementRef,v.Renderer],null,null),(e()(),v["ɵted"](-1,3,["\n "])),(e()(),v["ɵeld"](8,0,null,1,11,"ion-buttons",[["start",""]],null,null,null,null,null)),v["ɵdid"](9,16384,null,1,ne.a,[S.a,v.ElementRef,v.Renderer,[2,ie.a],[2,ee.a]],null,null),v["ɵqud"](603979776,1,{_buttons:1}),(e()(),v["ɵted"](-1,null,["\n "])),(e()(),v["ɵeld"](12,0,null,null,6,"button",[["class","button transparent different-plan"],["icon-start",""],["ion-button",""]],null,[[null,"click"]],function(e,t,n){var i=!0;if("click"===t){i=!1!==e.component.cancel()&&i}return i},w.b,w.a)),v["ɵdid"](13,1097728,[[1,4]],0,I.a,[[8,""],S.a,v.ElementRef,v.Renderer],null,null),(e()(),v["ɵted"](-1,0,["\n "])),(e()(),v["ɵeld"](15,0,null,0,1,"ion-icon",[["name","arrow-back"],["role","img"]],[[2,"hide",null]],null,null,null,null)),v["ɵdid"](16,147456,null,0,j.a,[S.a,v.ElementRef,v.Renderer],{name:[0,"name"]},null),(e()(),v["ɵted"](-1,0,["\n "])),(e()(),v["ɵted"](-1,0,["\n "])),(e()(),v["ɵted"](-1,null,["\n "])),(e()(),v["ɵted"](-1,3,["\n "])),(e()(),v["ɵeld"](21,0,null,3,1,"page-header",[["title","CHECKOUT"]],null,null,null,se.b,se.a)),v["ɵdid"](22,245760,null,0,re.a,[oe.a,K.a,le.a,E.a,ae.a,ue.a,H.f,v.ElementRef,ce.a,he.e,de.a,pe.a,R.a,ge.DomSanitizer,$.a],{profile:[0,"profile"],logo:[1,"logo"],title:[2,"title"]},null),(e()(),v["ɵted"](-1,3,["\n "])),(e()(),v["ɵted"](-1,null,["\n"])),(e()(),v["ɵted"](-1,null,["\n\n"])),(e()(),v["ɵeld"](26,0,null,null,6,"ion-content",[],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,fe.b,fe.a)),v["ɵdid"](27,4374528,null,0,me.a,[S.a,V.a,B.a,v.ElementRef,v.Renderer,te.a,be.a,v.NgZone,[2,$.a],[2,K.a]],null,null),(e()(),v["ɵted"](-1,1,["\n "])),(e()(),v["ɵand"](16777216,null,1,2,null,m)),v["ɵdid"](30,16384,null,0,L.NgIf,[v.ViewContainerRef,v.TemplateRef],{ngIf:[0,"ngIf"]},null),v["ɵpid"](131072,L.AsyncPipe,[v.ChangeDetectorRef]),(e()(),v["ɵted"](-1,1,["\n\n"])),(e()(),v["ɵted"](-1,null,["\n"]))],function(e,t){var n=t.component;e(t,16,0,"arrow-back");e(t,22,0,!1,!1,"CHECKOUT");e(t,30,0,v["ɵunv"](t,30,0,v["ɵnov"](t,31).transform(n.State)))},function(e,t){e(t,5,0,v["ɵnov"](t,6)._hidden,v["ɵnov"](t,6)._sbPadding);e(t,15,0,v["ɵnov"](t,16)._hidden);e(t,26,0,v["ɵnov"](t,27).statusbarPadding,v["ɵnov"](t,27)._hasRefresher)})}n.d(t,"a",function(){return Ie});var v=n(1),y=n(21),E=n(17),w=n(41),I=n(33),S=n(4),_=n(114),C=n(43),T=n(71),N=n(36),R=n(9),O=n(28),D=n(163),k=n(101),L=n(11),A=n(85),x=n(38),M=n(37),P=n(66),U=n(74),j=n(47),F=n(59),V=n(8),G=n(23),B=n(12),z=n(164),q=n(720),W=n(242),H=n(5),K=n(25),Y=n(48),Z=n(113),X=n(58),$=n(7),Q=n(161),J=n(65),ee=n(45),te=n(13),ne=n(72),ie=n(60),se=n(228),re=n(126),oe=n(14),le=n(69),ae=n(19),ue=n(34),ce=n(55),he=n(15),de=n(44),pe=n(31),ge=n(39),fe=n(46),me=n(29),be=n(35),ve=n(165),ye=n(18),Ee=n(84),we=v["ɵcrt"]({encapsulation:2,styles:[],data:{}}),Ie=v["ɵccf"]("confirm-purchase",ve.a,function(e){return v["ɵvid"](0,[(e()(),v["ɵeld"](0,0,null,null,1,"confirm-purchase",[],null,null,null,b,we)),v["ɵdid"](1,4374528,null,0,ve.a,[oe.a,ye.a,K.a,he.e,ae.a,E.a,H.f,$.a,Ee.a,ce.a,O.a,R.a,C.a],null,null)],null,null)},{},{},[])},692:function(e,t,n){"use strict";function i(e){return o["ɵvid"](0,[(e()(),o["ɵeld"](0,0,null,null,2,"h2",[],null,null,null,null,null)),(e()(),o["ɵted"](1,null,["",""])),o["ɵpid"](131072,l.a,[a.a,o.ChangeDetectorRef])],null,function(e,t){e(t,1,0,o["ɵunv"](t,1,0,o["ɵnov"](t,2).transform("CHANGE_CARD")))})}function s(e){return o["ɵvid"](0,[(e()(),o["ɵeld"](0,0,null,null,26,"div",[["class","checkout"]],null,null,null,null,null)),(e()(),o["ɵted"](-1,null,["\n "])),(e()(),o["ɵeld"](2,0,null,null,23,"div",[["class","content-wrapper"]],null,null,null,null,null)),(e()(),o["ɵted"](-1,null,["\n "])),(e()(),o["ɵand"](16777216,null,null,1,null,i)),o["ɵdid"](5,16384,null,0,u.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["ɵted"](-1,null,["\n "])),(e()(),o["ɵeld"](7,0,null,null,1,"s-form",[],null,[[null,"values"]],function(e,t,n){var i=!0;if("values"===t){i=!1!==e.component.cardDataChange(n)&&i}return i},c.b,c.a)),o["ɵdid"](8,4440064,null,0,h.a,[d.a,p.a,o.ChangeDetectorRef],{structure:[0,"structure"]},{values:"values"}),(e()(),o["ɵted"](-1,null,["\n "])),(e()(),o["ɵeld"](10,0,null,null,11,"div",[["class","controls"]],null,null,null,null,null)),(e()(),o["ɵted"](-1,null,["\n "])),(e()(),o["ɵeld"](12,0,null,null,3,"button",[["class","cancel"],["ion-button",""]],null,[[null,"click"]],function(e,t,n){var i=!0;if("click"===t){i=!1!==e.component.cancel()&&i}return i},g.b,g.a)),o["ɵdid"](13,1097728,null,0,f.a,[[8,""],m.a,o.ElementRef,o.Renderer],null,null),(e()(),o["ɵted"](14,0,["",""])),o["ɵpid"](131072,l.a,[a.a,o.ChangeDetectorRef]),(e()(),o["ɵted"](-1,null,["\n "])),(e()(),o["ɵeld"](17,0,null,null,3,"button",[["class","confirm"],["ion-button",""]],[[8,"disabled",0]],[[null,"click"]],function(e,t,n){var i=!0;if("click"===t){i=!1!==e.component.confirm()&&i}return i},g.b,g.a)),o["ɵdid"](18,1097728,null,0,f.a,[[8,""],m.a,o.ElementRef,o.Renderer],null,null),(e()(),o["ɵted"](19,0,["","\n "])),o["ɵpid"](131072,l.a,[a.a,o.ChangeDetectorRef]),(e()(),o["ɵted"](-1,null,["\n "])),(e()(),o["ɵted"](-1,null,["\n "])),(e()(),o["ɵeld"](23,0,null,null,1,"div",[["class","waring"]],null,null,null,null,null)),(e()(),o["ɵted"](24,null,["",""])),(e()(),o["ɵted"](-1,null,["\n "])),(e()(),o["ɵted"](-1,null,["\n "]))],function(e,t){var n=t.component;e(t,5,0,!t.context.ngIf.isInEditMode);e(t,8,0,n.cardForm)},function(e,t){e(t,14,0,o["ɵunv"](t,14,0,o["ɵnov"](t,15).transform("CANCEL")));e(t,17,0,!t.context.ngIf.cardInfo.isFormValid);e(t,19,0,o["ɵunv"](t,19,0,o["ɵnov"](t,20).transform("CHANGE")));e(t,24,0,t.context.ngIf.paymentError)})}function r(e){return o["ɵvid"](2,[(e()(),o["ɵeld"](0,0,null,null,23,"ion-header",[["watchHeight",""]],null,null,null,null,null)),o["ɵdid"](1,16384,null,0,b.a,[m.a,o.ElementRef,o.Renderer,[2,v.a]],null,null),o["ɵdid"](2,4210688,null,0,y.a,[o.ElementRef,E.f,o.NgZone],null,null),(e()(),o["ɵted"](-1,null,["\n "])),(e()(),o["ɵeld"](4,0,null,null,18,"ion-navbar",[["class","toolbar"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,w.b,w.a)),o["ɵdid"](5,49152,null,0,I.a,[S.a,[2,v.a],[2,_.a],m.a,o.ElementRef,o.Renderer],null,null),(e()(),o["ɵted"](-1,3,["\n "])),(e()(),o["ɵeld"](7,0,null,1,11,"ion-buttons",[["start",""]],null,null,null,null,null)),o["ɵdid"](8,16384,null,1,C.a,[m.a,o.ElementRef,o.Renderer,[2,T.a],[2,I.a]],null,null),o["ɵqud"](603979776,1,{_buttons:1}),(e()(),o["ɵted"](-1,null,["\n "])),(e()(),o["ɵeld"](11,0,null,null,6,"button",[["class","button transparent different-plan"],["icon-start",""],["ion-button",""]],null,[[null,"click"]],function(e,t,n){var i=!0;if("click"===t){i=!1!==e.component.cancel()&&i}return i},g.b,g.a)),o["ɵdid"](12,1097728,[[1,4]],0,f.a,[[8,""],m.a,o.ElementRef,o.Renderer],null,null),(e()(),o["ɵted"](-1,0,["\n "])),(e()(),o["ɵeld"](14,0,null,0,1,"ion-icon",[["name","arrow-back"],["role","img"]],[[2,"hide",null]],null,null,null,null)),o["ɵdid"](15,147456,null,0,N.a,[m.a,o.ElementRef,o.Renderer],{name:[0,"name"]},null),(e()(),o["ɵted"](-1,0,["\n "])),(e()(),o["ɵted"](-1,0,["\n "])),(e()(),o["ɵted"](-1,null,["\n "])),(e()(),o["ɵted"](-1,3,["\n "])),(e()(),o["ɵeld"](20,0,null,3,1,"page-header",[["title","CHECKOUT"]],null,null,null,R.b,R.a)),o["ɵdid"](21,245760,null,0,O.a,[D.a,_.a,k.a,a.a,L.a,A.a,E.f,o.ElementRef,x.a,M.e,P.a,U.a,d.a,j.DomSanitizer,v.a],{profile:[0,"profile"],logo:[1,"logo"],title:[2,"title"]},null),(e()(),o["ɵted"](-1,3,["\n "])),(e()(),o["ɵted"](-1,null,["\n"])),(e()(),o["ɵted"](-1,null,["\n\n"])),(e()(),o["ɵeld"](25,0,null,null,6,"ion-content",[],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,F.b,F.a)),o["ɵdid"](26,4374528,null,0,V.a,[m.a,G.a,B.a,o.ElementRef,o.Renderer,S.a,z.a,o.NgZone,[2,v.a],[2,_.a]],null,null),(e()(),o["ɵted"](-1,1,["\n "])),(e()(),o["ɵand"](16777216,null,1,2,null,s)),o["ɵdid"](29,16384,null,0,u.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),o["ɵpid"](131072,u.AsyncPipe,[o.ChangeDetectorRef]),(e()(),o["ɵted"](-1,1,["\n\n"])),(e()(),o["ɵted"](-1,null,["\n"]))],function(e,t){var n=t.component;e(t,15,0,"arrow-back");e(t,21,0,!1,!1,"CHECKOUT");e(t,29,0,o["ɵunv"](t,29,0,o["ɵnov"](t,30).transform(n.State)))},function(e,t){e(t,4,0,o["ɵnov"](t,5)._hidden,o["ɵnov"](t,5)._sbPadding);e(t,14,0,o["ɵnov"](t,15)._hidden);e(t,25,0,o["ɵnov"](t,26).statusbarPadding,o["ɵnov"](t,26)._hasRefresher)})}n.d(t,"a",function(){return Y});var o=n(1),l=n(21),a=n(17),u=n(11),c=n(71),h=n(36),d=n(9),p=n(28),g=n(41),f=n(33),m=n(4),b=n(58),v=n(7),y=n(161),E=n(5),w=n(65),I=n(45),S=n(13),_=n(25),C=n(72),T=n(60),N=n(47),R=n(228),O=n(126),D=n(14),k=n(69),L=n(19),A=n(34),x=n(55),M=n(15),P=n(44),U=n(31),j=n(39),F=n(46),V=n(29),G=n(8),B=n(12),z=n(35),q=n(369),W=n(18),H=n(84),K=o["ɵcrt"]({encapsulation:2,styles:[],data:{}}),Y=o["ɵccf"]("change-card",q.a,function(e){return o["ɵvid"](0,[(e()(),o["ɵeld"](0,0,null,null,1,"change-card",[],null,null,null,r,K)),o["ɵdid"](1,180224,null,0,q.a,[D.a,W.a,_.a,M.e,L.a,a.a,E.f,v.a,H.a,x.a,p.a,d.a],null,null)],null,null)},{},{},[])},693:function(e,t,n){"use strict";function i(e){return o["ɵvid"](0,[(e()(),o["ɵeld"](0,0,null,null,3,"span",[],null,null,null,null,null)),(e()(),o["ɵeld"](1,0,null,null,1,"b",[],null,null,null,null,null)),(e()(),o["ɵted"](2,null,["",""])),(e()(),o["ɵted"](3,null,[" (","), "]))],null,function(e,t){var n=t.component;e(t,2,0,t.context.$implicit);e(t,3,0,n.licenses[t.context.index])})}function s(e){return o["ɵvid"](0,[(e()(),o["ɵeld"](0,0,null,null,4,"div",[],null,null,null,null,null)),(e()(),o["ɵted"](-1,null,["\n "])),(e()(),o["ɵand"](16777216,null,null,1,null,i)),o["ɵdid"](3,802816,null,0,l.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(e()(),o["ɵted"](-1,null,["\n "]))],function(e,t){e(t,3,0,t.component.packages)},null)}function r(e){return o["ɵvid"](0,[(e()(),o["ɵted"](-1,null,["\n "])),(e()(),o["ɵeld"](1,0,null,null,18,"ion-header",[],null,null,null,null,null)),o["ɵdid"](2,16384,null,0,a.a,[u.a,o.ElementRef,o.Renderer,[2,c.a]],null,null),(e()(),o["ɵted"](-1,null,["\n "])),(e()(),o["ɵeld"](4,0,null,null,14,"ion-navbar",[["class","toolbar"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,h.b,h.a)),o["ɵdid"](5,49152,null,0,d.a,[p.a,[2,c.a],[2,g.a],u.a,o.ElementRef,o.Renderer],null,null),(e()(),o["ɵted"](-1,3,["\n "])),(e()(),o["ɵeld"](7,0,null,3,2,"div",[["class","title"]],null,null,null,null,null)),(e()(),o["ɵted"](8,null,["",""])),o["ɵpid"](131072,f.a,[m.a,o.ChangeDetectorRef]),(e()(),o["ɵted"](-1,3,["\n "])),(e()(),o["ɵeld"](11,0,null,2,6,"ion-buttons",[["end",""]],null,null,null,null,null)),o["ɵdid"](12,16384,null,1,b.a,[u.a,o.ElementRef,o.Renderer,[2,v.a],[2,d.a]],null,null),o["ɵqud"](603979776,1,{_buttons:1}),(e()(),o["ɵted"](-1,null,["\n "])),(e()(),o["ɵeld"](15,0,null,null,1,"button",[["class","close-btn"],["ion-button",""]],null,[[null,"click"]],function(e,t,n){var i=!0;if("click"===t){i=!1!==e.component.close()&&i}return i},y.b,y.a)),o["ɵdid"](16,1097728,[[1,4]],0,E.a,[[8,""],u.a,o.ElementRef,o.Renderer],null,null),(e()(),o["ɵted"](-1,null,["\n "])),(e()(),o["ɵted"](-1,3,["\n "])),(e()(),o["ɵted"](-1,null,["\n "])),(e()(),o["ɵted"](-1,null,["\n "])),(e()(),o["ɵeld"](21,0,null,null,11,"ion-content",[],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,w.b,w.a)),o["ɵdid"](22,4374528,null,0,I.a,[u.a,S.a,_.a,o.ElementRef,o.Renderer,p.a,C.a,o.NgZone,[2,c.a],[2,g.a]],null,null),(e()(),o["ɵted"](-1,1,["\n "])),(e()(),o["ɵeld"](24,0,null,1,7,"div",[["class","content-wrapper"]],null,null,null,null,null)),(e()(),o["ɵted"](-1,null,["\n "])),(e()(),o["ɵeld"](26,0,null,null,4,"div",[["class","content"]],null,null,null,null,null)),(e()(),o["ɵted"](-1,null,["\n "])),(e()(),o["ɵand"](16777216,null,null,1,null,s)),o["ɵdid"](29,16384,null,0,l.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["ɵted"](-1,null,["\n "])),(e()(),o["ɵted"](-1,null,["\n "])),(e()(),o["ɵted"](-1,1,["\n "])),(e()(),o["ɵted"](-1,null,["\n "]))],function(e,t){var n=t.component;e(t,29,0,n.licenses.length>0&&n.packages.length>0)},function(e,t){e(t,4,0,o["ɵnov"](t,5)._hidden,o["ɵnov"](t,5)._sbPadding);e(t,8,0,o["ɵunv"](t,8,0,o["ɵnov"](t,9).transform("BUILT_WITH")));e(t,21,0,o["ɵnov"](t,22).statusbarPadding,o["ɵnov"](t,22)._hasRefresher)})}n.d(t,"a",function(){return R});var o=n(1),l=n(11),a=n(58),u=n(4),c=n(7),h=n(65),d=n(45),p=n(13),g=n(25),f=n(21),m=n(17),b=n(72),v=n(60),y=n(41),E=n(33),w=n(46),I=n(29),S=n(8),_=n(12),C=n(35),T=n(367),N=o["ɵcrt"]({encapsulation:0,styles:[".content-wrapper[_ngcontent-%COMP%] { background: #fff; display: flex; flex-direction: column; }"],data:{}}),R=o["ɵccf"]("licensing-modal",T.a,function(e){return o["ɵvid"](0,[(e()(),o["ɵeld"](0,0,null,null,1,"licensing-modal",[],null,null,null,r,N)),o["ɵdid"](1,114688,null,0,T.a,[c.a],null,null)],function(e,t){e(t,1,0)},null)},{},{},[])},694:function(e,t,n){"use strict";function i(e){return s["ɵvid"](2,[s["ɵpid"](0,r.a,[s.LOCALE_ID]),(e()(),s["ɵted"](-1,null,["\n "])),(e()(),s["ɵeld"](2,0,null,null,2,"div",[["class","title"]],null,null,null,null,null)),(e()(),s["ɵted"](3,null,["",""])),s["ɵpid"](131072,o.a,[l.a,s.ChangeDetectorRef]),(e()(),s["ɵted"](-1,null,["\n "])),(e()(),s["ɵeld"](6,0,null,null,9,"div",[["class","price"]],null,null,null,null,null)),(e()(),s["ɵted"](-1,null,["\n "])),(e()(),s["ɵeld"](8,0,null,null,1,"span",[],null,null,null,null,null)),(e()(),s["ɵted"](9,null,["",""])),(e()(),s["ɵted"](10,null,[" "," "])),s["ɵpid"](131072,o.a,[l.a,s.ChangeDetectorRef]),(e()(),s["ɵeld"](12,0,null,null,2,"span",[["class","second"]],null,null,null,null,null)),(e()(),s["ɵted"](13,null,["",""])),s["ɵppd"](14,3),(e()(),s["ɵted"](-1,null,["\n "])),(e()(),s["ɵted"](-1,null,["\n "])),(e()(),s["ɵeld"](17,0,null,null,6,"ion-range",[["min","1"],["snaps","true"],["step","1"]],[[2,"range-disabled",null],[2,"range-pressed",null],[2,"range-has-pin",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"]],function(e,t,n){var i=!0;if("ngModelChange"===t){i=!1!==(e.component.tier=n)&&i}return i},a.b,a.a)),s["ɵdid"](18,1228800,null,0,u.a,[c.a,h.a,[2,d.a],p.a,g.a,s.ElementRef,s.Renderer,f.a,s.ChangeDetectorRef],{min:[0,"min"],max:[1,"max"],step:[2,"step"],snaps:[3,"snaps"]},null),s["ɵprd"](1024,null,m.l,function(e){return[e]},[u.a]),s["ɵdid"](20,671744,null,0,m.q,[[8,null],[8,null],[8,null],[2,m.l]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),s["ɵpod"](21,{standalone:0}),s["ɵprd"](2048,null,m.m,null,[m.q]),s["ɵdid"](23,16384,null,0,m.n,[m.m],null,null),(e()(),s["ɵted"](-1,null,["\n "])),(e()(),s["ɵeld"](25,0,null,null,2,"button",[["class","button transparent cancel"]],null,[[null,"click"]],function(e,t,n){var i=!0;if("click"===t){i=!1!==e.component.cancel()&&i}return i},null,null)),(e()(),s["ɵted"](26,null,["",""])),s["ɵpid"](131072,o.a,[l.a,s.ChangeDetectorRef]),(e()(),s["ɵted"](-1,null,["\n "])),(e()(),s["ɵeld"](29,0,null,null,2,"button",[["class","button transparent buy"]],null,[[null,"click"]],function(e,t,n){var i=!0;if("click"===t){i=!1!==e.component.buyDocs()&&i}return i},null,null)),(e()(),s["ɵted"](30,null,["",""])),s["ɵpid"](131072,o.a,[l.a,s.ChangeDetectorRef]),(e()(),s["ɵted"](-1,null,["\n "]))],function(e,t){var n=t.component;e(t,18,0,"1",n.max,"1","true");e(t,20,0,n.tier,e(t,21,0,!0))},function(e,t){var n=t.component;e(t,3,0,s["ɵunv"](t,3,0,s["ɵnov"](t,4).transform("GET_DOCS")));e(t,9,0,n.billing.getTierAmount(n.tier,n.TIER_TYPES.DOC));e(t,10,0,s["ɵunv"](t,10,0,s["ɵnov"](t,11).transform("DOCUMENTS_FOR")));e(t,13,0,s["ɵunv"](t,13,0,e(t,14,0,s["ɵnov"](t,0),n.billing.getTierPrice(n.tier,n.TIER_TYPES.DOC),n.billing.localCurrency,"symbol")));e(t,17,0,s["ɵnov"](t,18)._disabled,s["ɵnov"](t,18)._pressed,s["ɵnov"](t,18)._pin,s["ɵnov"](t,23).ngClassUntouched,s["ɵnov"](t,23).ngClassTouched,s["ɵnov"](t,23).ngClassPristine,s["ɵnov"](t,23).ngClassDirty,s["ɵnov"](t,23).ngClassValid,s["ɵnov"](t,23).ngClassInvalid,s["ɵnov"](t,23).ngClassPending);e(t,26,0,s["ɵunv"](t,26,0,s["ɵnov"](t,27).transform("CANCEL")).toUpperCase());e(t,30,0,s["ɵunv"](t,30,0,s["ɵnov"](t,31).transform("PURCHASE")).toUpperCase())})}n.d(t,"a",function(){return S});var s=n(1),r=n(113),o=n(21),l=n(17),a=n(653),u=n(155),c=n(37),h=n(68),d=n(38),p=n(4),g=n(8),f=n(12),m=n(20),b=n(362),v=n(5),y=n(7),E=n(84),w=n(18),I=s["ɵcrt"]({encapsulation:2,styles:[],data:{}}),S=s["ɵccf"]("get-more-docs",b.a,function(e){return s["ɵvid"](0,[(e()(),s["ɵeld"](0,0,null,null,1,"get-more-docs",[],null,null,null,i,I)),s["ɵdid"](1,49152,null,0,b.a,[v.f,y.a,E.a,w.a],null,null)],null,null)},{},{},[])},695:function(e,t,n){"use strict";function i(e){return o["ɵvid"](0,[(e()(),o["ɵeld"](0,0,null,null,5,"li",[],null,null,null,null,null)),(e()(),o["ɵted"](-1,null,["\n "])),(e()(),o["ɵeld"](2,0,null,null,2,"a",[["target","_blank"]],[[8,"href",4]],null,null,null,null)),(e()(),o["ɵted"](3,null,["\n ","\n "])),o["ɵpid"](131072,l.a,[a.a,o.ChangeDetectorRef]),(e()(),o["ɵted"](-1,null,["\n "]))],null,function(e,t){var n=t.component;e(t,2,0,o["ɵinlineInterpolate"](1,"",n.s.is.cordova?n.appConfig.getConfig("termsUrl")[0]:n.appConfig.getConfig("termsUrl")[1],""));e(t,3,0,o["ɵunv"](t,3,0,o["ɵnov"](t,4).transform("TERMS_OF_SERVICE")))})}function s(e){return o["ɵvid"](0,[(e()(),o["ɵeld"](0,0,null,null,5,"li",[],null,null,null,null,null)),(e()(),o["ɵted"](-1,null,["\n "])),(e()(),o["ɵeld"](2,0,null,null,2,"a",[["target","_blank"]],[[8,"href",4]],null,null,null,null)),(e()(),o["ɵted"](3,null,["\n ","\n "])),o["ɵpid"](131072,l.a,[a.a,o.ChangeDetectorRef]),(e()(),o["ɵted"](-1,null,["\n "]))],null,function(e,t){var n=t.component;e(t,2,0,o["ɵinlineInterpolate"](1,"",n.s.is.cordova?n.appConfig.getConfig("privacyUrl")[0]:n.appConfig.getConfig("privacyUrl")[1],""));e(t,3,0,o["ɵunv"](t,3,0,o["ɵnov"](t,4).transform("PRIVACY_POLICY")))})}function r(e){return o["ɵvid"](2,[(e()(),o["ɵted"](-1,null,["\n "])),(e()(),o["ɵeld"](1,0,null,null,10,"ion-header",[],null,null,null,null,null)),o["ɵdid"](2,16384,null,0,u.a,[c.a,o.ElementRef,o.Renderer,[2,h.a]],null,null),(e()(),o["ɵted"](-1,null,["\n "])),(e()(),o["ɵeld"](4,0,null,null,6,"ion-navbar",[["class","toolbar"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,d.b,d.a)),o["ɵdid"](5,49152,null,0,p.a,[g.a,[2,h.a],[2,f.a],c.a,o.ElementRef,o.Renderer],null,null),(e()(),o["ɵted"](-1,3,["\n "])),(e()(),o["ɵeld"](7,0,null,3,2,"div",[["class","title"]],null,null,null,null,null)),(e()(),o["ɵted"](8,null,["\n ","\n "])),o["ɵpid"](131072,l.a,[a.a,o.ChangeDetectorRef]),(e()(),o["ɵted"](-1,3,["\n "])),(e()(),o["ɵted"](-1,null,["\n "])),(e()(),o["ɵted"](-1,null,["\n "])),(e()(),o["ɵeld"](13,0,null,null,23,"ion-content",[],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,m.b,m.a)),o["ɵdid"](14,4374528,null,0,b.a,[c.a,v.a,y.a,o.ElementRef,o.Renderer,g.a,E.a,o.NgZone,[2,h.a],[2,f.a]],null,null),(e()(),o["ɵted"](-1,1,["\n "])),(e()(),o["ɵeld"](16,0,null,1,2,"p",[],null,null,null,null,null)),(e()(),o["ɵted"](17,null,["\n ","\n "])),o["ɵpid"](131072,l.a,[a.a,o.ChangeDetectorRef]),(e()(),o["ɵted"](-1,1,["\n\n "])),(e()(),o["ɵeld"](20,0,null,1,7,"ul",[["class","list-unstyled"]],null,null,null,null,null)),(e()(),o["ɵted"](-1,null,["\n "])),(e()(),o["ɵand"](16777216,null,null,1,null,i)),o["ɵdid"](23,16384,null,0,w.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["ɵted"](-1,null,["\n "])),(e()(),o["ɵand"](16777216,null,null,1,null,s)),o["ɵdid"](26,16384,null,0,w.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["ɵted"](-1,null,["\n "])),(e()(),o["ɵted"](-1,1,["\n\n "])),(e()(),o["ɵeld"](29,0,null,1,6,"div",[["class","controls"]],null,null,null,null,null)),(e()(),o["ɵted"](-1,null,["\n "])),(e()(),o["ɵeld"](31,0,null,null,3,"p",[],null,null,null,null,null)),(e()(),o["ɵeld"](32,0,null,null,2,"button",[["class","small"]],null,[[null,"click"]],function(e,t,n){var i=!0;if("click"===t){i=!1!==e.component.ok()&&i}return i},null,null)),(e()(),o["ɵted"](33,null,["",""])),o["ɵpid"](131072,l.a,[a.a,o.ChangeDetectorRef]),(e()(),o["ɵted"](-1,null,["\n "])),(e()(),o["ɵted"](-1,1,["\n "])),(e()(),o["ɵted"](-1,null,["\n\t"]))],function(e,t){var n=t.component;e(t,23,0,0!=n.config.getConfig("termsUrl").length);e(t,26,0,0!=n.config.getConfig("privacyUrl").length)},function(e,t){e(t,4,0,o["ɵnov"](t,5)._hidden,o["ɵnov"](t,5)._sbPadding);e(t,8,0,o["ɵunv"](t,8,0,o["ɵnov"](t,9).transform("AGREEMENT_MODAL_TITLE")));e(t,13,0,o["ɵnov"](t,14).statusbarPadding,o["ɵnov"](t,14)._hasRefresher);e(t,17,0,o["ɵunv"](t,17,0,o["ɵnov"](t,18).transform("AGREEMENT_MODAL_TXT")));e(t,33,0,o["ɵunv"](t,33,0,o["ɵnov"](t,34).transform("I_AGREE")))})}n.d(t,"a",function(){return N});var o=n(1),l=n(21),a=n(17),u=n(58),c=n(4),h=n(7),d=n(65),p=n(45),g=n(13),f=n(25),m=n(46),b=n(29),v=n(8),y=n(12),E=n(35),w=n(11),I=n(315),S=n(18),_=n(5),C=n(48),T=o["ɵcrt"]({encapsulation:0,styles:[".list-unstyled[_ngcontent-%COMP%] {margin: 0; padding: 0; list-style: none;}"],data:{}}),N=o["ɵccf"]("terms-modal",I.a,function(e){return o["ɵvid"](0,[(e()(),o["ɵeld"](0,0,null,null,1,"terms-modal",[],null,null,null,r,T)),o["ɵdid"](1,49152,null,0,I.a,[S.a,h.a,_.f,a.a,C.a],null,null)],null,null)},{},{},[])},696:function(e,t,n){"use strict";function i(e){return s["ɵvid"](0,[(e()(),s["ɵted"](-1,null,["\n "])),(e()(),s["ɵeld"](1,0,null,null,27,"ion-content",[["id","modal-content"],["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,r.b,r.a)),s["ɵdid"](2,4374528,null,0,o.a,[l.a,a.a,u.a,s.ElementRef,s.Renderer,c.a,h.a,s.NgZone,[2,d.a],[2,p.a]],null,null),(e()(),s["ɵted"](-1,1,["\n "])),(e()(),s["ɵeld"](4,0,null,1,23,"div",[["class","medium small-form-wrapper"]],null,null,null,null,null)),(e()(),s["ɵted"](-1,null,["\n "])),(e()(),s["ɵeld"](6,0,null,null,2,"h2",[],null,null,null,null,null)),(e()(),s["ɵted"](7,null,["",""])),s["ɵpid"](131072,g.a,[f.a,s.ChangeDetectorRef]),(e()(),s["ɵted"](-1,null,["\n "])),(e()(),s["ɵeld"](10,0,null,null,3,"div",[["class","final-img-container"]],null,null,null,null,null)),(e()(),s["ɵted"](-1,null,["\n "])),(e()(),s["ɵeld"](12,0,null,null,0,"img",[["class","final-img"]],[[8,"src",4]],null,null,null,null)),(e()(),s["ɵted"](-1,null,["\n "])),(e()(),s["ɵted"](-1,null,["\n \n "])),(e()(),s["ɵeld"](15,0,null,null,11,"div",[["class","button-container"]],null,null,null,null,null)),(e()(),s["ɵted"](-1,null,["\n "])),(e()(),s["ɵeld"](17,0,null,null,3,"button",[["class","button block disable-hover"],["ion-button",""]],null,[[null,"click"]],function(e,t,n){var i=!0;if("click"===t){i=!1!==e.component.dismiss(!0)&&i}return i},m.b,m.a)),s["ɵdid"](18,1097728,null,0,b.a,[[8,""],l.a,s.ElementRef,s.Renderer],null,null),(e()(),s["ɵted"](19,0,["",""])),s["ɵpid"](131072,g.a,[f.a,s.ChangeDetectorRef]),(e()(),s["ɵted"](-1,null,["\n "])),(e()(),s["ɵeld"](22,0,null,null,3,"button",[["class","button block transparent disable-hover"],["ion-button",""]],null,[[null,"click"]],function(e,t,n){var i=!0;if("click"===t){i=!1!==e.component.dismiss(!1)&&i}return i},m.b,m.a)),s["ɵdid"](23,1097728,null,0,b.a,[[8,""],l.a,s.ElementRef,s.Renderer],null,null),(e()(),s["ɵted"](24,0,["",""])),s["ɵpid"](131072,g.a,[f.a,s.ChangeDetectorRef]),(e()(),s["ɵted"](-1,null,["\n "])),(e()(),s["ɵted"](-1,null,["\n "])),(e()(),s["ɵted"](-1,1,["\n "])),(e()(),s["ɵted"](-1,null,["\n "]))],null,function(e,t){var n=t.component;e(t,1,0,s["ɵnov"](t,2).statusbarPadding,s["ɵnov"](t,2)._hasRefresher);e(t,7,0,s["ɵunv"](t,7,0,s["ɵnov"](t,8).transform("CONFIRM_TEXT_READABLE")));e(t,12,0,n.imgSrc);e(t,19,0,s["ɵunv"](t,19,0,s["ɵnov"](t,20).transform("CONFIRM")));e(t,24,0,s["ɵunv"](t,24,0,s["ɵnov"](t,25).transform("RETAKE")))})}n.d(t,"a",function(){return I});var s=n(1),r=n(46),o=n(29),l=n(4),a=n(8),u=n(12),c=n(13),h=n(35),d=n(7),p=n(25),g=n(21),f=n(17),m=n(41),b=n(33),v=n(371),y=n(18),E=n(39),w=s["ɵcrt"]({encapsulation:2,styles:[],data:{}}),I=s["ɵccf"]("confirm-image-modal",v.a,function(e){return s["ɵvid"](0,[(e()(),s["ɵeld"](0,0,null,null,1,"confirm-image-modal",[],null,null,null,i,w)),s["ɵdid"](1,114688,null,0,v.a,[d.a,y.a,E.DomSanitizer],null,null)],function(e,t){e(t,1,0)},null)},{},{},[])},697:function(e,t,n){"use strict";function i(e){return a["ɵvid"](0,[(e()(),a["ɵeld"](0,0,null,null,1,"s-form",[],[[8,"hidden",0]],null,null,u.b,u.a)),a["ɵdid"](1,4440064,[[2,4],["secondaryForm",4]],0,c.a,[h.a,d.a,a.ChangeDetectorRef],{structure:[0,"structure"]},null)],function(e,t){e(t,1,0,t.component.secondaryData)},function(e,t){e(t,0,0,t.parent.context.ngIf.viewState!=t.component.CONFIRM_READ_STATE.FORM)})}function s(e){return a["ɵvid"](0,[(e()(),a["ɵeld"](0,0,null,null,2,"loading",[],null,null,null,p.b,p.a)),a["ɵdid"](1,49152,null,0,g.a,[a.ElementRef],{message:[0,"message"]},null),a["ɵpid"](131072,f.a,[m.a,a.ChangeDetectorRef])],function(e,t){e(t,1,0,a["ɵinlineInterpolate"](1,"",a["ɵunv"](t,1,0,a["ɵnov"](t,2).transform("LOADING")),""))},null)}function r(e){return a["ɵvid"](0,[(e()(),a["ɵeld"](0,0,null,null,26,"div",[],null,null,null,null,null)),(e()(),a["ɵted"](-1,null,["\n "])),(e()(),a["ɵeld"](2,0,null,null,2,"h2",[["class","result-title"]],null,null,null,null,null)),(e()(),a["ɵted"](3,null,["",""])),a["ɵpid"](131072,f.a,[m.a,a.ChangeDetectorRef]),(e()(),a["ɵted"](-1,null,["\n\n "])),(e()(),a["ɵeld"](6,0,null,null,1,"p",[],null,null,null,null,null)),(e()(),a["ɵted"](7,null,["",""])),(e()(),a["ɵted"](-1,null,["\n\n "])),(e()(),a["ɵeld"](9,0,null,null,16,"div",[["class","controls"],["ion-fixed",""]],null,null,null,null,null)),(e()(),a["ɵted"](-1,null,["\n "])),(e()(),a["ɵeld"](11,0,null,null,2,"button",[["class","button transparent cancel"]],null,[[null,"click"]],function(e,t,n){var i=!0;if("click"===t){i=!1!==e.component.back()&&i}return i},null,null)),(e()(),a["ɵted"](12,null,["",""])),a["ɵpid"](131072,f.a,[m.a,a.ChangeDetectorRef]),(e()(),a["ɵted"](-1,null,["\n "])),(e()(),a["ɵeld"](15,0,null,null,9,"div",[["class","right-items"]],null,null,null,null,null)),(e()(),a["ɵted"](-1,null,["\n "])),(e()(),a["ɵeld"](17,0,null,null,2,"button",[["class","button transparent cancel"]],null,[[null,"click"]],function(e,t,n){var i=!0;if("click"===t){i=!1!==e.component.close("CANCEL")&&i}return i},null,null)),(e()(),a["ɵted"](18,null,["",""])),a["ɵpid"](131072,f.a,[m.a,a.ChangeDetectorRef]),(e()(),a["ɵted"](-1,null,["\n "])),(e()(),a["ɵeld"](21,0,null,null,2,"button",[["class","button transparent primary"]],null,[[null,"click"]],function(e,t,n){var i=!0;if("click"===t){i=!1!==e.component.close("OK")&&i}return i},null,null)),(e()(),a["ɵted"](22,null,["",""])),a["ɵpid"](131072,f.a,[m.a,a.ChangeDetectorRef]),(e()(),a["ɵted"](-1,null,["\n "])),(e()(),a["ɵted"](-1,null,["\n "])),(e()(),a["ɵted"](-1,null,["\n "]))],null,function(e,t){e(t,3,0,a["ɵunv"](t,3,0,a["ɵnov"](t,4).transform("RESULT")));e(t,7,0,t.parent.context.ngIf.resultDetail);e(t,12,0,a["ɵunv"](t,12,0,a["ɵnov"](t,13).transform("BACK")));e(t,18,0,a["ɵunv"](t,18,0,a["ɵnov"](t,19).transform("CANCEL")));e(t,22,0,a["ɵunv"](t,22,0,a["ɵnov"](t,23).transform("PROCEED")))})}function o(e){return a["ɵvid"](0,[(e()(),a["ɵeld"](0,0,null,null,13,"div",[],null,null,null,null,null)),(e()(),a["ɵted"](-1,null,["\n "])),(e()(),a["ɵeld"](2,0,null,null,1,"s-form",[],[[8,"hidden",0]],null,null,u.b,u.a)),a["ɵdid"](3,4440064,[[1,4],["primaryForm",4]],0,c.a,[h.a,d.a,a.ChangeDetectorRef],{structure:[0,"structure"]},null),(e()(),a["ɵted"](-1,null,["\n "])),(e()(),a["ɵand"](16777216,null,null,1,null,i)),a["ɵdid"](6,16384,null,0,b.NgIf,[a.ViewContainerRef,a.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),a["ɵted"](-1,null,["\n\n "])),(e()(),a["ɵand"](16777216,null,null,1,null,s)),a["ɵdid"](9,16384,null,0,b.NgIf,[a.ViewContainerRef,a.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),a["ɵted"](-1,null,["\n\n "])),(e()(),a["ɵand"](16777216,null,null,1,null,r)),a["ɵdid"](12,16384,null,0,b.NgIf,[a.ViewContainerRef,a.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),a["ɵted"](-1,null,["\n "]))],function(e,t){var n=t.component;e(t,3,0,n.formData);e(t,6,0,n.secondaryData);e(t,9,0,t.context.ngIf.viewState==n.CONFIRM_READ_STATE.LOADING);e(t,12,0,t.context.ngIf.viewState==n.CONFIRM_READ_STATE.RESULT)},function(e,t){e(t,2,0,t.context.ngIf.viewState!=t.component.CONFIRM_READ_STATE.FORM)})}function l(e){return a["ɵvid"](0,[a["ɵqud"](671088640,1,{primaryForm:0}),a["ɵqud"](671088640,2,{secondaryForm:0}),(e()(),a["ɵted"](-1,null,["\n "])),(e()(),a["ɵeld"](3,0,null,null,7,"ion-content",[["detectKeyboard",""],["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,v.b,v.a)),a["ɵdid"](4,4374528,null,0,y.a,[E.a,w.a,I.a,a.ElementRef,a.Renderer,S.a,_.a,a.NgZone,[2,C.a],[2,T.a]],null,null),a["ɵdid"](5,4210688,null,0,N.a,[a.ElementRef,a.Renderer2,R.a,O.f,w.a],null,null),(e()(),a["ɵted"](-1,1,["\n "])),(e()(),a["ɵand"](16777216,null,1,2,null,o)),a["ɵdid"](8,16384,null,0,b.NgIf,[a.ViewContainerRef,a.TemplateRef],{ngIf:[0,"ngIf"]},null),a["ɵpid"](131072,b.AsyncPipe,[a.ChangeDetectorRef]),(e()(),a["ɵted"](-1,1,["\n "])),(e()(),a["ɵted"](-1,null,["\n "]))],function(e,t){var n=t.component;e(t,8,0,a["ɵunv"](t,8,0,a["ɵnov"](t,9).transform(n.State)))},function(e,t){e(t,3,0,a["ɵnov"](t,4).statusbarPadding,a["ɵnov"](t,4)._hasRefresher)})}n.d(t,"a",function(){return M});var a=n(1),u=n(71),c=n(36),h=n(9),d=n(28),p=n(163),g=n(101),f=n(21),m=n(17),b=n(11),v=n(46),y=n(29),E=n(4),w=n(8),I=n(12),S=n(13),_=n(35),C=n(7),T=n(25),N=n(370),R=n(70),O=n(5),D=n(372),k=n(18),L=n(15),A=n(86),x=a["ɵcrt"]({encapsulation:2,styles:[],data:{}}),M=a["ɵccf"]("confirm-read-results",D.a,function(e){return a["ɵvid"](0,[(e()(),a["ɵeld"](0,0,null,null,1,"confirm-read-results",[],null,null,null,l,x)),a["ɵdid"](1,245760,null,0,D.a,[h.a,k.a,d.a,C.a,L.e,m.a,A.a],null,null)],function(e,t){e(t,1,0)},null)},{},{},[])},698:function(e,t,n){"use strict";function i(e){return s["ɵvid"](2,[(e()(),s["ɵted"](-1,null,["\n "])),(e()(),s["ɵeld"](1,0,null,null,12,"div",[["class","prerequisites"]],null,null,null,null,null)),(e()(),s["ɵted"](-1,null,["\n "])),(e()(),s["ɵeld"](3,0,null,null,2,"h3",[],null,null,null,null,null)),(e()(),s["ɵted"](4,null,["",""])),s["ɵpid"](131072,r.a,[o.a,s.ChangeDetectorRef]),(e()(),s["ɵted"](-1,null,["\n "])),(e()(),s["ɵeld"](7,0,null,null,2,"p",[],null,null,null,null,null)),(e()(),s["ɵted"](8,null,["",""])),s["ɵpid"](131072,r.a,[o.a,s.ChangeDetectorRef]),(e()(),s["ɵted"](-1,null,["\n "])),(e()(),s["ɵeld"](11,0,null,null,1,"s-form",[],null,[[null,"values"]],function(e,t,n){var i=!0;if("values"===t){i=!1!==e.component.onChange(n)&&i}return i},l.b,l.a)),s["ɵdid"](12,4440064,null,0,a.a,[u.a,c.a,s.ChangeDetectorRef],{structure:[0,"structure"]},{values:"values"}),(e()(),s["ɵted"](-1,null,["\n "])),(e()(),s["ɵted"](-1,null,["\n "]))],function(e,t){e(t,12,0,t.component.form)},function(e,t){e(t,4,0,s["ɵunv"](t,4,0,s["ɵnov"](t,5).transform("PREREQUISITES")));e(t,8,0,s["ɵunv"](t,8,0,s["ɵnov"](t,9).transform("PREREQUISITES_HINT")))})}n.d(t,"a",function(){return b});var s=n(1),r=n(21),o=n(17),l=n(71),a=n(36),u=n(9),c=n(28),h=n(316),d=n(15),p=n(18),g=n(7),f=n(31),m=s["ɵcrt"]({encapsulation:2,styles:[],data:{}}),b=s["ɵccf"]("prerequisites",h.a,function(e){return s["ɵvid"](0,[(e()(),s["ɵeld"](0,0,null,null,1,"prerequisites",[],null,null,null,i,m)),s["ɵdid"](1,180224,null,0,h.a,[d.e,c.a,u.a,p.a,g.a,f.a],null,null)],null,null)},{documentToken:"documentToken"},{onSent:"onSent"},[])},699:function(e,t,n){"use strict";function i(e){return s["ɵvid"](2,[(e()(),s["ɵted"](-1,null,["\n "])),(e()(),s["ɵeld"](1,0,null,null,8,"div",[],null,null,null,null,null)),(e()(),s["ɵted"](-1,null,["\n "])),(e()(),s["ɵeld"](3,0,null,null,2,"h3",[],null,null,null,null,null)),(e()(),s["ɵted"](4,null,["",""])),s["ɵpid"](131072,r.a,[o.a,s.ChangeDetectorRef]),(e()(),s["ɵted"](-1,null,["\n "])),(e()(),s["ɵeld"](7,0,null,null,1,"s-form",[],null,[[null,"values"]],function(e,t,n){var i=!0;if("values"===t){i=!1!==e.component.onChange(n)&&i}return i},l.b,l.a)),s["ɵdid"](8,4440064,null,0,a.a,[u.a,c.a,s.ChangeDetectorRef],{structure:[0,"structure"]},{values:"values"}),(e()(),s["ɵted"](-1,null,["\n "])),(e()(),s["ɵted"](-1,null,["\n "]))],function(e,t){e(t,8,0,t.component.form)},function(e,t){e(t,4,0,s["ɵunv"](t,4,0,s["ɵnov"](t,5).transform("CONFIRM_DATA")))})}n.d(t,"a",function(){return b});var s=n(1),r=n(21),o=n(17),l=n(71),a=n(36),u=n(9),c=n(28),h=n(317),d=n(5),p=n(7),g=n(18),f=n(15),m=s["ɵcrt"]({encapsulation:2,styles:[],data:{}}),b=s["ɵccf"]("anonymous-confirmation",h.a,function(e){return s["ɵvid"](0,[(e()(),s["ɵeld"](0,0,null,null,1,"anonymous-confirmation",[],null,null,null,i,m)),s["ɵdid"](1,180224,null,0,h.a,[d.f,p.a,g.a,c.a,f.e,u.a],null,null)],null,null)},{},{},[])},700:function(e,t,n){"use strict";function i(e){return o["ɵvid"](0,[(e()(),o["ɵeld"](0,0,null,null,22,"ion-item",[["class","item item-block"]],null,null,null,l.b,l.a)),o["ɵdid"](1,1097728,null,3,a.a,[u.a,c.a,o.ElementRef,o.Renderer,[2,h.a]],null,null),o["ɵqud"](335544320,2,{contentLabel:0}),o["ɵqud"](603979776,3,{_buttons:1}),o["ɵqud"](603979776,4,{_icons:1}),o["ɵdid"](5,16384,null,0,d.a,[],null,null),(e()(),o["ɵted"](-1,2,["\n "])),(e()(),o["ɵeld"](7,0,null,2,5,"ion-col",[["class","col"]],null,null,null,null,null)),o["ɵdid"](8,16384,null,0,p.a,[],null,null),(e()(),o["ɵted"](-1,null,["\n "])),(e()(),o["ɵeld"](10,0,null,null,1,"p",[["class","doc-name"]],null,null,null,null,null)),(e()(),o["ɵted"](11,null,["",""])),(e()(),o["ɵted"](-1,null,["\n "])),(e()(),o["ɵted"](-1,2,["\n "])),(e()(),o["ɵeld"](14,0,null,2,7,"ion-col",[["class","col"]],null,null,null,null,null)),o["ɵdid"](15,16384,null,0,p.a,[],null,null),(e()(),o["ɵted"](-1,null,["\n "])),(e()(),o["ɵeld"](17,0,null,null,3,"p",[["class","doc-owner"]],null,null,null,null,null)),(e()(),o["ɵeld"](18,0,null,null,2,"button",[["class","small outline button"]],null,[[null,"click"]],function(e,t,n){var i=!0;if("click"===t){i=!1!==e.component.remove(e.context.$implicit)&&i}return i},null,null)),(e()(),o["ɵted"](19,null,["",""])),o["ɵpid"](131072,g.a,[f.a,o.ChangeDetectorRef]),(e()(),o["ɵted"](-1,null,["\n "])),(e()(),o["ɵted"](-1,2,["\n "]))],null,function(e,t){e(t,11,0,t.context.$implicit.name);e(t,19,0,o["ɵunv"](t,19,0,o["ɵnov"](t,20).transform("DELETE")))})}function s(e){return o["ɵvid"](0,[(e()(),o["ɵeld"](0,0,null,null,25,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,m.b,m.a)),o["ɵdid"](1,4374528,null,0,b.a,[c.a,v.a,y.a,o.ElementRef,o.Renderer,E.a,w.a,o.NgZone,[2,I.a],[2,S.a]],null,null),(e()(),o["ɵted"](-1,1,["\n "])),(e()(),o["ɵeld"](3,0,null,1,1,"s-form",[],null,[[null,"values"]],function(e,t,n){var i=!0;if("values"===t){i=!1!==e.component.onChange(n)&&i}return i},_.b,_.a)),o["ɵdid"](4,4440064,null,0,C.a,[T.a,N.a,o.ChangeDetectorRef],{structure:[0,"structure"]},{values:"values"}),(e()(),o["ɵted"](-1,1,["\n\n "])),(e()(),o["ɵeld"](6,0,null,1,6,"ion-list",[],[[2,"reorder-enabled",null],[2,"reorder-visible",null],[2,"reorder-side-start",null]],[[null,"ionItemReorder"]],function(e,t,n){var i=!0;if("ionItemReorder"===t){i=!1!==e.component.reorderItems(n)&&i}return i},null,null)),o["ɵdid"](7,147456,null,0,h.a,[v.a,y.a,o.ElementRef,o.Renderer,o.NgZone,[2,b.a]],{reorder:[0,"reorder"]},{ionItemReorder:"ionItemReorder"}),o["ɵdid"](8,16384,null,0,R.a,[c.a,o.ElementRef,o.Renderer,v.a,O.l,y.a],null,null),(e()(),o["ɵted"](-1,null,["\n "])),(e()(),o["ɵand"](16777216,null,null,1,null,i)),o["ɵdid"](11,802816,null,0,D.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"],ngForTrackBy:[1,"ngForTrackBy"]},null),(e()(),o["ɵted"](-1,null,["\n "])),(e()(),o["ɵted"](-1,1,["\n\n "])),(e()(),o["ɵeld"](14,0,null,1,10,"div",[["class","buttons"]],null,null,null,null,null)),(e()(),o["ɵted"](-1,null,["\n "])),(e()(),o["ɵeld"](16,0,null,null,3,"upload-button",[],null,[[null,"select"]],function(e,t,n){var i=!0;if("select"===t){i=!1!==e.component.upload(n)&&i}return i},k.b,k.a)),o["ɵdid"](17,245760,null,0,L.a,[A.a,o.ChangeDetectorRef,x.a,M.f,P.e,S.a,U.a,o.Renderer2,x.a,j.a],{fileSize:[0,"fileSize"]},{select:"select"}),(e()(),o["ɵted"](18,0,["",""])),o["ɵpid"](131072,g.a,[f.a,o.ChangeDetectorRef]),(e()(),o["ɵted"](-1,null,["\n "])),(e()(),o["ɵeld"](21,0,null,null,2,"button",[["class","button"]],[[8,"disabled",0]],[[null,"click"]],function(e,t,n){var i=!0;if("click"===t){i=!1!==e.component.save()&&i}return i},null,null)),(e()(),o["ɵted"](22,null,["",""])),o["ɵpid"](131072,g.a,[f.a,o.ChangeDetectorRef]),(e()(),o["ɵted"](-1,null,["\n "])),(e()(),o["ɵted"](-1,1,["\n"]))],function(e,t){var n=t.component;e(t,4,0,n.form);e(t,7,0,!0);e(t,11,0,t.context.ngIf.files,n.trackById);e(t,17,0,t.context.ngIf.fileSize)},function(e,t){e(t,0,0,o["ɵnov"](t,1).statusbarPadding,o["ɵnov"](t,1)._hasRefresher);e(t,6,0,o["ɵnov"](t,7)._enableReorder,o["ɵnov"](t,7)._visibleReorder,o["ɵnov"](t,7)._isStart);e(t,18,0,o["ɵunv"](t,18,0,o["ɵnov"](t,19).transform("ADD_DOCUMENT")));e(t,21,0,!(t.context.ngIf.name&&t.context.ngIf.files.length>=2));e(t,22,0,o["ɵunv"](t,22,0,o["ɵnov"](t,23).transform("CREATE")))})}function r(e){return o["ɵvid"](2,[(e()(),o["ɵeld"](0,0,null,null,15,"ion-header",[],null,null,null,null,null)),o["ɵdid"](1,16384,null,0,F.a,[c.a,o.ElementRef,o.Renderer,[2,I.a]],null,null),(e()(),o["ɵted"](-1,null,["\n "])),(e()(),o["ɵeld"](3,0,null,null,11,"ion-navbar",[["class","toolbar"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,V.b,V.a)),o["ɵdid"](4,49152,null,0,G.a,[E.a,[2,I.a],[2,S.a],c.a,o.ElementRef,o.Renderer],null,null),(e()(),o["ɵted"](-1,3,["\n "])),(e()(),o["ɵted"](-1,3,["\n "])),(e()(),o["ɵeld"](7,0,null,2,6,"ion-buttons",[["end",""]],null,null,null,null,null)),o["ɵdid"](8,16384,null,1,B.a,[c.a,o.ElementRef,o.Renderer,[2,z.a],[2,G.a]],null,null),o["ɵqud"](603979776,1,{_buttons:1}),(e()(),o["ɵted"](-1,null,["\n "])),(e()(),o["ɵeld"](11,0,null,null,1,"button",[["class","close-btn"],["ion-button",""]],null,[[null,"click"]],function(e,t,n){var i=!0;if("click"===t){i=!1!==e.component.cancel()&&i}return i},q.b,q.a)),o["ɵdid"](12,1097728,[[1,4]],0,W.a,[[8,""],c.a,o.ElementRef,o.Renderer],null,null),(e()(),o["ɵted"](-1,null,["\n "])),(e()(),o["ɵted"](-1,3,["\n "])),(e()(),o["ɵted"](-1,null,["\n"])),(e()(),o["ɵted"](-1,null,["\n\n"])),(e()(),o["ɵand"](16777216,null,null,2,null,s)),o["ɵdid"](18,16384,null,0,D.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),o["ɵpid"](131072,D.AsyncPipe,[o.ChangeDetectorRef]),(e()(),o["ɵted"](-1,null,["\n"]))],function(e,t){var n=t.component;e(t,18,0,o["ɵunv"](t,18,0,o["ɵnov"](t,19).transform(n.State)))},function(e,t){e(t,3,0,o["ɵnov"](t,4)._hidden,o["ɵnov"](t,4)._sbPadding)})}n.d(t,"a",function(){return Z});var o=n(1),l=n(85),a=n(38),u=n(37),c=n(4),h=n(66),d=n(74),p=n(103),g=n(21),f=n(17),m=n(46),b=n(29),v=n(8),y=n(12),E=n(13),w=n(35),I=n(7),S=n(25),_=n(71),C=n(36),T=n(9),N=n(28),R=n(59),O=n(23),D=n(11),k=n(721),L=n(240),A=n(93),x=n(95),M=n(5),P=n(15),U=n(19),j=n(77),F=n(58),V=n(65),G=n(45),B=n(72),z=n(60),q=n(41),W=n(33),H=n(249),K=n(18),Y=o["ɵcrt"]({encapsulation:2,styles:[],data:{}}),Z=o["ɵccf"]("smart-upload",H.a,function(e){return o["ɵvid"](0,[(e()(),o["ɵeld"](0,0,null,null,1,"smart-upload",[],null,null,null,r,Y)),o["ɵdid"](1,245760,null,0,H.a,[T.a,N.a,K.a,I.a,j.a],null,null)],function(e,t){e(t,1,0)},null)},{},{files:"files"},[])},701:function(e,t,n){"use strict";function i(e){return s["ɵvid"](0,[(e()(),s["ɵeld"](0,0,null,null,12,"div",[["class","password-modal"]],null,null,null,null,null)),(e()(),s["ɵted"](-1,null,["\n "])),(e()(),s["ɵeld"](2,0,null,null,2,"h3",[],null,null,null,null,null)),(e()(),s["ɵted"](3,null,["",""])),s["ɵpid"](131072,r.a,[o.a,s.ChangeDetectorRef]),(e()(),s["ɵted"](-1,null,["\n "])),(e()(),s["ɵeld"](6,0,null,null,2,"p",[],null,null,null,null,null)),(e()(),s["ɵted"](7,null,["",""])),s["ɵpid"](131072,r.a,[o.a,s.ChangeDetectorRef]),(e()(),s["ɵted"](-1,null,["\n "])),(e()(),s["ɵeld"](10,0,null,null,1,"s-form",[],null,[[null,"values"]],function(e,t,n){var i=!0;if("values"===t){i=!1!==e.component.passphraseChange(n)&&i}return i},l.b,l.a)),s["ɵdid"](11,4440064,null,0,a.a,[u.a,c.a,s.ChangeDetectorRef],{structure:[0,"structure"]},{values:"values"}),(e()(),s["ɵted"](-1,null,["\n"])),(e()(),s["ɵted"](-1,null,["\n"]))],function(e,t){e(t,11,0,t.component.form)},function(e,t){e(t,3,0,s["ɵunv"](t,3,0,s["ɵnov"](t,4).transform("PROTECTED_DOCUMENT")));e(t,7,0,s["ɵunv"](t,7,0,s["ɵnov"](t,8).transform("PROTECTED_DOCUMENT_MSG")))})}n.d(t,"a",function(){return g});var s=n(1),r=n(21),o=n(17),l=n(71),a=n(36),u=n(9),c=n(28),h=n(373),d=n(7),p=s["ɵcrt"]({encapsulation:2,styles:[],data:{}}),g=s["ɵccf"]("password-modal",h.a,function(e){return s["ɵvid"](0,[(e()(),s["ɵeld"](0,0,null,null,1,"password-modal",[],null,null,null,i,p)),s["ɵdid"](1,245760,null,0,h.a,[u.a,c.a,d.a],null,null)],function(e,t){e(t,1,0)},null)},{},{},[])},702:function(e,t,n){"use strict";function i(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"s-form",[],null,[[null,"values"]],function(e,t,n){var i=!0;if("values"===t){i=!1!==e.component.onChange(n)&&i}return i},a.b,a.a)),l["ɵdid"](1,4440064,null,0,u.a,[c.a,h.a,l.ChangeDetectorRef],{structure:[0,"structure"]},{values:"values"})],function(e,t){e(t,1,0,t.component.userForm)},null)}function s(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,4,"div",[["class","passphrase"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["\n "])),(e()(),l["ɵeld"](2,0,null,null,1,"s-form",[],null,[[null,"values"]],function(e,t,n){var i=!0;if("values"===t){i=!1!==e.component.onChange(n)&&i}return i},a.b,a.a)),l["ɵdid"](3,4440064,null,0,u.a,[c.a,h.a,l.ChangeDetectorRef],{structure:[0,"structure"]},{values:"values"}),(e()(),l["ɵted"](-1,null,["\n "]))],function(e,t){e(t,3,0,t.component.verificationForm)},null)}function r(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,38,"div",[["class","anonymous-signing"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["\n "])),(e()(),l["ɵeld"](2,0,null,null,27,"div",[["class","signing-progress"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["\n "])),(e()(),l["ɵted"](-1,null,["\n\n "])),(e()(),l["ɵeld"](5,0,null,null,23,"div",[["class","points"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["\n "])),(e()(),l["ɵeld"](7,0,null,null,4,"div",[],null,null,null,null,null)),(e()(),l["ɵeld"](8,0,null,null,1,"span",[["class","point"]],[[2,"active",null],[2,"finished",null]],null,null,null,null)),(e()(),l["ɵted"](-1,null,["1"])),(e()(),l["ɵted"](10,null,[" ",""])),l["ɵpid"](131072,d.a,[p.a,l.ChangeDetectorRef]),(e()(),l["ɵted"](-1,null,["\n "])),(e()(),l["ɵeld"](13,0,null,null,0,"div",[["class","flow"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["\n "])),(e()(),l["ɵeld"](15,0,null,null,4,"div",[],null,null,null,null,null)),(e()(),l["ɵeld"](16,0,null,null,1,"span",[["class","point"]],[[2,"active",null],[2,"finished",null]],null,null,null,null)),(e()(),l["ɵted"](-1,null,["2"])),(e()(),l["ɵted"](18,null,[" ",""])),l["ɵpid"](131072,d.a,[p.a,l.ChangeDetectorRef]),(e()(),l["ɵted"](-1,null,["\n "])),(e()(),l["ɵeld"](21,0,null,null,0,"div",[["class","flow"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["\n "])),(e()(),l["ɵeld"](23,0,null,null,4,"div",[],null,null,null,null,null)),(e()(),l["ɵeld"](24,0,null,null,1,"span",[["class","point"]],[[2,"active",null],[2,"finished",null]],null,null,null,null)),(e()(),l["ɵted"](-1,null,["3"])),(e()(),l["ɵted"](26,null,[" ",""])),l["ɵpid"](131072,d.a,[p.a,l.ChangeDetectorRef]),(e()(),l["ɵted"](-1,null,["\n "])),(e()(),l["ɵted"](-1,null,["\n "])),(e()(),l["ɵted"](-1,null,["\n\n "])),(e()(),l["ɵeld"](31,0,null,null,0,"div",[["class","clearfix"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["\n\n "])),(e()(),l["ɵand"](16777216,null,null,1,null,i)),l["ɵdid"](34,16384,null,0,g.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵted"](-1,null,["\n\n "])),(e()(),l["ɵand"](16777216,null,null,1,null,s)),l["ɵdid"](37,16384,null,0,g.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵted"](-1,null,["\n"]))],function(e,t){e(t,34,0,0===t.context.ngIf.step);e(t,37,0,1===t.context.ngIf.step)},function(e,t){e(t,8,0,0===t.context.ngIf.step,t.context.ngIf.step>0);e(t,10,0,l["ɵunv"](t,10,0,l["ɵnov"](t,11).transform("ENTER_VERIFICATION_INFO")));e(t,16,0,1===t.context.ngIf.step,t.context.ngIf.step>1);e(t,18,0,l["ɵunv"](t,18,0,l["ɵnov"](t,19).transform("ENTER_VERIFICATION_TOKEN")));e(t,24,0,2===t.context.ngIf.step,t.context.ngIf.step>2);e(t,26,0,l["ɵunv"](t,26,0,l["ɵnov"](t,27).transform("LETS_SIGN")))})}function o(e){return l["ɵvid"](2,[(e()(),l["ɵand"](16777216,null,null,2,null,r)),l["ɵdid"](1,16384,null,0,g.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),l["ɵpid"](131072,g.AsyncPipe,[l.ChangeDetectorRef]),(e()(),l["ɵted"](-1,null,["\n"]))],function(e,t){var n=t.component;e(t,1,0,l["ɵunv"](t,1,0,l["ɵnov"](t,2).transform(n.State)))},null)}n.d(t,"a",function(){return w});var l=n(1),a=n(71),u=n(36),c=n(9),h=n(28),d=n(21),p=n(17),g=n(11),f=n(318),m=n(15),b=n(18),v=n(7),y=n(63),E=l["ɵcrt"]({encapsulation:2,styles:[],data:{}}),w=l["ɵccf"]("anonymous-signing",f.a,function(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"anonymous-signing",[],null,null,null,o,E)),l["ɵdid"](1,245760,null,0,f.a,[c.a,h.a,m.e,b.a,v.a,y.a],null,null)],function(e,t){e(t,1,0)},null)},{},{},[])},703:function(e,t,n){"use strict";function i(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,4,"div",[["class","item"]],null,[[null,"click"]],function(e,t,n){var i=!0;if("click"===t){i=!1!==e.component.save(e.context.$implicit.language)&&i}return i},null,null)),(e()(),r["ɵted"](-1,null,["\n "])),(e()(),r["ɵeld"](2,0,null,null,1,"icon-set",[],null,null,null,o.b,o.a)),r["ɵdid"](3,114688,null,0,l.a,[a.a,u.a],{name:[0,"name"]},null),(e()(),r["ɵted"](-1,null,["\n "]))],function(e,t){e(t,3,0,t.context.$implicit.flag)},null)}function s(e){return r["ɵvid"](0,[(e()(),r["ɵted"](-1,null,["\n "])),(e()(),r["ɵand"](16777216,null,null,1,null,i)),r["ɵdid"](2,802816,null,0,c.NgForOf,[r.ViewContainerRef,r.TemplateRef,r.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(e()(),r["ɵted"](-1,null,["\n "]))],function(e,t){e(t,2,0,t.component.languages)},null)}n.d(t,"a",function(){return p});var r=n(1),o=n(156),l=n(130),a=n(18),u=n(7),c=n(11),h=n(374),d=r["ɵcrt"]({encapsulation:2,styles:[],data:{}}),p=r["ɵccf"]("select-language-popover",h.b,function(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"select-language-popover",[],null,null,null,s,d)),r["ɵdid"](1,49152,null,0,h.b,[a.a,u.a],null,null)],null,null)},{},{},[])},704:function(e,t,n){"use strict";function i(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,[[1,0]],null,12,"ion-content",[["class","grey-radial-background"],["no-scroll",""]],[[2,"not-present",null],[2,"statusbar-padding",null],[2,"has-refresher",null]],[[null,"animationend"],[null,"animationcancel"]],function(e,t,n){var i=!0,s=e.component;if("animationend"===t){i=!1!==s.animationEnd(n)&&i}if("animationcancel"===t){i=!1!==s.animationEnd(n)&&i}return i},o.b,o.a)),r["ɵdid"](1,4374528,[["el",4]],0,l.a,[a.a,u.a,c.a,r.ElementRef,r.Renderer,h.a,d.a,r.NgZone,[2,p.a],[2,g.a]],null,null),(e()(),r["ɵted"](-1,1,["\n "])),(e()(),r["ɵeld"](3,0,null,1,6,"div",[["class","content-container responsive-content-500"]],null,null,null,null,null)),(e()(),r["ɵted"](-1,null,["\n "])),(e()(),r["ɵeld"](5,0,null,null,0,"img",[["src","./assets/img/swing-loader.svg"]],null,null,null,null,null)),(e()(),r["ɵted"](-1,null,["\n "])),(e()(),r["ɵeld"](7,0,null,null,1,"h3",[],null,null,null,null,null)),(e()(),r["ɵted"](8,null,["",""])),(e()(),r["ɵted"](-1,null,["\n "])),(e()(),r["ɵted"](-1,1,["\n\n "])),(e()(),r["ɵeld"](11,0,null,1,0,"div",[["class","loading-waves-background"]],null,null,null,null,null)),(e()(),r["ɵted"](-1,1,["\n"]))],null,function(e,t){e(t,0,0,!t.context.ngIf.present&&t.context.ngIf.contentInit,r["ɵnov"](t,1).statusbarPadding,r["ɵnov"](t,1)._hasRefresher);e(t,8,0,t.context.ngIf.message)})}function s(e){return r["ɵvid"](0,[r["ɵqud"](671088640,1,{el:0}),(e()(),r["ɵand"](16777216,null,null,2,null,i)),r["ɵdid"](2,16384,null,0,f.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),r["ɵpid"](131072,f.AsyncPipe,[r.ChangeDetectorRef]),(e()(),r["ɵted"](-1,null,["\n"]))],function(e,t){var n=t.component;e(t,2,0,r["ɵunv"](t,2,0,r["ɵnov"](t,3).transform(n.State)))},null)}n.d(t,"a",function(){return y});var r=n(1),o=n(46),l=n(29),a=n(4),u=n(8),c=n(12),h=n(13),d=n(35),p=n(7),g=n(25),f=n(11),m=n(302),b=n(9),v=r["ɵcrt"]({encapsulation:2,styles:[],data:{}}),y=r["ɵccf"]("s-swing-loading",m.a,function(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"s-swing-loading",[],null,null,null,s,v)),r["ɵdid"](1,1228800,null,0,m.a,[b.a,r.ElementRef],null,null)],null,null)},{},{},[])},705:function(e,t,n){"use strict";function i(e){return s["ɵvid"](0,[s["ɵqud"](402653184,1,{videoEl:0}),s["ɵqud"](402653184,2,{canvasEl:0}),(e()(),s["ɵeld"](2,0,null,null,17,"div",[],[[2,"hidden",null]],null,null,null,null)),s["ɵpid"](131072,r.AsyncPipe,[s.ChangeDetectorRef]),(e()(),s["ɵted"](-1,null,["\n "])),(e()(),s["ɵeld"](5,0,[[1,0],["videoEl",1]],null,0,"video",[["autoplay",""]],null,null,null,null,null)),(e()(),s["ɵted"](-1,null,["\n "])),(e()(),s["ɵeld"](7,0,null,null,11,"div",[["class","button-wrapper"]],null,null,null,null,null)),(e()(),s["ɵted"](-1,null,["\n "])),(e()(),s["ɵeld"](9,0,null,null,3,"button",[["class","button ghost small"],["gaAction","doc_view_webcam_cancel"],["gaCat","document_view"]],null,[[null,"click"]],function(e,t,n){var i=!0,r=e.component;if("click"===t){i=!1!==s["ɵnov"](e,10).onClick(n)&&i}if("click"===t){i=!1!==r.cancel()&&i}return i},null,null)),s["ɵdid"](10,16384,null,0,o.a,[l.a],{gaCat:[0,"gaCat"],gaAction:[1,"gaAction"]},null),(e()(),s["ɵted"](11,null,["",""])),s["ɵpid"](131072,a.a,[u.a,s.ChangeDetectorRef]),(e()(),s["ɵted"](-1,null,["\n "])),(e()(),s["ɵeld"](14,0,null,null,3,"button",[["class","button primary small"],["gaAction","doc_view_webcam_take_pic"],["gaCat","document_view"]],null,[[null,"click"]],function(e,t,n){var i=!0,r=e.component;if("click"===t){i=!1!==s["ɵnov"](e,15).onClick(n)&&i}if("click"===t){i=!1!==r.takePicture()&&i}return i},null,null)),s["ɵdid"](15,16384,null,0,o.a,[l.a],{gaCat:[0,"gaCat"],gaAction:[1,"gaAction"]},null),(e()(),s["ɵted"](16,null,["",""])),s["ɵpid"](131072,a.a,[u.a,s.ChangeDetectorRef]),(e()(),s["ɵted"](-1,null,["\n "])),(e()(),s["ɵted"](-1,null,["\n"])),(e()(),s["ɵted"](-1,null,["\n\n"])),(e()(),s["ɵeld"](21,0,null,null,22,"div",[],[[2,"hidden",null]],null,null,null,null)),s["ɵpid"](131072,r.AsyncPipe,[s.ChangeDetectorRef]),(e()(),s["ɵted"](-1,null,["\n "])),(e()(),s["ɵeld"](24,0,[[2,0],["canvasEl",1]],null,0,"canvas",[],null,null,null,null,null)),(e()(),s["ɵted"](-1,null,["\n "])),(e()(),s["ɵeld"](26,0,null,null,16,"div",[["class","button-wrapper"]],null,null,null,null,null)),(e()(),s["ɵted"](-1,null,["\n "])),(e()(),s["ɵeld"](28,0,null,null,3,"button",[["class","button ghost small"],["gaAction","doc_view_webcam_cancel"],["gaCat","document_view"]],null,[[null,"click"]],function(e,t,n){var i=!0,r=e.component;if("click"===t){i=!1!==s["ɵnov"](e,29).onClick(n)&&i}if("click"===t){i=!1!==r.cancel()&&i}return i},null,null)),s["ɵdid"](29,16384,null,0,o.a,[l.a],{gaCat:[0,"gaCat"],gaAction:[1,"gaAction"]},null),(e()(),s["ɵted"](30,null,["",""])),s["ɵpid"](131072,a.a,[u.a,s.ChangeDetectorRef]),(e()(),s["ɵted"](-1,null,["\n "])),(e()(),s["ɵeld"](33,0,null,null,3,"button",[["class","button ghost small"],["gaAction","doc_view_webcam_retake"],["gaCat","document_view"]],null,[[null,"click"]],function(e,t,n){var i=!0,r=e.component;if("click"===t){i=!1!==s["ɵnov"](e,34).onClick(n)&&i}if("click"===t){i=!1!==r.retake()&&i}return i},null,null)),s["ɵdid"](34,16384,null,0,o.a,[l.a],{gaCat:[0,"gaCat"],gaAction:[1,"gaAction"]},null),(e()(),s["ɵted"](35,null,["",""])),s["ɵpid"](131072,a.a,[u.a,s.ChangeDetectorRef]),(e()(),s["ɵted"](-1,null,["\n "])),(e()(),s["ɵeld"](38,0,null,null,3,"button",[["class","button primary small"],["gaAction","doc_view_webcam_confirm"],["gaCat","document_view"]],null,[[null,"click"]],function(e,t,n){var i=!0,r=e.component;if("click"===t){i=!1!==s["ɵnov"](e,39).onClick(n)&&i}if("click"===t){i=!1!==r.confirm()&&i}return i},null,null)),s["ɵdid"](39,16384,null,0,o.a,[l.a],{gaCat:[0,"gaCat"],gaAction:[1,"gaAction"]},null),(e()(),s["ɵted"](40,null,["",""])),s["ɵpid"](131072,a.a,[u.a,s.ChangeDetectorRef]),(e()(),s["ɵted"](-1,null,["\n "])),(e()(),s["ɵted"](-1,null,["\n"])),(e()(),s["ɵted"](-1,null,["\n"]))],function(e,t){e(t,10,0,"document_view","doc_view_webcam_cancel");e(t,15,0,"document_view","doc_view_webcam_take_pic");e(t,29,0,"document_view","doc_view_webcam_cancel");e(t,34,0,"document_view","doc_view_webcam_retake");e(t,39,0,"document_view","doc_view_webcam_confirm")},function(e,t){var n=t.component;e(t,2,0,s["ɵunv"](t,2,0,s["ɵnov"](t,3).transform(n.State)).image);e(t,11,0,s["ɵunv"](t,11,0,s["ɵnov"](t,12).transform("CANCEL")));e(t,16,0,s["ɵunv"](t,16,0,s["ɵnov"](t,17).transform("TAKE_PICTURE")));e(t,21,0,!s["ɵunv"](t,21,0,s["ɵnov"](t,22).transform(n.State)).image);e(t,30,0,s["ɵunv"](t,30,0,s["ɵnov"](t,31).transform("CANCEL")));e(t,35,0,s["ɵunv"](t,35,0,s["ɵnov"](t,36).transform("RETAKE_PICTURE")));e(t,40,0,s["ɵunv"](t,40,0,s["ɵnov"](t,41).transform("CONFIRM")))})}n.d(t,"a",function(){return g});var s=n(1),r=n(11),o=n(114),l=n(43),a=n(21),u=n(17),c=n(313),h=n(7),d=n(9),p=s["ɵcrt"]({encapsulation:2,styles:[],data:{}}),g=s["ɵccf"]("webcam-scanner-modal",c.a,function(e){return s["ɵvid"](0,[(e()(),s["ɵeld"](0,0,null,null,1,"webcam-scanner-modal",[],null,null,null,i,p)),s["ɵdid"](1,1228800,null,0,c.a,[h.a,d.a],null,null)],null,null)},{},{},[])},706:function(e,t,n){"use strict";function i(e){return new o.a(e,"./assets/i18n/",".json")}var s=n(0),r=(n(258),n(310),n(308),n(309),n(375),n(209),n(210),n(211),n(39),n(1),n(91),n(6)),o=(n(292),n(22),n(1070)),l=(n(668),n(724),n(48),n(222),n(127),n(168),n(670),n(116),n(102),n(70),n(288),n(146),n(305),n(293),n(171),n(311),n(247),n(234),n(11)),a=(n(671),n(343),n(95),n(223),n(169),n(55),n(113),n(133),n(1071)),u=n(1072),c=n(1073),h=n(1074),d=n(1075),p=n(1076),g=n(1077),f=n(1078);n(298),n(297),n(295),n(301),n(296),n(300),n(299),n(294),n(9),n(353),n(44),n(304),n(28),n(31),n(86),n(84),n(291),n(93),n(78),n(34),n(15),n(5),n(14),n(19),n(119),n(166),n(172),n(80),n(344),n(224),n(324),n(356),n(354),n(355),n(92),n(357),n(352),n(1079),n(319),n(320),n(674),n(233),n(321),n(63),n(322),n(225),n(110),n(213),n(43),n(73);t.e=i,t.f=function(e){return e.currentLang},n.d(t,"b",function(){return m}),n.d(t,"c",function(){return b}),t.d=function(e){return function(){return e.load()}},n.d(t,"a",function(){return y}),n.d(t,"g",function(){return v});var m=function(e){function t(t,n){var i=e.call(this)||this;return i.server=t,i.storage=n,i}return Object(s.__extends)(t,e),t.prototype.handleError=function(t){if(console.log("send error"),console.log(this.storage.token),this.storage.token)try{this.server.catchError(t.toString()).subscribe()}catch(t){}e.prototype.handleError.call(this,t)},t}(r.f),b=function(){function e(e,t){this.storage=e,this.session=t,Object(l.registerLocaleData)(a.a,"pl"),Object(l.registerLocaleData)(u.a,"mn"),Object(l.registerLocaleData)(c.a,"cs"),Object(l.registerLocaleData)(h.a,"th"),Object(l.registerLocaleData)(d.a,"he"),Object(l.registerLocaleData)(p.a,"sk"),Object(l.registerLocaleData)(g.a,"pt"),Object(l.registerLocaleData)(f.a,"br")}return e.prototype.intercept=function(e,t){var n={};return"NON"==e.headers.get("mode")?(e=e.clone({headers:e.headers.delete("mode")}),t.handle(e)):(n["Content-Type"]="application/x-www-form-urlencoded",this.session.get("token")?n.Authorization="Bearer "+this.session.get("token"):this.storage.token&&(n.Authorization="Bearer "+this.storage.token),e=e.clone({setHeaders:n}),t.handle(e))},e}(),v=i,y=function(){return function(){}}()},707:function(e,t,n){"use strict";n.d(t,"a",function(){return o}),n.d(t,"b",function(){return l});var i=n(0),s=n(1),r=n(208),o=function(){var e={};return e[e.EMAIL=0]="EMAIL",e[e.DOWNLOAD=1]="DOWNLOAD",e[e.OPEN_IN=2]="OPEN_IN",e[e.DELETE=3]="DELETE",e[e.REJECT=4]="REJECT",e[e.RENAME=5]="RENAME",e}(),l=function(e){function t(t,n,i,r,o){var l=e.call(this,n,i,r,t)||this;return l.img=o,l.buttonClick=new s.EventEmitter,l.buttons=[],l}return Object(i.__extends)(t,e),t.prototype.ngOnInit=function(){this.position="bottom",this._size=49,this.initMenuBottom(),this.initButtons()},t.prototype.initButtons=function(){this.buttons=[{code:o.EMAIL,label:"EMAIL",img:this.img.email},{code:o.DOWNLOAD,label:"DOWNLOAD",img:this.img.openIn},{code:o.OPEN_IN,label:"OPEN_IN",img:this.img.openIn},{code:o.RENAME,label:"RENAME",img:this.img.rename},{code:o.DELETE,label:"DELETE",img:this.img.delete},{code:o.REJECT,label:"REJECT",img:this.img.openIn}]},t.prototype.isShown=function(e){return this.show.contains(e)},t.prototype.isDisabled=function(e){return this.disable.contains(e)},t.prototype.click=function(e){this.buttonClick.emit(e)},t}(r.a)},708:function(e,t,n){"use strict";n.d(t,"a",function(){return d}),n.d(t,"b",function(){return p});var i=n(0),s=n(1),r=n(52),o=n(162),l=n(1069),a=n.n(l),u=n(306),c=n.n(u),h=this&&this.__assign||Object.assign||function(e){for(var t,n=1,i=arguments.length;n1?null:{x:e.touches[0].clientX,y:e.touches[0].clientY}},e.prototype.listenToPan=function(){var e=this;if(!(this.listeners.length>0)){var t;t=this.pagerManager.type===o.a.CAROUSEL?this.pageViewElement.nativeElement:document.body,this.listeners=[this.activePointerMove(t,function(t){t.preventDefault(),t.stopImmediatePropagation(),t.stopPropagation(),e.pointerMove(t)}),function(e,t,n,i){if("on"+n in window)return e.listen(t,n,i);var s;switch(n){case"pointerdown":s=[e.listen(t,"mousedown",i),e.listen(t,"touchstart",i)];break;case"pointermove":s=[e.listen(t,"mousemove",i),e.listen(t,"touchmove",i)];break;case"pointerup":s=[e.listen(t,"mouseup",i),e.listen(t,"touchend",i)]}return function(){return s.forEach(function(e){return e()})}}(this.renderer,document.body,"pointerup",this.editDone),this.renderer.listen(document,"mouseout",function(t){0==t.screenX&&0==t.screenY&&e.editDone(t)})]}},e.prototype.activePointerMove=function(e,t){var n=!!this.supportsPassive&&{passive:!1};return e.addEventListener("mousemove",t,n),e.addEventListener("touchmove",t,n),function(){e.removeEventListener("mousemove",t),e.removeEventListener("touchmove",t)}},e.prototype.block=function(e){e.preventDefault(),e.stopImmediatePropagation(),e.stopPropagation()},e.prototype._onClick=function(e){this.pagerManager.canBlockClick(e)||this.onMovement.emit({type:d.click,position:null})},e.prototype._pointerDown=function(e){e&&e instanceof MouseEvent&&2==e.button||this.resizeEnable&&this.isSelected&&(e.preventDefault(),e.stopImmediatePropagation(),e.stopPropagation(),this.pagerManager.blockEvents(!0),this.staticRectPixels=this.percentToPixels(this.position),this.firstTouch=this.normalize(e),this.listenToPan(),this.onMovement.emit({type:d.down,position:this.staticRectPixels}))},e.prototype.resize=function(e){var t=this,n=this.pagerManager.getRealZoom();e.x/=n<1?1:n,e.y/=n<1?1:n;var i=this.activeArrow.case,s=h({},this.staticRectPixels),o=this.pageSize.height/100,l=this.pageSize.width/100,a=function(n,i,r,o){s[n]+=e[i],s[n]=Math.max(s[n],r),s[n]=Math.min(s[n],o,t.pageSize[n]-s[i])},u=function(t,n,i,r){s[t]-=e[n],s[t]>r?(s[n]+=s[t]-r,s[t]=r):s[t]m&&(s.height=m),s.width=s.height}var b=this.determinePage(this.movementPosition).page;this.onMovement.emit({type:d.move,position:s,page:b})},e.prototype.drag=function(e){var t=this.staticRectPixels,n=this.pageSize.height,i=this.pageSize.width,s=this.pagerManager.getRealZoom(),r=e.x/(s<1?1:s)+t.x,o=e.y/(s<1?1:s)+t.y;r=Math.max(r,0),r=Math.min(r,i-t.width);var l=this.page;l===this.documentView.browsable.pages.length-1&&(o=Math.min(o,n-t.height)),0===l&&(o=Math.max(o,0));var a=h({},t,{x:r,y:o});this.onMovement.emit({type:d.move,position:a})},e.prototype.getDelta=function(e){var t=this.normalize(e);if(this.firstTouch&&t)return{x:t.x-this.firstTouch.x,y:t.y-this.firstTouch.y}},e.prototype.distanceBetweenPages=function(e,t){var n=this.pagerManager.state.itemDimensions;return(n.height-n.width*this.documentView.browsable.pages[e].ratio)/2+this.pagerManager.marginBetweenItems+(n.height-n.width*this.documentView.browsable.pages[t].ratio)/2},e.prototype.determinePage=function(e){var t,n=e.y,i=this.page;if(this.pagerManager.type===o.a.CAROUSEL)return n=Math.max(n,0),n=Math.min(n,this.pagerManager.realItemDimensions(i).height-e.height),e.y=n,{position:e,page:i};if(n>0)for(;;){var s=this.pagerManager.realItemDimensions(i);if(i===this.documentView.browsable.pages.length-1){t=Math.min(n,s.height-e.height);break}if(n-s.height<0){t=Math.min(n,s.height-e.height);break}if((n-=s.height)-((r=this.distanceBetweenPages(i,i+1))-e.height)/2<0){t=s.height-e.height;break}if(n-=r,i++,n<0){t=0;break}}else for(;;){if(0===i){t=0;break}var r;if(n+((r=this.distanceBetweenPages(i,i-1))+e.height)/2>0){t=0;break}n+=r;if((n+=(s=this.pagerManager.realItemDimensions(--i)).height)>0){t=Math.min(n,s.height-e.height);break}}return e.y=t,{position:e,page:i}},e=Object(i.__decorate)([Object(i.__param)(2,Object(s.Inject)(Object(s.forwardRef)(function(){return o.a})))],e)}()},709:function(e,t,n){"use strict";n.d(t,"a",function(){return s});n(0);var i=n(1),s=function(){function e(){this.toggled=new i.EventEmitter,this.selected="left"}return e.prototype.toggle=function(e){e!=this.selected&&(this.selected=e,this.toggled.emit({selected:e}))},e}()},71:function(e,t,n){"use strict";function i(e){return w["ɵvid"](0,[(e()(),w["ɵeld"](0,0,null,null,2,"legend",[],null,null,null,null,null)),(e()(),w["ɵted"](1,null,["",""])),w["ɵpid"](131072,I.a,[S.a,w.ChangeDetectorRef])],null,function(e,t){var n=t.component;e(t,1,0,w["ɵunv"](t,1,0,w["ɵnov"](t,2).transform(n.structure.heading)))})}function s(e){return w["ɵvid"](0,[(e()(),w["ɵeld"](0,0,null,null,13,"div",[["class","controls"]],null,null,null,null,null)),(e()(),w["ɵted"](-1,null,["\n "])),(e()(),w["ɵeld"](2,0,[[1,0],["expandButton",1]],null,4,"button",[["class","button circular disable-hover"]],[[2,"hidden",null]],[[null,"click"]],function(e,t,n){var i=!0;if("click"===t){i=!1!==e.component.collapse()&&i}return i},null,null)),(e()(),w["ɵted"](-1,null,["\n "])),(e()(),w["ɵeld"](4,0,null,null,1,"ion-icon",[["name","add"],["role","img"]],[[2,"hide",null]],null,null,null,null)),w["ɵdid"](5,147456,null,0,_.a,[C.a,w.ElementRef,w.Renderer],{name:[0,"name"]},null),(e()(),w["ɵted"](-1,null,["\n "])),(e()(),w["ɵted"](-1,null,["\n\n "])),(e()(),w["ɵeld"](8,0,[[2,0],["collapseButton",1]],null,4,"button",[["class","button circular disable-hover"]],[[2,"hidden",null]],[[null,"click"]],function(e,t,n){var i=!0;if("click"===t){i=!1!==e.component.collapse()&&i}return i},null,null)),(e()(),w["ɵted"](-1,null,["\n "])),(e()(),w["ɵeld"](10,0,null,null,1,"ion-icon",[["name","remove"],["role","img"]],[[2,"hide",null]],null,null,null,null)),w["ɵdid"](11,147456,null,0,_.a,[C.a,w.ElementRef,w.Renderer],{name:[0,"name"]},null),(e()(),w["ɵted"](-1,null,["\n "])),(e()(),w["ɵted"](-1,null,["\n "]))],function(e,t){e(t,5,0,"add");e(t,11,0,"remove")},function(e,t){var n=t.component;e(t,2,0,!n.collapsed);e(t,4,0,w["ɵnov"](t,5)._hidden);e(t,8,0,n.collapsed);e(t,10,0,w["ɵnov"](t,11)._hidden)})}function r(e){return w["ɵvid"](0,[(e()(),w["ɵeld"](0,0,null,null,1,"ion-icon",[["class","warning"],["name","alert"],["role","img"]],[[2,"eyed",null],[2,"hide",null]],null,null,null,null)),w["ɵdid"](1,147456,null,0,_.a,[C.a,w.ElementRef,w.Renderer],{name:[0,"name"]},null)],function(e,t){e(t,1,0,"alert")},function(e,t){e(t,0,0,t.parent.parent.context.$implicit.type===t.component.Types.PASSWORD,w["ɵnov"](t,1)._hidden)})}function o(e){return w["ɵvid"](0,[(e()(),w["ɵeld"](0,0,null,null,1,"p",[["class","hint"]],null,null,null,null,null)),(e()(),w["ɵted"](1,null,["\n ","\n "]))],null,function(e,t){e(t,1,0,t.parent.parent.context.$implicit.hint)})}function l(e){return w["ɵvid"](0,[(e()(),w["ɵeld"](0,0,null,null,29,"div",[["class","group"],["passwordToggle",""]],null,[[null,"click"]],function(e,t,n){var i=!0;if("click"===t){i=!1!==(e.parent.context.$implicit.onClick?e.parent.context.$implicit.onClick():null)&&i}return i},null,null)),w["ɵdid"](1,278528,null,0,T.NgStyle,[w.KeyValueDiffers,w.ElementRef,w.Renderer2],{ngStyle:[0,"ngStyle"]},null),w["ɵpod"](2,{"margin-bottom":0}),w["ɵdid"](3,4210688,null,0,N.a,[w.ElementRef,w.Renderer2,R.f],null,null),(e()(),w["ɵted"](-1,null,["\n "])),(e()(),w["ɵeld"](5,0,null,null,8,"input",[],[[8,"name",0],[8,"id",0],[8,"type",0],[8,"value",0],[8,"placeholder",0],[8,"classList",0],[8,"minLength",0],[8,"maxLength",0],[8,"autocapitalize",0],[8,"autocomplete",0],[8,"tabIndex",0],[1,"inputMode",0],[8,"autofocus",0],[1,"data-qa",0],[1,"required",0],[1,"pattern",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"input"],[null,"paste"],[null,"ngModelChange"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(e,t,n){var i=!0,s=e.component;if("input"===t){i=!1!==w["ɵnov"](e,6)._handleInput(n.target.value)&&i}if("blur"===t){i=!1!==w["ɵnov"](e,6).onTouched()&&i}if("compositionstart"===t){i=!1!==w["ɵnov"](e,6)._compositionStart()&&i}if("compositionend"===t){i=!1!==w["ɵnov"](e,6)._compositionEnd(n.target.value)&&i}if("input"===t){i=!1!==s.onChange(n)&&i}if("paste"===t){i=!1!==s.onPaste(n)&&i}if("ngModelChange"===t){i=!1!==(e.parent.context.$implicit.value=n)&&i}return i},null,null)),w["ɵdid"](6,16384,null,0,O.c,[w.Renderer2,w.ElementRef,[2,O.a]],null,null),w["ɵdid"](7,16384,null,0,O.u,[],{required:[0,"required"]},null),w["ɵdid"](8,540672,null,0,O.s,[],{pattern:[0,"pattern"]},null),w["ɵprd"](1024,null,O.k,function(e,t){return[e,t]},[O.u,O.s]),w["ɵprd"](1024,null,O.l,function(e){return[e]},[O.c]),w["ɵdid"](11,671744,null,0,O.f,[[3,O.b],[2,O.k],[8,null],[2,O.l]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),w["ɵprd"](2048,null,O.m,null,[O.f]),w["ɵdid"](13,16384,null,0,O.n,[O.m],null,null),(e()(),w["ɵted"](-1,null,["\n "])),(e()(),w["ɵted"](-1,null,["\n "])),(e()(),w["ɵand"](16777216,null,null,1,null,r)),w["ɵdid"](17,16384,null,0,T.NgIf,[w.ViewContainerRef,w.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),w["ɵted"](-1,null,["\n "])),(e()(),w["ɵeld"](19,0,null,null,0,"span",[["class","highlight"]],null,null,null,null,null)),(e()(),w["ɵted"](-1,null,["\n "])),(e()(),w["ɵeld"](21,0,null,null,0,"span",[["class","bar"]],null,null,null,null,null)),(e()(),w["ɵted"](-1,null,["\n "])),(e()(),w["ɵeld"](23,0,null,null,2,"label",[],[[8,"htmlFor",0]],null,null,null,null)),(e()(),w["ɵted"](24,null,["\n ","\n "])),w["ɵpid"](131072,I.a,[S.a,w.ChangeDetectorRef]),(e()(),w["ɵted"](-1,null,["\n\n "])),(e()(),w["ɵand"](16777216,null,null,1,null,o)),w["ɵdid"](28,16384,null,0,T.NgIf,[w.ViewContainerRef,w.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),w["ɵted"](-1,null,["\n "]))],function(e,t){var n=t.component;e(t,1,0,e(t,2,0,t.parent.context.$implicit.hint?"35px":void 0));e(t,7,0,!!t.parent.context.$implicit.required);e(t,8,0,t.parent.context.$implicit.pattern);e(t,11,0,t.parent.context.$implicit.name,t.parent.context.$implicit.value);e(t,17,0,!n.structure.hideValidatorUI&&n.formGroup.get(t.parent.context.$implicit.name).invalid&&(n.formGroup.get(t.parent.context.$implicit.name).dirty||n.formGroup.get(t.parent.context.$implicit.name).touched||n.structure.alwaysShowValidatorUI));e(t,28,0,t.parent.context.$implicit.hint)},function(e,t){e(t,5,1,[t.parent.context.$implicit.name,t.parent.context.$implicit.name,t.parent.context.$implicit.type,t.parent.context.$implicit.value||"",t.parent.context.$implicit.placeholder||" ",t.parent.context.$implicit.classes?t.parent.context.$implicit.classes:"",t.parent.context.$implicit.minLength||0,t.parent.context.$implicit.maxLength||524288,t.parent.context.$implicit.autoCapitalize,t.parent.context.$implicit.autocomplete||"",t.parent.context.$implicit.tabIndex,t.parent.context.$implicit.inputMode,t.parent.context.$implicit.autoFocus,t.parent.context.$implicit.dataQa,w["ɵnov"](t,7).required?"":null,w["ɵnov"](t,8).pattern?w["ɵnov"](t,8).pattern:null,w["ɵnov"](t,13).ngClassUntouched,w["ɵnov"](t,13).ngClassTouched,w["ɵnov"](t,13).ngClassPristine,w["ɵnov"](t,13).ngClassDirty,w["ɵnov"](t,13).ngClassValid,w["ɵnov"](t,13).ngClassInvalid,w["ɵnov"](t,13).ngClassPending]);e(t,23,0,t.parent.context.$implicit.name);e(t,24,0,w["ɵunv"](t,24,0,w["ɵnov"](t,25).transform(t.parent.context.$implicit.label?t.parent.context.$implicit.label:"")))})}function a(e){return w["ɵvid"](0,[(e()(),w["ɵeld"](0,0,null,null,1,"icon-set",[["height","24px"]],null,null,null,D.b,D.a)),w["ɵdid"](1,114688,null,0,k.a,[L.a,A.a],{name:[0,"name"],height:[1,"height"]},null)],function(e,t){e(t,1,0,t.parent.parent.context.$implicit.icon,"24px")},null)}function u(e){return w["ɵvid"](0,[(e()(),w["ɵeld"](0,0,null,null,1,"ion-spinner",[["color","text"],["name","crescent"]],[[2,"spinner-paused",null]],null,null,x.b,x.a)),w["ɵdid"](1,114688,null,0,M.a,[C.a,w.ElementRef,w.Renderer],{color:[0,"color"],name:[1,"name"]},null)],function(e,t){e(t,1,0,"text","crescent")},function(e,t){e(t,0,0,w["ɵnov"](t,1)._paused)})}function c(e){return w["ɵvid"](0,[(e()(),w["ɵeld"](0,0,null,null,22,"div",[["class","button-wrapper"]],[[2,"disabled-button-wrapper",null]],null,null,null,null)),(e()(),w["ɵted"](-1,null,["\n "])),(e()(),w["ɵted"](-1,null,["\n "])),(e()(),w["ɵeld"](3,0,null,null,18,"button",[],[[8,"name",0],[8,"type",0],[8,"disabled",0],[8,"classList",0],[1,"data-qa",0]],[[null,"click"]],function(e,t,n){var i=!0,s=e.component;if("click"===t){i=!1!==w["ɵnov"](e,4).onClick(n)&&i}if("click"===t){i=!1!==s.onClick(n)&&i}return i},null,null)),w["ɵdid"](4,16384,null,0,P.a,[U.a],{gaCat:[0,"gaCat"],gaAction:[1,"gaAction"],gaLabel:[2,"gaLabel"]},null),w["ɵpid"](131072,T.AsyncPipe,[w.ChangeDetectorRef]),w["ɵpid"](131072,T.AsyncPipe,[w.ChangeDetectorRef]),(e()(),w["ɵted"](-1,null,["\n "])),(e()(),w["ɵand"](16777216,null,null,1,null,a)),w["ɵdid"](9,16384,null,0,T.NgIf,[w.ViewContainerRef,w.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),w["ɵted"](-1,null,["\n "])),(e()(),w["ɵeld"](11,0,null,null,5,"span",[],null,null,null,null,null)),(e()(),w["ɵted"](12,null,["",""])),w["ɵpid"](131072,T.AsyncPipe,[w.ChangeDetectorRef]),w["ɵpid"](131072,T.AsyncPipe,[w.ChangeDetectorRef]),w["ɵpid"](131072,T.AsyncPipe,[w.ChangeDetectorRef]),w["ɵpid"](131072,I.a,[S.a,w.ChangeDetectorRef]),(e()(),w["ɵted"](-1,null,["\n "])),(e()(),w["ɵand"](16777216,null,null,2,null,u)),w["ɵdid"](19,16384,null,0,T.NgIf,[w.ViewContainerRef,w.TemplateRef],{ngIf:[0,"ngIf"]},null),w["ɵpid"](131072,T.AsyncPipe,[w.ChangeDetectorRef]),(e()(),w["ɵted"](-1,null,["\n "])),(e()(),w["ɵted"](-1,null,["\n "]))],function(e,t){e(t,4,0,t.parent.context.$implicit.gaCat,t.parent.context.$implicit.gaAction,t.parent.context.$implicit.gaLabel);e(t,9,0,t.parent.context.$implicit.icon);e(t,19,0,!0===w["ɵunv"](t,19,0,w["ɵnov"](t,20).transform(t.parent.context.$implicit.activeLoading)))},function(e,t){var n=t.component;e(t,0,0,!(t.parent.context.$implicit.ignoreValidation||!t.parent.context.$implicit.readonly&&n.formGroup.valid));e(t,3,0,t.parent.context.$implicit.name,t.parent.context.$implicit.type,!t.parent.context.$implicit.ignoreValidation&&(!!t.parent.context.$implicit.readonly||!n.formGroup.valid)||!0!==w["ɵunv"](t,3,2,w["ɵnov"](t,5).transform(t.parent.context.$implicit.activeLoading))&&!!w["ɵunv"](t,3,2,w["ɵnov"](t,6).transform(t.parent.context.$implicit.activeLoading)),t.parent.context.$implicit.classes?t.parent.context.$implicit.classes.join(" "):"small button",t.parent.context.$implicit.dataQa);e(t,12,0,w["ɵunv"](t,12,0,w["ɵnov"](t,16).transform(!0!==w["ɵunv"](t,12,0,w["ɵnov"](t,13).transform(t.parent.context.$implicit.activeLoading))&&w["ɵunv"](t,12,0,w["ɵnov"](t,14).transform(t.parent.context.$implicit.activeLoading))?w["ɵunv"](t,12,0,w["ɵnov"](t,15).transform(t.parent.context.$implicit.activeLoading)):t.parent.context.$implicit.value)))})}function h(e){return w["ɵvid"](0,[(e()(),w["ɵeld"](0,0,null,null,2,"span",[],null,null,null,null,null)),(e()(),w["ɵted"](1,null,["",""])),w["ɵpid"](131072,I.a,[S.a,w.ChangeDetectorRef])],null,function(e,t){e(t,1,0,w["ɵunv"](t,1,0,w["ɵnov"](t,2).transform(t.parent.parent.context.$implicit.value)))})}function d(e){return w["ɵvid"](0,[(e()(),w["ɵeld"](0,0,null,null,4,"div",[],[[8,"classList",0]],null,null,null,null)),(e()(),w["ɵted"](-1,null,["\n "])),(e()(),w["ɵand"](16777216,null,null,1,null,h)),w["ɵdid"](3,16384,null,0,T.NgIf,[w.ViewContainerRef,w.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),w["ɵted"](-1,null,["\n "]))],function(e,t){e(t,3,0,t.parent.context.$implicit.value)},function(e,t){e(t,0,0,t.parent.context.$implicit.classes?t.parent.context.$implicit.classes.join(" ")+" custom-item":"custom-item")})}function p(e){return w["ɵvid"](0,[(e()(),w["ɵeld"](0,0,null,null,7,"div",[],[[8,"classList",0],[2,"lonely",null]],null,null,null,null)),(e()(),w["ɵted"](-1,null,["\n "])),(e()(),w["ɵeld"](2,0,null,null,1,"signosoft-checkbox",[],[[1,"data-qa",0],[2,"checked",null],[2,"disabled",null],[2,"checkbox",null],[2,"radio",null]],[[null,"checkedChange"],[null,"click"]],function(e,t,n){var i=!0,s=e.component;if("click"===t){i=!1!==w["ɵnov"](e,3).click()&&i}if("checkedChange"===t){i=!1!==s.onBoolean(e.parent.context.$implicit.name,n)&&i}return i},j.b,j.a)),w["ɵdid"](3,49152,null,0,F.a,[],{mode:[0,"mode"],checked:[1,"checked"],disableModel:[2,"disableModel"]},{checkedChange:"checkedChange"}),(e()(),w["ɵted"](-1,null,["\n "])),(e()(),w["ɵeld"](5,0,null,null,1,"div",[["class","checkbox-box-lable"]],[[8,"innerHTML",1]],[[null,"click"]],function(e,t,n){var i=!0;if("click"===t){i=!1!==e.component.onBoolean(e.parent.context.$implicit.name,!e.parent.context.$implicit.value)&&i}return i},null,null)),w["ɵpid"](131072,I.a,[S.a,w.ChangeDetectorRef]),(e()(),w["ɵted"](-1,null,["\n "]))],function(e,t){e(t,3,0,t.parent.context.$implicit.type===t.component.Types.RADIO?"radio":"checkbox",!0===t.parent.context.$implicit.value||"true"===t.parent.context.$implicit.value,!0)},function(e,t){e(t,0,0,(t.parent.context.$implicit.classes?t.parent.context.$implicit.classes:"")+" checkbox-box",1===t.component.structure.fields.length);e(t,2,0,t.parent.context.$implicit.dataQa,w["ɵnov"](t,3).checked,w["ɵnov"](t,3).disabled,"checkbox"==w["ɵnov"](t,3).mode,"radio"==w["ɵnov"](t,3).mode);e(t,5,0,w["ɵunv"](t,5,0,w["ɵnov"](t,6).transform(t.parent.context.$implicit.label)))})}function g(e){return w["ɵvid"](0,[(e()(),w["ɵeld"](0,0,null,null,2,"label",[],null,null,null,null,null)),(e()(),w["ɵted"](1,null,["",""])),w["ɵpid"](131072,I.a,[S.a,w.ChangeDetectorRef])],null,function(e,t){e(t,1,0,w["ɵunv"](t,1,0,w["ɵnov"](t,2).transform(t.parent.parent.context.$implicit.label)))})}function f(e){return w["ɵvid"](0,[(e()(),w["ɵeld"](0,0,null,null,4,"option",[["disabled",""],["value",""]],[[8,"selected",0]],null,null,null,null)),w["ɵdid"](1,147456,null,0,O.r,[w.ElementRef,w.Renderer2,[8,null]],{value:[0,"value"]},null),w["ɵdid"](2,147456,null,0,O.A,[w.ElementRef,w.Renderer2,[8,null]],{value:[0,"value"]},null),(e()(),w["ɵted"](3,null,["",""])),w["ɵpid"](131072,I.a,[S.a,w.ChangeDetectorRef])],function(e,t){e(t,1,0,"");e(t,2,0,"")},function(e,t){e(t,0,0,!t.parent.parent.context.$implicit.value);e(t,3,0,w["ɵunv"](t,3,0,w["ɵnov"](t,4).transform("SELECT")))})}function m(e){return w["ɵvid"](0,[(e()(),w["ɵeld"](0,0,null,null,4,"option",[],[[8,"selected",0]],null,null,null,null)),w["ɵdid"](1,147456,null,0,O.r,[w.ElementRef,w.Renderer2,[8,null]],{value:[0,"value"]},null),w["ɵdid"](2,147456,null,0,O.A,[w.ElementRef,w.Renderer2,[8,null]],{value:[0,"value"]},null),(e()(),w["ɵted"](3,null,["",""])),w["ɵpid"](131072,I.a,[S.a,w.ChangeDetectorRef])],function(e,t){e(t,1,0,t.context.$implicit.key);e(t,2,0,t.context.$implicit.key)},function(e,t){e(t,0,0,t.parent.parent.context.$implicit.value===t.context.$implicit.key);e(t,3,0,w["ɵunv"](t,3,0,w["ɵnov"](t,4).transform(t.context.$implicit.value)))})}function b(e){return w["ɵvid"](0,[(e()(),w["ɵeld"](0,0,null,null,23,"div",[["style","margin:2rem 0;position: relative;"]],null,null,null,null,null)),(e()(),w["ɵted"](-1,null,["\n"])),(e()(),w["ɵted"](-1,null,["\n "])),(e()(),w["ɵand"](16777216,null,null,1,null,g)),w["ɵdid"](4,16384,null,0,T.NgIf,[w.ViewContainerRef,w.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),w["ɵted"](-1,null,["\n "])),(e()(),w["ɵeld"](6,0,null,null,7,"input",[["class","valueholder"],["hidden",""],["readonly",""]],[[1,"data-qa",0],[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(e,t,n){var i=!0;if("input"===t){i=!1!==w["ɵnov"](e,7)._handleInput(n.target.value)&&i}if("blur"===t){i=!1!==w["ɵnov"](e,7).onTouched()&&i}if("compositionstart"===t){i=!1!==w["ɵnov"](e,7)._compositionStart()&&i}if("compositionend"===t){i=!1!==w["ɵnov"](e,7)._compositionEnd(n.target.value)&&i}if("ngModelChange"===t){i=!1!==(e.parent.context.$implicit.value=n)&&i}return i},null,null)),w["ɵdid"](7,16384,null,0,O.c,[w.Renderer2,w.ElementRef,[2,O.a]],null,null),w["ɵdid"](8,16384,null,0,O.u,[],{required:[0,"required"]},null),w["ɵprd"](1024,null,O.k,function(e){return[e]},[O.u]),w["ɵprd"](1024,null,O.l,function(e){return[e]},[O.c]),w["ɵdid"](11,671744,null,0,O.f,[[3,O.b],[2,O.k],[8,null],[2,O.l]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),w["ɵprd"](2048,null,O.m,null,[O.f]),w["ɵdid"](13,16384,null,0,O.n,[O.m],null,null),(e()(),w["ɵted"](-1,null,["\n "])),(e()(),w["ɵeld"](15,0,null,null,7,"select",[],[[8,"name",0],[8,"required",0],[8,"classList",0]],[[null,"change"]],function(e,t,n){var i=!0;if("change"===t){i=!1!==e.component.onSelect(n)&&i}return i},null,null)),(e()(),w["ɵted"](-1,null,["\n "])),(e()(),w["ɵand"](16777216,null,null,1,null,f)),w["ɵdid"](18,16384,null,0,T.NgIf,[w.ViewContainerRef,w.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),w["ɵted"](-1,null,["\n "])),(e()(),w["ɵand"](16777216,null,null,1,null,m)),w["ɵdid"](21,802816,null,0,T.NgForOf,[w.ViewContainerRef,w.TemplateRef,w.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(e()(),w["ɵted"](-1,null,["\n "])),(e()(),w["ɵted"](-1,null,["\n "]))],function(e,t){e(t,4,0,t.parent.context.$implicit.label);e(t,8,0,!!t.parent.context.$implicit.required);e(t,11,0,t.parent.context.$implicit.name,t.parent.context.$implicit.value);e(t,18,0,!t.parent.context.$implicit.autoSelect);e(t,21,0,t.parent.context.$implicit.options)},function(e,t){e(t,6,0,t.parent.context.$implicit.dataQa,w["ɵnov"](t,8).required?"":null,w["ɵnov"](t,13).ngClassUntouched,w["ɵnov"](t,13).ngClassTouched,w["ɵnov"](t,13).ngClassPristine,w["ɵnov"](t,13).ngClassDirty,w["ɵnov"](t,13).ngClassValid,w["ɵnov"](t,13).ngClassInvalid,w["ɵnov"](t,13).ngClassPending);e(t,15,0,t.parent.context.$implicit.name,!!t.parent.context.$implicit.required,t.parent.context.$implicit.classes?t.parent.context.$implicit.classes:"signosoft-select")})}function v(e){return w["ɵvid"](0,[(e()(),w["ɵeld"](0,0,null,null,18,null,null,null,null,null,null,null)),(e()(),w["ɵted"](-1,null,["\n "])),(e()(),w["ɵand"](16777216,null,null,1,null,l)),w["ɵdid"](3,16384,null,0,T.NgIf,[w.ViewContainerRef,w.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),w["ɵted"](-1,null,["\n\n "])),(e()(),w["ɵted"](-1,null,["\n\n "])),(e()(),w["ɵted"](-1,null,["\n "])),(e()(),w["ɵand"](16777216,null,null,1,null,c)),w["ɵdid"](8,16384,null,0,T.NgIf,[w.ViewContainerRef,w.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),w["ɵted"](-1,null,["\n\n "])),(e()(),w["ɵand"](16777216,null,null,1,null,d)),w["ɵdid"](11,16384,null,0,T.NgIf,[w.ViewContainerRef,w.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),w["ɵted"](-1,null,["\n\n "])),(e()(),w["ɵand"](16777216,null,null,1,null,p)),w["ɵdid"](14,16384,null,0,T.NgIf,[w.ViewContainerRef,w.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),w["ɵted"](-1,null,["\n\n "])),(e()(),w["ɵand"](16777216,null,null,1,null,b)),w["ɵdid"](17,16384,null,0,T.NgIf,[w.ViewContainerRef,w.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),w["ɵted"](-1,null,["\n "]))],function(e,t){var n=t.component;e(t,3,0,!t.context.$implicit.options&&t.context.$implicit.type!==n.Types.BUTTON&&t.context.$implicit.type!==n.Types.SUBMIT&&t.context.$implicit.type!==n.Types.CHECKBOX&&t.context.$implicit.type!==n.Types.RADIO&&t.context.$implicit.type!==n.Types.CUSTOM);e(t,8,0,t.context.$implicit.type===n.Types.BUTTON||t.context.$implicit.type===n.Types.SUBMIT);e(t,11,0,t.context.$implicit.type===n.Types.CUSTOM);e(t,14,0,t.context.$implicit.type===n.Types.CHECKBOX||t.context.$implicit.type===n.Types.RADIO);e(t,17,0,t.context.$implicit.options)},null)}function y(e){return w["ɵvid"](0,[(e()(),w["ɵeld"](0,0,null,null,10,"div",[["class","collapsed-controls"]],null,null,null,null,null)),(e()(),w["ɵted"](-1,null,["\n "])),(e()(),w["ɵeld"](2,0,null,null,1,"div",[["class","advice"]],[[8,"innerHTML",1]],null,null,null,null)),w["ɵpid"](131072,I.a,[S.a,w.ChangeDetectorRef]),(e()(),w["ɵted"](-1,null,["\n\n "])),(e()(),w["ɵeld"](5,0,null,null,4,"button",[["class","button circular disable-hover"]],null,[[null,"click"]],function(e,t,n){var i=!0;if("click"===t){i=!1!==e.component.collapse()&&i}return i},null,null)),(e()(),w["ɵted"](-1,null,["\n "])),(e()(),w["ɵeld"](7,0,null,null,1,"ion-icon",[["name","add"],["role","img"]],[[2,"hide",null]],null,null,null,null)),w["ɵdid"](8,147456,null,0,_.a,[C.a,w.ElementRef,w.Renderer],{name:[0,"name"]},null),(e()(),w["ɵted"](-1,null,["\n "])),(e()(),w["ɵted"](-1,null,["\n "]))],function(e,t){e(t,8,0,"add")},function(e,t){e(t,2,0,w["ɵunv"](t,2,0,w["ɵnov"](t,3).transform("EXPAND_FORM")));e(t,7,0,w["ɵnov"](t,8)._hidden)})}function E(e){return w["ɵvid"](2,[w["ɵqud"](671088640,1,{expandButton:0}),w["ɵqud"](671088640,2,{collapseButton:0}),(e()(),w["ɵeld"](2,0,null,null,28,"div",[],null,null,null,null,null)),(e()(),w["ɵted"](-1,null,["\n "])),(e()(),w["ɵeld"](4,0,null,null,25,"form",[["novalidate",""]],[[8,"name",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"change"],[null,"submit"],[null,"reset"]],function(e,t,n){var i=!0,s=e.component;if("submit"===t){i=!1!==w["ɵnov"](e,7).onSubmit(n)&&i}if("reset"===t){i=!1!==w["ɵnov"](e,7).onReset()&&i}if("change"===t){i=!1!==(s.structure.onChange?s.formChanged(n):null)&&i}return i},null,null)),w["ɵdid"](5,278528,null,0,T.NgClass,[w.IterableDiffers,w.KeyValueDiffers,w.ElementRef,w.Renderer2],{ngClass:[0,"ngClass"]},null),w["ɵdid"](6,16384,null,0,O.y,[],null,null),w["ɵdid"](7,540672,null,0,O.h,[[8,null],[8,null]],{form:[0,"form"]},null),w["ɵprd"](2048,null,O.b,null,[O.h]),w["ɵdid"](9,16384,null,0,O.o,[O.b],null,null),(e()(),w["ɵted"](-1,null,["\n "])),(e()(),w["ɵeld"](11,0,null,null,17,"fieldset",[],[[2,"borderless",null]],null,null,null,null)),(e()(),w["ɵted"](-1,null,["\n "])),(e()(),w["ɵand"](16777216,null,null,1,null,i)),w["ɵdid"](14,16384,null,0,T.NgIf,[w.ViewContainerRef,w.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),w["ɵted"](-1,null,["\n\n "])),(e()(),w["ɵand"](16777216,null,null,1,null,s)),w["ɵdid"](17,16384,null,0,T.NgIf,[w.ViewContainerRef,w.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),w["ɵted"](-1,null,["\n\n "])),(e()(),w["ɵeld"](19,0,null,null,5,"div",[["class","content"]],[[2,"collapsed",null]],[[null,"click"]],function(e,t,n){var i=!0,s=e.component;if("click"===t){i=!1!==(s.collapsed?s.collapse():null)&&i}return i},null,null)),w["ɵdid"](20,278528,null,0,T.NgClass,[w.IterableDiffers,w.KeyValueDiffers,w.ElementRef,w.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),(e()(),w["ɵted"](-1,null,["\n "])),(e()(),w["ɵand"](16777216,null,null,1,null,v)),w["ɵdid"](23,802816,null,0,T.NgForOf,[w.ViewContainerRef,w.TemplateRef,w.IterableDiffers],{ngForOf:[0,"ngForOf"],ngForTrackBy:[1,"ngForTrackBy"]},null),(e()(),w["ɵted"](-1,null,["\n "])),(e()(),w["ɵted"](-1,null,["\n\n "])),(e()(),w["ɵand"](16777216,null,null,1,null,y)),w["ɵdid"](27,16384,null,0,T.NgIf,[w.ViewContainerRef,w.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),w["ɵted"](-1,null,["\n "])),(e()(),w["ɵted"](-1,null,["\n "])),(e()(),w["ɵted"](-1,null,["\n"])),(e()(),w["ɵted"](-1,null,["\n"]))],function(e,t){var n=t.component;e(t,5,0,n.structure.class);e(t,7,0,n.formGroup);e(t,14,0,n.structure.heading);e(t,17,0,n.structure.collapsible&&!n.collapsed);e(t,20,0,"content",n.structure.contentClass);e(t,23,0,n.structure.fields,n.trackBy);e(t,27,0,n.collapsed)},function(e,t){var n=t.component;e(t,4,0,n.structure.name,w["ɵnov"](t,9).ngClassUntouched,w["ɵnov"](t,9).ngClassTouched,w["ɵnov"](t,9).ngClassPristine,w["ɵnov"](t,9).ngClassDirty,w["ɵnov"](t,9).ngClassValid,w["ɵnov"](t,9).ngClassInvalid,w["ɵnov"](t,9).ngClassPending);e(t,11,0,!n.structure.heading);e(t,19,0,n.collapsed)})}n.d(t,"a",function(){return V}),t.b=E;var w=n(1),I=n(21),S=n(17),_=n(47),C=n(4),T=n(11),N=n(248),R=n(5),O=n(20),D=n(156),k=n(130),L=n(18),A=n(7),x=n(128),M=n(94),P=n(114),U=n(43),j=n(167),F=n(117),V=w["ɵcrt"]({encapsulation:2,styles:[],data:{}})},710:function(e,t,n){"use strict";n.d(t,"a",function(){return s});n(0);var i=n(1),s=function(){function e(e){this.detector=e,this.filters=[],this.disable=!1,this.filterChanged=new i.EventEmitter}return e.prototype.onChange=function(e){var t=this,n=this.filters.indexOf(e);this.filters.forEach(function(e){var i=t.filters.indexOf(e);n===i?t.filters[n].active=!0:t.filters[i].active=!1}),this.filterChanged.emit({id:n,filter:e})},e.prototype.reset=function(){this.filters.forEach(function(e){e.active=!1}),this.filters[0].active=!0,this.filterChanged.emit({id:0,filter:this.filters[0]}),this.detector.detectChanges()},e.prototype.refresh=function(){var e=this.filters.findIndex(function(e){return e.active});this.filterChanged.emit({id:e,filter:this.filters[e]})},e}()},711:function(e,t,n){"use strict";n.d(t,"a",function(){return i});n(0),n(70);var i=function(){function e(e,t){var n=this;this.keyboard=t,this.originalPadding=null,this.subscriptions=[],this.subscriptions.push(t.onKeyboardShow().subscribe(function(t){null==n.originalPadding&&(n.originalPadding=e.nativeElement.style.marginBottom),e.nativeElement.style.marginBottom=t.keyboardHeight+"px"})),this.subscriptions.push(t.onKeyboardHide().subscribe(function(t){e.nativeElement.style.marginBottom=n.originalPadding,n.originalPadding=null}))}return e.prototype.ngOnDestroy=function(){this.subscriptions.forEach(function(e){return e.unsubscribe()})},e}()},712:function(e,t,n){"use strict";n.d(t,"a",function(){return a});n(0);var i=n(52),s=n(351),r=n(150),o=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))(function(s,r){function o(e){try{a(i.next(e))}catch(e){r(e)}}function l(e){try{a(i.throw(e))}catch(e){r(e)}}function a(e){e.done?s(e.value):new n(function(t){t(e.value)}).then(o,l)}a((i=i.apply(e,t||[])).next())})},l=this&&this.__generator||function(e,t){function n(n){return function(o){return function(n){if(i)throw new TypeError("Generator is already executing.");for(;l;)try{if(i=1,s&&(r=s[2&n[0]?"return":n[0]?"throw":"next"])&&!(r=r.call(s,n[1])).done)return r;switch(s=0,r&&(n=[0,r.value]),n[0]){case 0:case 1:r=n;break;case 4:return l.label++,{value:n[1],done:!1};case 5:l.label++,s=n[1],n=[0];continue;case 7:n=l.ops.pop(),l.trys.pop();continue;default:if(r=l.trys,!(r=r.length>0&&r[r.length-1])&&(6===n[0]||2===n[0])){l=0;continue}if(3===n[0]&&(!r||n[1]>r[0]&&n[1]t&&this.boxes.push(100*(e-t))}},enumerable:!0,configurable:!0}),e}()},715:function(e,t,n){"use strict";n.d(t,"a",function(){return s});n(0);var i=n(1),s=function(){function e(e){this.detector=e,this.readonly=!1,this.disabled=!1,this.inputModel="",this.inputModelChange=new i.EventEmitter,this.humanize=!1,this.labelEnabled=!0,this.options=[]}return e.prototype.ngOnInit=function(){},e.prototype.humanizator=function(e){return this.humanize?(e.charAt(0).toUpperCase()+e.slice(1)).replace("_"," "):e},e}()},716:function(e,t,n){"use strict";n.d(t,"a",function(){return i});n(0);var i=function(){function e(){}return e.prototype.transform=function(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push({key:n,value:e[n]});return t},e}()},717:function(e,t,n){"use strict";n.d(t,"a",function(){return u});var i=n(0),s=n(1),r=n(32),o=n(50),l=n(86),a=n(172),u=function(e){function t(t,n,i,r,o){var l=e.call(this,t,!0)||this;return l.taskManager=t,l.creationKit=n,l.detector=i,l.ocrService=r,l.translateCountries=o,l.CONTEXT=l.taskManager.generateName("OCR"),l.countryForm=null,l.imgUrls=[],l.done=!1,l.cardsHidden=!0,l.countrySelected=new s.EventEmitter,l}return Object(i.__extends)(t,e),t.prototype.ngOnInit=function(){var e=this;this.ocrService.isInit.subscribe(function(t){e.initCountryForm(t)})},t.prototype.ngOnDestroy=function(){var e=this;this.taskManager.autoDestruction(this.CONTEXT,!0).then(function(){e.creationKit.removeForm(e.countryForm.name)})},t.prototype.initCountryForm=function(e){var t=this;if(this.countryForm=this.creationKit.initForm("country",{collapsible:!1,collapsed:!1}),e){var n=this.ocrService.countries;this.state={country:n[0].key},this.setImgUrls(),this.creationKit.addField("country",n[0].key,o.a.SELECT,{label:"ISSUER",options:n,autoSelect:!0}),this.creationKit.addSubmit("submit","START_SCANNING",{onClick:function(){return t.openOCR()},classes:["button","block"]})}this.creationKit.addSubmit("leave","SKIP_SCANNING",{onClick:function(){return t.skipOCR()},classes:["button","block","transparent","disable-hover"]}),this.detector.detectChanges()},t.prototype.countryChanged=function(e){this.state={country:e[0].value},this.setImgUrls()},t.prototype.setImgUrls=function(){var e=this;this.imgUrls=this.ocrService.models.filter(function(t){return t.country===e.state.country}).sort(function(e,t){return t.issuedSince-e.issuedSince}).map(function(e){return"assets/img/ocr/cards/"+e.id+"-f.png"})},t.prototype.skipOCR=function(){this.countrySelected.emit(null)},t.prototype.openOCR=function(){var e=this;this.done||(this.done=!0,setTimeout(function(){return e.done=!1},300),this.countrySelected.emit(this.state.country))},t=Object(i.__decorate)([Object(i.__param)(3,Object(s.Inject)(Object(s.forwardRef)(function(){return l.a}))),Object(i.__param)(4,Object(s.Inject)(Object(s.forwardRef)(function(){return a.a})))],t)}(r.a)},718:function(e,t,n){"use strict";n.d(t,"a",function(){return r});n(0);var i=n(1),s="No file selected.",r=function(){function e(e){this.detector=e,this._fileName=s,this._done=!1,this.disabled=!1,this.image=new i.EventEmitter,this.id="file-"+t.counter++}return t=e,Object.defineProperty(e.prototype,"fileName",{get:function(){return this._fileName},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"done",{get:function(){return this._done},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){},e.prototype.onFileSelect=function(e){var t=e.target.files;if(t.length>0){var n=t.item(0);this._fileName=n.name,this.image.emit(n),this.reset()}else this._fileName=s,this._done=!1},e.prototype.reset=function(){this._done=!1,this.fileInputRef.nativeElement.value="",/safari/i.test(navigator.userAgent)||(this.fileInputRef.nativeElement.type="",this.fileInputRef.nativeElement.type="file")},e.counter=0,e;var t}()},719:function(e,t,n){"use strict";n.d(t,"a",function(){return s});n(0);var i=n(1),s=function(){function e(){this.selectedColor=new i.EventEmitter,this.isShown=!1,this.prefabs=["#ffffff","#000000","#000105","#3e6158","#3f7a89","#96c582","#b7d5c4","#bcd6e7","#7c90c1","#9d8594","#dad0d8","#4b4fce","#4e0a77","#a367b5","#ee3e6d","#d63d62","#c6a670","#f46600","#cf0500","#efabbd","#8e0622","#f0b89a","#f0ca68","#62382f","#c97545","#c1800b"]}return e.prototype.ngOnInit=function(){this.color||(this.color=this.prefabs.first())},e.prototype.pickColor=function(e){/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(e)?(this.color=e,this.selectedColor.emit(e)):console.warn("Invalid color.")},e}()},720:function(e,t,n){"use strict";function i(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,31,"dl",[],null,null,null,null,null)),(e()(),r["ɵted"](-1,null,["\n "])),(e()(),r["ɵeld"](2,0,null,null,1,"dt",[],null,null,null,null,null)),(e()(),r["ɵted"](-1,null,["Company"])),(e()(),r["ɵeld"](4,0,null,null,1,"dd",[],null,null,null,null,null)),(e()(),r["ɵted"](-1,null,["Credits Brasil"])),(e()(),r["ɵted"](-1,null,["\n "])),(e()(),r["ɵeld"](7,0,null,null,1,"dt",[],null,null,null,null,null)),(e()(),r["ɵted"](-1,null,["Address: Street"])),(e()(),r["ɵeld"](9,0,null,null,1,"dd",[],null,null,null,null,null)),(e()(),r["ɵted"](-1,null,["Rua do Paraíso 148, 13. andar"])),(e()(),r["ɵted"](-1,null,["\n "])),(e()(),r["ɵeld"](12,0,null,null,1,"dt",[],null,null,null,null,null)),(e()(),r["ɵted"](-1,null,["Address: City"])),(e()(),r["ɵeld"](14,0,null,null,1,"dd",[],null,null,null,null,null)),(e()(),r["ɵted"](-1,null,["Vila Mariana, SP"])),(e()(),r["ɵted"](-1,null,["\n "])),(e()(),r["ɵeld"](17,0,null,null,1,"dt",[],null,null,null,null,null)),(e()(),r["ɵted"](-1,null,["Address: Country"])),(e()(),r["ɵeld"](19,0,null,null,1,"dd",[],null,null,null,null,null)),(e()(),r["ɵted"](-1,null,["Brasil"])),(e()(),r["ɵted"](-1,null,["\n "])),(e()(),r["ɵeld"](22,0,null,null,1,"dt",[],null,null,null,null,null)),(e()(),r["ɵted"](-1,null,["Phone"])),(e()(),r["ɵeld"](24,0,null,null,1,"dd",[],null,null,null,null,null)),(e()(),r["ɵted"](-1,null,["(11) 3279-9800"])),(e()(),r["ɵted"](-1,null,["\n "])),(e()(),r["ɵeld"](27,0,null,null,1,"dt",[],null,null,null,null,null)),(e()(),r["ɵted"](-1,null,["Email"])),(e()(),r["ɵeld"](29,0,null,null,1,"dd",[],null,null,null,null,null)),(e()(),r["ɵted"](-1,null,["creditsbrasil@creditsbrasil.com.br"])),(e()(),r["ɵted"](-1,null,["\n "]))],null,null)}function s(e){return r["ɵvid"](2,[(e()(),r["ɵted"](-1,null,["\n "])),(e()(),r["ɵeld"](1,0,null,null,29,"div",[["class","footer"]],null,null,null,null,null)),(e()(),r["ɵted"](-1,null,["\n "])),(e()(),r["ɵeld"](3,0,null,null,8,"div",[["class","address"]],null,null,null,null,null)),(e()(),r["ɵted"](-1,null,["\n "])),(e()(),r["ɵeld"](5,0,null,null,2,"h3",[],null,null,null,null,null)),(e()(),r["ɵted"](6,null,["",""])),r["ɵpid"](131072,o.a,[l.a,r.ChangeDetectorRef]),(e()(),r["ɵted"](-1,null,["\n "])),(e()(),r["ɵand"](16777216,null,null,1,null,i)),r["ɵdid"](10,16384,null,0,a.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵted"](-1,null,["\n "])),(e()(),r["ɵted"](-1,null,["\n\n "])),(e()(),r["ɵeld"](13,0,null,null,16,"div",[["class","terms"]],null,null,null,null,null)),(e()(),r["ɵted"](-1,null,["\n "])),(e()(),r["ɵeld"](15,0,null,null,2,"h3",[],null,null,null,null,null)),(e()(),r["ɵted"](16,null,["",""])),r["ɵpid"](131072,o.a,[l.a,r.ChangeDetectorRef]),(e()(),r["ɵted"](-1,null,["\n "])),(e()(),r["ɵeld"](19,0,null,null,1,"a",[],null,[[null,"click"]],function(e,t,n){var i=!0;if("click"===t){i=!1!==e.component.goToFAQ()&&i}return i},null,null)),(e()(),r["ɵted"](-1,null,["FAQ"])),(e()(),r["ɵted"](-1,null,["\n "])),(e()(),r["ɵeld"](22,0,null,null,2,"a",[["target","_blank"]],[[8,"href",4]],null,null,null,null)),(e()(),r["ɵted"](23,null,["\n ","\n "])),r["ɵpid"](131072,o.a,[l.a,r.ChangeDetectorRef]),(e()(),r["ɵted"](-1,null,["\n "])),(e()(),r["ɵeld"](26,0,null,null,2,"a",[["target","_blank"]],[[8,"href",4]],null,null,null,null)),(e()(),r["ɵted"](27,null,["\n ","\n "])),r["ɵpid"](131072,o.a,[l.a,r.ChangeDetectorRef]),(e()(),r["ɵted"](-1,null,["\n "])),(e()(),r["ɵted"](-1,null,["\n "])),(e()(),r["ɵted"](-1,null,["\n "]))],function(e,t){e(t,10,0,t.component.appConfig.getConfig("address"))},function(e,t){var n=t.component;e(t,6,0,r["ɵunv"](t,6,0,r["ɵnov"](t,7).transform("COMPANY_FOOTER")).toUpperCase());e(t,16,0,r["ɵunv"](t,16,0,r["ɵnov"](t,17).transform("SUPPORT")).toUpperCase());e(t,22,0,r["ɵinlineInterpolate"](1,"",n.s.is.cordova?n.appConfig.getConfig("termsUrl")[0]:n.appConfig.getConfig("termsUrl")[1],""));e(t,23,0,r["ɵunv"](t,23,0,r["ɵnov"](t,24).transform("TERMS_OF_SERVICE")));e(t,26,0,r["ɵinlineInterpolate"](1,"",n.s.is.cordova?n.appConfig.getConfig("privacyUrl")[0]:n.appConfig.getConfig("privacyUrl")[1],""));e(t,27,0,r["ɵunv"](t,27,0,r["ɵnov"](t,28).transform("PRIVACY_POLICY")))})}n.d(t,"a",function(){return u}),t.b=s;var r=n(1),o=n(21),l=n(17),a=n(11),u=r["ɵcrt"]({encapsulation:2,styles:[],data:{}})},721:function(e,t,n){"use strict";function i(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,9,"div",[["class","message-wrapper"]],[[24,"@disappearDown",0]],null,null,null,null)),(e()(),l["ɵted"](-1,null,["\n "])),(e()(),l["ɵeld"](2,0,null,null,0,"div",[["class","icon ion-md-add-circle"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["\n "])),(e()(),l["ɵted"](-1,null,["\n "])),(e()(),l["ɵeld"](5,0,null,null,3,"div",[["class","label"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["\n "])),l["ɵncd"](null,0),(e()(),l["ɵted"](-1,null,["\n "])),(e()(),l["ɵted"](-1,null,["\n "]))],null,function(e,t){e(t,0,0,void 0)})}function s(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,8,"div",[["class","message-wrapper"]],[[24,"@disappearTop",0]],null,null,null,null)),(e()(),l["ɵted"](-1,null,["\n "])),(e()(),l["ɵeld"](2,0,null,null,0,"div",[["class","icon ion-md-close-circle"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["\n "])),(e()(),l["ɵted"](-1,null,["\n "])),(e()(),l["ɵeld"](5,0,null,null,2,"div",[["class","label"]],null,null,null,null,null)),(e()(),l["ɵted"](6,null,["\n ","\n "])),l["ɵpid"](131072,a.a,[u.a,l.ChangeDetectorRef]),(e()(),l["ɵted"](-1,null,["\n "]))],null,function(e,t){var n=t.component;e(t,0,0,void 0);e(t,6,0,l["ɵunv"](t,6,0,l["ɵnov"](t,7).transform(n.error?n.error:"ERROR_HAS_OCCURED")))})}function r(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,8,"div",[["class","message-wrapper"]],[[24,"@disappearTop",0]],null,null,null,null)),(e()(),l["ɵted"](-1,null,["\n "])),(e()(),l["ɵeld"](2,0,null,null,0,"div",[["class","icon ion-md-checkmark-circle"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["\n "])),(e()(),l["ɵted"](-1,null,["\n "])),(e()(),l["ɵeld"](5,0,null,null,2,"div",[["class","label"]],null,null,null,null,null)),(e()(),l["ɵted"](6,null,["\n ","\n "])),l["ɵpid"](131072,a.a,[u.a,l.ChangeDetectorRef]),(e()(),l["ɵted"](-1,null,["\n "]))],null,function(e,t){e(t,0,0,void 0);e(t,6,0,l["ɵunv"](t,6,0,l["ɵnov"](t,7).transform("UPLOAD_SUCCESS")))})}function o(e){return l["ɵvid"](2,[(e()(),l["ɵted"](-1,null,["\n "])),(e()(),l["ɵeld"](1,0,null,null,24,"div",[["class","container"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["\n "])),(e()(),l["ɵeld"](3,0,null,null,12,"div",[["class","dashboardUploadButton front-side"]],[[2,"disabled",null]],[[null,"select"],[null,"error"],[null,"processing"]],function(e,t,n){var i=!0,s=e.component;if("select"===t){i=!1!==s.onSelect(n)&&i}if("error"===t){i=!1!==s.onError(n)&&i}if("processing"===t){i=!1!==s.processing.emit(n)&&i}return i},null,null)),l["ɵdid"](4,16384,null,0,c.NgSwitch,[],{ngSwitch:[0,"ngSwitch"]},null),l["ɵdid"](5,737280,null,0,h.c,[l.ElementRef,l.Renderer2,d.f,p.a,g.a,f.a],{options:[0,"options"],disabled:[1,"disabled"],fileSize:[2,"fileSize"]},{select:"select",error:"error",processing:"processing"}),(e()(),l["ɵted"](-1,null,["\n\n "])),(e()(),l["ɵand"](16777216,null,null,1,null,i)),l["ɵdid"](8,16384,null,0,c.NgSwitchDefault,[l.ViewContainerRef,l.TemplateRef,c.NgSwitch],null,null),(e()(),l["ɵted"](-1,null,["\n\n "])),(e()(),l["ɵand"](16777216,null,null,1,null,s)),l["ɵdid"](11,278528,null,0,c.NgSwitchCase,[l.ViewContainerRef,l.TemplateRef,c.NgSwitch],{ngSwitchCase:[0,"ngSwitchCase"]},null),(e()(),l["ɵted"](-1,null,["\n\n "])),(e()(),l["ɵand"](16777216,null,null,1,null,r)),l["ɵdid"](14,278528,null,0,c.NgSwitchCase,[l.ViewContainerRef,l.TemplateRef,c.NgSwitch],{ngSwitchCase:[0,"ngSwitchCase"]},null),(e()(),l["ɵted"](-1,null,["\n "])),(e()(),l["ɵted"](-1,null,["\n\n "])),(e()(),l["ɵeld"](17,0,null,null,7,"div",[["class","bottom-side"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["\n "])),(e()(),l["ɵeld"](19,0,null,null,2,"div",[["class","progress-indicator"]],[[4,"width","%"]],null,null,null,null)),l["ɵpid"](131072,c.AsyncPipe,[l.ChangeDetectorRef]),(e()(),l["ɵted"](-1,null,["\n "])),(e()(),l["ɵted"](-1,null,["\n\n "])),(e()(),l["ɵeld"](23,0,null,null,0,"button",[["class","cancel close-btn"]],null,[[null,"click"]],function(e,t,n){var i=!0;if("click"===t){i=!1!==e.component.cancel(n)&&i}return i},null,null)),(e()(),l["ɵted"](-1,null,["\n "])),(e()(),l["ɵted"](-1,null,["\n "])),(e()(),l["ɵted"](-1,null,["\n "]))],function(e,t){var n=t.component;e(t,4,0,n.state);e(t,5,0,n.options,n.state==n.STATE.OPEN,n.fileSize);e(t,11,0,n.STATE.ERROR);e(t,14,0,n.STATE.SUCCESS)},function(e,t){var n=t.component;e(t,3,0,n.state==n.STATE.OPEN);e(t,19,0,l["ɵunv"](t,19,0,l["ɵnov"](t,20).transform(n.progress)))})}n.d(t,"a",function(){return m}),t.b=o;var l=n(1),a=n(21),u=n(17),c=n(11),h=n(115),d=n(5),p=n(116),g=n(102),f=n(95),m=l["ɵcrt"]({encapsulation:0,styles:['[_nghost-%COMP%] {\n background-color: transparent;\n perspective: 10000px;\n }\n\n .container[_ngcontent-%COMP%] {\n position: relative;\n top: 0;\n left: 0;\n height: 56px;\n width: 277px;\n transform-style: preserve-3d;\n margin: 8px !important;\n display: inline-block;\n }\n\n .front-side[_ngcontent-%COMP%], .bottom-side[_ngcontent-%COMP%] {\n position: absolute;\n width: 100%;\n height: 100%;\n left: 0;\n top: 0;\n background-color: var(--white);\n backface-visibility: hidden;\n }\n\n .front-side[_ngcontent-%COMP%] {\n height: 56px;\n border-radius: 1px;\n background-color: var(--primary);\n color: var(--white);\n font-size: 18px;\n text-align: center;\n -webkit-box-shadow: none;\n box-shadow: none;\n margin: 0;\n padding: 0 25px;\n cursor: pointer;\n border: 1px solid transparent;\n font-weight: 400;\n transition: all .4s ease-in-out;\n\n }\n\n .front-side[_ngcontent-%COMP%]:hover {\n background-color: var(--primary);\n opacity: 0.8;\n }\n\n .front-side.disabled[_ngcontent-%COMP%] {\n background-color: var(--grey) !important;\n }\n\n .bottom-side[_ngcontent-%COMP%] {\n transform: rotateX(-90deg);\n transform-origin: 50% 0;\n background-color: var(--ligh-blue);\n top: 100%;\n }\n\n .progress-indicator[_ngcontent-%COMP%] {\n position: absolute;\n height: 100%;\n left: 0;\n top: 0;\n background-color: var(--primary);\n }\n\n button.cancel[_ngcontent-%COMP%] {\n position: absolute;\n top: 50%;\n right: 20px;\n transform: translateY(-50%);\n }\n\n ion-icon[_ngcontent-%COMP%] {\n font-size: 25px;\n margin-right: 20px;\n }\n\n .icon[_ngcontent-%COMP%] {\n font-size: 25px;\n margin-right: 20px;\n display: inline-block;\n font-family: "Ionicons";\n -moz-osx-font-smoothing: grayscale;\n -webkit-font-smoothing: antialiased;\n font-style: normal;\n font-variant: normal;\n font-weight: normal;\n line-height: 1;\n text-rendering: auto;\n text-transform: none;\n speak: none;\n }\n\n .message-wrapper[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n margin: 0 auto;\n position: absolute;\n left: 50%;\n -webkit-transform: translateX(-50%);\n transform: translate(-50%, -50%);\n top: 50%;\n }\n\n \n @media all and (-ms-high-contrast: none) {\n .message-wrapper[_ngcontent-%COMP%] {\n min-width: 80%;\n }\n }\n\n .label[_ngcontent-%COMP%] {\n white-space: nowrap;\n }'],data:{animation:[{type:7,name:"rotate",definitions:[{type:0,name:"loading",styles:{type:6,styles:{transform:"rotateX(90deg) translateZ(35px)"},offset:null},options:void 0},{type:0,name:"*",styles:{type:6,styles:{transform:"rotateX(0) translateZ(0)"},offset:null},options:void 0},{type:1,expr:"* => loading",animation:[{type:4,styles:{type:6,styles:{transform:"rotateX(90deg) translateZ(35px)"},offset:null},timings:400}],options:null},{type:1,expr:"loading => *",animation:[{type:4,styles:{type:6,styles:{transform:"rotateX(0) translateZ(0)"},offset:null},timings:400}],options:null}],options:{}},{type:7,name:"disappearTop",definitions:[{type:1,expr:":enter",animation:[{type:6,styles:{opacity:0},offset:null},{type:4,styles:null,timings:300}],options:null},{type:1,expr:":leave",animation:[{type:4,styles:{type:6,styles:{opacity:0},offset:null},timings:300}],options:null}],options:{}},{type:7,name:"disappearDown",definitions:[{type:1,expr:":enter",animation:[{type:6,styles:{opacity:0},offset:null},{type:4,styles:null,timings:300}],options:null},{type:1,expr:":leave",animation:[{type:4,styles:{type:6,styles:{opacity:0},offset:null},timings:300}],options:null}],options:{}}]}})},722:function(e,t,n){"use strict";function i(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,15,"div",[],[[1,"id",0]],null,null,null,null)),(e()(),r["ɵted"](-1,null,["\n "])),(e()(),r["ɵeld"](2,0,null,null,4,"dt",[],null,null,null,null,null)),(e()(),r["ɵted"](-1,null,["\n "])),(e()(),r["ɵeld"](4,0,null,null,1,"div",[["class","question"]],null,null,null,null,null)),(e()(),r["ɵted"](5,null,["#",""])),(e()(),r["ɵted"](6,null,["\n ","\n "])),(e()(),r["ɵted"](-1,null,["\n "])),(e()(),r["ɵeld"](8,0,null,null,4,"dd",[],null,null,null,null,null)),(e()(),r["ɵted"](-1,null,["\n "])),(e()(),r["ɵeld"](10,0,null,null,1,"div",[["class","answer"]],null,null,null,null,null)),(e()(),r["ɵted"](-1,null,["✓"])),(e()(),r["ɵted"](12,null,["\n ","\n "])),(e()(),r["ɵted"](-1,null,["\n "])),(e()(),r["ɵeld"](14,0,null,null,0,"hr",[],null,null,null,null,null)),(e()(),r["ɵted"](-1,null,["\n "]))],null,function(e,t){e(t,0,0,t.context.$implicit.index);e(t,5,0,t.context.$implicit.index);e(t,6,0,t.context.$implicit.q);e(t,12,0,t.context.$implicit.a)})}function s(e){return r["ɵvid"](0,[r["ɵqud"](402653184,1,{navBar:0}),r["ɵqud"](402653184,2,{content:0}),(e()(),r["ɵeld"](2,0,null,null,10,"ion-header",[["watchHeight",""]],null,null,null,null,null)),r["ɵdid"](3,16384,null,0,o.a,[l.a,r.ElementRef,r.Renderer,[2,a.a]],null,null),r["ɵdid"](4,4210688,null,0,u.a,[r.ElementRef,c.f,r.NgZone],null,null),(e()(),r["ɵted"](-1,null,["\n "])),(e()(),r["ɵeld"](6,0,null,null,5,"ion-navbar",[["class","toolbar"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,h.b,h.a)),r["ɵdid"](7,49152,[[1,4]],0,d.a,[p.a,[2,a.a],[2,g.a],l.a,r.ElementRef,r.Renderer],null,null),(e()(),r["ɵted"](-1,3,["\n "])),(e()(),r["ɵeld"](9,0,null,3,1,"page-header",[["title","HELP_AND_FEEDBACK"]],null,null,null,f.b,f.a)),r["ɵdid"](10,245760,null,0,m.a,[b.a,g.a,v.a,y.a,E.a,w.a,c.f,r.ElementRef,I.a,S.e,_.a,C.a,T.a,N.DomSanitizer,a.a],{logo:[0,"logo"],title:[1,"title"]},null),(e()(),r["ɵted"](-1,3,["\n "])),(e()(),r["ɵted"](-1,null,["\n"])),(e()(),r["ɵted"](-1,null,["\n\n"])),(e()(),r["ɵeld"](14,0,null,null,96,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,R.b,R.a)),r["ɵdid"](15,4374528,[[2,4]],0,O.a,[l.a,D.a,k.a,r.ElementRef,r.Renderer,p.a,L.a,r.NgZone,[2,a.a],[2,g.a]],null,null),(e()(),r["ɵted"](-1,1,["\n "])),(e()(),r["ɵeld"](17,0,null,1,43,"ion-list",[],null,null,null,null,null)),r["ɵdid"](18,16384,null,0,A.a,[l.a,r.ElementRef,r.Renderer,D.a,x.l,k.a],null,null),(e()(),r["ɵted"](-1,null,["\n "])),(e()(),r["ɵeld"](20,0,null,null,20,"button",[["class","about-btn item item-block"],["ion-item",""],["mode","ios"]],null,[[null,"click"]],function(e,t,n){var i=!0;if("click"===t){i=!1!==e.component.openAboutPage()&&i}return i},M.b,M.a)),r["ɵdid"](21,1097728,null,3,P.a,[U.a,l.a,r.ElementRef,r.Renderer,[2,j.a]],{mode:[0,"mode"]},null),r["ɵqud"](335544320,3,{contentLabel:0}),r["ɵqud"](603979776,4,{_buttons:1}),r["ɵqud"](603979776,5,{_icons:1}),r["ɵdid"](25,16384,null,0,F.a,[],null,null),(e()(),r["ɵted"](-1,2,["\n "])),(e()(),r["ɵeld"](27,0,null,0,4,"ion-avatar",[["item-start",""]],null,null,null,null,null)),r["ɵdid"](28,16384,null,0,V.a,[],null,null),(e()(),r["ɵted"](-1,null,["\n "])),(e()(),r["ɵeld"](30,0,null,null,0,"img",[["src","./assets/icon/favicon.png"]],null,null,null,null,null)),(e()(),r["ɵted"](-1,null,["\n "])),(e()(),r["ɵted"](-1,2,["\n "])),(e()(),r["ɵeld"](33,0,null,2,2,"h2",[],null,null,null,null,null)),(e()(),r["ɵted"](34,null,["",""])),r["ɵpid"](131072,G.a,[y.a,r.ChangeDetectorRef]),(e()(),r["ɵted"](-1,2,["\n "])),(e()(),r["ɵeld"](37,0,null,2,2,"p",[],null,null,null,null,null)),(e()(),r["ɵted"](38,null,[""," ",""])),r["ɵpid"](131072,G.a,[y.a,r.ChangeDetectorRef]),(e()(),r["ɵted"](-1,2,["\n "])),(e()(),r["ɵted"](-1,null,["\n\n "])),(e()(),r["ɵeld"](42,0,null,null,17,"button",[["class","about-btn item item-block"],["ion-item",""],["mode","ios"]],null,[[null,"click"]],function(e,t,n){var i=!0;if("click"===t){i=!1!==e.component.startOnboarding()&&i}return i},M.b,M.a)),r["ɵdid"](43,1097728,null,3,P.a,[U.a,l.a,r.ElementRef,r.Renderer,[2,j.a]],{mode:[0,"mode"]},null),r["ɵqud"](335544320,6,{contentLabel:0}),r["ɵqud"](603979776,7,{_buttons:1}),r["ɵqud"](603979776,8,{_icons:1}),r["ɵdid"](47,16384,null,0,F.a,[],null,null),(e()(),r["ɵted"](-1,2,["\n "])),(e()(),r["ɵeld"](49,0,null,0,1,"ion-avatar",[["item-start",""]],null,null,null,null,null)),r["ɵdid"](50,16384,null,0,V.a,[],null,null),(e()(),r["ɵted"](-1,2,["\n "])),(e()(),r["ɵeld"](52,0,null,2,2,"h2",[],null,null,null,null,null)),(e()(),r["ɵted"](53,null,["",""])),r["ɵpid"](131072,G.a,[y.a,r.ChangeDetectorRef]),(e()(),r["ɵted"](-1,2,["\n "])),(e()(),r["ɵeld"](56,0,null,2,2,"p",[],null,null,null,null,null)),(e()(),r["ɵted"](57,null,["",""])),r["ɵpid"](131072,G.a,[y.a,r.ChangeDetectorRef]),(e()(),r["ɵted"](-1,2,["\n "])),(e()(),r["ɵted"](-1,null,["\n "])),(e()(),r["ɵted"](-1,1,["\n "])),(e()(),r["ɵeld"](62,0,null,1,47,"div",[["class","faq"]],null,null,null,null,null)),(e()(),r["ɵted"](-1,null,["\n "])),(e()(),r["ɵted"](-1,null,["\n\n "])),(e()(),r["ɵeld"](65,0,null,null,14,"ion-item",[["class","input-login item item-block"]],null,null,null,M.b,M.a)),r["ɵdid"](66,1097728,null,3,P.a,[U.a,l.a,r.ElementRef,r.Renderer,[2,j.a]],null,null),r["ɵqud"](335544320,9,{contentLabel:0}),r["ɵqud"](603979776,10,{_buttons:1}),r["ɵqud"](603979776,11,{_icons:1}),r["ɵdid"](70,16384,null,0,F.a,[],null,null),(e()(),r["ɵted"](-1,2,["\n "])),(e()(),r["ɵeld"](72,0,null,1,3,"ion-label",[["floating",""]],null,null,null,null,null)),r["ɵdid"](73,16384,[[9,4]],0,B.a,[l.a,r.ElementRef,r.Renderer,[8,""],[8,null],[8,null],[8,null]],null,null),(e()(),r["ɵted"](74,null,["",""])),r["ɵpid"](131072,G.a,[y.a,r.ChangeDetectorRef]),(e()(),r["ɵted"](-1,2,["\n "])),(e()(),r["ɵeld"](77,0,null,3,1,"ion-input",[],null,[[null,"ionChange"]],function(e,t,n){var i=!0;if("ionChange"===t){i=!1!==e.component.search.next(n)&&i}return i},z.b,z.a)),r["ɵdid"](78,5423104,null,0,q.a,[l.a,D.a,U.a,p.a,r.ElementRef,r.Renderer,[2,O.a],[2,P.a],[2,W.m],k.a],null,{ionChange:"ionChange"}),(e()(),r["ɵted"](-1,2,["\n "])),(e()(),r["ɵted"](-1,null,["\n\n "])),(e()(),r["ɵeld"](81,0,null,null,0,"br",[],null,null,null,null,null)),(e()(),r["ɵted"](-1,null,["\n\n "])),(e()(),r["ɵeld"](83,0,null,null,4,"dl",[],null,null,null,null,null)),(e()(),r["ɵted"](-1,null,["\n "])),(e()(),r["ɵand"](16777216,null,null,1,null,i)),r["ɵdid"](86,802816,null,0,H.NgForOf,[r.ViewContainerRef,r.TemplateRef,r.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(e()(),r["ɵted"](-1,null,["\n "])),(e()(),r["ɵted"](-1,null,["\n\n "])),(e()(),r["ɵeld"](89,0,null,null,19,"div",[["class","support"]],null,null,null,null,null)),(e()(),r["ɵted"](-1,null,["\n "])),(e()(),r["ɵeld"](91,0,null,null,1,"p",[],null,null,null,null,null)),(e()(),r["ɵted"](92,null,["",""])),(e()(),r["ɵted"](-1,null,["\n "])),(e()(),r["ɵeld"](94,0,null,null,2,"b",[],null,null,null,null,null)),(e()(),r["ɵted"](95,null,["",":"])),r["ɵpid"](131072,G.a,[y.a,r.ChangeDetectorRef]),(e()(),r["ɵted"](-1,null,[" "])),(e()(),r["ɵeld"](98,0,null,null,1,"a",[],[[8,"href",4]],null,null,null,null)),(e()(),r["ɵted"](99,null,["",""])),(e()(),r["ɵeld"](100,0,null,null,0,"br",[],null,null,null,null,null)),(e()(),r["ɵted"](-1,null,["\n "])),(e()(),r["ɵeld"](102,0,null,null,2,"b",[],null,null,null,null,null)),(e()(),r["ɵted"](103,null,["",":"])),r["ɵpid"](131072,G.a,[y.a,r.ChangeDetectorRef]),(e()(),r["ɵted"](-1,null,[" "])),(e()(),r["ɵeld"](106,0,null,null,1,"a",[],[[8,"href",4]],null,null,null,null)),(e()(),r["ɵted"](107,null,["",""])),(e()(),r["ɵted"](-1,null,["\n "])),(e()(),r["ɵted"](-1,null,["\n "])),(e()(),r["ɵted"](-1,1,["\n"])),(e()(),r["ɵted"](-1,null,["\n"]))],function(e,t){var n=t.component;e(t,10,0,!1,"HELP_AND_FEEDBACK");e(t,21,0,"ios");e(t,43,0,"ios");e(t,86,0,n.qa)},function(e,t){var n=t.component;e(t,6,0,r["ɵnov"](t,7)._hidden,r["ɵnov"](t,7)._sbPadding);e(t,14,0,r["ɵnov"](t,15).statusbarPadding,r["ɵnov"](t,15)._hasRefresher);e(t,34,0,r["ɵunv"](t,34,0,r["ɵnov"](t,35).transform("ABOUT")));e(t,38,0,r["ɵunv"](t,38,0,r["ɵnov"](t,39).transform("VERSION")),n.version);e(t,53,0,r["ɵunv"](t,53,0,r["ɵnov"](t,54).transform("ONBOARDING")));e(t,57,0,r["ɵunv"](t,57,0,r["ɵnov"](t,58).transform("START_ONBOARDING")));e(t,74,0,r["ɵunv"](t,74,0,r["ɵnov"](t,75).transform("SEARCH")));e(t,92,0,"Solution not found? Contact support.");e(t,95,0,r["ɵunv"](t,95,0,r["ɵnov"](t,96).transform("SUPPORT_EMAIL")));e(t,98,0,r["ɵinlineInterpolate"](1,"mailto:",n.contact.email,""));e(t,99,0,n.contact.email);e(t,103,0,r["ɵunv"](t,103,0,r["ɵnov"](t,104).transform("SUPPORT_PHONE")));e(t,106,0,r["ɵinlineInterpolate"](1,"tel:",n.contact.phone,""));e(t,107,0,n.contact.phone)})}n.d(t,"a",function(){return J});var r=n(1),o=n(58),l=n(4),a=n(7),u=n(161),c=n(5),h=n(65),d=n(45),p=n(13),g=n(25),f=n(228),m=n(126),b=n(14),v=n(69),y=n(17),E=n(19),w=n(34),I=n(55),S=n(15),_=n(44),C=n(31),T=n(9),N=n(39),R=n(46),O=n(29),D=n(8),k=n(12),L=n(35),A=n(59),x=n(23),M=n(85),P=n(38),U=n(37),j=n(66),F=n(74),V=n(265),G=n(21),B=n(79),z=n(173),q=n(104),W=n(20),H=n(11),K=n(251),Y=n(48),Z=n(169),X=n(112),$=n(18),Q=r["ɵcrt"]({encapsulation:2,styles:[],data:{}}),J=r["ɵccf"]("page-help",K.a,function(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"page-help",[],null,null,null,s,Q)),r["ɵdid"](1,180224,null,0,K.a,[c.f,y.a,Y.a,g.a,Z.a,X.a,r.ChangeDetectorRef,b.a,$.a,T.a],null,null)],null,null)},{},{},[])},725:function(e,t,n){"use strict";t.a=function(e){var t=new Date;return t.setSeconds(t.getSeconds()+e),t.getTime()}},726:function(e,t,n){"use strict";n.d(t,"a",function(){return s});n(0),n(6);var i=n(52),s=function(){function e(e,t,n){this.s=e,this.t=t,this.navCtrl=n}return e.prototype.ionViewDidEnter=function(){var e=this;this.navBar&&(this.navBar.backButtonClick=function(t){e.navCtrl.getViews().some(function(e){return"document"===e.id&&e.data.document&&e.data.document.state!==i.e.NEW||e.data.browsable&&!e.data.browsable.isLocal()})?e.navCtrl.pop():e.navCtrl.popToRoot()})},e}()},727:function(e,t,n){"use strict";n.d(t,"a",function(){return s});n(0);var i=n(1),s=function(){function e(){this.out=new i.EventEmitter}return e.prototype.onWheel=function(e){e.ctrlKey&&(e.preventDefault(),this.out.next({x:e.clientX,y:e.clientY,zoomIn:e.deltaY<0}))},e}()},73:function(e,t,n){"use strict";n.d(t,"a",function(){return s});n(0);var i=n(24),s=(n.n(i),function(){function e(){this.data={},this.update$=new i.Subject,this.watch("user").subscribe(function(e){console.warn("watching user",e)}),this.init()}return e.prototype.init=function(){var e=window.sessionStorage.getItem("session-storage");e&&(this.data=JSON.parse(e)),this.data=this.data||{};for(var t in this.data)this.update$.next(t)},e.prototype.ngOnDestroy=function(){this.update$.complete()},e.prototype.get=function(e){return this.data[e]},e.prototype.set=function(e,t){this.data[e]=t,this.update$.next(e),console.log("set",e,t),this.save()},e.prototype.watch=function(e){var t=this,n=this.update$.asObservable().filter(function(t){return t===e}).map(function(n){return t.data[e]}),s=i.Observable.of(this.data[e]);return i.Observable.merge(s,n)},e.prototype.save=function(){window.sessionStorage.setItem("session-storage",JSON.stringify(this.data))},e.prototype.clear=function(){window.sessionStorage.removeItem("session-storage"),this.data={}},e}())},734:function(e,t,n){"use strict";function i(e,t){var n=t;if(!n.getBoundingClientRect)return 0;var i=n.getBoundingClientRect();return"horizontal"==e?i.width:i.height}n.d(t,"a",function(){return l});var s=n(0),r=n(1),o=n(24),l=(n.n(o),n(170),function(){function e(e,t,n,i){var s=this;this._viewContainerRef=e,this._template=t,this._differs=n,this._viewport=i,this.viewChange=new o.Subject,this._dataSourceChanges=new o.Subject,this.cdkVirtualForTemplateCacheSize=20,this.dataStream=this._dataSourceChanges.startWith(null).pairwise().switchMap(function(e){return s._changeDataSource(e[0],e[1])}).shareReplay(1),this._differ=null,this._templateCache=[],this._needsUpdate=!1,this._destroyed=new o.Subject,this.dataStream.subscribe(function(e){s._data=e,s._onRenderedDataChange()}),this._viewport.renderedRangeStream.takeUntil(this._destroyed).subscribe(function(e){s._renderedRange=e,s.viewChange.next(s._renderedRange),s._onRenderedDataChange()}),this._viewport.attach(this)}return Object.defineProperty(e.prototype,"cdkVirtualForOf",{get:function(){return this._cdkVirtualForOf},set:function(e){this._cdkVirtualForOf=e;var t=e instanceof a?e:new u(e instanceof o.Observable?e:Array.prototype.slice.call(e||[]));this._dataSourceChanges.next(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"cdkVirtualForTrackBy",{get:function(){return this._cdkVirtualForTrackBy},set:function(e){var t=this;this._needsUpdate=!0,this._cdkVirtualForTrackBy=e?function(n,i){return e(n+(t._renderedRange?t._renderedRange.start:0),i)}:void 0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"cdkVirtualForTemplate",{set:function(e){e&&(this._needsUpdate=!0,this._template=e)},enumerable:!0,configurable:!0}),e.prototype.measureRangeSize=function(e,t){if(e.start>=e.end)return 0;if(e.startthis._renderedRange.end)throw Error("Error: attempted to measure an item that isn't rendered.");for(var n=e.start-this._renderedRange.start,s=0,r=e.end-e.start;r--;)for(var o=this._viewContainerRef.get(r+n),l=o?o.rootNodes.length:0;l--;)s+=i(t,o.rootNodes[l]);return s},e.prototype.ngDoCheck=function(){if(this._differ&&this._needsUpdate){var e=this._differ.diff(this._renderedItems);e?this._applyChanges(e):this._updateContext(),this._needsUpdate=!1}},e.prototype.ngOnDestroy=function(){this._viewport.detach(),this._dataSourceChanges.complete(),this.viewChange.complete(),this._destroyed.next(),this._destroyed.complete();for(var e=0,t=this._templateCache;e0&&!n.selectedCertificate);e(t,21,0,!n.overrideDriver&&!n.driverStatus)},null)}function ae(e){return je["ɵvid"](0,[(e()(),je["ɵeld"](0,0,null,null,1,"ion-icon",[["class","checkmark"],["name","checkmark"],["role","img"]],[[2,"hide",null]],null,null,null,null)),je["ɵdid"](1,147456,null,0,wt.a,[It.a,je.ElementRef,je.Renderer],{name:[0,"name"]},null)],function(e,t){e(t,1,0,"checkmark")},function(e,t){e(t,0,0,je["ɵnov"](t,1)._hidden)})}function ue(e){return je["ɵvid"](0,[(e()(),je["ɵeld"](0,0,null,null,10,"button",[],null,[[null,"click"]],function(e,t,n){var i=!0;if("click"===t){i=!1!==e.component.close(e.context.$implicit.code)&&i}return i},null,null)),(e()(),je["ɵted"](-1,null,["\n "])),(e()(),je["ɵeld"](2,0,null,null,0,"span",[["class","icon blue"]],[[8,"innerHTML",1]],null,null,null,null)),(e()(),je["ɵted"](-1,null,["\n "])),(e()(),je["ɵeld"](4,0,null,null,2,"div",[["class","label"]],null,null,null,null,null)),(e()(),je["ɵted"](5,null,["",""])),je["ɵpid"](131072,St.a,[_t.a,je.ChangeDetectorRef]),(e()(),je["ɵted"](-1,null,["\n "])),(e()(),je["ɵand"](16777216,null,null,1,null,ae)),je["ɵdid"](9,16384,null,0,Nt.NgIf,[je.ViewContainerRef,je.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),je["ɵted"](-1,null,["\n "]))],function(e,t){e(t,9,0,t.context.$implicit.code==t.component.checked)},function(e,t){e(t,2,0,t.context.$implicit.img);e(t,5,0,je["ɵunv"](t,5,0,je["ɵnov"](t,6).transform(t.context.$implicit.label)))})}function ce(e){return je["ɵvid"](2,[(e()(),je["ɵted"](-1,null,["\n "])),(e()(),je["ɵeld"](1,0,null,null,5,"ion-list",[],null,null,null,null,null)),je["ɵdid"](2,16384,null,0,wn.a,[It.a,je.ElementRef,je.Renderer,Mt.a,qt.l,Pt.a],null,null),(e()(),je["ɵted"](-1,null,["\n "])),(e()(),je["ɵand"](16777216,null,null,1,null,ue)),je["ɵdid"](5,802816,null,0,Nt.NgForOf,[je.ViewContainerRef,je.TemplateRef,je.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(e()(),je["ɵted"](-1,null,["\n "])),(e()(),je["ɵted"](-1,null,["\n "]))],function(e,t){e(t,5,0,t.component.buttons)},null)}function he(e){return je["ɵvid"](0,[(e()(),je["ɵeld"](0,0,null,null,0,"span",[["class","icon blue"]],[[8,"innerHTML",1]],null,null,null,null))],null,function(e,t){e(t,0,0,t.parent.context.$implicit.img)})}function de(e){return je["ɵvid"](0,[(e()(),je["ɵeld"](0,0,null,null,4,"span",[["class","icon blue"]],null,null,null,null,null)),(e()(),je["ɵted"](-1,null,["\n "])),(e()(),je["ɵeld"](2,0,null,null,1,"icon-set",[["height","24px"]],null,null,null,Xe.b,Xe.a)),je["ɵdid"](3,114688,null,0,qi.a,[Sn.a,Ft.a],{name:[0,"name"],height:[1,"height"]},null),(e()(),je["ɵted"](-1,null,["\n "]))],function(e,t){e(t,3,0,t.parent.context.$implicit.iconName,"24px")},null)}function pe(e){return je["ɵvid"](0,[(e()(),je["ɵeld"](0,0,null,null,2,"span",[["class","icon blue"]],null,null,null,null,null)),(e()(),je["ɵeld"](1,0,null,null,1,"p",[],null,null,null,null,null)),(e()(),je["ɵted"](2,null,["",""]))],null,function(e,t){e(t,2,0,t.parent.context.$implicit.alternateText)})}function ge(e){return je["ɵvid"](0,[(e()(),je["ɵeld"](0,0,null,null,14,"button",[],[[8,"disabled",0]],[[null,"click"]],function(e,t,n){var i=!0;if("click"===t){i=!1!==e.component.close(e.context.$implicit.code)&&i}return i},null,null)),(e()(),je["ɵted"](-1,null,["\n "])),(e()(),je["ɵand"](16777216,null,null,1,null,he)),je["ɵdid"](3,16384,null,0,Nt.NgIf,[je.ViewContainerRef,je.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),je["ɵted"](-1,null,["\n "])),(e()(),je["ɵand"](16777216,null,null,1,null,de)),je["ɵdid"](6,16384,null,0,Nt.NgIf,[je.ViewContainerRef,je.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),je["ɵted"](-1,null,["\n "])),(e()(),je["ɵand"](16777216,null,null,1,null,pe)),je["ɵdid"](9,16384,null,0,Nt.NgIf,[je.ViewContainerRef,je.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),je["ɵted"](-1,null,["\n\t\t\t"])),(e()(),je["ɵeld"](11,0,null,null,2,"div",[["class","label"]],null,null,null,null,null)),(e()(),je["ɵted"](12,null,["",""])),je["ɵpid"](131072,St.a,[_t.a,je.ChangeDetectorRef]),(e()(),je["ɵted"](-1,null,["\n "]))],function(e,t){e(t,3,0,!t.context.$implicit.alternateText&&t.context.$implicit.img);e(t,6,0,!t.context.$implicit.alternateText&&!t.context.$implicit.img);e(t,9,0,t.context.$implicit.alternateText)},function(e,t){e(t,0,0,t.component.disabled.contains(t.context.$implicit.code));e(t,12,0,je["ɵunv"](t,12,0,je["ɵnov"](t,13).transform(t.context.$implicit.label)))})}function fe(e){return je["ɵvid"](2,[(e()(),je["ɵted"](-1,null,["\n "])),(e()(),je["ɵeld"](1,0,null,null,5,"ion-list",[],null,null,null,null,null)),je["ɵdid"](2,16384,null,0,wn.a,[It.a,je.ElementRef,je.Renderer,Mt.a,qt.l,Pt.a],null,null),(e()(),je["ɵted"](-1,null,["\n "])),(e()(),je["ɵand"](16777216,null,null,1,null,ge)),je["ɵdid"](5,802816,null,0,Nt.NgForOf,[je.ViewContainerRef,je.TemplateRef,je.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(e()(),je["ɵted"](-1,null,["\n "])),(e()(),je["ɵted"](-1,null,["\n "]))],function(e,t){e(t,5,0,t.component.buttons)},null)}function me(e){return je["ɵvid"](0,[(e()(),je["ɵeld"](0,0,null,null,0,"div",[["class","flow"]],null,null,null,null,null))],null,null)}function be(e){return je["ɵvid"](0,[(e()(),je["ɵeld"](0,0,null,null,10,null,null,null,null,null,null,null)),(e()(),je["ɵted"](-1,null,["\n "])),(e()(),je["ɵeld"](2,0,null,null,4,"div",[],null,null,null,null,null)),(e()(),je["ɵeld"](3,0,null,null,1,"span",[["class","point"]],[[2,"active",null],[2,"finished",null]],null,null,null,null)),(e()(),je["ɵted"](4,null,["",""])),(e()(),je["ɵted"](5,null,[" ",""])),je["ɵpid"](131072,St.a,[_t.a,je.ChangeDetectorRef]),(e()(),je["ɵted"](-1,null,["\n "])),(e()(),je["ɵand"](16777216,null,null,1,null,me)),je["ɵdid"](9,16384,null,0,Nt.NgIf,[je.ViewContainerRef,je.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),je["ɵted"](-1,null,["\n "]))],function(e,t){e(t,9,0,!t.context.last)},function(e,t){e(t,3,0,t.parent.context.ngIf.step===t.context.index,t.parent.context.ngIf.step>t.context.index);e(t,4,0,t.context.index+1);e(t,5,0,je["ɵunv"](t,5,0,je["ɵnov"](t,6).transform(t.context.$implicit)))})}function ve(e){return je["ɵvid"](0,[(e()(),je["ɵeld"](0,0,null,null,1,"s-form",[],[[8,"hidden",0]],[[null,"values"]],function(e,t,n){var i=!0;if("values"===t){i=!1!==e.component.onChange(n)&&i}return i},ri.b,ri.a)),je["ɵdid"](1,4440064,null,0,oi.a,[nn.a,li.a,je.ChangeDetectorRef],{structure:[0,"structure"]},{values:"values"})],function(e,t){e(t,1,0,t.context.$implicit.form)},function(e,t){e(t,0,0,!t.context.last)})}function ye(e){return je["ɵvid"](0,[(e()(),je["ɵeld"](0,0,null,null,1,"certificate-selection",[],null,[[null,"onClick"]],function(e,t,n){var i=!0;if("onClick"===t){i=!1!==e.component.onConfirmCertificate(n)&&i}return i},dt.c,dt.b)),je["ɵdid"](1,245760,null,0,Pi.a,[nn.a,li.a,Sn.a,Ft.a],{certificates:[0,"certificates"],hideTitle:[1,"hideTitle"]},{onClick:"onClick"})],function(e,t){e(t,1,0,t.parent.context.ngIf.certificatesAliases,!0)},null)}function Ee(e){return je["ɵvid"](0,[(e()(),je["ɵeld"](0,0,null,null,28,"div",[["class","universal-signing-modal"]],null,null,null,null,null)),(e()(),je["ɵted"](-1,null,["\n\n "])),(e()(),je["ɵeld"](2,0,null,null,7,"div",[["class","signing-progress"]],null,null,null,null,null)),(e()(),je["ɵted"](-1,null,["\n "])),(e()(),je["ɵeld"](4,0,null,null,4,"div",[["class","points"]],null,null,null,null,null)),(e()(),je["ɵted"](-1,null,["\n "])),(e()(),je["ɵand"](16777216,null,null,1,null,be)),je["ɵdid"](7,802816,null,0,Nt.NgForOf,[je.ViewContainerRef,je.TemplateRef,je.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(e()(),je["ɵted"](-1,null,["\n "])),(e()(),je["ɵted"](-1,null,["\n "])),(e()(),je["ɵted"](-1,null,["\n\n "])),(e()(),je["ɵeld"](11,0,null,null,16,"div",[["class","form-content"]],null,null,null,null,null)),(e()(),je["ɵted"](-1,null,["\n "])),(e()(),je["ɵeld"](13,0,null,null,3,"p",[["class","info-text"]],null,null,null,null,null)),(e()(),je["ɵted"](14,null,["\n ","\n "])),je["ɵpid"](131072,St.a,[_t.a,je.ChangeDetectorRef]),je["ɵpid"](131072,St.a,[_t.a,je.ChangeDetectorRef]),(e()(),je["ɵted"](-1,null,["\n\n "])),(e()(),je["ɵand"](16777216,null,null,1,null,ve)),je["ɵdid"](19,802816,null,0,Nt.NgForOf,[je.ViewContainerRef,je.TemplateRef,je.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(e()(),je["ɵted"](-1,null,["\n\n "])),(e()(),je["ɵand"](16777216,null,null,1,null,ye)),je["ɵdid"](22,16384,null,0,Nt.NgIf,[je.ViewContainerRef,je.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),je["ɵted"](-1,null,["\n\n "])),(e()(),je["ɵeld"](24,0,null,null,2,"p",[["class","info-error"]],null,null,null,null,null)),(e()(),je["ɵted"](25,null,["\n ","\n "])),je["ɵpid"](131072,St.a,[_t.a,je.ChangeDetectorRef]),(e()(),je["ɵted"](-1,null,["\n\n "])),(e()(),je["ɵted"](-1,null,["\n\n"]))],function(e,t){e(t,7,0,t.context.ngIf.steps);e(t,19,0,t.context.ngIf.formSteps);e(t,22,0,t.context.ngIf.showCertificateSelection)},function(e,t){e(t,14,0,je["ɵunv"](t,14,0,je["ɵnov"](t,15).transform("TEXT_"+t.context.ngIf.steps[t.context.ngIf.step]))!=="TEXT_"+t.context.ngIf.steps[t.context.ngIf.step]?je["ɵunv"](t,14,0,je["ɵnov"](t,16).transform("TEXT_"+t.context.ngIf.steps[t.context.ngIf.step])):"");e(t,25,0,je["ɵunv"](t,25,0,je["ɵnov"](t,26).transform(t.context.ngIf.error)))})}function we(e){return je["ɵvid"](2,[(e()(),je["ɵand"](16777216,null,null,2,null,Ee)),je["ɵdid"](1,16384,null,0,Nt.NgIf,[je.ViewContainerRef,je.TemplateRef],{ngIf:[0,"ngIf"]},null),je["ɵpid"](131072,Nt.AsyncPipe,[je.ChangeDetectorRef]),(e()(),je["ɵted"](-1,null,["\n"]))],function(e,t){var n=t.component;e(t,1,0,je["ɵunv"](t,1,0,je["ɵnov"](t,2).transform(n.State)))},null)}function Ie(e){return je["ɵvid"](0,[(e()(),je["ɵeld"](0,0,null,null,4,"option",[],[[8,"selected",0]],null,null,null,null)),je["ɵdid"](1,147456,null,0,Nn.r,[je.ElementRef,je.Renderer2,[8,null]],{value:[0,"value"]},null),je["ɵdid"](2,147456,null,0,Nn.A,[je.ElementRef,je.Renderer2,[8,null]],{value:[0,"value"]},null),(e()(),je["ɵted"](3,null,["",""])),je["ɵpid"](131072,St.a,[_t.a,je.ChangeDetectorRef])],function(e,t){e(t,1,0,t.context.$implicit.key);e(t,2,0,t.context.$implicit.key)},function(e,t){e(t,0,0,t.component.phoneValidation.getPhoneParts(t.parent.context.$implicit.phone).phoneCountry===t.context.$implicit.key);e(t,3,0,je["ɵunv"](t,3,0,je["ɵnov"](t,4).transform(t.context.$implicit.value)))})}function Se(e){return je["ɵvid"](0,[(e()(),je["ɵeld"](0,0,null,null,38,"ion-list",[],null,null,null,null,null)),je["ɵdid"](1,16384,null,0,wn.a,[It.a,je.ElementRef,je.Renderer,Mt.a,qt.l,Pt.a],null,null),(e()(),je["ɵted"](-1,null,["\n "])),(e()(),je["ɵeld"](3,0,null,null,34,"ion-row",[["class","row"]],null,null,null,null,null)),je["ɵdid"](4,16384,null,0,On.a,[],null,null),(e()(),je["ɵted"](-1,null,["\n "])),(e()(),je["ɵeld"](6,0,null,null,8,"ion-col",[["class","col"]],null,null,null,null,null)),je["ɵdid"](7,16384,null,0,Dn.a,[],null,null),(e()(),je["ɵted"](-1,null,["\n "])),(e()(),je["ɵeld"](9,0,null,null,1,"p",[["class","doc-name"]],null,null,null,null,null)),(e()(),je["ɵted"](10,null,[""," ",""])),(e()(),je["ɵted"](-1,null,["\n "])),(e()(),je["ɵeld"](12,0,null,null,1,"p",[["class","doc-name"]],null,null,null,null,null)),(e()(),je["ɵted"](13,null,["",""])),(e()(),je["ɵted"](-1,null,["\n "])),(e()(),je["ɵted"](-1,null,["\n "])),(e()(),je["ɵeld"](16,0,null,null,20,"ion-col",[["class","col"]],null,null,null,null,null)),je["ɵdid"](17,16384,null,0,Dn.a,[],null,null),(e()(),je["ɵted"](-1,null,["\n "])),(e()(),je["ɵeld"](19,0,null,null,12,"p",[["class","doc-name"]],null,null,null,null,null)),(e()(),je["ɵted"](-1,null,[" "])),(e()(),je["ɵeld"](21,0,null,null,10,"select",[],[[8,"classList",0]],[[null,"change"]],function(e,t,n){var i=!0;if("change"===t){i=!1!==e.component.onSelectChange(n,e.context.$implicit)&&i}return i},null,null)),(e()(),je["ɵted"](-1,null,["\n "])),(e()(),je["ɵeld"](23,0,null,null,4,"option",[["disabled",""],["value",""]],[[8,"selected",0]],null,null,null,null)),je["ɵdid"](24,147456,null,0,Nn.r,[je.ElementRef,je.Renderer2,[8,null]],{value:[0,"value"]},null),je["ɵdid"](25,147456,null,0,Nn.A,[je.ElementRef,je.Renderer2,[8,null]],{value:[0,"value"]},null),(e()(),je["ɵted"](26,null,["",""])),je["ɵpid"](131072,St.a,[_t.a,je.ChangeDetectorRef]),(e()(),je["ɵted"](-1,null,["\n "])),(e()(),je["ɵand"](16777216,null,null,1,null,Ie)),je["ɵdid"](30,802816,null,0,Nt.NgForOf,[je.ViewContainerRef,je.TemplateRef,je.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(e()(),je["ɵted"](-1,null,["\n "])),(e()(),je["ɵted"](-1,null,["\n "])),(e()(),je["ɵeld"](33,0,null,null,2,"p",[["class","doc-name"]],null,null,null,null,null)),(e()(),je["ɵted"](-1,null,[" "])),(e()(),je["ɵeld"](35,0,null,null,0,"input",[["placeholder","Phone"],["type","text"]],[[8,"value",0]],[[null,"change"]],function(e,t,n){var i=!0;if("change"===t){i=!1!==e.component.onInputChange(n,e.context.$implicit)&&i}return i},null,null)),(e()(),je["ɵted"](-1,null,["\n "])),(e()(),je["ɵted"](-1,null,["\n "])),(e()(),je["ɵted"](-1,null,["\n "]))],function(e,t){var n=t.component;e(t,24,0,"");e(t,25,0,"");e(t,30,0,n.phoneValidation.countryCodes)},function(e,t){var n=t.component;e(t,10,0,t.context.$implicit.firstName,t.context.$implicit.lastName);e(t,13,0,t.context.$implicit.email);e(t,21,0,"signosoft-select");e(t,23,0,!n.phoneValidation.getPhoneParts(t.context.$implicit.phone).phoneCountry);e(t,26,0,je["ɵunv"](t,26,0,je["ɵnov"](t,27).transform("SELECT")));e(t,35,0,n.phoneValidation.getPhoneParts(t.context.$implicit.phone).phoneNumber)})}function _e(e){return je["ɵvid"](2,[(e()(),je["ɵted"](-1,null,["\n"])),(e()(),je["ɵeld"](1,0,null,null,18,"ion-header",[],null,null,null,null,null)),je["ɵdid"](2,16384,null,0,An.a,[It.a,je.ElementRef,je.Renderer,[2,Ft.a]],null,null),(e()(),je["ɵted"](-1,null,["\n "])),(e()(),je["ɵeld"](4,0,null,null,14,"ion-navbar",[["class","toolbar"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,xn.b,xn.a)),je["ɵdid"](5,49152,null,0,Mn.a,[Ut.a,[2,Ft.a],[2,Vt.a],It.a,je.ElementRef,je.Renderer],null,null),(e()(),je["ɵted"](-1,3,["\n "])),(e()(),je["ɵeld"](7,0,null,3,2,"div",[["class","title"],["id","select-signer-title"]],null,null,null,null,null)),(e()(),je["ɵted"](8,null,["",""])),je["ɵpid"](131072,St.a,[_t.a,je.ChangeDetectorRef]),(e()(),je["ɵted"](-1,3,["\n "])),(e()(),je["ɵeld"](11,0,null,2,6,"ion-buttons",[["end",""]],null,null,null,null,null)),je["ɵdid"](12,16384,null,1,Pn.a,[It.a,je.ElementRef,je.Renderer,[2,Un.a],[2,Mn.a]],null,null),je["ɵqud"](603979776,1,{_buttons:1}),(e()(),je["ɵted"](-1,null,["\n "])),(e()(),je["ɵeld"](15,0,null,null,1,"button",[["class","close-btn"],["ion-button",""]],null,[[null,"click"]],function(e,t,n){var i=!0;if("click"===t){i=!1!==e.component.close()&&i}return i},jn.b,jn.a)),je["ɵdid"](16,1097728,[[1,4]],0,Fn.a,[[8,""],It.a,je.ElementRef,je.Renderer],null,null),(e()(),je["ɵted"](-1,null,["\n "])),(e()(),je["ɵted"](-1,3,["\n "])),(e()(),je["ɵted"](-1,null,["\n"])),(e()(),je["ɵted"](-1,null,["\n\n"])),(e()(),je["ɵeld"](21,0,null,null,5,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,At.b,At.a)),je["ɵdid"](22,4374528,null,0,xt.a,[It.a,Mt.a,Pt.a,je.ElementRef,je.Renderer,Ut.a,jt.a,je.NgZone,[2,Ft.a],[2,Vt.a]],null,null),(e()(),je["ɵted"](-1,1,["\n "])),(e()(),je["ɵand"](16777216,null,1,1,null,Se)),je["ɵdid"](25,802816,null,0,Nt.NgForOf,[je.ViewContainerRef,je.TemplateRef,je.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(e()(),je["ɵted"](-1,1,["\n"])),(e()(),je["ɵted"](-1,null,["\n"])),(e()(),je["ɵeld"](28,0,null,null,11,"div",[["class","controls"]],null,null,null,null,null)),(e()(),je["ɵted"](-1,null,["\n "])),(e()(),je["ɵeld"](30,0,null,null,2,"button",[["class","button transparent cancel"],["type","button"]],null,[[null,"click"]],function(e,t,n){var i=!0;if("click"===t){i=!1!==e.component.close()&&i}return i},null,null)),(e()(),je["ɵted"](31,null,["",""])),je["ɵpid"](131072,St.a,[_t.a,je.ChangeDetectorRef]),(e()(),je["ɵted"](-1,null,["\n "])),(e()(),je["ɵeld"](34,0,null,null,4,"button",[["class","button transparent"],["type","submit"]],[[8,"disabled",0]],[[null,"click"]],function(e,t,n){var i=!0;if("click"===t){i=!1!==e.component.onSave()&&i}return i},null,null)),je["ɵpid"](131072,Nt.AsyncPipe,[je.ChangeDetectorRef]),je["ɵpid"](131072,Nt.AsyncPipe,[je.ChangeDetectorRef]),(e()(),je["ɵted"](37,null,["",""])),je["ɵpid"](131072,St.a,[_t.a,je.ChangeDetectorRef]),(e()(),je["ɵted"](-1,null,["\n"])),(e()(),je["ɵted"](-1,null,["\n"]))],function(e,t){e(t,25,0,t.component.users)},function(e,t){var n=t.component;e(t,4,0,je["ɵnov"](t,5)._hidden,je["ɵnov"](t,5)._sbPadding);e(t,8,0,je["ɵunv"](t,8,0,je["ɵnov"](t,9).transform("FILL_IN_DATA")));e(t,21,0,je["ɵnov"](t,22).statusbarPadding,je["ɵnov"](t,22)._hasRefresher);e(t,31,0,je["ɵunv"](t,31,0,je["ɵnov"](t,32).transform("CANCEL")));e(t,34,0,!je["ɵunv"](t,34,0,je["ɵnov"](t,35).transform(n.State)).isValid&&!je["ɵunv"](t,34,0,je["ɵnov"](t,36).transform(n.State)).activeLoading);e(t,37,0,je["ɵunv"](t,37,0,je["ɵnov"](t,38).transform("CONFIRM")))})}function Ce(e){return je["ɵvid"](0,[(e()(),je["ɵeld"](0,0,null,null,7,"button",[["class","button block primary rounded-corners disable-hover"]],[[2,"ghost",null]],[[null,"click"]],function(e,t,n){var i=!0;if("click"===t){i=!1!==e.component.save(e.context.index)&&i}return i},null,null)),(e()(),je["ɵted"](-1,null,["\n "])),(e()(),je["ɵeld"](2,0,null,null,2,"span",[],null,null,null,null,null)),(e()(),je["ɵted"](3,null,["",""])),je["ɵpid"](131072,St.a,[_t.a,je.ChangeDetectorRef]),(e()(),je["ɵted"](-1,null,["\n "])),(e()(),je["ɵeld"](6,0,null,null,0,"div",[["class","signature-img"]],[[4,"height","%"],[8,"innerHTML",1]],null,null,null,null)),(e()(),je["ɵted"](-1,null,["\n "]))],null,function(e,t){var n=t.component;e(t,0,0,n.value!==t.context.index);e(t,3,0,je["ɵunv"](t,3,0,je["ɵnov"](t,4).transform(t.context.$implicit.label)));e(t,6,0,t.context.$implicit.imgSize,n.img.signatureCurve)})}function Te(e){return je["ɵvid"](0,[(e()(),je["ɵted"](-1,null,["\n "])),(e()(),je["ɵeld"](1,0,null,null,8,"div",[["class","container"],["padding",""]],null,null,null,null,null)),(e()(),je["ɵted"](-1,null,["\n "])),(e()(),je["ɵeld"](3,0,null,null,2,"h2",[],null,null,null,null,null)),(e()(),je["ɵted"](4,null,["",""])),je["ɵpid"](131072,St.a,[_t.a,je.ChangeDetectorRef]),(e()(),je["ɵted"](-1,null,["\n "])),(e()(),je["ɵand"](16777216,null,null,1,null,Ce)),je["ɵdid"](8,802816,null,0,Nt.NgForOf,[je.ViewContainerRef,je.TemplateRef,je.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(e()(),je["ɵted"](-1,null,["\n "])),(e()(),je["ɵted"](-1,null,["\n "]))],function(e,t){e(t,8,0,t.component.steps)},function(e,t){e(t,4,0,je["ɵunv"](t,4,0,je["ɵnov"](t,5).transform("SELECT_SIGNATURE_SIZE_TITLE")))})}function Ne(e){return je["ɵvid"](2,[je["ɵqud"](402653184,1,{eventListenerComp:0}),je["ɵqud"](402653184,2,{carouselItem:0}),(e()(),je["ɵted"](-1,null,["\n "])),(e()(),je["ɵeld"](3,0,null,null,8,"event-listener",[],null,[[null,"onPanStart"],[null,"onPan"],[null,"onPanEnd"],[null,"onPinchStart"],[null,"onPinch"],[null,"onPinchEnd"],[null,"onDoubleTap"]],function(e,t,n){var i=!0,s=e.component;if("onPanStart"===t){i=!1!==s.panStart(n)&&i}if("onPan"===t){i=!1!==s.pan(n)&&i}if("onPanEnd"===t){i=!1!==s.panEnd(n)&&i}if("onPinchStart"===t){i=!1!==s.pinchStart(n.center)&&i}if("onPinch"===t){i=!1!==s.pinch(n)&&i}if("onPinchEnd"===t){i=!1!==s.pinchEnd()&&i}if("onDoubleTap"===t){i=!1!==s.doubleTap(n)&&i}return i},is.b,is.a)),je["ɵdid"](4,1294336,[[1,4]],0,ss.a,[je.ElementRef,je.NgZone,Ot.f,Mt.a,pn.a,nn.a],null,{panStart:"onPanStart",pan:"onPan",panEnd:"onPanEnd",pinchStart:"onPinchStart",pinch:"onPinch",pinchEnd:"onPinchEnd",doubleTap:"onDoubleTap"}),(e()(),je["ɵted"](-1,0,["\n\n "])),(e()(),je["ɵeld"](6,0,null,0,4,"carousel-item",[],null,[["document","touchstart"]],function(e,t,n){var i=!0;if("document:touchstart"===t){i=!1!==je["ɵnov"](e,7).cancelAnimation()&&i}return i},rs.b,rs.a)),je["ɵdid"](7,49152,[[2,4]],0,os.a,[je.Renderer2,[2,ls.a],je.ElementRef,je.ChangeDetectorRef],null,null),(e()(),je["ɵted"](-1,0,["\n "])),je["ɵncd"](0,0),(e()(),je["ɵted"](-1,0,["\n "])),(e()(),je["ɵted"](-1,0,["\n "])),(e()(),je["ɵted"](-1,null,["\n "]))],function(e,t){e(t,4,0)},null)}function Re(e){return je["ɵvid"](0,[(e()(),je["ɵeld"](0,0,null,null,0,"img",[["class","cropped-image"]],[[8,"src",4],[8,"width",0],[8,"height",0]],null,null,null,null))],null,function(e,t){var n=t.component;e(t,0,0,n._src,n.dims.width,n.dims.height)})}function Oe(e){return je["ɵvid"](0,[(e()(),je["ɵeld"](0,0,null,null,0,":svg:path",[["class","crop-arrow"],["fill","#4E56EA"]],[[1,"d",0]],[[null,"pointerdown"]],function(e,t,n){var i=!0;if("pointerdown"===t){i=!1!==e.component.activate(e.context.index,n)&&i}return i},null,null))],null,function(e,t){e(t,0,0,t.context.$implicit)})}function De(e){return je["ɵvid"](2,[je["ɵqud"](402653184,1,{zoomContainer:0}),je["ɵqud"](402653184,2,{canvasEl:0}),(e()(),je["ɵted"](-1,null,["\n "])),(e()(),je["ɵeld"](3,0,null,null,21,"zoomable-container",[],null,null,null,Ne,us)),je["ɵdid"](4,1228800,[[1,4]],0,as.a,[nn.a],null,null),(e()(),je["ɵted"](-1,0,["\n "])),(e()(),je["ɵeld"](6,0,null,0,17,"div",[["class","padded-container"]],[[4,"width","px"],[4,"height","px"]],null,null,null,null)),(e()(),je["ɵted"](-1,null,["\n "])),(e()(),je["ɵeld"](8,0,null,null,14,"div",[["class","container"]],null,null,null,null,null)),(e()(),je["ɵted"](-1,null,["\n "])),(e()(),je["ɵand"](16777216,null,null,1,null,Re)),je["ɵdid"](11,16384,null,0,Nt.NgIf,[je.ViewContainerRef,je.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),je["ɵted"](-1,null,["\n "])),(e()(),je["ɵeld"](13,0,[[2,0],["canvas",1]],null,0,"canvas",[["class","cropped-image"]],[[8,"hidden",0]],null,null,null,null)),(e()(),je["ɵted"](-1,null,["\n "])),(e()(),je["ɵeld"](15,0,null,null,6,":svg:svg",[["class","cropped-image"]],[[1,"width",0],[1,"height",0],[1,"viewbox",0]],null,null,null,null)),(e()(),je["ɵted"](-1,null,["\n "])),(e()(),je["ɵeld"](17,0,null,null,0,":svg:path",[["fill","#000000"],["fill-opacity","0.5"],["fill-rule","evenodd"]],[[1,"d",0]],null,null,null,null)),(e()(),je["ɵted"](-1,null,["\n "])),(e()(),je["ɵand"](16777216,null,null,1,null,Oe)),je["ɵdid"](20,802816,null,0,Nt.NgForOf,[je.ViewContainerRef,je.TemplateRef,je.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(e()(),je["ɵted"](-1,null,["\n "])),(e()(),je["ɵted"](-1,null,["\n "])),(e()(),je["ɵted"](-1,null,["\n "])),(e()(),je["ɵted"](-1,0,["\n "])),(e()(),je["ɵted"](-1,null,["\n "]))],function(e,t){var n=t.component;e(t,11,0,n._src);e(t,20,0,n.arrows)},function(e,t){var n=t.component;e(t,6,0,n.container.width+4*n.arrowSize,n.container.height+4*n.arrowSize);e(t,13,0,n._src);e(t,15,0,n.dims.width,n.dims.height,"0,0,"+n.dims.height+","+n.dims.width);e(t,17,0,n.polygon)})}function ke(e){return je["ɵvid"](0,[(e()(),je["ɵeld"](0,0,null,null,1,"image-cropper",[["class","scanned-signature-img"],["rectMode","true"]],null,[["window","pointermove"],["window","pointerup"],["window","pointercancel"],["window","pointerleave"]],function(e,t,n){var i=!0;if("window:pointermove"===t){i=!1!==je["ɵnov"](e,1).onPointerMove(n)&&i}if("window:pointerup"===t){i=!1!==je["ɵnov"](e,1).onPointerUp(n)&&i}if("window:pointercancel"===t){i=!1!==je["ɵnov"](e,1).onPointerUp(n)&&i}if("window:pointerleave"===t){i=!1!==je["ɵnov"](e,1).onPointerUp(n)&&i}return i},De,hs)),je["ɵdid"](1,4898816,[[1,4]],0,cs.a,[je.ElementRef,Ue.DomSanitizer,je.ChangeDetectorRef,nn.a],{originalPts:[0,"originalPts"],dims:[1,"dims"],src:[2,"src"],rectMode:[3,"rectMode"]},null)],function(e,t){e(t,1,0,t.parent.context.ngIf.points,t.parent.context.ngIf.size,t.parent.context.ngIf.src,"true")},null)}function Le(e){return je["ɵvid"](0,[(e()(),je["ɵeld"](0,0,null,null,1,"ion-spinner",[["name","crescent"]],[[2,"spinner-paused",null]],null,null,Ct.b,Ct.a)),je["ɵdid"](1,114688,null,0,Tt.a,[It.a,je.ElementRef,je.Renderer],{name:[0,"name"]},null)],function(e,t){e(t,1,0,"crescent")},function(e,t){e(t,0,0,je["ɵnov"](t,1)._paused)})}function Ae(e){return je["ɵvid"](0,[(e()(),je["ɵeld"](0,0,null,null,2,"button",[["class","button ghost small"]],[[8,"disabled",0]],[[null,"click"]],function(e,t,n){var i=!0;if("click"===t){i=!1!==e.component.webcamScan()&&i}return i},null,null)),(e()(),je["ɵted"](1,null,["",""])),je["ɵpid"](131072,St.a,[_t.a,je.ChangeDetectorRef])],null,function(e,t){e(t,0,0,t.parent.context.ngIf.buttonsDisabled);e(t,1,0,je["ɵunv"](t,1,0,je["ɵnov"](t,2).transform("WEBCAM_SCAN")))})}function xe(e){return je["ɵvid"](0,[(e()(),je["ɵeld"](0,0,null,null,64,null,null,null,null,null,null,null)),(e()(),je["ɵted"](-1,null,["\n "])),(e()(),je["ɵeld"](2,0,null,null,29,"div",[],[[2,"hidden",null]],null,null,null,null)),(e()(),je["ɵted"](-1,null,["\n "])),(e()(),je["ɵeld"](4,0,null,null,7,"div",[["class","scanned-signature-wrapper"]],null,null,null,null,null)),(e()(),je["ɵted"](-1,null,["\n "])),(e()(),je["ɵand"](16777216,null,null,1,null,ke)),je["ɵdid"](7,16384,null,0,Nt.NgIf,[je.ViewContainerRef,je.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),je["ɵted"](-1,null,["\n "])),(e()(),je["ɵand"](16777216,null,null,1,null,Le)),je["ɵdid"](10,16384,null,0,Nt.NgIf,[je.ViewContainerRef,je.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),je["ɵted"](-1,null,["\n "])),(e()(),je["ɵted"](-1,null,["\n\n "])),(e()(),je["ɵeld"](13,0,null,null,17,"div",[["class","button-wrapper"]],null,null,null,null,null)),(e()(),je["ɵted"](-1,null,["\n "])),(e()(),je["ɵeld"](15,0,null,null,2,"button",[["class","button ghost small"]],[[8,"disabled",0]],[[null,"click"]],function(e,t,n){var i=!0;if("click"===t){i=!1!==e.component.cancel()&&i}return i},null,null)),(e()(),je["ɵted"](16,null,["",""])),je["ɵpid"](131072,St.a,[_t.a,je.ChangeDetectorRef]),(e()(),je["ɵted"](-1,null,["\n "])),(e()(),je["ɵand"](16777216,null,null,1,null,Ae)),je["ɵdid"](20,16384,null,0,Nt.NgIf,[je.ViewContainerRef,je.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),je["ɵted"](-1,null,["\n "])),(e()(),je["ɵeld"](22,0,null,null,3,"button",[["class","button ghost small"]],null,[[null,"select"]],function(e,t,n){var i=!0;if("select"===t){i=!1!==e.component.onSelect(n)&&i}return i},null,null)),je["ɵdid"](23,737280,null,0,Ci.c,[je.ElementRef,je.Renderer2,Ot.f,Ti.a,Ni.a,Ri.a],{options:[0,"options"],disabled:[1,"disabled"]},{select:"select"}),(e()(),je["ɵted"](24,null,["",""])),je["ɵpid"](131072,St.a,[_t.a,je.ChangeDetectorRef]),(e()(),je["ɵted"](-1,null,["\n "])),(e()(),je["ɵeld"](27,0,null,null,2,"button",[["class","button primary small"]],[[8,"disabled",0]],[[null,"click"]],function(e,t,n){var i=!0;if("click"===t){i=!1!==e.component.confirmCrop()&&i}return i},null,null)),(e()(),je["ɵted"](28,null,["",""])),je["ɵpid"](131072,St.a,[_t.a,je.ChangeDetectorRef]),(e()(),je["ɵted"](-1,null,["\n "])),(e()(),je["ɵted"](-1,null,["\n "])),(e()(),je["ɵted"](-1,null,["\n\n "])),(e()(),je["ɵeld"](33,0,null,null,30,"div",[],[[2,"hidden",null]],null,null,null,null)),(e()(),je["ɵted"](-1,null,["\n "])),(e()(),je["ɵeld"](35,0,null,null,3,"div",[["class","final-signature-wrapper"]],null,null,null,null,null)),(e()(),je["ɵted"](-1,null,["\n "])),(e()(),je["ɵeld"](37,0,[[2,0],["finalCanvas",1]],null,0,"canvas",[["class","scanned-signature-img"]],null,null,null,null,null)),(e()(),je["ɵted"](-1,null,["\n "])),(e()(),je["ɵted"](-1,null,["\n\n "])),(e()(),je["ɵeld"](40,0,null,null,11,"ion-range",[["debounce","100"]],[[2,"range-disabled",null],[2,"range-pressed",null],[2,"range-has-pin",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"ionChange"]],function(e,t,n){var i=!0,s=e.component;if("ngModelChange"===t){i=!1!==(s.sauvolaKInt=n)&&i}if("ionChange"===t){i=!1!==s.kChange()&&i}return i},ds.b,ds.a)),je["ɵdid"](41,1228800,[[3,4]],0,ps.a,[qn.a,wi.a,[2,zn.a],It.a,Mt.a,je.ElementRef,je.Renderer,Pt.a,je.ChangeDetectorRef],{disabled:[0,"disabled"],min:[1,"min"],max:[2,"max"],step:[3,"step"],debounce:[4,"debounce"]},{ionChange:"ionChange"}),je["ɵprd"](1024,null,Nn.l,function(e){return[e]},[ps.a]),je["ɵdid"](43,671744,null,0,Nn.q,[[8,null],[8,null],[8,null],[2,Nn.l]],{isDisabled:[0,"isDisabled"],model:[1,"model"]},{update:"ngModelChange"}),je["ɵprd"](2048,null,Nn.m,null,[Nn.q]),je["ɵdid"](45,16384,null,0,Nn.n,[Nn.m],null,null),(e()(),je["ɵted"](-1,null,["\n "])),(e()(),je["ɵeld"](47,0,null,0,3,"ion-label",[["range-left",""]],null,null,null,null,null)),je["ɵdid"](48,16384,null,0,Kn.a,[It.a,je.ElementRef,je.Renderer,[8,null],[8,null],[8,null],[8,null]],null,null),(e()(),je["ɵted"](49,null,["",""])),je["ɵpid"](131072,St.a,[_t.a,je.ChangeDetectorRef]),(e()(),je["ɵted"](-1,null,["\n "])),(e()(),je["ɵted"](-1,null,["\n\n "])),(e()(),je["ɵeld"](53,0,null,null,9,"div",[["class","button-wrapper"]],null,null,null,null,null)),(e()(),je["ɵted"](-1,null,["\n "])),(e()(),je["ɵeld"](55,0,null,null,2,"button",[["class","button ghost small"]],[[8,"disabled",0]],[[null,"click"]],function(e,t,n){var i=!0;if("click"===t){i=!1!==e.component.back()&&i}return i},null,null)),(e()(),je["ɵted"](56,null,["",""])),je["ɵpid"](131072,St.a,[_t.a,je.ChangeDetectorRef]),(e()(),je["ɵted"](-1,null,["\n "])),(e()(),je["ɵeld"](59,0,null,null,2,"button",[["class","button primary small"]],[[8,"disabled",0]],[[null,"click"]],function(e,t,n){var i=!0;if("click"===t){i=!1!==e.component.confirm()&&i}return i},null,null)),(e()(),je["ɵted"](60,null,["",""])),je["ɵpid"](131072,St.a,[_t.a,je.ChangeDetectorRef]),(e()(),je["ɵted"](-1,null,["\n "])),(e()(),je["ɵted"](-1,null,["\n "])),(e()(),je["ɵted"](-1,null,["\n"]))],function(e,t){var n=t.component;e(t,7,0,t.context.ngIf.src);e(t,10,0,!t.context.ngIf.src);e(t,20,0,t.context.ngIf.showWebcamScan);e(t,23,0,n.options,t.context.ngIf.buttonsDisabled);e(t,41,0,t.context.ngIf.buttonsDisabled,n.kMinInt,n.kMaxInt,n.kStepInt,"100");e(t,43,0,t.context.ngIf.buttonsDisabled,n.sauvolaKInt)},function(e,t){e(t,2,0,t.context.ngIf.cropConfirmed);e(t,15,0,t.context.ngIf.buttonsDisabled);e(t,16,0,je["ɵunv"](t,16,0,je["ɵnov"](t,17).transform("CANCEL")));e(t,24,0,je["ɵunv"](t,24,0,je["ɵnov"](t,25).transform("CHANGE_PICTURE")));e(t,27,0,!t.context.ngIf.src||t.context.ngIf.buttonsDisabled);e(t,28,0,je["ɵunv"](t,28,0,je["ɵnov"](t,29).transform("OK")));e(t,33,0,!t.context.ngIf.cropConfirmed);e(t,40,0,je["ɵnov"](t,41)._disabled,je["ɵnov"](t,41)._pressed,je["ɵnov"](t,41)._pin,je["ɵnov"](t,45).ngClassUntouched,je["ɵnov"](t,45).ngClassTouched,je["ɵnov"](t,45).ngClassPristine,je["ɵnov"](t,45).ngClassDirty,je["ɵnov"](t,45).ngClassValid,je["ɵnov"](t,45).ngClassInvalid,je["ɵnov"](t,45).ngClassPending);e(t,49,0,je["ɵunv"](t,49,0,je["ɵnov"](t,50).transform("NOISE")));e(t,55,0,t.context.ngIf.buttonsDisabled);e(t,56,0,je["ɵunv"](t,56,0,je["ɵnov"](t,57).transform("BACK")));e(t,59,0,t.context.ngIf.buttonsDisabled);e(t,60,0,je["ɵunv"](t,60,0,je["ɵnov"](t,61).transform("OK")))})}function Me(e){return je["ɵvid"](0,[je["ɵqud"](671088640,1,{cropper:0}),je["ɵqud"](671088640,2,{finalCanvas:0}),je["ɵqud"](671088640,3,{kRange:0}),(e()(),je["ɵand"](16777216,null,null,2,null,xe)),je["ɵdid"](4,16384,null,0,Nt.NgIf,[je.ViewContainerRef,je.TemplateRef],{ngIf:[0,"ngIf"]},null),je["ɵpid"](131072,Nt.AsyncPipe,[je.ChangeDetectorRef])],function(e,t){var n=t.component;e(t,4,0,je["ɵunv"](t,4,0,je["ɵnov"](t,5).transform(n.State)))},null)}Object.defineProperty(t,"__esModule",{value:!0});n(740),n(741),n(742),n(743);var Pe=n(768),Ue=(n(769),n(770),n(39)),je=n(1),Fe=n(706),Ve=n(136),Ge=n(675),Be=n(676),ze=n(677),qe=n(678),We=n(679),He=n(680),Ke=n(681),Ye=n(682),Ze=n(683),Xe=n(156),$e=n(684),Qe=n(686),Je=n(687),et=n(688),tt=n(689),nt=n(690),it=n(691),st=n(692),rt=n(693),ot=n(694),lt=n(695),at=n(696),ut=n(697),ct=n(698),ht=n(685),dt=n(227),pt=n(699),gt=n(700),ft=n(701),mt=n(702),bt=n(703),vt=n(704),yt=n(705),Et=n(722),wt=n(47),It=n(4),St=n(21),_t=n(17),Ct=n(128),Tt=n(94),Nt=n(11),Rt=n(344),Ot=n(5),Dt=n(77),kt=n(34),Lt=je["ɵcrt"]({encapsulation:2,styles:[],data:{animation:[{type:7,name:"flyInOut",definitions:[{type:0,name:"in",styles:{type:6,styles:{transform:"translateY(0)",opacity:1},offset:null},options:void 0},{type:1,expr:"void => *",animation:[{type:4,styles:{type:5,steps:[{type:6,styles:{opacity:.5},offset:null},{type:6,styles:{opacity:1},offset:null}]},timings:500}],options:null},{type:1,expr:"* => void",animation:[{type:4,styles:{type:5,steps:[{type:6,styles:{opacity:1},offset:null},{type:6,styles:{opacity:.5},offset:null}]},timings:500}],options:null}],options:{}}]}}),At=n(46),xt=n(29),Mt=n(8),Pt=n(12),Ut=n(13),jt=n(35),Ft=n(7),Vt=n(25),Gt=n(1081),Bt=n(109),zt=n(112),qt=n(23),Wt=n(99),Ht=n(62),Kt=n(80),Yt=n(14),Zt=n(15),Xt=n(19),$t=n(73),Qt=n(325),Jt=je["ɵcrt"]({encapsulation:2,styles:[],data:{}}),en=n(243),tn=n(342),nn=n(9),sn=n(44),rn=je["ɵcrt"]({encapsulation:2,styles:[],data:{}}),on=n(343),ln=n(127),an=n(222),un=n(223),cn=n(48),hn=n(146),dn=n(55),pn=n(70),gn=n(133),fn=n(31),mn=n(86),bn=n(110),vn=n(43),yn=je["ɵcrt"]({encapsulation:2,styles:[],data:{}}),En=je["ɵccf"]("ng-component",on.a,function(e){return je["ɵvid"](0,[(e()(),je["ɵeld"](0,0,null,null,1,"ng-component",[],null,null,null,d,yn)),je["ɵdid"](1,5357568,null,0,on.a,[Mt.a,ln.a,an.a,_t.a,Ot.f,It.a,Ht.a,Xt.a,Yt.a,Zt.e,un.a,cn.a,hn.a,dn.a,pn.a,gn.c,fn.a,mn.a,Dt.a,bn.a,vn.a,$t.a],null,null)],function(e,t){e(t,1,0)},null)},{},{},[]),wn=n(59),In=n(375),Sn=n(18),_n=je["ɵcrt"]({encapsulation:2,styles:[],data:{}}),Cn=je["ɵccf"]("ng-component",In.a,function(e){return je["ɵvid"](0,[(e()(),je["ɵeld"](0,0,null,null,1,"ng-component",[],null,null,null,g,_n)),je["ɵdid"](1,49152,null,0,In.a,[Ft.a,kt.a,Sn.a],null,null)],null,null)},{},{},[]),Tn=n(723),Nn=n(20),Rn=n(174),On=n(129),Dn=n(103),kn=n(163),Ln=n(101),An=n(58),xn=n(65),Mn=n(45),Pn=n(72),Un=n(60),jn=n(41),Fn=n(33),Vn=n(338),Gn=n(244),Bn=n(85),zn=n(38),qn=n(37),Wn=n(66),Hn=n(74),Kn=n(79),Yn=n(173),Zn=n(104),Xn=n(167),$n=n(117),Qn=n(207),Jn=n(63),ei=je["ɵcrt"]({encapsulation:2,styles:[],data:{}}),ti=n(308),ni=n(141),ii=je["ɵcrt"]({encapsulation:2,styles:[],data:{}}),si=je["ɵccf"]("select-signer",ti.a,function(e){return je["ɵvid"](0,[(e()(),je["ɵeld"](0,0,null,null,1,"select-signer",[],null,null,null,T,ii)),je["ɵdid"](1,245760,null,0,ti.a,[ni.a,Ft.a,Zt.e,Xt.a,_t.a,Sn.a,je.ChangeDetectorRef,Yt.a,Ot.f,je.NgZone,Jn.a,sn.a],null,null)],function(e,t){e(t,1,0)},null)},{},{},[]),ri=n(71),oi=n(36),li=n(28),ai=n(320),ui=je["ɵcrt"]({encapsulation:2,styles:[],data:{}}),ci=je["ɵccf"]("select-signer-onsite",ai.a,function(e){return je["ɵvid"](0,[(e()(),je["ɵeld"](0,0,null,null,1,"select-signer-onsite",[],null,null,null,N,ui)),je["ɵdid"](1,114688,null,0,ai.a,[Ft.a,Zt.e,Xt.a,_t.a,je.ChangeDetectorRef,Ot.f,je.NgZone,li.a,Sn.a],null,null)],function(e,t){e(t,1,0)},null)},{},{},[]),hi=n(674),di=je["ɵcrt"]({encapsulation:2,styles:[],data:{}}),pi=je["ɵccf"]("select-sign-method-onsite-modal",hi.a,function(e){return je["ɵvid"](0,[(e()(),je["ɵeld"](0,0,null,null,1,"select-sign-method-onsite-modal",[],null,null,null,O,di)),je["ɵdid"](1,114688,null,0,hi.a,[Ft.a,_t.a,Ot.f,Ue.DomSanitizer,Sn.a],null,null)],function(e,t){e(t,1,0)},null)},{},{},[]),gi=n(309),fi=je["ɵcrt"]({encapsulation:2,styles:[],data:{}}),mi=je["ɵccf"]("select-method",gi.a,function(e){return je["ɵvid"](0,[(e()(),je["ɵeld"](0,0,null,null,1,"select-method",[],null,null,null,L,fi)),je["ɵdid"](1,114688,null,0,gi.a,[Sn.a,Ft.a,Ot.f,_t.a,je.ChangeDetectorRef,sn.a,fn.a,Yt.a],null,null)],function(e,t){e(t,1,0)},null)},{},{},[]),bi=n(1082),vi=n(192),yi=n(1083),Ei=n(221),wi=n(68),Ii=n(310),Si=je["ɵcrt"]({encapsulation:2,styles:[],data:{}}),_i=je["ɵccf"]("signature-list",Ii.a,function(e){return je["ɵvid"](0,[(e()(),je["ɵeld"](0,0,null,null,1,"signature-list",[],null,null,null,j,Si)),je["ɵdid"](1,180224,null,0,Ii.a,[nn.a,Ft.a,Vt.a,Sn.a,je.ChangeDetectorRef,vn.a],null,null)],null,null)},{},{},[]),Ci=n(115),Ti=n(116),Ni=n(102),Ri=n(95),Oi=n(114),Di=n(211),ki=n(119),Li=je["ɵcrt"]({encapsulation:2,styles:[],data:{}}),Ai=je["ɵccf"]("signosoft-signature-pad",Di.b,function(e){return je["ɵvid"](0,[(e()(),je["ɵeld"](0,0,null,null,1,"signosoft-signature-pad",[],null,null,null,V,Li)),je["ɵdid"](1,114688,null,0,Di.b,[Zt.e,Mt.a,_t.a,Ot.f,Xt.a,je.ChangeDetectorRef,ki.a,cn.a,fn.a],null,null)],function(e,t){e(t,1,0)},null)},{options:"options",wrapper:"wrapper",signingView:"signingView",signoSoftDriverInterface:"driver"},{signingEvent:"signingEvent",signingRequest:"signingRequest",userInfoDetection:"userInfoDetection"},["*"]),xi=n(1084),Mi=n(345),Pi=n(153),Ui=n(210),ji=n(178),Fi=je["ɵcrt"]({encapsulation:2,styles:[],data:{}}),Vi=je["ɵccf"]("biometric-signing",Ui.a,function(e){return je["ɵvid"](0,[(e()(),je["ɵeld"](0,0,null,null,1,"biometric-signing",[],null,null,null,le,Fi)),je["ɵdid"](1,4440064,null,0,Ui.a,[nn.a,ni.a,ji.a,Vt.a,li.a,Sn.a,je.ChangeDetectorRef,_t.a,je.Renderer2,je.ElementRef,Ft.a,Ot.f,fn.a,Zt.e,Jn.a,cn.a,vn.a,Xt.a,Yt.a],null,null)],function(e,t){e(t,1,0)},null)},{},{},[]),Gi=n(258),Bi=je["ɵcrt"]({encapsulation:2,styles:[],data:{}}),zi=je["ɵccf"]("ng-component",Gi.a,function(e){return je["ɵvid"](0,[(e()(),je["ɵeld"](0,0,null,null,1,"ng-component",[],null,null,null,ce,Bi)),je["ɵdid"](1,49152,null,0,Gi.a,[Ft.a,kt.a,Sn.a],null,null)],null,null)},{},{},[]),qi=n(130),Wi=n(209),Hi=je["ɵcrt"]({encapsulation:2,styles:[],data:{}}),Ki=je["ɵccf"]("ng-component",Wi.a,function(e){return je["ɵvid"](0,[(e()(),je["ɵeld"](0,0,null,null,1,"ng-component",[],null,null,null,fe,Hi)),je["ɵdid"](1,49152,null,0,Wi.a,[Ft.a,kt.a,Sn.a],null,null)],null,null)},{},{},[]),Yi=n(319),Zi=je["ɵcrt"]({encapsulation:2,styles:[],data:{}}),Xi=je["ɵccf"]("universal-signing-modal",Yi.a,function(e){return je["ɵvid"](0,[(e()(),je["ɵeld"](0,0,null,null,1,"universal-signing-modal",[],null,null,null,we,Zi)),je["ɵdid"](1,245760,null,0,Yi.a,[Yt.a,nn.a,li.a,Zt.e,Sn.a,Ft.a,Jn.a,Ot.f],null,null)],function(e,t){e(t,1,0)},null)},{},{},[]),$i=n(321),Qi=je["ɵcrt"]({encapsulation:2,styles:[],data:{}}),Ji=je["ɵccf"]("add-users-data-modal",$i.a,function(e){return je["ɵvid"](0,[(e()(),je["ɵeld"](0,0,null,null,1,"add-users-data-modal",[],null,null,null,_e,Qi)),je["ɵdid"](1,245760,null,0,$i.a,[nn.a,Ft.a,Zt.e,Xt.a,_t.a,je.ChangeDetectorRef,Ot.f,je.NgZone,li.a,Jn.a,Sn.a],null,null)],function(e,t){e(t,1,0)},null)},{},{},[]),es=n(322),ts=je["ɵcrt"]({encapsulation:2,styles:[],data:{}}),ns=je["ɵccf"]("signature-resize-range",es.a,function(e){return je["ɵvid"](0,[(e()(),je["ɵeld"](0,0,null,null,1,"signature-resize-range",[],null,null,null,Te,ts)),je["ɵdid"](1,49152,null,0,es.a,[Sn.a,Ft.a,kt.a],null,null)],null,null)},{},{},[]),is=n(738),ss=n(131),rs=n(737),os=n(132),ls=n(118),as=n(215),us=je["ɵcrt"]({encapsulation:0,styles:["[_nghost-%COMP%] {\n width: 100%;\n height: 100%;\n }\n\n .zoomable-item-container[_ngcontent-%COMP%] {\n transform: translate3d(0px, 0px, 0px);\n will-change: transform;\n transform-origin: 50% 50%;\n }\n\n event-listener[_ngcontent-%COMP%] {\n display: flex;\n justify-content: center;\n align-items: center;\n height: 100%;\n width: 100%;\n }"],data:{}}),cs=n(214),hs=je["ɵcrt"]({encapsulation:0,styles:["[_nghost-%COMP%] {\n width: 100%;\n height: 100%;\n position: relative;\n display: block;\n }\n\n .container[_ngcontent-%COMP%] {\n position: relative;\n background-color: black;\n width: 100%;\n height: 100%;\n cursor: pointer;\n }\n\n .padded-container[_ngcontent-%COMP%] {\n padding: 30px;\n }\n\n .image-container.upper[_ngcontent-%COMP%] {\n z-index: 10;\n }\n\n .cropped-image[_ngcontent-%COMP%] {\n display: block;\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n }\n\n svg[_ngcontent-%COMP%], circle[_ngcontent-%COMP%], [_nghost-%COMP%] {\n touch-action: none;\n }\n\n svg[_ngcontent-%COMP%] {\n overflow: visible;\n }\n\n .crop-arrow[_ngcontent-%COMP%] {\n cursor: move;\n user-select: none;\n -webkit-user-drag: none;\n }\n\n .hidden[_ngcontent-%COMP%] {\n display: none !important;\n }"],data:{}}),ds=n(653),ps=n(155),gs=n(213),fs=je["ɵcrt"]({encapsulation:2,styles:[],data:{}}),ms=je["ɵccf"]("signature-scan-modal",gs.a,function(e){return je["ɵvid"](0,[(e()(),je["ɵeld"](0,0,null,null,1,"signature-scan-modal",[],null,null,null,Me,fs)),je["ɵdid"](1,245760,null,0,gs.a,[Sn.a,bn.a,Ft.a,Yt.a,vn.a,fn.a,Ot.f,Xt.a,nn.a],null,null)],function(e,t){e(t,1,0)},null)},{},{},[]),bs=n(326),vs=n(669),ys=n(668),Es=n(152),ws=n(262),Is=n(264),Ss=n(346),_s=n(138),Cs=n(111),Ts=n(250),Ns=n(189),Rs=n(333),Os=n(328),Ds=n(168),ks=n(670),Ls=n(671),As=n(291),xs=n(93),Ms=n(311),Ps=n(84),Us=n(171),js=n(305),Fs=n(166),Vs=n(91),Gs=n(169),Bs=n(113),zs=n(304),qs=n(172),Ws=n(247),Hs=n(324),Ks=n(233),Ys=n(234),Zs=n(526),Xs=n(327),$s=n(288),Qs=n(354),Js=n(352),er=n(355),tr=n(356),nr=n(92),ir=n(357),sr=n(69),rr=n(226),or=n(157),lr=n(158),ar=n(160),ur=n(159),cr=n(293),hr=n(78),dr=n(270),pr=n(329),gr=n(22),fr=n(292),mr=n(225),br=n(224),vr=n(364),yr=n(353),Er=n(673),wr=n(251),Ir=je["ɵcmf"](Fe.a,[Ve.b],function(e){return je["ɵmod"]([je["ɵmpd"](512,je.ComponentFactoryResolver,je["ɵCodegenComponentFactoryResolver"],[[8,[Ge.a,Be.a,ze.a,qe.a,We.a,He.a,Ke.a,Ye.a,Ze.a,Xe.c,$e.b,Qe.a,Je.a,et.a,tt.a,nt.a,it.a,st.a,rt.a,ot.a,lt.a,at.a,ut.a,ct.a,ht.a,dt.a,pt.a,gt.a,ft.a,mt.a,bt.a,vt.a,yt.a,Et.a,En,Cn,si,ci,pi,mi,_i,Vi,Ai,zi,Ki,Xi,Ji,ns,ms]],[3,je.ComponentFactoryResolver],je.NgModuleRef]),je["ɵmpd"](5120,je.LOCALE_ID,Fe.f,[_t.a]),je["ɵmpd"](4608,Nt.NgLocalization,Nt.NgLocaleLocalization,[je.LOCALE_ID,[2,Nt["ɵa"]]]),je["ɵmpd"](5120,je.APP_ID,je["ɵf"],[]),je["ɵmpd"](5120,je.IterableDiffers,je["ɵk"],[]),je["ɵmpd"](5120,je.KeyValueDiffers,je["ɵl"],[]),je["ɵmpd"](6144,je.Sanitizer,null,[Ue.DomSanitizer]),je["ɵmpd"](4608,Ue.HAMMER_GESTURE_CONFIG,bs.a,[]),je["ɵmpd"](5120,Ue.EVENT_MANAGER_PLUGINS,function(e,t,n,i,s){return[new Ue["ɵDomEventsPlugin"](e,t),new Ue["ɵKeyEventsPlugin"](n),new Ue["ɵHammerGesturesPlugin"](i,s)]},[Nt.DOCUMENT,je.NgZone,Nt.DOCUMENT,Nt.DOCUMENT,Ue.HAMMER_GESTURE_CONFIG]),je["ɵmpd"](4608,Ue.EventManager,Ue.EventManager,[Ue.EVENT_MANAGER_PLUGINS,je.NgZone]),je["ɵmpd"](135680,Ue["ɵDomSharedStylesHost"],Ue["ɵDomSharedStylesHost"],[Nt.DOCUMENT]),je["ɵmpd"](4608,Ue["ɵDomRendererFactory2"],Ue["ɵDomRendererFactory2"],[Ue.EventManager,Ue["ɵDomSharedStylesHost"]]),je["ɵmpd"](5120,vs.a,ys.d,[]),je["ɵmpd"](5120,vs.c,ys.e,[]),je["ɵmpd"](4608,vs.b,ys.c,[vs.a,vs.c]),je["ɵmpd"](5120,je.RendererFactory2,ys.f,[Ue["ɵDomRendererFactory2"],vs.b,je.NgZone]),je["ɵmpd"](6144,Ue["ɵSharedStylesHost"],null,[Ue["ɵDomSharedStylesHost"]]),je["ɵmpd"](4608,je.Testability,je.Testability,[je.NgZone]),je["ɵmpd"](4608,Ue.Meta,Ue.Meta,[Nt.DOCUMENT]),je["ɵmpd"](4608,Ue.Title,Ue.Title,[Nt.DOCUMENT]),je["ɵmpd"](4608,Nn.z,Nn.z,[]),je["ɵmpd"](4608,Nn.d,Nn.d,[]),je["ɵmpd"](4608,Es.b,ys.b,[je.RendererFactory2,Ue.DOCUMENT]),je["ɵmpd"](4608,ws.a,ws.a,[Ut.a,It.a]),je["ɵmpd"](4608,Is.a,Is.a,[Ut.a,It.a]),je["ɵmpd"](4608,qn.a,qn.a,[]),je["ɵmpd"](4608,wi.a,wi.a,[Mt.a]),je["ɵmpd"](4608,jt.a,jt.a,[It.a,Mt.a,je.NgZone,Pt.a]),je["ɵmpd"](4608,ni.a,ni.a,[Ut.a,It.a]),je["ɵmpd"](5120,Nt.LocationStrategy,Ss.c,[Nt.PlatformLocation,[2,Nt.APP_BASE_HREF],It.a]),je["ɵmpd"](4608,Nt.Location,Nt.Location,[Nt.LocationStrategy]),je["ɵmpd"](5120,_s.b,_s.d,[Ut.a,_s.a]),je["ɵmpd"](5120,Ht.a,Ht.b,[Ut.a,_s.b,Nt.Location,Cs.b,je.ComponentFactoryResolver]),je["ɵmpd"](4608,Ts.a,Ts.a,[Ut.a,It.a,Ht.a]),je["ɵmpd"](4608,Ns.a,Ns.a,[Ut.a,It.a]),je["ɵmpd"](4608,Rs.a,Rs.a,[Ut.a,It.a,Ht.a]),je["ɵmpd"](4608,Os.a,Os.a,[It.a,Mt.a,Pt.a,Ut.a,qt.l]),je["ɵmpd"](4608,ji.a,ji.a,[Ut.a,It.a]),je["ɵmpd"](4608,Wt.a,Wt.a,[Mt.a,It.a]),je["ɵmpd"](4608,ln.a,ln.a,[]),je["ɵmpd"](4608,an.a,an.a,[]),je["ɵmpd"](4608,Ds.a,Ds.a,[]),je["ɵmpd"](4608,ks.a,ks.a,[]),je["ɵmpd"](4608,Ti.a,Ti.a,[]),je["ɵmpd"](4608,Ni.a,Ni.a,[]),je["ɵmpd"](4608,Ls.a,Ls.a,[]),je["ɵmpd"](4608,As.a,As.a,[Ds.a,Ni.a,Ot.f,Mt.a]),je["ɵmpd"](4608,xs.a,xs.a,[Dt.a,Ot.f,As.a]),je["ɵmpd"](4608,Jn.a,Jn.a,[]),je["ɵmpd"](4608,Xt.a,Xt.a,[ni.a,Is.a,Ts.a,Rs.a,_t.a,Ot.f,Dt.a,It.a,Jn.a,je.ComponentFactoryResolver]),je["ɵmpd"](4608,Ms.a,Ms.a,[]),je["ɵmpd"](4608,Ps.a,Ps.a,[Ms.a,Yt.a,Ot.f,Zt.e,_t.a,Xt.a,Mt.a,cn.a]),je["ɵmpd"](4608,ki.a,ki.a,[Zt.e]),je["ɵmpd"](4608,Nt.DatePipe,Nt.DatePipe,[je.LOCALE_ID]),je["ɵmpd"](4608,Us.a,Us.a,[]),je["ɵmpd"](4608,js.a,js.a,[]),je["ɵmpd"](4608,Ri.a,Ri.a,[Mt.a,js.a,Ds.a,Xt.a,_t.a]),je["ɵmpd"](4608,Fs.a,Fs.a,[Ot.f,Yt.a,Vs.c,Dt.a,Xt.a,Ut.a]),je["ɵmpd"](135680,nn.a,nn.a,[]),je["ɵmpd"](135680,fn.a,fn.a,[Ot.f,Fs.a,Zt.e,Yt.a,cn.a,Mt.a,_t.a,nn.a,$t.a]),je["ɵmpd"](4608,un.a,un.a,[Ot.f,Zt.e,Yt.a,Dt.a,_t.a,Xt.a,Mt.a,fn.a]),je["ɵmpd"](4608,Gs.a,Gs.a,[]),je["ɵmpd"](4608,dn.a,dn.a,[Ue.Title,_t.a]),je["ɵmpd"](4608,Bs.a,Bs.a,[je.LOCALE_ID]),je["ɵmpd"](4608,pn.a,pn.a,[]),je["ɵmpd"](4608,gn.c,gn.c,[]),je["ɵmpd"](4608,zs.a,zs.a,[Yt.a]),je["ɵmpd"](4608,sn.a,sn.a,[Yt.a,Zt.e,zs.a,Ot.f]),je["ɵmpd"](4608,li.a,li.a,[]),je["ɵmpd"](4608,qs.a,qs.a,[Vs.c,_t.a]),je["ɵmpd"](4608,mn.a,mn.a,[Vs.c,Ut.a,qs.a]),je["ɵmpd"](4608,Ws.a,Ws.a,[]),je["ɵmpd"](135680,Hs.a,Hs.a,[nn.a,Nt.Location]),je["ɵmpd"](4608,Ks.a,Ks.a,[]),je["ɵmpd"](4608,Ys.a,Ys.a,[]),je["ɵmpd"](4608,bn.a,bn.a,[]),je["ɵmpd"](4608,vn.a,vn.a,[fn.a]),je["ɵmpd"](512,Nt.CommonModule,Nt.CommonModule,[]),je["ɵmpd"](512,Vs.n,Vs.n,[]),je["ɵmpd"](2048,Vs.m,null,[Vs.n]),je["ɵmpd"](512,Vs.k,Vs.k,[Vs.m]),je["ɵmpd"](2048,Vs.b,null,[Vs.k]),je["ɵmpd"](256,Vs.o,"XSRF-TOKEN",[]),je["ɵmpd"](512,Vs.l,Vs.q,[Nt.DOCUMENT,je.PLATFORM_ID,Vs.o]),je["ɵmpd"](256,Vs.p,"X-XSRF-TOKEN",[]),je["ɵmpd"](512,Vs.r,Vs.r,[Vs.l,Vs.p]),je["ɵmpd"](256,Zs.b,null,[]),je["ɵmpd"](1024,Zs.a,Zs.c,[Zs.b]),je["ɵmpd"](1024,Xs.a,Xs.b,[]),je["ɵmpd"](1024,Mt.a,Mt.b,[Ue.DOCUMENT,Xs.a,je.NgZone]),je["ɵmpd"](131584,$t.a,$t.a,[]),je["ɵmpd"](512,Yt.a,Yt.a,[Zs.a,Mt.a,$t.a]),je["ɵmpd"](1024,Vs.a,function(e,t,n){return[e,new Fe.c(t,n)]},[Vs.r,Yt.a,$t.a]),je["ɵmpd"](1024,Vs.g,Vs.s,[Vs.b,[2,Vs.a]]),je["ɵmpd"](512,Vs.c,Vs.c,[Vs.g]),je["ɵmpd"](512,Dt.a,Dt.a,[]),je["ɵmpd"](512,$s.a,$s.a,[]),je["ɵmpd"](512,hn.a,hn.a,[]),je["ɵmpd"](256,It.b,{scrollPadding:!1,scrollAssist:!0,autoFocusAssist:!0,popoverEnter:"popover-pop-in",popoverLeave:"popover-pop-out-alter",mode:"md",links:[{component:Qs.a,name:"Login",segment:"login"},{component:Js.a,name:"Dashboard",segment:"dashboard"},{component:er.a,name:"Registration",segment:"registration",defaultHistory:[Qs.a]},{component:tr.a,name:"ResetPassword",segment:"reset-password/:token",defaultHistory:[Qs.a]},{component:nr.a,name:"Document",segment:"document/:token",defaultHistory:[Js.a]},{component:ir.a,name:"Verification",segment:"verify/:token",defaultHistory:[Qs.a]}]},[]),je["ɵmpd"](1024,It.a,It.c,[It.b,Mt.a]),je["ɵmpd"](512,sr.a,sr.a,[]),je["ɵmpd"](512,Ut.a,Ut.a,[It.a,Mt.a,[2,sr.a]]),je["ɵmpd"](512,rr.a,rr.a,[]),je["ɵmpd"](1024,or.b,Fe.g,[Vs.c]),je["ɵmpd"](512,lr.a,lr.b,[]),je["ɵmpd"](512,ar.b,ar.a,[]),je["ɵmpd"](512,ur.b,ur.a,[]),je["ɵmpd"](256,_t.b,void 0,[]),je["ɵmpd"](256,_t.c,void 0,[]),je["ɵmpd"](512,_t.a,_t.a,[rr.a,or.b,lr.a,ar.b,ur.b,_t.b,_t.c]),je["ɵmpd"](512,Ot.f,Ot.f,[Mt.a,hn.a,Ut.a,_t.a]),je["ɵmpd"](512,cr.a,cr.a,[]),je["ɵmpd"](512,hr.a,hr.a,[Mt.a,Yt.a,Ot.f,_t.a,cr.a]),je["ɵmpd"](512,Ue.DomSanitizer,Ue["ɵe"],[Nt.DOCUMENT]),je["ɵmpd"](512,kt.a,kt.a,[Ue.DomSanitizer,Ot.f]),je["ɵmpd"](512,cn.a,cn.a,[Vs.c,Ot.f]),je["ɵmpd"](512,Zt.e,Zt.e,[Vs.c,Dt.a,Yt.a,$s.a,Ot.f,hr.a,_t.a,kt.a,cn.a,$t.a]),je["ɵmpd"](512,je.ErrorHandler,Fe.b,[Zt.e,Yt.a]),je["ɵmpd"](512,Pt.a,Pt.a,[Mt.a]),je["ɵmpd"](512,qt.l,qt.l,[Ut.a]),je["ɵmpd"](256,_s.a,{links:[{loadChildren:"../pages/about/about.module.ngfactory#AboutModuleNgFactory",name:"about",segment:"about",priority:"low",defaultHistory:["dashboard"]},{loadChildren:"../pages/completed/completed.module.ngfactory#CompletedPageModuleNgFactory",name:"completed",segment:"completed",priority:"low",defaultHistory:[]},{loadChildren:"../pages/dashboard/dashboard.module.ngfactory#DashboardPageModuleNgFactory",name:"dashboard",segment:"dashboard",priority:"low",defaultHistory:[]},{loadChildren:"../pages/document-view/document-view.module.ngfactory#DocumentViewModuleNgFactory",name:"document",segment:"document/:token",priority:"low",defaultHistory:["dashboard"]},{loadChildren:"../pages/error/error.module.ngfactory#ErrorModuleNgFactory",name:"error",segment:"error",priority:"low",defaultHistory:[]},{loadChildren:"../pages/help/help.module.ngfactory#HelpModuleNgFactory",name:"help",segment:"help",priority:"low",defaultHistory:["dashboard"]},{loadChildren:"../pages/initial-loading/initial-loading.module.ngfactory#InitialLoadingPageModuleNgFactory",name:"loading",segment:"loading",priority:"low",defaultHistory:[]},{loadChildren:"../pages/id-scanner/id-scanner.module.ngfactory#IdScannerPageModuleNgFactory",name:"id-scanner",segment:"id-scanner",priority:"low",defaultHistory:["login"]},{loadChildren:"../pages/onboarding/onboarding.module.ngfactory#OnboardingModuleNgFactory",name:"onboarding",segment:"onboarding",priority:"low",defaultHistory:["dashboard"]},{loadChildren:"../pages/login/login.module.ngfactory#LoginPageModuleNgFactory",name:"login",segment:"login",priority:"low",defaultHistory:[]},{loadChildren:"../pages/registration/registration.module.ngfactory#RegistrationPageModuleNgFactory",name:"registration",segment:"registration",priority:"low",defaultHistory:["login"]},{loadChildren:"../pages/templates/templates.module.ngfactory#TemplatesPageModuleNgFactory",name:"templates",segment:"templates",priority:"low",defaultHistory:[]},{loadChildren:"../pages/reset-password/reset-password.module.ngfactory#ResetPageModuleNgFactory",name:"reset-password",segment:"reset-password/:token",priority:"low",defaultHistory:["login"]},{loadChildren:"../pages/welcome/welcome.module.ngfactory#WelcomePageModuleNgFactory",name:"welcome",segment:"welcome",priority:"low",defaultHistory:[]},{loadChildren:"../pages/upgrade-plan/upgrade-plan.module.ngfactory#UpgradePlanModuleNgFactory",name:"upgrade-plan",segment:"upgrade-plan",priority:"low",defaultHistory:["dashboard"]},{loadChildren:"../pages/verify/verify.module.ngfactory#VerifyPageModuleNgFactory",name:"verify",segment:"verify/:token",priority:"low",defaultHistory:[]},{loadChildren:"../pages/user-details/user-details.module.ngfactory#UserDetailsModuleNgFactory",name:"account",segment:"account/:page",priority:"low",defaultHistory:["dashboard"]}]},[]),je["ɵmpd"](512,je.Compiler,je.Compiler,[]),je["ɵmpd"](512,dr.a,dr.a,[je.Compiler]),je["ɵmpd"](1024,Cs.b,Cs.c,[dr.a,je.Injector]),je["ɵmpd"](1024,je.APP_INITIALIZER,function(e,t,n,i,s,r,o,l,a,u,c,h,d,p){return[Ue["ɵh"](e),pr.a(t),Dt.b(n,i),Os.b(s,r,o,l,a),Cs.d(u,c,h,d),Fe.d(p)]},[[2,je.NgProbeToken],It.a,Mt.a,Pt.a,It.a,Mt.a,Pt.a,Ut.a,qt.l,It.a,_s.a,Cs.b,je.NgZone,cn.a]),je["ɵmpd"](512,je.ApplicationInitStatus,je.ApplicationInitStatus,[[2,je.APP_INITIALIZER]]),je["ɵmpd"](131584,je.ApplicationRef,je.ApplicationRef,[je.NgZone,je["ɵConsole"],je.Injector,je.ErrorHandler,je.ComponentFactoryResolver,je.ApplicationInitStatus]),je["ɵmpd"](512,je.ApplicationModule,je.ApplicationModule,[je.ApplicationRef]),je["ɵmpd"](512,Ue.BrowserModule,Ue.BrowserModule,[[3,Ue.BrowserModule]]),je["ɵmpd"](512,Nn.x,Nn.x,[]),je["ɵmpd"](512,Nn.i,Nn.i,[]),je["ɵmpd"](512,Nn.t,Nn.t,[]),je["ɵmpd"](512,Ss.a,Ss.a,[]),je["ɵmpd"](512,gr.a,gr.a,[]),je["ɵmpd"](512,Vs.e,Vs.e,[]),je["ɵmpd"](512,Vs.d,Vs.d,[]),je["ɵmpd"](512,ys.a,ys.a,[]),je["ɵmpd"](512,fr.a,fr.a,[]),je["ɵmpd"](512,mr.a,mr.a,[]),je["ɵmpd"](512,br.a,br.a,[]),je["ɵmpd"](512,vr.SafePipeModule,vr.SafePipeModule,[]),je["ɵmpd"](512,Ss.b,Ss.b,[]),je["ɵmpd"](512,en.a,en.a,[]),je["ɵmpd"](512,yr.a,yr.a,[]),je["ɵmpd"](512,Er.a,Er.a,[]),je["ɵmpd"](512,Fe.a,Fe.a,[]),je["ɵmpd"](256,Cs.a,wr.a,[]),je["ɵmpd"](256,Ve.a,on.a,[]),je["ɵmpd"](256,Nt.APP_BASE_HREF,"/",[])])});Object(Pe.a)({onlyLegacy:!0,watch:!0}),Object(je.enableProdMode)(),Object(Ue.platformBrowser)().bootstrapModuleFactory(Ir)},75:function(e,t,n){"use strict";n.d(t,"a",function(){return i}),n.d(t,"d",function(){return o}),n.d(t,"b",function(){return l}),n.d(t,"c",function(){return a}),n.d(t,"e",function(){return u});var i,s=n(289),r=this&&this.__assign||Object.assign||function(e){for(var t,n=1,i=arguments.length;ne.maxID&&(e.maxID=t.id),this.id=t.id,this.name=t.name,this.width=t.width,this.height=t.height,this.x=t.x,this.y=t.y,this.authMethods=t.authMethods.slice(),this.order=t.order,this.signer=t.signer,this.signerObj=t.signerObj,this.signerName=t.signerName&&(t.signerName.first.length>0||t.signerName.last.length>0)?r({},t.signerName):null,this.signerPhone=t.signerPhone,this.signerEmail=t.signerEmail,this.signerLang=t.signerLang,this.user=t.user,this.page=t.page,this.signed=t.signed,this.fromServer=t.fromServer,this.imageURL=t.imageURL?t.imageURL:null,this.inPerson=t.inPerson,this.lockfields=t.lockfields,this.disableResize=t.disableResize,this.disabled=t.disabled,this.generateQR=t.generateQR,this.required=t.required,this.signaturePreloadedImage=t.signaturePreloadedImage,this.signerLabel=this.signerName?this.signerName.first+" "+this.signerName.last:this.signer,this.params=t.params}return Object.defineProperty(e.prototype,"bot",{get:function(){return this.y+this.height},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"right",{get:function(){return this.x+this.width},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"inPersonName",{get:function(){return this.signerName&&this.signerName.first.length>0?((this.signerName.first?this.signerName.first:"")+" "+(this.signerName.last?this.signerName.last:"")).trim():"IN_PERSON"},enumerable:!0,configurable:!0}),e.prototype.isAssigned=function(){return!!((this.signer||this.inPerson)&&this.authMethods.length>0)},e.prototype.isOverlapping=function(e){var t=this,n=function(e,t,n,i){return e[n]>=t[n]&&t[n]+t[i]>=e[n]};return e.some(function(e){if(e.id===t.id)return!1;if(t.page!=e.page)return!1;var i=n(e,t,"x","width"),s=n(t,e,"x","width"),r=n(e,t,"y","height");return(n(t,e,"y","height")||r)&&(s||i)})},e.prototype.toServerTemplate=function(){return{height:this.height,id:this.id,method:this.authMethods.map(function(t){return e.authTypeToId(t.type).toString()}),authmethods:this.authMethods,order:this.order,page:this.page+1,signer:this.signer&&this.signer.length>0?this.signer:null,width:this.width,x:this.x,y:this.y,inperson:this.inPerson,name:this.name,signerfirstname:this.signerName?this.signerName.first:null,signersecondname:this.signerName?this.signerName.last:null,sigsignerphone:this.signerPhone,sigsigneremail:this.signerEmail,lockfields:this.lockfields,siggenerateqr:this.generateQR,required:this.required}},e.prototype.toServer=function(){return{sigid:this.id,signame:this.name,sigmethod:this.authMethods.map(function(t){return e.authTypeToId(t.type).toString()}),sigauthmethods:this.authMethods,sigorder:this.order,sigpage:this.page+1,sigsigner:this.signer,sigwidth:this.width,sigheight:this.height,sigx:this.x,sigy:this.y,sigsigned:this.signed,sigsignerfirstname:this.signerName?this.signerName.first:null,sigsignersecondname:this.signerName?this.signerName.last:null,sigsignerphone:this.signerPhone,sigsigneremail:this.signerEmail,sigsignerlang:this.signerLang,siginperson:this.inPerson,siglockfields:this.lockfields,siggenerateqr:this.generateQR,sigrequired:this.required}},e.prototype.update=function(t){for(var n in t)this[n]=t[n];return new e(this)},e.prototype.destroy=function(){this.imageURL&&URL.revokeObjectURL(this.imageURL)},e.create=function(t,n,i,s,r){return new e({id:e.maxID+1,name:"",width:r?e.DEFAULT_WIDTH_LAND:e.DEFAULT_WIDTH,height:r?e.DEFAULT_HEIGHT_LAND:e.DEFAULT_HEIGHT,x:t,y:n,signer:null,signerName:null,signerPhone:null,signerEmail:null,signerLang:null,authMethods:[],order:s,signed:!1,page:i,fromServer:!1,inPerson:!1,lockfields:null,disabled:!1,generateQR:!1,required:!1,signaturePreloadedImage:!1})},e.fromDocument=function(t){var n=t.sigauthmethods?t.sigauthmethods.map(function(e){return{type:e.type,order:e.order}}):[];if(0==n.length&&null!=t.sigmethod&&t.sigmethod.length>0)for(var i=0,r=e.methodsFromString(t.sigmethod);i0)for(var i=0,r=e.methodsFromString(t.method);i0?e.split(",").map(function(e){return parseInt(e)}):[]},e.authTypeFromId=function(e){switch(e){case 6:return o.CLICK_TO_SIGN_INITIALS;case 4:return o.ONE_TIME_PASSWORD;case 2:case 5:return o.CLICK_TO_SIGN;case 3:default:return o.BIOMETRIC}},e.authTypeToId=function(e){switch(e){case o.CLICK_TO_SIGN:return 5;case o.SMS_PASSWORD:case o.ONE_TIME_PASSWORD:return 4;case o.CLICK_TO_SIGN_INITIALS:return 6;default:return 3}},e.MIN_WIDTH=10,e.MAX_WIDTH=50,e.MIN_HEIGHT=2.7,e.MAX_HEIGHT=30,e.DEFAULT_WIDTH=20.6,e.DEFAULT_HEIGHT=7,e.DEFAULT_WIDTH_LAND=15.9,e.DEFAULT_HEIGHT_LAND=6.99,e.minOrder=0,e.maxID=0,e}()},78:function(e,t,n){"use strict";n.d(t,"a",function(){return i});n(0),n(6),n(22),n(293),n(14),n(5);var i=function(){function e(e,t,n,i,s){this.platform=e,this.storage=t,this.s=n,this.t=i,this.keychainTouchId=s,this._openFingerprintDialog=!0,this.ready()}return Object.defineProperty(e.prototype,"isAvailable",{get:function(){return this._isAvailable},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isEnabled",{get:function(){return this._isEnabled},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"biometryType",{get:function(){return this._biometryType},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"openFingerprintDialog",{get:function(){return this._openFingerprintDialog},set:function(e){this._openFingerprintDialog=e},enumerable:!0,configurable:!0}),e.prototype.ready=function(){var e=this;return new Promise(function(t,n){e.platform.ready().then(function(){e.platform.is("cordova")&&e.keychainTouchId.isAvailable().then(function(n){e._isAvailable=!0,e._biometryType=n,e.storage.ready().subscribe(function(){e.storage.user&&e.keychainTouchId.has(e.storage.user.email).then(function(){e._isEnabled=!0,t()},function(n){e._isEnabled=!1,t()})})},function(n){e._isAvailable=!1,t()})})})},e.prototype.enable=function(e,t){var n=this;return void 0===t&&(t=""),new Promise(function(i,s){window.plugins&&window.plugins.touchid.save(n.storage.user.email,e,!0,t,function(e){n._isEnabled=!0,i(e)},function(t){console.log("Fingerprint not saved: ",t),"KeyPermanentlyInvalidatedException"==t?window.plugins.touchid.save(n.storage.user.email,e,!0,n.t.instant(n.s.is.ios?"face"==n.biometryType?"REAUTHENTICATE_FINGERPRINT_IOS_FACE":"REAUTHENTICATE_FINGERPRINT_IOS":"REAUTHENTICATE_FINGERPRINT")+": "+n.storage.user.email,function(e){n._isEnabled=!0,i(e)},function(e){s(e)}):n.ready().then(function(){setTimeout(function(){n.keychainTouchId.has(n.storage.user.email).then(function(e){n.disable().then(function(){s(t)})},function(e){})},1e3)})})})},e.prototype.disable=function(){var e=this;return new Promise(function(t,n){e.keychainTouchId.delete(e.storage.user.email).then(function(n){e._isEnabled=!1,t(n)},function(e){return n(e)})})},e.prototype.verify=function(e){var t=this;return new Promise(function(n,i){t.keychainTouchId.verify(t.storage.user.email,e).then(function(e){n(e)},function(e){e&&"-2"==e.ErrorCode&&(e="Cancelled"),i(e)})})},e}()},80:function(e,t,n){"use strict";n.d(t,"a",function(){return p}),n.d(t,"b",function(){return g});var i=n(0),s=n(15),r=n(14),o=n(19),l=n(125),a=n(5),u=(n(6),n(1)),c=n(1055),h=(n.n(c),this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))(function(s,r){function o(e){try{a(i.next(e))}catch(e){r(e)}}function l(e){try{a(i.throw(e))}catch(e){r(e)}}function a(e){e.done?s(e.value):new n(function(t){t(e.value)}).then(o,l)}a((i=i.apply(e,t||[])).next())})}),d=this&&this.__generator||function(e,t){function n(n){return function(o){return function(n){if(i)throw new TypeError("Generator is already executing.");for(;l;)try{if(i=1,s&&(r=s[2&n[0]?"return":n[0]?"throw":"next"])&&!(r=r.call(s,n[1])).done)return r;switch(s=0,r&&(n=[0,r.value]),n[0]){case 0:case 1:r=n;break;case 4:return l.label++,{value:n[1],done:!1};case 5:l.label++,s=n[1],n=[0];continue;case 7:n=l.ops.pop(),l.trys.pop();continue;default:if(r=l.trys,!(r=r.length>0&&r[r.length-1])&&(6===n[0]||2===n[0])){l=0;continue}if(3===n[0]&&(!r||n[1]>r[0]&&n[1]1}).sort(function(e,t){return e.amount-t.amount})},e.prototype.getTiersCount=function(e){return 0==this.storage.tiers.length?0:this.getTiers(e).length},e.prototype.getTierPrice=function(e,t){if(0==this.storage.tiers.length)return 0;var n=this.getTiers(t)[e-1];return this.s.is.cordova?this.pricing[l(n.amount,this.storage.subscribe.type)].priceAsDecimal:1!=this.storage.subscribe.type&&n.price2?n.price2:n.price1},e.prototype.getTierAmount=function(e,t){return 0==this.storage.tiers.length?0:this.getTiers(t)[e-1].amount},e.prototype.buyDocs=function(e){var t=this;return new Promise(function(n,i){t.server.verifyToken().subscribe(function(s){return t.pricing[l(e,t.storage.subscribe.type)]?t.iap.buy(l(e,t.storage.subscribe.type)).then(function(s){console.log("buyDocs: buy");var r=t.pricing[l(e,t.storage.subscribe.type)],o={productId:l(e,t.storage.subscribe.type),transactionId:s.transactionId,receipt:s.receipt,provider:t.s.is.ios?"apple":"google",currency:r.currency,ammount:r.priceAsDecimal,type:1,docCount:e},a=function(){var e=t.server.processInApp(o);t.ui.loading(t.t.instant("PURCHASE_DOCS"),e).subscribe(function(e){console.log("buyDocs: afterServerCall"),t.storage.subscribe=t.storage.subscribe.update({type:e.subsType,docs:e.subsDocs,date:e.subsDate}),n(!0)},function(e){return i(e)})};return t.s.is.android?t.iap.consume(s.productType,s.receipt,s.signature).then(function(e){return console.log("buyDocs: consume"),a()}):a()}).catch(function(e){console.log("buyDocs: error!"),console.log(e),n(!1)}):n(!1)},function(){n(!1)})})},e.prototype.getPlanPrice=function(e,t,n){if(void 0===n&&(n=!1),this.plans.length){if(e<=1||e>=4||this.s.is.cordova&&!this.pricing[a(e,1)])return 0;if(this.s.is.cordova)switch(t){case r.a.MONTHLY:return this.pricing[a(e,1)].priceAsDecimal;case r.a.ANNUAL:return n?this.pricing[a(e,2)].priceAsDecimal/12:this.pricing[a(e,2)].priceAsDecimal;default:return}else switch(t){case r.a.MONTHLY:return this.plans[e-1].priceMonthly;case r.a.ANNUAL:return n?this.plans[e-1].priceAnnually/12:this.plans[e-1].priceAnnually;default:return}}},e.prototype.restoreIosSubscription=function(e){var t=this;return void 0===e&&(e=!1),new Promise(function(n,i){t.iap.getReceipt().then(function(s){t.cordovaHttp.post("https://"+(e?"buy":"sandbox")+".itunes.apple.com/verifyReceipt",{"receipt-data":s,password:"8539b7d7c33945fc826a0b992d460d7d","exclude-old-transactions":"true"},{}).then(function(e){if(console.log(e),e.data){var t=JSON.parse(e.data);if(t.pending_renewal_info){var i=t.pending_renewal_info;if(1==parseInt(i[0].auto_renew_status)){n(i[0].original_transaction_id)}else n("")}else console.log("Missing trans"),n("")}}).catch(function(e){console.log("err2"),console.log(e.err),i(e.err)})}).catch(function(e){console.log("err2"),console.log(e),i(e)})})},e.prototype.upgradeSubscription=function(e,t,n){var i=this;return this.plans.length?new Promise(function(s,l){var u=i.server.lastPurchase();i.ui.loading(i.t.instant("STAND_BY"),u).subscribe(function(u){if(console.log("plan: call"),i.s.is.cordova){if(!i.pricing[a(e,t==r.a.MONTHLY?1:2)])return;var c=function(n,o){var u=a(e,t==r.a.MONTHLY?1:2);i.iap.subscribe(u,n&&n.length>0?n:null).then(function(n){console.log("plan: buy");var o=i.pricing[a(e,t==r.a.MONTHLY?1:2)],c=i.server.processInApp({productId:u,transactionId:n.transactionId,receipt:n.receipt,provider:i.s.is.ios?"apple":"google",currency:o.currency,ammount:o.priceAsDecimal,type:e,docCount:0});i.ui.loading(i.t.instant("PURCHASE_PLAN"),c).subscribe(function(e){console.log("plan: afterServerCall"),i.storage.subscribe=i.storage.subscribe.update({type:e.subsType,docs:e.subsDocs,date:e.subsDate,method:"inApp",provider:i.s.is.ios?"apple":"google"}),s(!0)},function(e){console.log("plan: error"),l(e)})}).catch(function(e){console.log("plan: error main"),console.log(e),l(e)})};i.s.is.ios?i.restoreIosSubscription(!1).then(function(e){if((e||"")!=(u&&u.subsOriginalTransationId?u.subsOriginalTransationId.trim():"")||"gateway"===u.subsMethod)return console.log("Subs for different user is currently active, cancelling."),l(null),i.ui.alertOK(i.t.instant("PLAN_ALREADY_ACTIVE"),i.t.instant("PLAN_ALREADY_ACTIVE_TXT")).run();c(null)}).catch(function(e){console.log(e),l(e)}):i.iap.restorePurchases().then(function(e){var t=e.filter(function(e){return(0===e.state||void 0===e.state)&&"subs"===e.productType}).map(function(e){return e.productId}),n=e.length&&e[0].receipt?JSON.parse(e[0].receipt):null;if((n&&n.purchaseToken?n.purchaseToken:"")!=(u&&u.subsReceipt?u.subsReceipt.trim():"")||"gateway"===u.subsMethod)return console.log("Subs for different user is currently active, cancelling."),l(null),i.ui.alertOK(i.t.instant("PLAN_ALREADY_ACTIVE"),i.t.instant("PLAN_ALREADY_ACTIVE_TXT")).run();c(t)}).catch(function(e){console.log(e),l(e)})}else{if(u.subsMethod&&u.subsMethod.length>0&&"gateway"!==u.subsMethod)return l(null),i.ui.alertOK(i.t.instant("INAPP_ALREADY_ACTIVE"),i.t.instant("INAPP_ALREADY_ACTIVE_TXT")).run();var h=void 0;switch(e){case 2:h=i.plans[1];break;case 3:h=i.plans[2];break;default:return}i.ui.modal(o.a,{selectedPlan:h,billingPeriod:t,variant:n,isPlanUpgrade:i.storage.subscribe.activePayment&&"gateway"==i.storage.subscribe.method},{cssClass:"large-modal"}).subscribe(function(e){s(!0)})}})}):Promise.reject("No plans")},e.prototype.cancelSubscription=function(e,t){var n=this;return void 0===e&&(e=null),void 0===t&&(t=!1),new Promise(function(i,s){var r=n.server.cancelPlan(e,t),o=n.ui.loading(n.t.instant("CANCELING_USER"),r),l="CANCEL_PLAN",a="CONTINUE_CANCEL_PLAN";t&&e?(l="RENEW_PLAN_TITLE",a="RENEW_PLAN_TEXT"):!t&&e&&(l="DOWNGRADE_PLAN_TITLE",a="DOWNGRADE_PLAN_TEXT"),n.ui.alertBool(n.t.instant(l),n.t.instant(a)).flatMapTo(o).subscribe(function(e){var t=n.storage.subscribe.update({activePayment:e.activePayment,type:e.subsType,cardIssuer:null,cardNumber:null,method:null,provider:null,enableUndoCancel:e.enableUndoCancel,nextType:e.subsNextType,nextDesc:e.subsNextDesc});n.storage.subscribe=t,console.log("cancel"),console.log(t),i("Subscription cancelled")},function(e){s("Subscription cancel error: $(err)")})})},e.prototype.getDateDiff=function(e,t){if(void 0===t&&(t=new Date),!e)return 0;var n=Date.UTC(e.getFullYear(),e.getMonth(),e.getDate()),i=Date.UTC(t.getFullYear(),t.getMonth(),t.getDate());return Math.floor((n-i)/864e5)},Object.defineProperty(e.prototype,"barData",{get:function(){if(void 0==this.storage.subscribe||this.getDateDiff(this.storage.subscribe.date)<0)return{text:"0/0",percent:"0%"};var e=new Date(this.storage.subscribe.date);e.setMonth(e.getMonth()-1);var t=this.getDateDiff(this.storage.subscribe.date),n=this.getDateDiff(this.storage.subscribe.date,e);return{text:t+"/"+n,percent:t/n*100+"%"}},enumerable:!0,configurable:!0}),e}()},86:function(e,t,n){"use strict";n.d(t,"a",function(){return c});var i=n(0),s=n(24),r=(n.n(s),n(6)),o=n(91),l=n(1),a=n(5),u=n(172),c=function(){function e(e,t,n){this.http=e,this.app=t,this.translateCountries=n,this.ROOT_URL="https://ocridcard.com/ocr",this._countries=[],this._models=[],this._allFields=[],this._isInit=new s.BehaviorSubject(null),this._results=new s.BehaviorSubject(void 0),this._calledFromService=!1,this._readSettings={include:[],exclude:[],anonymize:[]},this.includeExcludeMode="none",this.enableAnonymize=!1,this._secondaryFields=[],this.isInit=this._isInit.asObservable().filter(function(e){return null!=e}).take(1)}return Object.defineProperty(e.prototype,"readSettings",{get:function(){return this._readSettings},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"calledFromService",{get:function(){return this._calledFromService},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"countries",{get:function(){return this._countries},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"models",{get:function(){return this._models},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"availableFields",{get:function(){return this._allFields},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"secondaryFields",{get:function(){return this._secondaryFields},enumerable:!0,configurable:!0}),e.prototype.init=function(){this.getAvailable(),this.getDeviceLocation()},e.prototype.openOCRWindow=function(e,t){var n=this;return this._secondaryFields=t||[],this._calledFromService=!0,this.parseReadSettings(e||{}),this._results.next(void 0),this.documentToken=e.documentToken,s.Observable.defer(function(){return n.app.getActiveNavs()[0].push(a.a.ID_SCANNER)}).take(1).flatMap(function(){return n._results.filter(function(e){return void 0!==e})}).take(1).do(function(){return n._calledFromService=!1},function(){return n._calledFromService=!1})},e.prototype.setResults=function(e){this._results.next(e)},e.prototype.parseReadSettings=function(e){if(this.includeExcludeMode="none",this.enableAnonymize=!1,e.exclude&&e.exclude.length>0&&(this.includeExcludeMode="exclude"),e.include&&e.include.length>0){if("none"!==this.includeExcludeMode)throw new Error("Cannot use both include and exclude at the same time!");this.includeExcludeMode="include"}e.anonymize&&e.anonymize.length>0&&(this.enableAnonymize=!0),this._readSettings=e},e.prototype.read=function(e,t,n,i){var r=new FormData,l=(new o.h).set("mode","NON");return r.set("country",e),i&&r.set("cardId",i),r.set("saveImg","false"),r.set("side",t),r.set("file",n,"image.jpg"),this.enableAnonymize&&r.set("anonymize",this._readSettings.anonymize.join(",")),"none"!==this.includeExcludeMode&&r.set(this.includeExcludeMode,this._readSettings[this.includeExcludeMode].map(function(e){return e.name}).join(",")),this.http.post(this.ROOT_URL+"/ocr/",r,{responseType:"json",headers:l}).catch(function(e){switch(e.status){case 0:return s.Observable.throw("NO_CONNECTION");case 500:return s.Observable.throw("UNKNOWN_SERVER_ERROR");case 400:return s.Observable.throw(e.error);default:return s.Observable.throw(e)}})},e.prototype.getAvailable=function(){var e=this,t=(new o.h).set("Content-Type","application/x-www-form-urlencoded");this.http.get(this.ROOT_URL+"/available/",{headers:t}).flatMap(function(t){return e._models=t.models,e._allFields=t.fields,e._allFields.sort(function(e,t){return e.nameEnglish.localeCompare(t.nameEnglish)}),e.extractCountries(t.countries)}).subscribe(function(){e._isInit.next(!0)},function(){e._isInit.next(!1)})},e.prototype.getDeviceLocation=function(){return this.http.get("https://freegeoip.app/json/",{responseType:"json"}).map(function(e){return e.country_code}).catch(function(e){return s.Observable.of(null)})},e.prototype.extractCountries=function(e){var t=this;return this.sortCountries(e).flatMap(function(e){return t.translateCountries.getCountriesISO3(e)}).do(function(e){return t._countries=e})},e.prototype.sortCountries=function(e){var t=this;return this.getDeviceLocation().map(function(n){var i=navigator.language.slice(0,2)||"",s=t.translateCountries.langISO2ToISO3(i),r=navigator.language.length>3?navigator.language.slice(3):"",o=t.translateCountries.countryISO2ToISO3(r),l=n&&t.translateCountries.countryISO2ToISO3(n),a=function(e){var n=0;e.code===o&&(n+=10),e.code===l&&(n+=5);var i=Math.max(e.langs.indexOf(s),e.langs.indexOf(t.translateCountries.currentLang));return i>-1&&(n+=3+e.langs.length-i),n};return e.sort(function(e,t){var n=a(t),i=a(e);return n!==i?n-i:e.nameEnglish.localeCompare(t.nameEnglish)}),e.map(function(e){return e.code})})},e=Object(i.__decorate)([Object(i.__param)(0,Object(l.Inject)(Object(l.forwardRef)(function(){return o.c}))),Object(i.__param)(1,Object(l.Inject)(Object(l.forwardRef)(function(){return r.c}))),Object(i.__param)(2,Object(l.Inject)(Object(l.forwardRef)(function(){return u.a})))],e)}()},9:function(e,t,n){"use strict";n.d(t,"a",function(){return r});n(0);var i=n(24),s=(n.n(i),n(5)),r=function(){function e(){this._subjects=new i.BehaviorSubject({}),this._subscriptions=new i.BehaviorSubject({}),this.debugDestruction=!1,t.Instance=this,i.BehaviorSubject.prototype.register=this.registerSubject,i.Subscription.prototype.register=this.registerObservable,this.ORIGIN=Math.random().toString(36).substring(2,15)+Math.random().toString(36).substring(2,15)}return t=e,Object.defineProperty(e.prototype,"subjects",{get:function(){return this._subjects},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"subscriptions",{get:function(){return this._subscriptions},enumerable:!0,configurable:!0}),e.prototype.ngOnDestroy=function(){var e=this;this.flush().then(function(){e._subjects.complete(),e._subscriptions.complete(),t.log("Terminating.")})},e.prototype.registerSubject=function(e){var n,i,s;if(e)if(e instanceof String)s=e;else;if(i||(i=t.Instance),n||(n=i.generateName("")),n=n.replace(/[^a-z0-9\s]/gi,""),Object.keys(i.subjects.getValue()).some(function(e){return e===n+(s||i.ORIGIN)}))return t.log("BehaviorSubject "+n+" is already defined! Skipping redefinition."),this;var r=i.subjects.getValue();return r[n+(s||i.ORIGIN)]={task:this,origin:s||i.ORIGIN},i.subjects.next(r),this},e.prototype.registerObservable=function(e){var n,i,s;if(e)if(e instanceof Object);else s=e;if(i||(i=t.Instance),n||(n=i.generateName("")),n=n.replace(/[^a-z0-9\s]/gi,""),Object.keys(i.subscriptions.getValue()).some(function(e){return e===n+(s||i.ORIGIN)}))return t.log("Observable "+n+" is already defined! Skipping redefinition."),this;var r=i.subscriptions.getValue();return r[n+(s||i.ORIGIN)]={task:this,origin:s||i.ORIGIN},i.subscriptions.next(r),this},e.prototype.create=function(e){var n=this,s=e.taskId,r=e.value,o=e.origin;if(s||(s=this.generateName("")),s=s.replace(/[^a-z0-9\s]/gi,""),Object.keys(this._subjects.getValue()).some(function(e){return e===s+(o||n.ORIGIN)}))return t.log("BehaviorSubject "+s+" is already defined! Skipping redefinition."),this._subjects.getValue()[s+(o||this.ORIGIN)].task;var l=this._subjects.getValue(),a=new i.BehaviorSubject(r);return l[s+(o||this.ORIGIN)]={task:a,origin:o||this.ORIGIN},this._subjects.next(l),a},e.prototype.subject=function(e){var n=this,s=e.taskId,r=e.origin;if(s||(s=this.generateName("")),s=s.replace(/[^a-z0-9\s]/gi,""),Object.keys(this._subscriptions.getValue()).some(function(e){return e===s+(r||n.ORIGIN)}))return t.log("Subject "+s+" is already defined! Skipping redefinition."),this._subjects.getValue()[s+(r||this.ORIGIN)].task;var o=this._subjects.getValue(),l=new i.Subject;return o[s+(r||this.ORIGIN)]={task:l,origin:r||this.ORIGIN},this._subjects.next(o),l},e.prototype.destroy=function(e,t){e=e.replace(/[^a-z0-9\s]/gi,"");var n=this._subjects.getValue(),i=this._subscriptions.getValue(),s=n[e+(t||this.ORIGIN)];return!(!s&&!(s=i[e+(t||this.ORIGIN)]))&&("function"==typeof s.task.complete?(s.task.complete(),delete n[e+(t||this.ORIGIN)],this._subjects.next(n),!0):"function"==typeof s.task.unsubscribe&&(s.task.unsubscribe(),delete i[e+(t||this.ORIGIN)],this._subscriptions.next(i),!0))},e.prototype.autoDestruction=function(e,n){var i=this;(!n||n&&this.debugDestruction)&&t.log(e?'Automatically collecting asynchronous tasks with origin "'+e+'".':"Automatically collecting originless asynchronous tasks.");var s=this._subjects.getValue(),r=this._subscriptions.getValue(),o=Object.keys(this._subjects.getValue()).length,l=Object.keys(this._subscriptions.getValue()).length,a=new Promise(function(t,n){var a=0;for(var u in s)s.hasOwnProperty(u)&&s[u].origin===(e||i.ORIGIN)&&(s[u].task.complete(),delete s[u]),a++;var c=0;for(var u in r)r.hasOwnProperty(u)&&r[u].origin===(e||i.ORIGIN)&&(r[u].task.unsubscribe(),delete r[u]),c++;a===o&&c===l?t():n()});return a.then(function(){i._subjects.next(s),i._subscriptions.next(r)}).catch(console.error),a},e.prototype.flush=function(){var e=this,t=new Promise(function(t,n){var i=e._subjects.getValue(),s=e._subscriptions.getValue(),r=0;for(var o in i)i.hasOwnProperty(o)&&(i[o].task.complete(),r++);var l=0;for(var o in s)s.hasOwnProperty(o)&&(s[o].task.unsubscribe(),l++);r===Object.keys(i).length&&l===Object.keys(s).length?t():n()});return t.then(function(){e._subjects.next([]),e._subscriptions.next([])}),t},e.log=function(e){s.b&&console.log("[TASK MANAGER] "+e)},e.prototype.generateName=function(e){return e+Math.random().toString(36).substr(2)},e;var t}()},92:function(e,t,n){"use strict";var i=n(0),s=n(162),r=n(237),o=n(52),l=n(245),a=n(307),u=n(308),c=n(309),h=n(310),d=n(2),p=n(42),g=(n(22),n(49)),f=n(84),m=(n(119),n(93),n(15),n(5),n(14),n(19),n(86),n(166),n(1),n(6),n(231)),b=n(210),v=n(80),y=n(314),E=(n(170),n(238)),w=(n(127),n(165)),I=(n(55),n(113),n(70),n(171),n(650)),S=n(315),_=(n(9),n(272)),C=(n(44),n(32)),T=(n(31),n(316)),N=n(246),R=n(522),O=n(153),D=(n(247),n(317)),k=n(67),L=n(318),A=n(209),x=n(75),M=n(319),P=(n(233),n(320)),U=n(321),j=n(207),F=n(322),V=[{label:"SMALL",value:.15,imgSize:50},{label:"MEDIUM",value:.2,imgSize:75},{label:"LARGE",value:.25,imgSize:100}],G=function(){function e(e,t){this.isBrowser=!0,this.bankIdCrossTabListener=null,this.crossTabChannel=e,this.openedWindow=t}return e.prototype.authenticate=function(e){return this.bankIdCrossTabChannel()},e.prototype.autoRun=function(e){return!0},e.prototype.destroy=function(){this.bankIdCrossTabListener&&this.crossTabChannel.remove(this.bankIdCrossTabListener),this.openedWindow&&this.openedWindow.close()},e.prototype.bankIdCrossTabChannel=function(){var e=this;return new Promise(function(t,n){e.bankIdCrossTabListener=function(n){console.log(n),n.bankIdData&&(t(n.bankIdData),e.crossTabChannel.remove(e.bankIdCrossTabListener),e.bankIdCrossTabListener=null)},e.crossTabChannel.listen(e.bankIdCrossTabListener)})},e}(),B=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),z=function(e){function t(t){var n=e.call(this,t,null)||this;return n.isBrowser=!0,n}return B(t,e),t.prototype.authenticate=function(t){return this.openedWindow=window.open(t,"_blank"),e.prototype.authenticate.call(this,t)},t.prototype.autoRun=function(e){return!1},t}(G),q=function(){function e(e){this.crossWindow=e}return e.prototype.authenticate=function(e){return this.crossWindow.post(window.parent,"bankidRequested",{url:e}),this.crossWindow.observe("bankidProvided").take(1).map(function(e){return e.data}).toPromise()},e.prototype.autoRun=function(){return!0},e.prototype.destroy=function(){},e}(),W=(n(712),n(365)),H=function(){function e(e,t,n){this.t=t,this.inAppBrowser=n,this._destroyed=!1,this.crossWindow=e}return e.prototype.authenticate=function(e){var t=this;return new Promise(function(n){console.log("inapp url",e);var i=t.inAppBrowser.create(e,"_blank",{closebuttoncaption:t.t.instant("CANCEL"),hidenavigationbuttons:"yes",toolbartranslucent:"no",toolbarposition:"top",hardwareback:"no",footer:"no",hideurlbar:"yes",zoom:"no",toolbarcolor:"#ffffff"}),s=!1;i.on("exit").pipe(Object(W.takeWhile)(function(){return!t._destroyed}),Object(W.take)(1)).subscribe(function(e){s||(s=!0,n({error:"canceled",error_description:"canceled inAppBrowser"}))}),i.on("loadstart").pipe(Object(W.takeWhile)(function(){return!t._destroyed&&!s})).subscribe(function(e){console.log("loadstart",e.url);var r=t.extractBankIdData(e.url);r&&(n(r),s=!0,i.close(),n())})})},e.prototype.extractBankIdData=function(e){if(e=e.split("?")[1]){e=e.replace("#","&");var t=new URLSearchParams(e),n=t.get("target");if(n&&"bank-id"===n){var i={state:t.get("state")};return t.has("access_token")?i.access_token=t.get("access_token"):i={error:t.get("error"),error_description:t.get("error_description"),state:t.get("state")},i}return null}},e.prototype.autoRun=function(){return!1},e.prototype.destroy=function(){this._destroyed=!0},e}(),K=(n(234),n(81)),Y=n.n(K),Z=(n(48),n(43));n(73);n.d(t,"b",function(){return ee}),n.d(t,"a",function(){return te}),t.c=function(e){return e.replace(/^(1_)/,"")};var X,$=this&&this.__assign||Object.assign||function(e){for(var t,n=1,i=arguments.length;n0&&r[r.length-1])&&(6===n[0]||2===n[0])){l=0;continue}if(3===n[0]&&(!r||n[1]>r[0]&&n[1]0});e||H.disabledButtons.push(m.a.CHANGE_METHOD,m.a.CHANGE_SIGNER,m.a.DELETE_SIGNATURE),0==t.length&&H.disabledButtons.push(m.a.ORDER_SIGNATURES)},H.state={requiredAnnots:[],enabledSignatures:{},documentState:null,annots:[],canRevoke:H.configurables.value("signatureRevocation",!1),revocableSignatures:[],isActiveRequest:!1,activeElement:null,config:{registerAnonymous:!1},hideUnsignedSignatures:!1,easySignMode:H.s.isFree||H.s.isBankId,hideSignatureText:H.s.isFree||H.s.isBankId,isAnnotEditEnabled:H.s.isFree||H.s.isBankId,isFirstPageRendered:!1,isIframeInCordova:!1,thumbnailsImages:[],configurableWidgetsByAnnot:{},modalMode:!1},b.is.cordova&&b.is.ios&&window.addEventListener("statusTap",function(){return H.scrollTo(H.pages[0])}),Object(E.d)(b)&&(H._renderType=o.m.IOS),console.log("renderType:"+H._renderType),H.subs={},H.documentAsync=d.Observable.defer(H.getDocument);var K=n.get("settings")||{};n.get("settings")?(K.directDocument=!0,sessionStorage.setItem("settings",JSON.stringify(K))):n.get("settings")||null===sessionStorage.getItem("settings")||(K=JSON.parse(sessionStorage.getItem("settings"))),n.get("modalMode")&&(H.state={modalMode:!0},H.overrideCanLeave=!0,sessionStorage.removeItem("settings"));var Y={signNow:H.configurables.value("hideDocumentAlerts",!1),stayOnDoc:H.configurables.value("hideDocumentAlerts",!1)};if(n.get("uploadEvent")){n.get("uploadEvent").subscribe(function(e){var t=o.o.BasicDocumentFromServer(e.data.document);H.setDocument(t),H.s.replaceUrl(t.name,"document/"+t.token)})}var Q={showEmailsInSig:!0,showPRDownload:!0,showPREmail:!0,showPRFinalize:!1,showPRSignatures:!0,showPRFindSignature:!0,showPRBack:!1,showPRView:!H.directDocument,showPRDone:!H.directDocument,showPRSaveDocument:!1,showPREasySignMode:H.s.isBankId||H.s.isFree,finalizeWebhookUrl:null,finalizeEnablePlugin:!0,finalizeType:X.none,finalizeUrl:null,finalizeAutoExecute:ee.on,finalizeUserFlowExecute:!1,allowPartialFinalize:!1,language:null,unregisterSession:!1,remoteQRSigningSession:null,scrollMode:"scroll",showPRThumbnails:"none",easySignAuthType:null,showMenuBar:"auto",showNavigationBar:!0};if(K&&!Object(R.b)(K)){console.log("docLinkSetting",K),void 0!==K.showNavigationBar&&(Q.showNavigationBar=K.showNavigationBar),void 0!==K.showMenuBar&&(Q.showMenuBar=K.showMenuBar),void 0!==K.showEmailsInSig&&(Q.showEmailsInSig=K.showEmailsInSig),void 0!==K.showPRDownload&&(Q.showPRDownload=K.showPRDownload),void 0!==K.showPREmail&&(Q.showPREmail=K.showPREmail),void 0!==K.showPRFinalize&&(Q.showPRFinalize=K.showPRFinalize),void 0!==K.showPRSignatures&&(Q.showPRSignatures=K.showPRSignatures),void 0!==K.showPRFindSignature&&(Q.showPRFindSignature=K.showPRFindSignature),void 0!==K.showPRBack&&(Q.showPRBack=K.showPRBack),void 0!==K.showPRView&&(Q.showPRView=K.showPRView),void 0!==K.showPRDone&&(Q.showPRDone=K.showPRDone),void 0!==K.showPRSaveDocument&&(Q.showPRSaveDocument=K.showPRSaveDocument),void 0!==K.finalizeWebhookUrl&&(Q.finalizeWebhookUrl=K.finalizeWebhookUrl),void 0!==K.finalizeEnablePlugin&&(Q.finalizeEnablePlugin=K.finalizeEnablePlugin),void 0!==K.finalizeType&&(Q.finalizeType=K.finalizeType),void 0!==K.finalizeUrl&&(Q.finalizeUrl=K.finalizeUrl),void 0!==K.finalizeAutoExecute&&(Q.finalizeAutoExecute=K.finalizeAutoExecute),void 0!==K.allowPartialFinalize&&(Q.allowPartialFinalize=K.allowPartialFinalize),void 0!==K.language&&(Q.language=K.language),void 0!==K.unregisterSession&&(Q.unregisterSession=K.unregisterSession),void 0!==K.showPREasySignMode&&(Q.showPREasySignMode=K.showPREasySignMode),void 0!==K.easySignAuthType&&(Q.easySignAuthType=K.easySignAuthType),void 0!==K.scrollMode&&(Q.scrollMode=K.scrollMode),void 0!==K.showPRThumbnails&&(Q.showPRThumbnails=K.showPRThumbnails);var J=n.get("signature");J&&(Q.remoteQRSigningSession=J.id),void 0!==K.callback&&(Q.finalizeWebhookUrl=K.callback),void 0!==K.showPanelTop&&void 0==K.showNavigationBar&&(Q.showNavigationBar=K.showPanelTop),void 0!==K.showPanelRight&&void 0==K.showMenuBar&&(Q.showMenuBar=K.showPanelRight?"auto":"off")}else Q.showNavigationBar=H.configurables.value("documentNavEnabled",Q.showNavigationBar),Q.showMenuBar=H.configurables.value("documentMenuPosition",Q.showMenuBar),Q.showEmailsInSig=H.configurables.value("showEmailInSignature",Q.showEmailsInSig),Q.showPRDownload=H.configurables.value("docDownloadEnabled",Q.showPRDownload),Q.showPREmail=H.configurables.value("docEmailEnabled",Q.showPREmail),Q.showPRFinalize=H.configurables.value("docFinalizeEnabled",Q.showPRFinalize),Q.showPRSignatures=H.configurables.value("docSignaturesListEnabled",Q.showPRSignatures),Q.showPRFindSignature=H.configurables.value("docFindSignatureEnabled",Q.showPRFindSignature),Q.showPRBack=H.configurables.value("docBackEnable",Q.showPRBack),Q.showPRView=H.configurables.value("docChangeVIewEnable",Q.showPRView),Q.showPRDone=H.configurables.value("docDoneEnable",Q.showPRDone),Q.showPRSaveDocument=H.configurables.value("docSaveDocumentEnabled",Q.showPRSaveDocument),Q.finalizeWebhookUrl=H.configurables.value("FINALIZE_URL",Q.finalizeWebhookUrl),Q.finalizeUserFlowExecute=H.configurables.value("finalizeUserFlowExecute",Q.finalizeUserFlowExecute),Q.finalizeAutoExecute=H.configurables.value("finalizeAutoExecute",Q.finalizeAutoExecute),Q.scrollMode=H.configurables.value("scrollMode",Q.scrollMode),Q.showPRThumbnails=H.configurables.value("showPRThumbnails",Q.showPRThumbnails);!!(Q.showPRDownload||Q.showPREmail||Q.showPRFinalize||Q.showPRSignatures||Q.showPRView||Q.showPREasySignMode)||(Q.showMenuBar="off"),"right-collapsed"==Q.showMenuBar&&(Q.showMenuBar="right",H.rightMenuCollapsed=!0),H.params={token:n.get("token"),document:n.get("document"),browsable:n.get("browsable"),settings:$({},Q),documentSettings:Y},null!=H.params.settings.language&&H.t.getLangs().indexOf(H.params.settings.language)>=0&&H.platform.ready().then(function(){H.t.use(H.params.settings.language).subscribe(function(e){H.detector.destroyed||H.detector.detectChanges()})}),H.initSignPad(),H.params.token=H.s.getIonicNavParam(H.params.token),1!=n.get("directDocument")&&1!=K.directDocument||(H.directDocument=!0),H.disabledButtons=[];for(var te in m.a)H.disabledButtons.push(te);return n.get("created")&&(H.created=!0),H.initDocumentView(),H}return Object(i.__extends)(t,e),n=t,Object.defineProperty(t.prototype,"scrollMode",{get:function(){return this._scrollMode},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isNew",{get:function(){return this.State},enumerable:!0,configurable:!0}),t.prototype._download=function(e){return this.server.downloadDocument(e,!0)},Object.defineProperty(t.prototype,"childPages",{get:function(){return this.pagerManager&&this.pagerManager.childPages},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"CanRevoke",{get:function(){return this.state.canRevoke},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"RevocableSignatures",{get:function(){return this.state.revocableSignatures},enumerable:!0,configurable:!0}),t.prototype.initDocumentView=function(){return Q(this,void 0,void 0,function(){var e,t,n,i,s,r;return J(this,function(o){switch(o.label){case 0:return e=this.state.config,[4,this.configurables.ready];case 1:o.sent(),e.registerAnonymous=this.configurables.value("registerAnonymous",!0),this.state={config:e},t={};for(n in this.configurables.configurableWidgets)if((i=this.configurables.configurableWidgets[n]).displayActionButtonOnFields)for(s=0,r=i.displayActionButtonOnFields;sV.length-1||!Number.isInteger(t))&&(t=0),e.state={signosoftFreeSignatureSize:t}}),this.screenSize={width:window.innerWidth,height:window.innerHeight},this.help.helpProgress.subscribe(function(){"DocumentView"===e.navCtrl.getActive().name&&e.detector.markForCheck()}).register(this.context)},t.prototype.ionViewDidLoad=function(){var e=this;this.navBar&&(this.navBar.backButtonClick=function(t){e.s.redirectedToDocument?e.directDocLinkClose():e.navCtrl.pop({animate:!1})})},t.prototype.ionViewWillEnter=function(){var e=this;this.directDocument&&this.viewCtrl.showBackButton(!1),this.s.is.ios&&(this.statusBar.hide(),this.outerContent.resize()),this.menu.enable(!1),this.navCtrl.swipeBackEnabled=!1,this._present=!0,this.storage.ready().subscribe(function(){e.zone.runOutsideAngular(function(){return e.initData()})})},t.prototype.ionViewDidLeave=function(){this.navCtrl.swipeBackEnabled=!0,this._present=!1,this.s.is.cordova&&(this.statusBar.show(),this.keyboard.hideFormAccessoryBar(!1),this.screenOrientation.unlock())},t.prototype.ngOnDestroy=function(){var t=this;e.prototype.ngOnDestroy.call(this),this.signoSoftDriverInterface&&this.signoSoftDriverInterface.close(),this.events.publish(r.a.DISMISS),this.taskManager.autoDestruction(this.taskContext),this.browsable&&this.browsable.destroy(),Object.keys(this.subs).forEach(function(e){var n=t.subs[e];n&&!n.closed&&"function"==typeof n.unsubscribe&&n.unsubscribe()})},t.prototype.ionViewCanLeave=function(){var e=this;return!!this.overrideCanLeave||!(this.storage.token&&0===this.pages.length&&!this.subs.queue.closed)&&this.ui.closeOverlays().then(function(){return!(e.storage.token&&e.browsable&&e.document)||(e.documentState===o.e.NEW||e.browsable.isLocal()?e.confirmLeave().then(function(){if(e.browsable.isLocal())try{e.fileTransfer.cancelUpload();var t=e.server.pool.find(function(t){return"REST/uploadDocument"===t.path.replace(e.server.serverURL,"")});t.subscription.unsubscribe(),e.server.pool.splice(e.server.pool.indexOf(t),1),e.events.publish(g.c.REMOVE_BY_LABEL,g.d.uploadDocument().label)}catch(e){console.log(e)}return!0}).catch(function(){e.fileTransfer.cancelUpload();var t=e.server.pool.find(function(t){return"REST/uploadDocument"===t.path.replace(e.server.serverURL,"")});return t&&(t.subscription.unsubscribe(),e.server.pool.splice(e.server.pool.indexOf(t),1),e.events.publish(g.c.REMOVE_BY_LABEL,g.d.uploadDocument().label)),!1}):e.changedAnnots.length>0?e.confirmLeave().then(function(){return!0}).catch(function(){return!1}):void 0)})},t.prototype.getChildPage=function(e){return"number"==typeof e?this.childPages.toArray().find(function(t){return t.page.index===e}):this.childPages.toArray().find(function(t){return t.page===e})},t.prototype.getCurrentPageView=function(){return this.getChildPage(this.active.page.getValue())},t.prototype.setFullScreen=function(){var e=this;if(!this.params.settings.showPREasySignMode&&!(this.documentState0;return e.ui.alertBool(e.t.instant("UNSAVED_CHANGES"),i?e.t.instant("DOCUMENT_NOT_SAVED"):null,e.t.instant("OK"),null).do(function(e){return d.Observable.of(!0)},function(e){return d.Observable.of(!1)}).toPromise().then(function(){t(!0)}).catch(function(){n(!1)})})},t.prototype.beforeUnload=function(e){if((!this.document||this.documentState===o.e.NEW)&&this.navCtrl.getActive().id==g.a.DOCUMENT)return e.returnValue=this.t.instant("DOCUMENT_NOT_SAVED"),!0},t.prototype.onResize=function(e){this.outerContent&&this.outerContent.resize()},Object.defineProperty(t.prototype,"browsable",{get:function(){return this._browsable},set:function(e){this._browsable&&this._browsable.destroy(),this._browsable=e,e&&(this.initMenu(),null==this.browsableAsync.getValue()&&this.browsableAsync.next(e)),this.detector.destroyed||this.detector.detectChanges()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isDesktop",{get:function(){return this.s.is.desktop},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"document",{get:function(){return this._browsable&&this._browsable.document},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"signatures",{get:function(){return this._browsable&&this._browsable.signatures},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"user",{get:function(){return this.session.get("user")?this.session.get("user"):this.storage.user},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"userAsync",{get:function(){return this.session.get("user")?this.session.watch("user"):this.storage.userAsync},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pages",{get:function(){return this._browsable?this._browsable.pages:[]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"title",{get:function(){var e=this.t.instant("DOCUMENT");return this.document&&(e=this.document.name),e+" "+(this.documentState==o.e.TEMPLATE?"| "+this.t.instant("TEMPLATE"):"")},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"documentState",{get:function(){return this.document&&this.document.state},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"edit",{get:function(){return this.documentState==o.e.NEW||this.documentState==o.e.TEMPLATE},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isTemplate",{get:function(){return this.documentState==o.e.TEMPLATE},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"readyToSend",{get:function(){return this.document.readyToSend()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isUnregisteredUser",{get:function(){return this.user&&this.user.unregistered},enumerable:!0,configurable:!0}),t.prototype.getRequiredAnnots=function(){var e=[];return this.state.annots.forEach(function(t,n){e=e.concat(t.filter(function(e){return e.required||e.type==o.a.IMAGE}))}),e},t.prototype.changeAnnot=function(e,t){void 0===t&&(t=!0);this.state.annots.map(function(t){return t.filter(function(t){if(t.name===e.name)return t.update({value:e.value})})});var n=this.changedAnnots.findIndex(function(t){return t.name==e.name&&t.id===e.id});n>=0?this.changedAnnots[n]=e:this.changedAnnots.push(e);var i=this.state.annots.map(function(t,n){return t.map(function(t){return t.id!==e.id&&t.name===e.name&&t.value!==e.value?t.update({value:e.value}):t.id===e.id?e:t})});if(this.state={annots:i},e.required){var s=this.state.requiredAnnots,r=s.findIndex(function(t){return t.name==e.name}),o="boolean"==typeof e.value&&e.value||"object"==typeof e.value&&e.value[0]!=e.options[0].exportValue||"string"==typeof e.value&&e.value&&e.value.length>0&&"Off"!=e.value;o&&-1!=r?s.splice(r,1):o||-1!=r||s.push(e),this.state={requiredAnnots:s}}t&&this.validateFiled(e.page)},t.prototype.validateAll=function(){var e=this;this.document.isContract?this.document.contractDocuments.forEach(function(t){return e.validateFiled(t.contractRange.start)}):this.validateFiled(-1)},t.prototype.validateFiled=function(e){var t=this,n=this.getRequiredAnnots().map(function(e){return{name:e.name,value:e.value,type:e.type,page:e.page}}),i=this.signatures.getValue().map(function(e){return{name:e.name?e.name:"",value:e.signed?"true":"false",type:"signature",page:e.page,id:e.id}}),s=null;if(this.document.isContract){var r=(s=this.documentForRequest(e)).contractRange;n=n.filter(function(e){return t.isOnPage(r,e.page)}).map(function(e){return e.name=e.name.replace(/prefc[\d]+_/,""),e}),i=i.filter(function(e){return t.isOnPage(r,e.page)})}var o=n.concat(i);this.server.validateFields(o).subscribe(function(e){var n=i.toObject("name","id");e.signs=e.signs.map(function(e){return e.id=n[e.name],s&&(e.contractDocId=s.id),e}),t.validatedSignatures=t.document.isContract?t.validatedSignatures.filter(function(e){return e.contractDocId!=s.id}):[],t.validatedSignatures=t.validatedSignatures.concat(e.signs);for(var r=e.signs.toObject("id","disabled"),o=t.signatures.getValue().slice(),l=!1,a=0;a=t.contractRange.start&&e<=t.contractRange.end}):this.document},t.prototype.isOnPage=function(e,t){return t>=e.start&&t<=e.end},t.prototype.sign=function(e){var t=this;this.ga.event(Z.b.DOC_VIEW_SIG_CLICK,Z.c.DOCUMENT_VIEW),window.parent.postMessage({event:"signingStarted"},"*");var n=this.documentForRequest(e.page);if(this.activeSigning)return d.Observable.of(!1);this.activeSigning=!0;return(this.changedAnnots.length>0?this.saveDocument():d.Observable.of(void 0)).flatMap(function(n){return Q(t,void 0,void 0,function(){var t;return J(this,function(n){switch(n.label){case 0:return t=null,t=this.s.is.cordova?new H(this.crossWindow,this.t,this.inAppBrowser):new z(this.s.crossTabChannel),[4,this.byCertificateNew(e,!1,t)];case 1:return[2,n.sent()]}})})}).do(function(i){return Q(t,void 0,void 0,function(){var t,s,r,l,a,u,c,h,d,p,f,m,b,v=this;return J(this,function(y){switch(y.label){case 0:switch(this.ga.event(Z.b.DOC_VIEW_SIGNING_FINISH,Z.c.DOCUMENT_VIEW),this.storage.documents.markForUpdate=!0,this.clearChangedAnnots(n.contractRange),this.initMenu(),t=this.signatures.getValue().every(function(e){return e.signed}),s=this.signatures.getValue(),r=!this.canSignDocument(s,this.user,this.browsable).canSign,l=this.signatures.getValue().filter(function(e){return e.required}),a=!this.canSignDocument(l,this.user,this.browsable).canSign,console.log("allAllowSigned: "+r+" allAllowRequiredSigned: "+a),t&&(u=this.document.update({state:o.e.SIGNED}),this.setDocument(u),this.detector.destroyed||this.detector.detectChanges()),c=this.configurables.value("finalize.execute_on_server",!1),h=!0,this.params.settings.finalizeAutoExecute){case ee.off:return[3,1];case ee.confirmRequired:return[3,2];case ee.confirm:return[3,5];case ee.on:return[3,8]}return[3,9];case 1:return h=!1,[3,9];case 2:return r?[3,5]:(d=a)?[4,this.ui.alertBool(this.t.instant("CAN_AUTO_EXECUTE_FINALIZE_REQUIRED"),this.t.instant("CAN_AUTO_EXECUTE_FINALIZE_MESSAGE"),this.t.instant("YES"),this.t.instant("NO"),!1).map(function(e){return!0}).toPromise().catch(function(e){return!1})]:[3,4];case 3:d=y.sent(),y.label=4;case 4:return(h=d)&&(r=a),[3,9];case 5:return(p=r)?[4,this.ui.alertBool(this.t.instant("CAN_AUTO_EXECUTE_FINALIZE"),this.t.instant("CAN_AUTO_EXECUTE_FINALIZE_MESSAGE"),this.t.instant("YES"),this.t.instant("NO"),!1).map(function(e){return!0}).toPromise().catch(function(e){return!1})]:[3,7];case 6:p=y.sent(),y.label=7;case 7:return h=p,[3,9];case 8:return h=!0,c&&(h=!1),[3,9];case 9:return i&&(f=this.document.signatures.filter(function(e){return e.signed}).length,m=this.document.signatures.length,window.parent.postMessage({event:"documentSigned",signaturesTotal:m,signaturesSigned:f},"*")),console.log("canFinalizeAutoExecute: "+h),this.state.config,b=this.directDocument||this.params.settings.finalizeUserFlowExecute,r&&b&&this.params.settings.finalizeWebhookUrl&&"NA"!=this.params.settings.finalizeWebhookUrl&&h?(console.log("finalizeDocument callback"),this.server.finalizeDocument(this.document,this.params.settings.finalizeWebhookUrl,this.params.settings.finalizeEnablePlugin).subscribe(function(e){v.directDocument?v.directDocLinkClose(e):v.params.documentSettings.stayOnDoc||v.ui.alertBool(v.t.instant("STAY_ON_DOC"),v.t.instant("STAY_ON_DOC_MSG"),v.t.instant("NO"),v.t.instant("YES")).subscribe(function(e){v.navCtrl.popToRoot()},function(e){}).register(v.taskContext)},function(e){v.directDocument&&v.directDocLinkClose({finalizeResult:"ERROR"}),console.log(e)}).register(this.taskContext)):r&&this.directDocument&&this.processFinalize&&h?this.directDocLinkClose():r&&this.directDocument&&this.isUnregisteredUser&&this.configurables.value("registerAnonymous",!0)&&this.params.settings.unregisterSession?this.ui.alertBool(this.t.instant("REGISTER_INFO_FUTURE"),null,this.t.instant("SIGN_UP2")).subscribe(function(e){v.s.clearURL(),v.navCtrl.setRoot(g.a.LOGIN,{},{animate:!1}).then(function(e){v.navCtrl.push(g.a.REGISTRATION,{prefill:!0})},function(e){return console.log(e)})},function(e){v.server.notifyUnregisterUser(v.document).subscribe(function(){}).register(v.taskContext)}).register(this.taskContext):r&&this.directDocument&&this.params.settings.unregisterSession?this.s.offlineMode||this.ui.alertOK(this.t.instant("SIGNED_DOCUMENT")).subscribe(function(e){},function(e){}).register(this.taskContext):!r||this.directDocument||this.params.documentSettings.stayOnDoc||this.ui.alertBool(this.t.instant("STAY_ON_DOC"),this.t.instant("STAY_ON_DOC_MSG"),this.t.instant("NO"),this.t.instant("YES")).subscribe(function(e){v.navCtrl.popToRoot()},function(e){}).register(this.taskContext),this.configurables.value("signatureRevocation",!1)&&(this.state={revocableSignatures:this.state.revocableSignatures.concat([e.id])}),this.detector.markForCheck(),this.activeSigning=!1,[2]}})})}).catch(function(e){if(null===e)return d.Observable.empty();throw e}).catch(function(e){return t.ga.event(Z.b.DOC_VIEW_CANCEL_SIGNING,Z.c.DOCUMENT_VIEW),window.parent.postMessage({event:"signingCanceled"},"*"),t.activeSigning=!1,"SILENT_ERROR"!=e&&t.ui.alertError(e).run(),d.Observable.throw(e)})},t.prototype.getMetaData=function(e,t){var n=this,i=this.documentForRequest(e.page),s=e.inPerson?"In person":e.signer,r=this.s.offlineMode?this.plugin.getSignatureMetadata(i,e):this.server.getSignatureMetadata(i,e),o={signer:s,serial:null,keyHash:null};this.signoSoftDriverInterface&&this.signoSoftDriverInterface.device&&(o.serial=this.signoSoftDriverInterface.device.serial,o.keyHash=this.signoSoftDriverInterface.device.keyHash);return this.metadata&&null!=this.metadata.docHash?this.bioDataService.getDigitalBioData(o,this.metadata.signosoftPublicKey).flatMap(t):r.flatMap(function(e){if("ERROR"==e.result)throw console.error("Empty signature metadata"),n.t.instant("SIGNING_FAILED");console.log("meta init"),n.metadata=e,console.log(n.metadata);return n.bioDataService.getDigitalBioData(o,n.metadata.signosoftPublicKey).flatMap(t)})},t.prototype.getOnlyMetaData=function(e){var t=this,n=this.documentForRequest(e.page),i=this.s.offlineMode?this.plugin.getSignatureMetadata(n,e):this.server.getSignatureMetadata(n,e),s=this.ui.loadingManual("");return this.metadata&&null!=this.metadata.docHash?d.Observable.of(this.metadata):Object(_.from)(s.present()).flatMap(function(){return i.flatMap(function(e){if(s&&(s.dismiss(),s=null),"ERROR"==e.result)throw console.error("Empty signature metadata"),t.t.instant("SIGNING_FAILED");return t.metadata=e,d.Observable.of(t.metadata)})}).catch(function(e){throw s&&(s.dismiss(),s=null),e})},t.prototype.clickToSign=function(e,t){var n=this;void 0===t&&(t=!1);var i=this.documentForRequest(e.page),s=this.changedAnnotsForRequest(i.contractRange);return new Promise(function(r,o){n.getOnlyMetaData(e).subscribe(function(l){if(l.aliases)if(1!==l.aliases.length||l.aliases[0].requirePassword)n.ui.modal(O.a,l).subscribe(function(l){if(0==l)throw n.t.instant("SIGNING_FAILED");if(!l)return o("SILENT_ERROR");var a=n.t.instant("SIGNING_DOCUMENT"),u=e.signer+"|"+n.browsable.document.owner,c=n.ui.alertBool(n.t.instant("SIGN_DOCUMENT")),h={certificateId:l.certificateId,certificatePassword:l.certificatePassword},d={signer:e.inPerson?"In person":e.signer,serial:null,keyHash:null};n.signoSoftDriverInterface&&n.signoSoftDriverInterface.device&&(d.serial=n.signoSoftDriverInterface.device.serial,d.keyHash=n.signoSoftDriverInterface.device.keyHash);var p=n.bioDataService.getDigitalBioData(d,n.metadata.signosoftPublicKey);c.subscribe(function(){p.subscribe(function(l){n.ui.loading(a,n.server.signByClickToSign(i,e,u,l,s,h,t)).subscribe(function(e){n.browsable.addOrReplaceSignatures(e),r()},function(e){return o(e)})},function(e){return o(e)})},function(){return o("SILENT_ERROR")})});else{var a=n.t.instant("SIGNING_DOCUMENT"),u=e.signer+"|"+n.browsable.document.owner,c=n.ui.alertBool(n.t.instant("SIGN_DOCUMENT")),h={certificateId:l.aliases[0].id},d={signer:e.inPerson?"In person":e.signer,serial:null,keyHash:null};n.signoSoftDriverInterface&&n.signoSoftDriverInterface.device&&(d.serial=n.signoSoftDriverInterface.device.serial,d.keyHash=n.signoSoftDriverInterface.device.keyHash);var p=n.bioDataService.getDigitalBioData(d,n.metadata.signosoftPublicKey);c.subscribe(function(){p.subscribe(function(l){n.ui.loading(a,n.server.signByClickToSign(i,e,u,l,s,h,t)).subscribe(function(e){n.browsable.addOrReplaceSignatures(e),r()},function(e){return o(e)})},function(e){return o(e)})},function(){return o("SILENT_ERROR")})}else{var g=e.signer+"|"+n.browsable.document.owner,f=(c=n.ui.alertBool(n.t.instant("SIGN_DOCUMENT")),n.t.instant("SIGNING_DOCUMENT"));d={signer:e.inPerson?"In person":e.signer,serial:null,keyHash:null};n.signoSoftDriverInterface&&n.signoSoftDriverInterface.device&&(d.serial=n.signoSoftDriverInterface.device.serial,d.keyHash=n.signoSoftDriverInterface.device.keyHash);var m=n.bioDataService.getDigitalBioData(d,n.metadata.signosoftPublicKey);c.subscribe(function(){m.subscribe(function(l){n.ui.loading(f,n.server.signByClickToSign(i,e,g,l,s,null,t)).subscribe(function(e){n.browsable.addOrReplaceSignatures(e),r()},function(e){return o(e)})},function(e){return o(e)})},function(){return o("SILENT_ERROR")})}},function(e){return o(e)})})},t.prototype.protectedSigning=function(e,t){var n=this;return new Promise(function(i,s){return Q(n,void 0,void 0,function(){return J(this,function(n){return t==x.d.SMS_PASSWORD?[2,this.ui.modal(a.a,{content:L.a,signature:e}).subscribe(function(e){return console.log(e),e?i(e):s("SILENT_ERROR")},function(){return s("SILENT_ERROR")})]:[2,this.getPassword().subscribe(function(e){return console.log(e),e?i(e):s("SILENT_ERROR")},function(){s("SILENT_ERROR")})]})})})},t.prototype.signWithCustomCertificates=function(e,t,n,i,s,r,o){var l=this;return void 0===o&&(o=!1),new Promise(function(a,u){return Q(l,void 0,void 0,function(){var l,c,h,d,p=this;return J(this,function(g){switch(g.label){case 0:l=void 0,c={signer:e.inPerson?"In person":e.signer,serial:null,keyHash:null},this.signoSoftDriverInterface&&this.signoSoftDriverInterface.device&&(c.serial=this.signoSoftDriverInterface.device.serial,c.keyHash=this.signoSoftDriverInterface.device.keyHash),h=this.bioDataService.getDigitalBioData(c,this.metadata.signosoftPublicKey),d=new Promise(function(e,n){1!==t.aliases.length||t.aliases[0].requirePassword?p.ui.modal(O.a,t).subscribe(function(t){if(0==t)throw p.t.instant("SIGNING_FAILED");if(!t)return u("SILENT_ERROR");e({certificateId:t.certificateId,certificatePassword:t.certificatePassword})}):e({certificateId:t.aliases[0].id})}),g.label=1;case 1:return g.trys.push([1,3,,4]),[4,d];case 2:return l=g.sent(),h.subscribe(function(t){p.ui.loading(p.t.instant("SIGNING_DOCUMENT"),n==x.d.SMS_PASSWORD||n==x.d.ONE_TIME_PASSWORD?p.server.signBySMSToken(s,e,i,t,r,l,o,n):p.server.signByCertificate(s,e,i.password,i.fingerprint,t,r,l,o)).subscribe(function(e){p.browsable.addOrReplaceSignatures(e),a()},function(e){return u(e)})},function(e){return e}),[3,4];case 3:return g.sent(),u("SIGNING_FAILED"),[3,4];case 4:return[2]}})})})},t.prototype.signWithSignosoftCertificate=function(e,t,n,i,s,r){var o=this;return void 0===r&&(r=!1),new Promise(function(l,a){return Q(o,void 0,void 0,function(){var o,u=this;return J(this,function(c){return o={signer:e.inPerson?"In person":e.signer,serial:null,keyHash:null},this.signoSoftDriverInterface&&this.signoSoftDriverInterface.device&&(o.serial=this.signoSoftDriverInterface.device.serial,o.keyHash=this.signoSoftDriverInterface.device.keyHash),this.bioDataService.getDigitalBioData(o,this.metadata.signosoftPublicKey).subscribe(function(o){u.ui.loading(u.t.instant("SIGNING_DOCUMENT"),t==x.d.SMS_PASSWORD||t==x.d.ONE_TIME_PASSWORD?u.server.signBySMSToken(i,e,n,o,s,void 0,r,t):u.server.signByCertificate(i,e,n.password,n.fingerprint,o,s,void 0,r)).subscribe(function(e){u.browsable.addOrReplaceSignatures(e),l()},function(e){return a(e)})},function(e){return a(e)}),[2]})})})},t.prototype.biometricallyNew=function(e,t,n,i,s,r){return void 0===r&&(r=!1),Q(this,void 0,void 0,function(){var r,l,a,u,c,h,d,p,g,f,m,v,y,E,w,I=this;return J(this,function(S){switch(S.label){case 0:return r=this.pagerManager.realItemDimensions(e.page),l=r.width/100,a=r.height/100,this.t.instant("SIGNING_DOCUMENT"),u=this.metadata.signatureGap,c=e.width/100*2e3,h=u/c*(e.width*l),d=(e.height*a-h)/(e.width*l),p={login:this.user.email,docid:this.browsable.document.id,sigid:e.id,methodid:o.f.HANDWRITTEN,authType:x.d.BIOMETRIC,sigImgBase64:null},g=e.inPerson?(g=(e.signerName?e.signerName.first:"")+" "+(e.signerName?e.signerName.last:"")).trim():this.user.email+" "+this.user.firstName+" "+this.user.lastName,[4,this.ui.modal(b.a,{requestParams:p,signature:e,docToken:this.document.token,meta:this.metadata,signer:g,browsable:this.browsable,signatureRatio:d,websockets:this.signoSoftDriverInterface,remoteSigningSession:this.params.settings.remoteQRSigningSession,signosoftFree:this.state.easySignMode},{enableBackdropDismiss:!1,cssClass:"biometric-signature flex-mode"}).toPromise()];case 1:return(f=S.sent())?(i&&(f.certificateId=i.certificateId,f.certificatePassword=i.certificatePassword),s.present(),this.s.offlineMode?[4,this.plugin.modifyModalData(f).toPromise()]:[3,3]):[2,!1];case 2:f=S.sent(),S.label=3;case 3:return f.signatureUpdate?(f.bioData="",[3,6]):[3,4];case 4:return m=f,[4,this.bioDataService.getFullBioData(f.bioProp,f.bioData,this.metadata.signosoftPublicKey).toPromise()];case 5:m.bioData=S.sent(),S.label=6;case 6:return this.s.offlineMode?[4,this.plugin.signOffline(this.browsable,this.signoSoftDriverInterface,e,f).toPromise()]:[3,8];case 7:return y=S.sent(),[3,10];case 8:return[4,this.server.signBiometrically(t,e,f,n,this.params.settings.showPREasySignMode,this.params.settings.finalizeAutoExecute).toPromise()];case 9:y=S.sent(),S.label=10;case 10:return v=y,this.browsable.addOrReplaceSignatures(v),s.dismiss(),!this.s.offlineMode&&this.signoSoftDriverInterface&&(w=["SO_COLOUR","SO_BRILLIANCE","SO_DURASIGN"],(E=this.signoSoftDriverInterface.device).connected&&w.indexOf(E.model)>-1&&(console.log("Getting new document preview"),this.server.downloadDocument(this.browsable.document).filter(function(e){return e.done}).map(function(e){I.signoSoftDriverInterface.updateDocument=e.data}).run())),[2,e]}})})},t.prototype.byCertificateNew=function(e,t,n){var i=this;void 0===t&&(t=!1),void 0===n&&(n=new z(this.s.crossTabChannel));var s=this.documentForRequest(e.page),r=this.changedAnnotsForRequest(s.contractRange);return new Promise(function(o,l){return Q(i,void 0,void 0,function(){var i,u,c,h,d,p,g,f,m,b,v;return J(this,function(y){switch(y.label){case 0:i=this.ui.loadingManual(this.t.instant("SIGNING_DOCUMENT")),y.label=1;case 1:return y.trys.push([1,11,,12]),[4,this.getOnlyMetaData(e).toPromise()];case 2:return u=y.sent(),c=1==e.authMethods.length&&e.authMethods[0].type==x.d.BIOMETRIC,h=u.aliases&&(1===u.aliases.length&&u.aliases[0].requirePassword||u.aliases.length>1),d={},!c||h?[3,3]:(d.authType=x.d.BIOMETRIC,u&&u.aliases&&(d.cert={certificateId:u.aliases[0].id}),[3,5]);case 3:return[4,this.ui.modal(a.a,{content:M.a,title:"SIGNING",signature:e,metadata:u,documentToken:this.document.token,bankIdProvider:n,remoteQRSigningSession:this.params.settings.remoteQRSigningSession,easySignMode:this.state.easySignMode},{cssClass:"selectMethodModal"}).toPromise()];case 4:if(!(d=y.sent()))return[2,l("SILENT_ERROR")];y.label=5;case 5:return p=!0,d.authType!=x.d.BIOMETRIC?[3,7]:[4,this.biometricallyNew(e,s,r,d.cert,i,t)];case 6:return(p=!!y.sent())?[3,10]:[2,l("SILENT_ERROR")];case 7:return i.present(),g=!1,d.authType==x.d.CLICK_TO_SIGN_INITIALS&&(g=!0,d.authType=x.d.CLICK_TO_SIGN),f={signer:e.inPerson?"In person":e.signer,serial:null,keyHash:null,signAuth:d.signAuth},[4,this.bioDataService.getDigitalBioData(f,u.signosoftPublicKey).toPromise()];case 8:return m=y.sent(),[4,this.server.signUniversal(s,e,d.password,m,r,d.cert,g,d.authType,this.params.settings.finalizeAutoExecute).toPromise()];case 9:b=y.sent(),this.browsable.addOrReplaceSignatures(b),i.dismiss(),y.label=10;case 10:return o(p),[3,12];case 11:return v=y.sent(),console.error("byCertificateNew error",v),i.dismiss(),l(v),[3,12];case 12:return[2]}})})})},t.prototype.byCertificate=function(e,t,n){var i=this;void 0===n&&(n=!1);var s=this.documentForRequest(e.page),r=this.changedAnnotsForRequest(s.contractRange);return new Promise(function(o,l){return Q(i,void 0,void 0,function(){var i,a,u=this;return J(this,function(c){switch(c.label){case 0:return c.trys.push([0,2,,3]),[4,this.protectedSigning(e,t)];case 1:return i=c.sent(),this.getOnlyMetaData(e).subscribe(function(a){return Q(u,void 0,void 0,function(){var u;return J(this,function(c){switch(c.label){case 0:return c.trys.push([0,5,,6]),a.aliases?[4,this.signWithCustomCertificates(e,a,t,i,s,r,n)]:[3,2];case 1:return c.sent(),[3,4];case 2:return[4,this.signWithSignosoftCertificate(e,t,i,s,r,n)];case 3:c.sent(),c.label=4;case 4:return o(),[3,6];case 5:return u=c.sent(),l(u),[3,6];case 6:return[2]}})})},function(e){return l(e)}),[3,3];case 2:return a=c.sent(),l(a),[3,3];case 3:return[2]}})})})},t.prototype.biometrically=function(e){var t=this,n=this.documentForRequest(e.page),i=this.changedAnnotsForRequest(n.contractRange);return new Promise(function(s,r){var l=t.getOnlyMetaData(e),a=t.pagerManager.realItemDimensions(e.page),u=a.width/100,c=a.height/100,h=t.t.instant("SIGNING_DOCUMENT"),p={login:t.user.email,docid:t.browsable.document.id,sigid:e.id,methodid:o.f.HANDWRITTEN,authType:x.d.BIOMETRIC,sigImgBase64:null},g=function(s){if(0==s)throw t.t.instant("SIGNING_FAILED");if(!s)throw null;var r=(t.s.offlineMode?t.plugin.modifyModalData(s):d.Observable.of(s)).flatMap(function(r){return s=r,t.bioDataService.getFullBioData(s.bioProp,s.bioData,t.metadata.signosoftPublicKey).flatMap(function(r){s.bioData=r;return(t.s.offlineMode?t.plugin.signOffline(t.browsable,t.signoSoftDriverInterface,e,s):t.server.signBiometrically(n,e,s,i,t.params.settings.showPREasySignMode,t.params.settings.finalizeAutoExecute)).map(function(e){if(t.browsable.addOrReplaceSignatures(e),!t.s.offlineMode&&t.signoSoftDriverInterface){var n=t.signoSoftDriverInterface.device;n.connected&&["SO_COLOUR","SO_BRILLIANCE","SO_DURASIGN"].indexOf(n.model)>-1&&(console.log("Getting new document preview"),t.server.downloadDocument(t.browsable.document).filter(function(e){return e.done}).map(function(e){t.signoSoftDriverInterface.updateDocument=e.data}).run())}return e})})});return t.ui.loading(h,r)};l.flatMap(function(){var n;e.inPerson&&e.signerName&&e.signerName.first?(n=e.signerName.first,e.signerName.last&&(n+=" "+e.signerName.last)):n=t.user.email+" "+t.user.firstName+" "+t.user.lastName;return t.ui.modal(b.a,{requestParams:p,signature:e,docToken:t.document.token,meta:t.metadata,signer:n,browsable:t.browsable,signatureRatio:(e.height*c-t.metadata.signatureGap/(e.width/100*2e3)*(e.width*u))/(e.width*u),websockets:t.signoSoftDriverInterface,signosoftFree:t.state.easySignMode},{enableBackdropDismiss:!1,cssClass:"biometric-signature flex-mode"}).flatMap(g)}).subscribe(function(){return s()},function(e){return r(e)})})},t.prototype.getMethod=function(e){if(1==e.authMethods.length)return d.Observable.of(e.authMethods[0].type);if(0==e.authMethods.length)throw new TypeError("Method not chosen");return this.pickOneMethod(e.authMethods.map(function(e){return e.type})).map(function(e){if(!e)throw null;return e.methods[0]})},t.prototype.getPassword=function(e){void 0===e&&(e=!1);var t={type:"password",placeholder:this.t.instant(e?"SMS_TOKEN":"PASSWORD"),name:"password"};return this.ui.modal(y.a,{title:"PLEASE_SIGN",message:e?"ENTER_TOKEN":"ENTER_PASSWORD",inputOpts:t,hideFingerprint:e},{cssClass:"password-alert"}).map(function(e){return e&&e.password&&e.password.length>0?e.password:null})},t.prototype.pickOneMethod=function(e){return this.ui.modal(c.a,{pickOne:!0,methods:e},{cssClass:"selectMethodModal"}).map(function(e){return e&&e.length<=0?null:e}).ignoreErrors()},t.prototype.changeMethodsDialogue=function(e,t){return void 0===e&&(e=[]),this.ui.modal(c.a,{selected:e,inPerson:t},{cssClass:"selectMethodModal"}).map(function(e){return e&&e.length<=0?null:e})},t.prototype.alertNotUploaded=function(){this.ui.alertOK(this.t.instant("DOCUMENT_NOT_UPLOADED"),this.t.instant("WAIT_FOR_GREEN_NOTIFICATION")).run()},t.prototype.sendIfConfirmed=function(){return Q(this,void 0,void 0,function(){var e,t,n,i,s,r,o,l,a=this;return J(this,function(u){switch(u.label){case 0:return 0==this.signatures.getValue().length?[2,this.events.publish(g.c.NEGATIVE,"ADD_SIGNATURE")]:this.signatures.getValue().some(function(e){return!e.inPerson&&!e.signerName&&!e.signer})?[2,this.events.publish(g.c.NEGATIVE,"INVALID_SIGNATURE")]:(e=this.configurables.value("SEND_SIGN_NOTIFICATION_DOCS_ZIP_PASSWORD",""),t=this.configurables.value("UNREGISTER_FLOW_PROTECT_LINK",""),n=this.configurables.value("sendSignReqMethods",j.a.EMAIL),i=n.contains(j.a.SMS)||t.contains(j.a.SMS)||e.contains(j.a.SMS),s=n.split(/,\s?/),console.log(e),console.log(e.contains(j.a.SMS)),console.log(i),console.log(this.signatures.getValue().some(function(e){return!e.inPerson&&!e.user.phone})),i&&this.signatures.getValue().some(function(e){return!e.inPerson&&!e.user.phone})?[4,this.ui.modal(U.a,{users:this.signatures.getValue().filter(function(e,t,n){return!e.inPerson&&!e.user.phone&&n.findIndex(function(t){return t.user.id==e.user.id})===t}).map(function(e){return e.user})},{cssClass:"selectMethodModal"}).toPromise()]:[3,2]);case 1:if(!(r=u.sent()))return this.ga.event(Z.b.DOC_VIEW_SEND_DOC_CANCEL,Z.c.DOCUMENT_VIEW,"doc_view_add_user_data_cancel"),[2];this.signatures.getValue().map(function(e){if(e.user){var t=r.find(function(t){return t.id==e.user.id});t&&e.update({user:t})}return e}),u.label=2;case 2:return!this.isSending&&this.browsable&&this.browsable.ready.getValue()?(o=g.d.requestSignatures(),l=function(e){a.events.publish(g.c.REMOVE,o);a.events.publish(e?g.c.SUCCESS:g.c.ERROR,o)},this.isSending=!0,this.server.getSubs().subscribe(function(){a.isSending=!1;var e=function(){return Q(a,void 0,void 0,function(){var e,t,n,i,r,a,u,c=this;return J(this,function(h){switch(h.label){case 0:return[4,this.configurables.ready.catch()];case 1:return h.sent(),e=null,t="email",this.document.isContract?[4,this.ui.sendDocument(this.document.name,!1,!1,s)]:[3,3];case 2:return n=h.sent(),e="cancel"!=n.role?this.document.name:null,t=n.type,[3,6];case 3:return this.configurables.value("documentNamingTemplate","").length>0?(i=new Date,r=this.signatures.getValue().find(function(e){if(e.signer!==c.user.email)return!0}),e=this.configurables.value("documentNamingTemplate","").replace("{{name}}",this.document.name).replace("{{date}}",i.toLocaleDateString()).replace("{{datetime}}",i.toLocaleString()).replace("{{signer}}",r?r.signerLabel:""),[3,6]):[3,4];case 4:return[4,this.ui.sendDocument(this.document.name,!0,!1,s)];case 5:a=h.sent(),e=a.name,t=a.type,h.label=6;case 6:return e?(this.ga.event(Z.b.DOC_VIEW_SEND_DOC_CONFIRM,Z.c.DOCUMENT_VIEW),this.events.publish(g.c.ADD,o),u=this.browsable.document.update({name:e}),this.setDocument(u),this.requestSignatures(t).catch(this.ui.alertError).subscribe(l,l).register(this.taskContext)):this.ga.event(Z.b.DOC_VIEW_SEND_DOC_CANCEL,Z.c.DOCUMENT_VIEW,"doc_name_change_cancel"),[2]}})})};3==a.storage.subscribe.type||a.user.isBussinessMember?e():0==a.storage.subscribe.docs?a.ui.alertBool(a.t.instant("YOU_ARE_OUT_OF_DOCUMENTS")+a.spacedCurrency.transform(a.billing.getTierPrice(1,f.b.DOC),a.billing.localCurrency,!0),"",a.t.instant("YES"),a.t.instant("NO")).ignoreErrors().subscribe(function(){if(a.s.is.cordova)a.billing.buyDocs(a.billing.getTierAmount(1,f.b.DOC)).then(function(e){console.log("Buy 1 doc success",e),a.ga.event(Z.b.DOC_VIEW_SEND_DOC_CONFIRM,Z.c.DOCUMENT_VIEW),a.events.publish(g.c.ADD,o),a.requestSignatures().catch(a.ui.alertError).subscribe(l,l)},function(e){a.ga.event(Z.b.DOC_VIEW_SEND_DOC_CANCEL,Z.c.DOCUMENT_VIEW,"doc_purchase_cancel"),console.log("Error: Buy 1 doc failed: ",e)});else{var e=function(){return a.activeRequest=!0,a.enableSignatures(),a.ga.event(Z.b.DOC_VIEW_SEND_DOC_CONFIRM,Z.c.DOCUMENT_VIEW),a.browsable.requestSignaturesValidate().flatMap(function(){return a.saveDocument()}).map(function(){var e=a.browsable.document.update({state:null});return a.setDocument(e),!0}).catch(function(e){return a.activeRequest=!1,a.enableSignatures(),a.ui.alertError(e),d.Observable.throw(e)})};a.ui.modal(w.a,{selectedDocs:{numberOfDocuments:a.billing.getTierAmount(1,f.b.DOC),price:a.billing.getTierPrice(1,f.b.DOC)},docToken:a.browsable.document.token,docContinue:e},{cssClass:"large-modal"}).do(function(){console.error("I shouldnt see this")},function(){return a.ga.event(Z.b.DOC_VIEW_SEND_DOC_CANCEL,Z.c.DOCUMENT_VIEW,"docs_purchase_cancel")}).run()}}).register(a.taskContext):e()},function(e){a.isSending=!1,a.ui.alertError(e).run().register(a.taskContext)}).register(this.taskContext),[2]):[2]}})})},t.prototype.deleteSignatures=function(e){for(var t=this,n=[],i=1;i0&&e.order!=t+1&&(e=e.update({order:t+1})),e})})};e?this.ui.alertBool(this.t.instant("DELETE_SIGNATURE"),this.t.instant("CONTINUE_DELETE_SIGNATURE")).subscribe(function(){t.ga.event(Z.b.DOC_VIEW_DELETE_SIG_CONFIRM,Z.c.DOCUMENT_VIEW),s()},function(){return t.ga.event(Z.b.DOC_VIEW_DELETE_SIG_CANCEL,Z.c.DOCUMENT_VIEW)}).register(this.taskContext):s()},t.prototype.addOrReplaceSignatures=function(){for(var e=[],t=0;t0&&(r=Math.max.apply(Math,s.map(function(e){return e.order>0?e.order+1:-1})));var l=o.k.create(0,0,i.index,r,n.viewport.landscape),a=e.generateAcroformPosition({width:l.width,height:l.height}),u=e.configurables.value("signatureRequiredDefault",!1);l=l.update({x:a.x,y:a.y,required:u}),e.activateElement(l),t.next(l),t.complete()}).flatMap(function(t){return e.changeMethods(t,!0).ignoreErrors()}).flatMap(function(t){return t.inPerson?d.Observable.of(t):e.changeSigner(t).do(function(){},function(){return e.ga.event(Z.b.DOC_VIEW_ADD_SIG_CANCEL,Z.c.DOCUMENT_VIEW,Z.b.DOC_VIEW_CHANGE_SIGNER_CANCEL)}).ignoreErrors()}).do(function(){return e.ga.event(Z.b.DOC_VIEW_ADD_SIG_CONFIRM,Z.c.DOCUMENT_VIEW)})},t.prototype.showWizard=function(e){var t=this;return console.log("changeMethods"),d.Observable.create(function(t){t.next(e),t.complete()}).flatMap(function(e){return t.changeMethods(e).ignoreErrors()}).flatMap(function(e){return e.inPerson?d.Observable.of(e):t.changeSigner(e).ignoreErrors()})},t.prototype.documentFromTemplate=function(){var e=this;return this.server.documentFromTemplate(this.document,this.changedAnnots).map(function(t){e.resetChangedAnnots(),e.browsable.signatures.next(t.document.signatures),e.setDocument(t.document);for(var n=t.acroFields?t.acroFields.toObject("name"):{},i=function(e){var t=n[e.name];if(t){var i={};return t.value?i.value=t.value:t.mappingName&&(i.mappingName=t.mappingName),e.update(i)}return e},s=e.state.annots,r=0;r0?[4,this._updateDocument()]:[3,3];case 2:if(!n.sent())return this.initMenu(),this.detector.destroyed||this.detector.detectChanges(),[2,!1];n.label=3;case 3:return[2,this.server.finalizeDocument(this.document,this.params.settings.finalizeWebhookUrl,this.params.settings.finalizeEnablePlugin).subscribe(function(e){t.ga.event(Z.b.DOC_VIEW_FINALIZE_CONFIRM,Z.c.DOCUMENT_VIEW),t.storage.documents.markForUpdate=!0,t.directDocLinkClose(e),t.initMenu(),t.detector.destroyed||t.detector.detectChanges()},function(e){t.initMenu(),t.detector.destroyed||t.detector.detectChanges()}).register(this.taskContext)]}})})},t.prototype.backCallback=function(){return Q(this,void 0,void 0,function(){var e,t;return J(this,function(n){switch(n.label){case 0:return[4,this.ui.alertBool(this.t.instant("CANCEL_DOCUMENT"),this.t.instant("CANCEL_DOCUMENT_MESSAGE"),this.t.instant("NO"),this.t.instant("YES")).map(function(e){return!0}).toPromise().catch(function(e){return!1})];case 1:return n.sent()?(this.ga.event(Z.b.DOC_VIEW_CANCEL_DOC_KEEP_DOC,Z.c.DOCUMENT_VIEW),[2,!1]):this.s.isBankId||this.s.isFree?(this.navCtrl.pop(),this.session.clear(),[2]):this.params.settings.finalizeWebhookUrl?(this.ga.event(Z.b.DOC_VIEW_CANCEL_DOC_CONFIRM,Z.c.DOCUMENT_VIEW),[4,this.server.cancelDocument(this.document,this.params.settings.finalizeWebhookUrl).toPromise().catch(function(e){return!1})]):[3,3];case 2:n.sent(),n.label=3;case 3:return this.params.settings.finalizeType==X.redirect&&this.params.settings.finalizeUrl?(this.ga.event(Z.b.DOC_VIEW_CANCEL_DOC_CONFIRM,Z.c.DOCUMENT_VIEW),(e=new URL(this.params.settings.finalizeUrl)).searchParams.set("result","cancel"),e.searchParams.set("document",this.document.id.toString()),e.searchParams.set("documentToken",this.document.token),this.document.signatures&&(e.searchParams.set("signaturesSigned",this.document.signatures.filter(function(e){return e.signed}).length.toString()),e.searchParams.set("signaturesTotal",this.document.signatures.length.toString())),window.location.assign(e.href),this.session.clear()):this.params.settings.finalizeType==X.message&&(t={result:"cancel",document:this.document.id,documentToken:this.document.token},this.document.signatures&&(t.signaturesSigned=this.document.signatures.filter(function(e){return e.signed}).length,t.signaturesTotal=this.document.signatures.length),this.crossWindow.post(window.parent,"finalize",t)),[2]}})})},t.prototype.directDocLinkClose=function(e){var t=this,n=e&&"OK"!=e.finalizeResult&&"SUCCESS"!=e.finalizeResult?"cancel":"success";if(this.params.settings.finalizeType==X.redirect&&this.params.settings.finalizeUrl){var i=new URL(this.params.settings.finalizeUrl);if(i.searchParams.set("result",n),i.searchParams.set("document",this.document.id.toString()),i.searchParams.set("documentToken",this.document.token),this.document.signatures&&(i.searchParams.set("signaturesSigned",this.document.signatures.filter(function(e){return e.signed}).length.toString()),i.searchParams.set("signaturesTotal",this.document.signatures.length.toString())),this.params.settings.showPREasySignMode&&this.storage.lastOnSiteCredentials){i.searchParams.set("lastSignerFirstName",(r=this.storage.lastOnSiteCredentials).firstName),i.searchParams.set("lastSignerLastName",r.lastName),i.searchParams.set("lastSignerEmail",r.email)}window.location.assign(i.href),this.session.clear()}else if(this.params.settings.finalizeType==X.close)console.log("closeApp"),this.s.is.ios&&this.s.is.cordova?setTimeout(function(){t.s.URLData.documentLink=null,sessionStorage.removeItem("settings"),t.events.publish(v.a.LOG_OUT_DIRECT),"chrome"==t.s.URLData.browserName?window.open("googlechrome://","_system","location=yes"):window.open("https://app.signosoft.com/close.html","_self")},1e3):this.s.is.android&&this.s.is.cordova?setTimeout(function(){t.platform.exitApp()},1e3):window.close();else if(this.params.settings.finalizeType==X.message){var s={result:n,document:this.document.id,documentToken:this.document.token};if(this.document.signatures&&(s.signaturesSigned=this.document.signatures.filter(function(e){return e.signed}).length,s.signaturesTotal=this.document.signatures.length),this.params.settings.showPREasySignMode&&this.storage.lastOnSiteCredentials){var r;s.lastSignerFirstName=(r=this.storage.lastOnSiteCredentials).firstName,s.lastSignerLastName=r.lastName,s.lastSignerEmail=r.email,this.navCtrl.push(g.a.COMPLETED,{user:r},{animation:"ios-transition"})}this.crossWindow.post(window.parent,"finalize",s)}},t.prototype.allowAccess=function(e){var t=this;return!!this.user&&(!!(this.user.isBussinessMember&&e.document.ownerType>1)||(!(!e.document.owner||this.user.email!=e.document.owner)||e.document.signers.some(function(e){return e.email==t.user.email})))},t.prototype.initData=function(){var e=this;console.log("DocumentView: initData"),this.browsable&&!this.allowAccess(this.browsable)?(this.ui.closeAlerts(),this.ui.alertBool(this.t.instant("UNAUTHORIZED_ACCESS"),this.t.instant("PERMISSION"),this.t.instant("SWITCH_ACCOUNT"),this.t.instant("EXIT"),!1).subscribe(function(t){return e.events.publish(v.a.LOG_OUT,!0)},function(t){t&&t.button&&(e.s.clearURL(),e.navCtrl.pop())}).register(this.taskContext)):this.subs.queue&&!this.subs.queue.closed||(this.subs.queue=d.Observable.defer(this.getBrowsable).flatMap(function(t){return t.ready&&t.ready.getValue()?d.Observable.of(t):e.params.settings.showPREasySignMode&&e.crossWindow.isThisMatrix?(e.crossWindow.getRemoteVar(window.parent,"isParentCordova").then(function(t){e.state={isIframeInCordova:t},t&&window.document.body.classList.add("parent-cordova"),console.log("IsIframeInCordova",t)}),e.crossWindow.post(window.parent,"docRequested",{}),e.crossWindow.observe("docProvided").take(1).flatMap(function(n){return"pdf"===n.data.type?Object(E.b)(n.data.base64,t,e._renderType).toPromise():e.getPDF(t)})):e.getPDF(t)}).flatMap(function(t){return t.document.state===o.e.NEW||t.document.state===o.e.TEMPLATE?e.server.searchUser("").do(function(t){return e.storage.friends.next(t.users)}):d.Observable.of(void 0)}).catch(function(t){return console.error(t),t&&t!=g.b.AUTH_MISSING&&(e.directDocument?e.ui.alertFactory({title:e.t.instant(t),enableBackdropDismiss:!1}).toPromise():e.navCtrl.pop({animate:!0,animation:"ios-transition"}),e.events.publish(g.c.NEGATIVE,g.b.DOCUMENT_DOESNT_EXIST)),t}).subscribe(function(t){if(!e._inited&&(console.log("browsableloaded"),e.crossWindow.post(window.parent,"browsableLoaded",{result:"success"}),e.browsable)){e._inited=!0,e.setDocState(e.browsable.document);var n=e.browsable.getRequiredEmptyAnnots();e.state={requiredAnnots:n,annots:e.browsable.annots},e.enableSignatures(),e.validateAll();if(e.browsable&&e.allowAccess(e.browsable)&&e.storage.token&&e.s.URLData.user&&e.user&&e.s.URLData.user!=e.user.email){e.ui.closeAlerts();var i=e.t.instant("SWITCH_TO",{from:e.user.email,to:e.s.URLData.user});e.ui.alertBool(e.t.instant("ACCOUNT_SWITCH"),i,e.t.instant("YES"),e.t.instant("CANCEL"),!1).subscribe(function(t){return e.events.publish(v.a.LOG_OUT,!0)},function(t){t&&t.button&&e.s.clearURL()}).register(e.taskContext)}e.initDocumentPreview(),e.detector.destroyed||e.detector.detectChanges(),e.onDocumentReady(),"none"!==e.params.settings.showPRThumbnails&&e.pdfRenderServices.renderThumbnails(e.browsable.pages).then(function(t){e.state={thumbnailsImages:t}})}},function(t){console.error(t),console.log("browsableloaded error"),e.crossWindow.post(window.parent,"browsableLoaded",{result:"error"})}).register(this.taskContext))},t.prototype.onDocumentReady=function(){return Q(this,void 0,void 0,function(){var e,t=this;return J(this,function(n){switch(n.label){case 0:return this.params.settings.remoteQRSigningSession?!(e=this.signatures.getValue().find(function(e){return e.id==t.params.settings.remoteQRSigningSession}))||e.signed?[3,2]:(this.scrollTo(this.pages[e.page]),[4,this.sign(e).toPromiseHandleError()]):[3,3];case 1:return n.sent(),e=this.signatures.getValue().find(function(e){return e.id==t.params.settings.remoteQRSigningSession}),window.close(),this.navCtrl.setRoot(g.a.ERROR,{title:e.signed?"SIGNED":"ERROR",text:"SIGNATURE_SIGNED_QR_TEXT",type:"poss"}),[3,3];case 2:console.log('Skipping remoteSigningSession causedBy: #{sig && sig.signed ? "signed" : "missing"}'),n.label=3;case 3:return[2]}})})},t.prototype.getPDF=function(e){var t,n=this,i=new p.Subject,s=new p.Subject;t=/^contr-/.test(this.params.token)?this.server.downloadContract(this.params.token):this.server.downloadDocument(e.document);var o=(this.s.offlineMode?this.plugin.downloadDocument(e.document):t).do(function(e){return i.next(e)},function(e){e===g.b.NO_CONNECTION?i.next({done:!1,progress:0}):s.next(e)}).retryWhen(this.server.waitForOnline).filter(function(e){return e.done}).flatMap(function(e){return Object(E.b)(e.data,n.browsable,n._renderType)}).finally(function(){return Promise.resolve(function(){i.complete(),s.complete()})}),l={label:this.t.instant("PREPARING_DOCUMENT"),event$:i,error$:s};return i.next({done:!1,progress:0}),this.events.publish(r.a.PRESENT,l),o.do(function(){return n.events.publish(r.a.DISMISS)}).toPromise()},t.prototype.updateDocument=function(){var e=this;if("local-file"==this.params.token)return this.navCtrl.pop(),d.Observable.throw("Trying get document from local file token");return(/^templ-/.test(this.params.token)?this._getTemplateByToken(this.params.token):/^contr-/.test(this.params.token)?this._getContractByToken(this.params.token):this._getDocumentByToken(this.params.token)).do(function(t){e._browsable&&(e.setDocument(t),e.detector.destroyed||e.detector.detectChanges())},function(t){t==g.b.WRONG_USER?(e.ui.closeAlerts(),e.ui.alertBool(e.t.instant("UNAUTHORIZED_ACCESS"),e.t.instant("PERMISSION"),e.t.instant("SWITCH_ACCOUNT"),e.t.instant("EXIT"),!1).subscribe(function(t){return e.events.publish(v.a.LOG_OUT,!0)},function(t){t&&t.button&&(e.s.clearURL(),e.navCtrl.pop())}).register(e.taskContext)):t!=g.b.AUTH_MISSING&&e.navCtrl.pop()})},t.prototype.initMenu=function(){var e=this.active.signature.asObservable().mapTo(null),t=this.browsable.signatures.asObservable().mapTo(null),n=e.merge(t);this.subs.menu=n.subscribe(this.triggerEditMenuUpdate).register(this.taskContext)},t.prototype.editMenuHandler=function(e){var t=e.button,n=e.event,i=this.state.activeElement instanceof o.k?this.state.activeElement:null;if(this.ga.event("doc_view_"+t,Z.c.DOCUMENT_VIEW),t!==m.a.SEND_DOCUMENT&&t!==m.a.SEND_BY_EMAIL&&t!==m.a.CREATE_TEMPLATE&&t!==m.a.DOWNLOAD||!this.browsable.isLocal())switch(t){case m.a.CHANGE_METHOD:this.changeMethods(i).run();break;case m.a.DELETE_SIGNATURE:this.deleteSignatures(!0,i);break;case m.a.CHANGE_SIGNER:this.changeSignerOfExisting(i);break;case m.a.ORDER_SIGNATURES:this.orderSignatures();break;case m.a.ADD_FIELD:this.createSignature().catch(this.ui.alertError).run();break;case m.a.SEND_DOCUMENT:this.sendIfConfirmed();break;case m.a.SEND_BY_EMAIL:this.sendByEmail().run();break;case m.a.REPORT:this.downloadReport();break;case m.a.DOWNLOAD:this.download();break;case m.a.OPEN_IN:this.openIn();break;case m.a.FINALIZE:this.finalize();break;case m.a.SIGNATURES:this.signaturesList();break;case m.a.DOCUMENTS:this.documentsList();break;case m.a.DONE:this.s.offlineMode?this.plugin.closeDocument({event:"documentClosed"},"Close"):this.navCtrl.pop();break;case m.a.BACK:this.backCallback();break;case m.a.SCROLL_HORIZONTAL:case m.a.SCROLL_VERTICAL:this.changeScrollMode();break;case m.a.SAVE_TEMPLATE:this.saveTemplate();break;case m.a.CREATE_TEMPLATE:this.createTemplate();break;case m.a.SEARCH_SIGNATURE:this.searchSignature();break;case m.a.SEARCH_ANNOT:this.searchField();break;case m.a.ADD_ANNOT:this.addAnnot(n);break;case m.a.SAVE_DOCUMENT:this._updateDocument();break;case m.a.ANNOT_EDIT:case m.a.ANNOT_EDIT_FINISH:if(this.state.isAnnotEditEnabled)this.state={isAnnotEditEnabled:!1,activeElement:null};else if(this.browsable.hasSignedSignature)this.events.publish(g.c.NEGATIVE,"CANT_EDIT_SIGNED_DOC");else{this.active.page.getValue();var s=this.state.annots[this.active.page.getValue().index],r=s.length>0?s.first():null;this.state={isAnnotEditEnabled:!0,activeElement:r}}break;case m.a.CHANGE_REQUIRED:i.update({required:!i.required}),this.addOrReplaceSignatures(i),this.activateElement(i);break;case m.a.CHANGE_SIG_SIZE:this.changeSignatureSize(n);break;case m.a.DELETE_LAST_SIG:this.deleteLastSignature();break;case m.a.SEND_AND_DELETE:this.sendAndDelete()}else this.alertNotUploaded()},t.prototype.createSignatureShowError=function(){},t.prototype.sendAndDelete=function(){return Q(this,void 0,void 0,function(){var e,t,n,i;return J(this,function(s){switch(s.label){case 0:e=this.server.getSubs().toPromise(),console.log("sendAndDelete",this.bankIdSigners),s.label=1;case 1:return s.trys.push([1,3,,4]),[4,this.ui.alertBool(this.t.instant("EASY_SIGN_FINALIZE_TITLE"),this.t.instant("EASY_SIGN_FINALIZE_MESSAGE")).toPromise()];case 2:return s.sent(),this.ga.event(Z.b.DOC_VIEW_SEND_AND_DELETE_CONFIRM,Z.c.DOCUMENT_VIEW),[3,4];case 3:return s.sent(),this.ga.event(Z.b.DOC_VIEW_SEND_AND_DELETE_CANCEL,Z.c.DOCUMENT_VIEW),[2];case 4:return[4,e];case 5:s.sent(),t=this.billing.getTier(1,f.b.BANKID),s.label=6;case 6:return s.trys.push([6,8,,9]),[4,this.ui.modal(w.a,{selectedBankids:{numberOfBankid:t.amount,price:t.price1},easySignMode:this.state.easySignMode},{cssClass:"large-modal"}).toPromise()];case 7:return n=s.sent(),[3,9];case 8:throw i=s.sent(),this.ga.event(Z.b.DOC_VIEW_SIGNOSOFT_FREE_ADD_SIG_CANCEL,Z.c.DOCUMENT_VIEW,"payment_cancel"),i;case 9:return this.storage.paymentToken?(console.log(n),[4,this.server.sendAndDelete(this.document,this.bankIdSigners).toPromise()]):[2];case 10:return s.sent(),this.directDocLinkClose(),[2]}})})},t.prototype.deleteLastSignature=function(){return Q(this,void 0,void 0,function(){var e,t,n,i;return J(this,function(s){switch(s.label){case 0:return s.trys.push([0,2,,3]),[4,this.ui.alertBool(this.t.instant("DELETE_LAST_SIG_TITLE"),this.t.instant("DELETE_LAST_SIG_MESSAGE"),this.t.instant("YES"),this.t.instant("NO")).toPromise()];case 1:return s.sent(),this.ga.event(Z.b.DOC_VIEW_DELETE_LAST_SIG_CONFIRM,Z.c.DOCUMENT_VIEW),[3,3];case 2:return s.sent(),this.ga.event(Z.b.DOC_VIEW_DELETE_LAST_SIG_CANCEL,Z.c.DOCUMENT_VIEW),[2];case 3:(e=this.ui.loadingManual(this.t.instant("LOADING"))).present(),s.label=4;case 4:return s.trys.push([4,6,,8]),[4,this.server.deleteLastSignature(this.document.token).toPromise()];case 5:return t=s.sent(),n=this.signatures.getValue(),n=n.filter(function(e){return e.id!==t}),this.signatures.next(n),e.dismiss(),[3,8];case 6:return i=s.sent(),[4,e.dismiss()];case 7:return s.sent(),this.ui.alertError(i).run(),[3,8];case 8:return[2]}})})},t.prototype.changeSignatureSize=function(e){return Q(this,void 0,void 0,function(){var t,n;return J(this,function(i){switch(i.label){case 0:this.deleteUnsignedSignatures(),t=this.state.signosoftFreeSignatureSize,i.label=1;case 1:return i.trys.push([1,3,,4]),[4,this.ui.popover(F.a,e,{value:t,steps:V},{cssClass:"signature-resize-range-popover"}).toPromise()];case 2:return n=i.sent(),[3,4];case 3:return i.sent(),this.ga.event(Z.b.DOC_VIEW_CHANGE_SIG_SIZE_CANCEL,Z.c.DOCUMENT_VIEW),[2];case 4:return"number"==typeof n&&(this.ga.event(Z.b.DOC_VIEW_CHANGE_SIG_SIZE_CONFIRM,Z.c.DOCUMENT_VIEW,"",n),this.state={signosoftFreeSignatureSize:n},this.storage.signosoftFreeSignatureSize=n),[2]}})})},t.prototype.pageClick=function(e){this.state.easySignMode&&(this.ga.event(Z.b.DOC_VIEW_SIGNOSOFT_FREE_ADD_SIG,Z.c.DOCUMENT_VIEW),this.addFieldAndSign(e))},t.prototype.addFieldAndSign=function(e){return Q(this,void 0,void 0,function(){var t,n,i,s,r,l,a,u,c,h,d,p,g,f,m,b,v,y,E,w;return J(this,function(I){return t=this.pages[e.index].ratio,n=this.childPages.toArray(),null!==(i=n.find(function(t){return t.page.index===e.index}))&&i.page.rendered?(s=i.viewport,r=.5,l=16/this.pagerManager.getRealZoom(),a=300/this.pagerManager.getRealZoom(),u=.5,c=a/i.state.size.width,h=l/i.state.size.width/t,d=V[this.state.signosoftFreeSignatureSize].value,p=V[this.state.signosoftFreeSignatureSize].value*r/t,g={width:c,height:c*u/t},f=e.x,m=e.y,b={x:f-g.width/2,y:m},b.y=b.y>s.start.y/100+g.height+p/2+h?b.y-g.height-p/2-h:b.y+p/2+h,f-=d/2,m-=p/2,f=Math.min(f,s.end.x/100-d),m=Math.min(m,s.end.y/100-p),b.x=Math.min(b.x,s.end.x/100-g.width),f=Math.max(f,s.start.x/100),m=Math.max(m,s.start.y/100),b.x=Math.max(b.x,s.start.x/100),b.y=b.y>m?Math.max(b.y,m+p+h):Math.min(b.y,m-g.height-h),f*=100,m*=100,d*=100,p*=100,b.x*=100,b.y*=100,g.height*=100,g.width*=100,v=o.k.create(f,m,e.index,-1,!0),y=this.params.settings.easySignAuthType,v.update({x:f,y:m,width:d,height:p,authMethods:[{order:0,type:y}],inPerson:!0}),null!==this.clickToSignToast&&(this.clickToSignToast.dismiss(),this.clickToSignToast=null),this.state.showSignaturePrompt&&this.deleteSignatures(!1,this.signatures.value.last()),this.addOrReplaceSignatures(v),E=(f-b.x+d/2)/g.width*100,w=b.y>m,this.state={showSignaturePrompt:!0,signaturePromptPosition:$({page:e.index},b,g,{below:w,arrowOffset:E,scale:1/this.pagerManager.getRealZoom()})},console.log("sigPromptPos",this.state.signaturePromptPosition),[2]):(console.error("Page not rendered yet."),[2])})})},t.prototype.easySignOnClick=function(e){return Q(this,void 0,void 0,function(){var t;return J(this,function(n){return e||this.ga.event(Z.b.DOC_VIEW_SIGNOSOFT_FREE_ADD_SIG_CANCEL,Z.c.DOCUMENT_VIEW,"popover_cancel"),(t=this.params.settings.easySignAuthType)==x.d.BANK_ID?this.signosoftBankIdSign(e):t==x.d.BIOMETRIC&&this.signosoftFreeSign(e),[2]})})},t.prototype.signosoftBankIdSign=function(e){return Q(this,void 0,void 0,function(){var t,n,i,s,r,o,l,a,u,c,h;return J(this,function(d){switch(d.label){case 0:if(this.pagerManager.enableZoom(!0),this.state={showSignaturePrompt:!1},t=this.signatures.value.last(),!e)return this.deleteUnsignedSignatures(),[2];n=x.d.BANK_ID,this.state.isIframeInCordova?(console.log("cordova iframe bankid provider"),i=new q(this.crossWindow)):(console.log("normal tab bankid provider"),i=new z(this.s.crossTabChannel)),t.update({authMethods:[{order:0,type:n}]}),this.addOrReplaceSignatures(t),d.label=1;case 1:if(d.trys.push([1,13,,18]),this.state.isIframeInCordova||this.storage.paymentToken)return[3,6];s=this.billing.getTier(1,f.b.BANKID),r=void 0,d.label=2;case 2:return d.trys.push([2,4,,5]),[4,this.ui.modal(w.a,{selectedBankids:{numberOfBankid:s.amount,price:s.price1},easySignMode:this.state.easySignMode},{cssClass:"large-modal"}).toPromise()];case 3:return r=d.sent(),[3,5];case 4:throw o=d.sent(),this.ga.event(Z.b.DOC_VIEW_SIGNOSOFT_FREE_ADD_SIG_CANCEL,Z.c.DOCUMENT_VIEW,"payment_cancel"),o;case 5:if(!this.storage.paymentToken)return[2];console.log(r),d.label=6;case 6:return[4,this.saveDocument().toPromise()];case 7:return d.sent(),t=this.signatures.getValue().find(function(e){return!e.signed}),[4,this.byCertificateNew(t,!1,i)];case 8:if(d.sent())return[3,9];throw this.ga.event(Z.b.DOC_VIEW_SIGNOSOFT_FREE_ADD_SIG_CANCEL,Z.c.DOCUMENT_VIEW,"signing_cancel"),this.deleteUnsignedSignatures(),l=new Error,l.name="dismissed",l;case 9:return(t=this.signatures.getValue().find(function(e){return e.id===t.id}))||console.error("signature not found"),[4,this.ui.requestEmailPrompt(t.signerEmail).take(1).toPromise()];case 10:return a=d.sent(),u={firstName:t.signerName.first,lastName:t.signerName.last,email:a},this.storage.lastOnSiteCredentials=u,this.bankIdSigners.find(function(e){return e.email===u.email})||this.bankIdSigners.push(u),this.ga.event(Z.b.DOC_VIEW_SIGNOSOFT_FREE_ADD_SIG_FINISH,Z.c.DOCUMENT_VIEW),console.log("new last signature data",this.storage.lastOnSiteCredentials),this.crossWindow.isThisMatrix&&this.crossWindow.post(window.parent,"signatureAdded",null),[4,this.ui.alertOK(this.t.instant("EASY_SIGN_SIGNATURE_ADDED_TITLE"),this.t.instant("EASY_SIGN_SIGNATURE_ADDED_MESSAGE")).toPromise()];case 11:d.sent(),d.label=12;case 12:return[3,18];case 13:c=d.sent(),this.ga.event(Z.b.DOC_VIEW_SIGNOSOFT_FREE_ADD_SIG_CANCEL,Z.c.DOCUMENT_VIEW,"signing_cancel"),i.destroy(),this.deleteUnsignedSignatures(),d.label=14;case 14:return d.trys.push([14,16,,17]),[4,this.saveDocument().toPromise()];case 15:return d.sent(),[3,17];case 16:return h=d.sent(),this.deleteSignatures(!1,t),console.error(h),[3,17];case 17:return c!==g.b.SILENT_ERROR&&"dismissed"!==c.name&&c!==g.b.AUTH_MISSING&&this.ui.alertError(this.t.instant("SIGNING_ERROR")).run(),[3,18];case 18:return[2]}})})},t.prototype.signosoftFreeSign=function(e){return Q(this,void 0,void 0,function(){var t,n,i,s,r,o;return J(this,function(l){switch(l.label){case 0:return this.state={showSignaturePrompt:!1},t=this.signatures.value.last(),e?[4,this.ui.modal(P.a,{previousData:this.storage.lastOnSiteCredentials},{cssClass:"selectSignerModal"}).toPromise()]:(this.deleteUnsignedSignatures(),[2]);case 1:if(!(n=l.sent()))return[3,14];this.ga.event(Z.b.DOC_VIEW_SIGNOSOFT_FREE_SET_SIGNER_CONFIRM,Z.c.DOCUMENT_VIEW),this.storage.lastOnSiteCredentials=n,i=x.d.BIOMETRIC,t=t.update({signerEmail:n.email,signerName:{first:n.firstName,last:n.lastName},signer:n.email}),this.addOrReplaceSignatures(t),l.label=2;case 2:return l.trys.push([2,8,,13]),[4,this.saveDocument().toPromise()];case 3:return l.sent(),(t=this.signatures.getValue().find(function(e){return!e.signed})).update({authMethods:[{order:0,type:i}]}),[4,this.byCertificateNew(t)];case 4:if(l.sent())return[3,5];throw this.ga.event(Z.b.DOC_VIEW_SIGNOSOFT_FREE_ADD_SIG_CANCEL,Z.c.DOCUMENT_VIEW,"signing_cancel"),this.deleteUnsignedSignatures(),s=new Error,s.name="dismissed",s;case 5:return this.crossWindow.isThisMatrix&&this.crossWindow.post(window.parent,"signatureAdded",null),this.ga.event(Z.b.DOC_VIEW_SIGNOSOFT_FREE_ADD_SIG_FINISH,Z.c.DOCUMENT_VIEW),[4,this.ui.alertOK(this.t.instant("EASY_SIGN_SIGNATURE_ADDED_TITLE"),this.t.instant("EASY_SIGN_SIGNATURE_ADDED_MESSAGE")).toPromise()];case 6:l.sent(),l.label=7;case 7:return[3,13];case 8:r=l.sent(),this.ga.event(Z.b.DOC_VIEW_SIGNOSOFT_FREE_ADD_SIG_CANCEL,Z.c.DOCUMENT_VIEW,"signing_cancel"),this.deleteUnsignedSignatures(),l.label=9;case 9:return l.trys.push([9,11,,12]),[4,this.saveDocument().toPromise()];case 10:return l.sent(),[3,12];case 11:return o=l.sent(),this.deleteSignatures(!1,t),console.error(o),[3,12];case 12:return r!==g.b.SILENT_ERROR&&"dismissed"!==r.name&&r!==g.b.AUTH_MISSING&&this.ui.alertError(this.t.instant("SIGNING_ERROR")).run(),[3,13];case 13:return[3,15];case 14:this.ga.event(Z.b.DOC_VIEW_SIGNOSOFT_FREE_ADD_SIG_CANCEL,Z.c.DOCUMENT_VIEW,"select_signer_cancel"),this.deleteUnsignedSignatures(),l.label=15;case 15:return[2]}})})},t.prototype.deleteUnsignedSignatures=function(){var e=this.signatures.getValue().filter(function(e){return!e.signed});this.deleteSignatures.apply(this,[!1].concat(e)),this.state={showSignaturePrompt:!1}},t.prototype._updateDocument=function(){return Q(this,void 0,void 0,function(){var e,t;return J(this,function(n){switch(n.label){case 0:return[4,this.ui.alertBool(this.t.instant("SAVE_CHANGES"),this.t.instant("SAVE_CHANGES_DES")).map(function(e){return!0}).toPromise().catch(function(e){return!1})];case 1:if(!n.sent())return this.ga.event(Z.b.DOC_VIEW_SAVE_DOC_CANCEL,Z.c.DOCUMENT_VIEW),[2,!1];this.ga.event(Z.b.DOC_VIEW_SAVE_DOC_CONFIRM,Z.c.DOCUMENT_VIEW),e=g.d.saveDocument(),this.events.publish(g.c.ADD,e),n.label=2;case 2:return n.trys.push([2,4,,5]),[4,this.saveDocument().map(function(e){return!0}).toPromise()];case 3:return n.sent(),this.changedAnnots=[],this.events.publish(g.c.REMOVE,e),this.events.publish(g.c.SUCCESS,e),[2,!0];case 4:return t=n.sent(),console.error(t),this.events.publish(g.c.REMOVE,e),this.events.publish(g.c.ERROR,e),[2,!1];case 5:return[2]}})})},t.prototype.addAnnot=function(e){var t=this,n=[{code:m.a.ADD_ANNOT_TEXT_FIELD,label:"TEXT_FIELD",class:"add",iconName:"text-box"},{code:m.a.ADD_ANNOT_CHECK_BOX,label:"CHECK_BOX",class:"add",iconName:"validation-check-square"}],i=(e.currentTarget?e.currentTarget:e.target).getBoundingClientRect(),s={top:i.top,left:i.left,width:-205,height:0};this.ui.popover(A.a,{target:{getBoundingClientRect:function(){return s}}},{buttons:n,disabled:[]},{cssClass:"popover-menu",enableBackdropDismiss:!1,manualClick:!0}).subscribe(function(e){var n,i,s,r,l=t.getCurrentPageView(),a=l.page,u=t.state.annots;switch(e){case m.a.ADD_ANNOT_CHECK_BOX:n=o.a.CHECK_BOX,i=22,s=22,r=!1;break;default:n=o.a.TEXT_FIELD,i=150,s=22,r=""}var c=s*(100/l.page.defaultPageViewport.height),h=i*(100/l.page.defaultPageViewport.width),d=t.generateAcroformPosition({width:h,height:c}),p={name:"text3",value:r,x:d.x,y:d.y,width:h,height:c,type:n,alignment:null,multiLine:!1,maxLen:null,visible:!0,required:!1,readonly:!1,fontName:"Helvetica",fontSize:"12",textComb:!1,format:{type:""},page:a.index,mappingName:"",documentInContract:null,backgroundColor:null};if(t.document.isContract){var g=t.documentForRequest(a.index);p.documentInContract=g.id}var f="";switch(n){case o.a.CHECK_BOX:f="CheckBox";break;case o.a.IMAGE:f="ImageButton";break;case o.a.RADIO_BUTTON:f="RadioButton";break;case o.a.SELECT:f="Dropdown";break;case o.a.BUTTON:f="Button";break;default:f="Text"}var b=u.reduce(function(e,t){return e.concat(t.filter(function(e){return-1!=e.name.indexOf(""+f)}))},[]),v=b.length,y="";do{y=f+ ++v}while(b.find(function(e){return e.name==y}));p.name=y;var E=new o.b(p);u[a.index].push(E),u=u.map(function(e,t){return e.slice()}),t.state={annots:u},t.changeAnnot(E),t.activateElement(E)},function(){})},t.prototype.templateFromDocument=function(){var e=this;return this.activeRequest=!0,this.server.templateFromDocument(this.document,this.changedAnnots).map(function(t){e.resetChangedAnnots(),e.setDocument(t),e.browsable.signatures.asObservable().filter(function(e){return 0==e.length}).take(1).subscribe(function(){e.activateElement(null),e.browsable.signatures.next([]),(n=e.browsable).addOrReplaceSignatures.apply(n,t.signatures);var n}),e.detector.detectChanges()})},t.prototype.searchField=function(){var e;if(this.state.requiredAnnots.length>0){var t=this.enabled.getValue();e=this.state.requiredAnnots.sort(function(e,t){return e.page-t.page}).filter(function(e){return Object(k.h)(e,t)})[0]}e&&(this.scrollTo(this.pages[e.page],e),this.events.publish(g.c.POSITIVE,"FILL_REQUIRED_FIELD"))},t.prototype.searchSignature=function(e){return void 0===e&&(e=!1),Q(this,void 0,void 0,function(){var t,n,i,s,r;return J(this,function(o){switch(o.label){case 0:t=this.signatures.getValue().sort(function(e,t){return e.order-t.order||e.required===t.required?0:e.required?-1:1}),n=this.user,i=0,s=t,o.label=1;case 1:return i0:t.length>0,h={enable:!0,reason:""};l.activeRequest||a.signed?h={enable:!1,reason:""}:l.documentState==o.e.NEW||l.documentState==o.e.TEMPLATE?h={enable:!0,reason:""}:c?h={enable:!1,reason:"MISSING_FILED_VALUE"}:0==n[a.id]&&(h={enable:!1,reason:"VALUES_OF_FILED_NON_VALID"}),s[r]=h},l=this;for(var a in i)r(a);this.state={enabledSignatures:s}},t.prototype.firstVisibleChange=function(e,t){var n=this;if(void 0===t&&(t=!0),!(e>=this.pages.length)&&this.childPages){var i=this.renderedPages,s=this.childPages.map(function(e){return e.page});i.forEach(function(e){s.indexOf(e)<0&&n._unrenderTasks.push(e)}),this.renderedPages=s,this.active.page.next(this.pages[e]),t?this.renderDebounce.next():(this._scrollingFuriously=!1,this.renderAnotherPage())}},t.prototype.cancelRendering=function(){this.renderedPage&&this.renderedPage.cancelRendering()},t.prototype.renderZoomed=function(e){var t=this;this.zone.runOutsideAngular(function(){var n=t.active.page.getValue(),i=t.getCurrentPageView();if(e>i.zoom){var s=!1,r=!1;t.cancelRendering();try{i.renderZoomed(t.pagerManager.pageZoom(n.index))}catch(n){return setTimeout(function(){return t.renderZoomed(e)},50)}t.renderedPage=n,n.renderTask&&(n.renderTask.then(function(){return s=!0},function(){return r=!0}),setTimeout(function(){s||r||(n.cancelRendering(),t.renderedPage=null)},1e3))}})},t.prototype.renderAnotherPage=function(){var e=this;if(!this._scrollingFuriously&&this._present){this._unrenderTasks.forEach(function(e){return e.unrender()}),this._unrenderTasks=[];var t=this.active.page.getValue();if(t){var n=this.browsable.getTopPriority(t.index);if(null!=n&&n!=this.renderedPage){var i=this.childPages.find(function(e){return e.page==n});if(null!=i){this.cancelRendering();try{i.render(),this.renderedPage=n,n.renderTask.then(function(){return e.renderAnotherPage()},function(){return e.renderDebounce.next()})}catch(t){setTimeout(function(){e.pagerManager.onResize(),e.renderAnotherPage()},50)}}else this.childPages.changes.take(1).subscribe(function(){return e.renderDebounce.next()})}}}},t.prototype.onMenuCollapse=function(){var e=this;requestAnimationFrame(function(){e.outerContent.resize(),requestAnimationFrame(function(){e.pagerManager&&e.pagerManager.onResize()})})},t.prototype.scrollTo=function(e,t){var n=this;if(void 0===t&&(t=null),this.childPages&&0!=this.childPages.length&&e&&!this.actionsInProgress.getValue()){if(t){var i=t.y/100*this.pagerManager.realItemDimensions(e.index).height-100;this.pagerManager.scrollToIndex(e.index,i)}else this.pagerManager.scrollToIndex(e.index);setTimeout(function(){return n.firstVisibleChange(e.index)},100)}},t.prototype.getPageSize=function(e){void 0===e&&(e=0);var t=this.screenSize,n=t.width,i=t.height;return this.s.is.cordova&&this.screenOrientation.type===this.screenOrientation.ORIENTATIONS.LANDSCAPE&&(s=[i,n],n=s[0],i=s[1]),i-=e,{width:n,height:i,keyboardOpen:e>0,keyboardHeight:e};var s},t.prototype.doingSomething=function(e){this.actionsInProgress.next(!!e)},t.prototype.initSignPad=function(){console.log("Initiating Signosoft Driver interface");var e=this.appConfig.getConfig("localDriver");this.signoSoftDriverInterface=new I.a((!0===e?"ws://localhost":"wss://localhost.signosoft.com")+":8111/SignoSoftDriver/echo","wss://api.signosoft.com/SignoSoftWebSocketServer/echo","http://localhost:8111/SignoSoftDriver/init.gif?auth=",this.s.is.edge,null,this.s.offlineMode,null),this.s.offlineMode&&this.plugin.processMetadata(this.signoSoftDriverInterface,this)},t.prototype.initDocumentPreview=function(){this.browsable&&this.browsable.source&&(this.signoSoftDriverInterface.document=this.browsable.source)},t.prototype.setDocument=function(e){this.browsable.document=e,this.setDocState(e)},t.prototype.setDocState=function(e){this.state={documentState:e.state,document:e},this.help.helpProgress.emit(null)},t.prototype.ocr=function(e){var t=this;this.State.filter(function(e){return e.annots&&e.annots.length>0}).take(1).map(function(e){return e.annots.reduce(function(e,t){return e.concat(t)},[])}).do(function(e){return console.log(e)}).map(function(e){return e.filter(function(e){return e.mappingName})}).subscribe(function(n){console.log(n);var i=["email","phone","cardFront","cardBack"],s=n.map(function(e){return{name:e.mappingName,type:"checkBox"===e.type?"checkbox":"string",required:e.required,value:e.value}}).filter(function(e){return!i.contains(e.name)&&!e.name.startsWith("externalBarcode")}),r=n.map(function(e){return e.mappingName}).filter(function(e){return e.startsWith("externalBarcode")}),o=Y.a.uniqBy(s,"name"),l=o.filter(function(e){return!e.name.startsWith("1_")}),a=[];if(l.length0&&(s=e.update({value:t.sideImages[0]})),"cardBack"===e.mappingName&&2===t.sideImages.length&&(s=e.update({value:t.sideImages[1]})),"email"===e.mappingName&&n&&(s=e.update({value:n.email})),"phone"===e.mappingName&&n&&(s=e.update({value:n.phone})),s)i.changeAnnot(s,!1);else{var r=t.imageFields.find(function(t){return t.name===e.mappingName})||t.textFields.find(function(t){return t.name===e.mappingName});if(r){var o=void 0;o="date"===r.type?new Date(r.value).toLocaleDateString():"image"===r.type||"barcode"===r.type?r.binary||r.rgb:r.value,s=e.update({value:o}),i.changeAnnot(s,!1)}}}),this.validateAll()},t.prototype.activateElement=function(e){var t=this.state.activeElement;(null==t||null==e||null!=t&&t!=e)&&(this.state={activeElement:e})},t.prototype.generateAcroformPosition=function(e){var t=this.getCurrentPageView(),n=t.page,i=3e3;do{var s=n.generateRandomPosition(t.viewport),r={x:s.x,y:s.y,width:e.width,height:e.height,id:"",page:n.index};if(!this.isAcroformOverlapping(r))return r}while(--i);throw g.b.SIGNATURE_NOT_ADDED},t.prototype.isAcroformOverlapping=function(e){var t=this.browsable.signatures.getValue(),n=this.state.annots,i=t?t.map(function(e){return{x:e.x,y:e.y,width:e.width,height:e.height,page:e.page,id:e.id.toString()}}):[],s=n&&n[e.page]?n[e.page].map(function(e){return{x:e.x,y:e.y,width:e.width,height:e.height,page:e.page,id:e.id}}):[],r=function(e,t,n,i){return e[n]>=t[n]&&t[n]+t[i]>=e[n]};return i.concat(s).some(function(t){if(t.id===e.id)return!1;if(e.page!=t.page)return!1;var n=r(t,e,"x","width"),i=r(e,t,"x","width"),s=r(t,e,"y","height");return(r(e,t,"y","height")||s)&&(i||n)})},t.prototype.getDocumentIcon=function(e,t,n){return t?"editDocument":e==o.e.TEMPLATE?"template":n&&n.isContract?"contract":"document"},t.prototype.onFirstPageRendered=function(){if(this.params.settings.showPREasySignMode&&!this.params.settings.remoteQRSigningSession){var e="SIGNOSOFT_FREE_TAP_TO_SIGN";this.s.is.touchscreen||(e="SIGNOSOFT_FREE_CLICK_TO_SIGN"),this.clickToSignToast=this.toastCtrl.create({message:this.t.instant(e),duration:Math.pow(10,10),dismissOnPageChange:!0,cssClass:"white-informative-toast",position:"top",showCloseButton:!0,closeButtonText:" "}),this.clickToSignToast.present()}},t.prototype.processWidgetScriptCallback=function(e){for(var t=0,n=this.state.annots.reduce(function(e,t){return e.concat(t)},[]).filter(function(t){return e[t.name]});to||null!=this.options.fileSize&&this.options.fileSize+e.size>o)return i.Observable.throw(s.b.FILE_TOO_LARGE)}return i.Observable.of(void 0)},e}())}},[739]);