index
int64
0
0
repo_id
stringclasses
87 values
file_path
stringlengths
41
143
content
stringlengths
6
1.82M
0
/content/gmx-projects/gmx-admin/admin/resources/plugins/datatables/FixedColumns-3.3.1
/content/gmx-projects/gmx-admin/admin/resources/plugins/datatables/FixedColumns-3.3.1/js/fixedColumns.jqueryui.min.js
/*! jQuery UI styling wrapper for FixedColumns ©2018 SpryMedia Ltd - datatables.net/license */ (function(c){"function"===typeof define&&define.amd?define(["jquery","datatables.net-jqui","datatables.net-fixedcolumns"],function(a){return c(a,window,document)}):"object"===typeof exports?module.exports=function(a,b){a||(a=window);b&&b.fn.dataTable||(b=require("datatables.net-jqui")(a,b).$);b.fn.dataTable.FixedColumns||require("datatables.net-fixedcolumns")(a,b);return c(b,a,a.document)}:c(jQuery,window,document)})(function(c,a,b,d){return c.fn.dataTable});
0
/content/gmx-projects/gmx-admin/admin/resources/plugins/datatables/FixedColumns-3.3.1
/content/gmx-projects/gmx-admin/admin/resources/plugins/datatables/FixedColumns-3.3.1/js/fixedColumns.bootstrap4.min.js
/*! Bootstrap 4 styling wrapper for FixedColumns ©2018 SpryMedia Ltd - datatables.net/license */ (function(c){"function"===typeof define&&define.amd?define(["jquery","datatables.net-bs4","datatables.net-fixedcolumns"],function(a){return c(a,window,document)}):"object"===typeof exports?module.exports=function(a,b){a||(a=window);b&&b.fn.dataTable||(b=require("datatables.net-bs4")(a,b).$);b.fn.dataTable.FixedColumns||require("datatables.net-fixedcolumns")(a,b);return c(b,a,a.document)}:c(jQuery,window,document)})(function(c,a,b,d){return c.fn.dataTable});
0
/content/gmx-projects/gmx-admin/admin/resources/plugins/datatables/FixedColumns-3.3.1
/content/gmx-projects/gmx-admin/admin/resources/plugins/datatables/FixedColumns-3.3.1/js/fixedColumns.foundation.min.js
/*! Foundation styling wrapper for FixedColumns ©2018 SpryMedia Ltd - datatables.net/license */ (function(c){"function"===typeof define&&define.amd?define(["jquery","datatables.net-zf","datatables.net-fixedcolumns"],function(a){return c(a,window,document)}):"object"===typeof exports?module.exports=function(a,b){a||(a=window);b&&b.fn.dataTable||(b=require("datatables.net-zf")(a,b).$);b.fn.dataTable.FixedColumns||require("datatables.net-fixedcolumns")(a,b);return c(b,a,a.document)}:c(jQuery,window,document)})(function(c,a,b,d){return c.fn.dataTable});
0
/content/gmx-projects/gmx-admin/admin/resources/plugins/datatables/FixedColumns-3.3.1
/content/gmx-projects/gmx-admin/admin/resources/plugins/datatables/FixedColumns-3.3.1/css/fixedColumns.jqueryui.css
div.DTFC_LeftWrapper table.dataTable, div.DTFC_RightWrapper table.dataTable { z-index: 2; } div.DTFC_LeftWrapper table.dataTable.no-footer, div.DTFC_RightWrapper table.dataTable.no-footer { border-bottom: none; } div.DTFC_Blocker { background-color: white; }
0
/content/gmx-projects/gmx-admin/admin/resources/plugins/datatables/FixedColumns-3.3.1
/content/gmx-projects/gmx-admin/admin/resources/plugins/datatables/FixedColumns-3.3.1/css/fixedColumns.bootstrap.css
table.DTFC_Cloned tr { background-color: white; margin-bottom: 0; } div.DTFC_LeftHeadWrapper table, div.DTFC_RightHeadWrapper table { border-bottom: none !important; margin-bottom: 0 !important; background-color: white; } div.DTFC_LeftBodyWrapper table, div.DTFC_RightBodyWrapper table { border-top: none; margin: 0 !important; z-index: 2; } div.DTFC_LeftBodyWrapper table thead .sorting:before, div.DTFC_LeftBodyWrapper table thead .sorting:after, div.DTFC_LeftBodyWrapper table thead .sorting_asc:before, div.DTFC_LeftBodyWrapper table thead .sorting_asc:after, div.DTFC_LeftBodyWrapper table thead .sorting_desc:before, div.DTFC_LeftBodyWrapper table thead .sorting_desc:after, div.DTFC_LeftBodyWrapper table thead .sorting:before, div.DTFC_LeftBodyWrapper table thead .sorting:after, div.DTFC_LeftBodyWrapper table thead .sorting_asc:before, div.DTFC_LeftBodyWrapper table thead .sorting_asc:after, div.DTFC_LeftBodyWrapper table thead .sorting_desc:before, div.DTFC_LeftBodyWrapper table thead .sorting_desc:after, div.DTFC_RightBodyWrapper table thead .sorting:before, div.DTFC_RightBodyWrapper table thead .sorting:after, div.DTFC_RightBodyWrapper table thead .sorting_asc:before, div.DTFC_RightBodyWrapper table thead .sorting_asc:after, div.DTFC_RightBodyWrapper table thead .sorting_desc:before, div.DTFC_RightBodyWrapper table thead .sorting_desc:after, div.DTFC_RightBodyWrapper table thead .sorting:before, div.DTFC_RightBodyWrapper table thead .sorting:after, div.DTFC_RightBodyWrapper table thead .sorting_asc:before, div.DTFC_RightBodyWrapper table thead .sorting_asc:after, div.DTFC_RightBodyWrapper table thead .sorting_desc:before, div.DTFC_RightBodyWrapper table thead .sorting_desc:after { display: none; } div.DTFC_LeftBodyWrapper table tbody tr:first-child th, div.DTFC_LeftBodyWrapper table tbody tr:first-child td, div.DTFC_RightBodyWrapper table tbody tr:first-child th, div.DTFC_RightBodyWrapper table tbody tr:first-child td { border-top: none; } div.DTFC_LeftFootWrapper table, div.DTFC_RightFootWrapper table { border-top: none; margin-top: 0 !important; background-color: white; } div.DTFC_Blocker { background-color: white; }
0
/content/gmx-projects/gmx-admin/admin/resources/plugins/datatables/FixedColumns-3.3.1
/content/gmx-projects/gmx-admin/admin/resources/plugins/datatables/FixedColumns-3.3.1/css/fixedColumns.foundation.css
div.DTFC_LeftHeadWrapper table, div.DTFC_LeftBodyWrapper table, div.DTFC_LeftFootWrapper table { border-right-width: 0; } div.DTFC_RightHeadWrapper table, div.DTFC_RightBodyWrapper table, div.DTFC_RightFootWrapper table { border-left-width: 0; } div.DTFC_LeftHeadWrapper table, div.DTFC_RightHeadWrapper table { margin-bottom: 0 !important; } div.DTFC_LeftBodyWrapper table, div.DTFC_RightBodyWrapper table { border-top: none; margin: 0 !important; } div.DTFC_LeftFootWrapper table, div.DTFC_RightFootWrapper table { margin-top: 0 !important; z-index: 2; } div.DTFC_Blocker { background-color: white; }
0
/content/gmx-projects/gmx-admin/admin/resources/plugins/datatables/FixedColumns-3.3.1
/content/gmx-projects/gmx-admin/admin/resources/plugins/datatables/FixedColumns-3.3.1/css/fixedColumns.dataTables.css
table.DTFC_Cloned thead, table.DTFC_Cloned tfoot { background-color: white; } div.DTFC_Blocker { background-color: white; } div.DTFC_LeftWrapper table.dataTable, div.DTFC_RightWrapper table.dataTable { margin-bottom: 0; z-index: 2; } div.DTFC_LeftWrapper table.dataTable.no-footer, div.DTFC_RightWrapper table.dataTable.no-footer { border-bottom: none; } table.dataTable.display tbody tr.DTFC_NoData { background-color: transparent; }
0
/content/gmx-projects/gmx-admin/admin/resources/plugins/datatables/FixedColumns-3.3.1
/content/gmx-projects/gmx-admin/admin/resources/plugins/datatables/FixedColumns-3.3.1/css/fixedColumns.jqueryui.min.css
div.DTFC_LeftWrapper table.dataTable,div.DTFC_RightWrapper table.dataTable{z-index:2}div.DTFC_LeftWrapper table.dataTable.no-footer,div.DTFC_RightWrapper table.dataTable.no-footer{border-bottom:none}div.DTFC_Blocker{background-color:white}
0
/content/gmx-projects/gmx-admin/admin/resources/plugins/datatables/FixedColumns-3.3.1
/content/gmx-projects/gmx-admin/admin/resources/plugins/datatables/FixedColumns-3.3.1/css/fixedColumns.semanticui.min.css
div.DTFC_LeftWrapper table.ui.table.dataTable{border-right:none}div.DTFC_RightWrapper table.ui.table.dataTable{border-left:none}div.DTFC_Blocker{background-color:white}div.DTFC_LeftWrapper table.dataTable,div.DTFC_RightWrapper table.dataTable{z-index:2}div.DTFC_LeftHeadWrapper table.ui.table.dataTable,div.DTFC_RightHeadWrapper table.ui.table.dataTable{border-bottom:none}div.DTFC_LeftBodyWrapper table.ui.table.dataTable,div.DTFC_RightBodyWrapper table.ui.table.dataTable{border-top:none}div.DTFC_LeftBodyWrapper table.ui.table.dataTable thead .sorting:after,div.DTFC_LeftBodyWrapper table.ui.table.dataTable thead .sorting_asc:after,div.DTFC_LeftBodyWrapper table.ui.table.dataTable thead .sorting_desc:after,div.DTFC_LeftBodyWrapper table.ui.table.dataTable thead .sorting:after,div.DTFC_LeftBodyWrapper table.ui.table.dataTable thead .sorting_asc:after,div.DTFC_LeftBodyWrapper table.ui.table.dataTable thead .sorting_desc:after,div.DTFC_RightBodyWrapper table.ui.table.dataTable thead .sorting:after,div.DTFC_RightBodyWrapper table.ui.table.dataTable thead .sorting_asc:after,div.DTFC_RightBodyWrapper table.ui.table.dataTable thead .sorting_desc:after,div.DTFC_RightBodyWrapper table.ui.table.dataTable thead .sorting:after,div.DTFC_RightBodyWrapper table.ui.table.dataTable thead .sorting_asc:after,div.DTFC_RightBodyWrapper table.ui.table.dataTable thead .sorting_desc:after{display:none}
0
/content/gmx-projects/gmx-admin/admin/resources/plugins/datatables/FixedColumns-3.3.1
/content/gmx-projects/gmx-admin/admin/resources/plugins/datatables/FixedColumns-3.3.1/css/fixedColumns.semanticui.css
div.DTFC_LeftWrapper table.ui.table.dataTable { border-right: none; } div.DTFC_RightWrapper table.ui.table.dataTable { border-left: none; } div.DTFC_Blocker { background-color: white; } div.DTFC_LeftWrapper table.dataTable, div.DTFC_RightWrapper table.dataTable { z-index: 2; } div.DTFC_LeftHeadWrapper table.ui.table.dataTable, div.DTFC_RightHeadWrapper table.ui.table.dataTable { border-bottom: none; } div.DTFC_LeftBodyWrapper table.ui.table.dataTable, div.DTFC_RightBodyWrapper table.ui.table.dataTable { border-top: none; } div.DTFC_LeftBodyWrapper table.ui.table.dataTable thead .sorting:after, div.DTFC_LeftBodyWrapper table.ui.table.dataTable thead .sorting_asc:after, div.DTFC_LeftBodyWrapper table.ui.table.dataTable thead .sorting_desc:after, div.DTFC_LeftBodyWrapper table.ui.table.dataTable thead .sorting:after, div.DTFC_LeftBodyWrapper table.ui.table.dataTable thead .sorting_asc:after, div.DTFC_LeftBodyWrapper table.ui.table.dataTable thead .sorting_desc:after, div.DTFC_RightBodyWrapper table.ui.table.dataTable thead .sorting:after, div.DTFC_RightBodyWrapper table.ui.table.dataTable thead .sorting_asc:after, div.DTFC_RightBodyWrapper table.ui.table.dataTable thead .sorting_desc:after, div.DTFC_RightBodyWrapper table.ui.table.dataTable thead .sorting:after, div.DTFC_RightBodyWrapper table.ui.table.dataTable thead .sorting_asc:after, div.DTFC_RightBodyWrapper table.ui.table.dataTable thead .sorting_desc:after { display: none; }
0
/content/gmx-projects/gmx-admin/admin/resources/plugins/datatables/FixedColumns-3.3.1
/content/gmx-projects/gmx-admin/admin/resources/plugins/datatables/FixedColumns-3.3.1/css/fixedColumns.dataTables.min.css
table.DTFC_Cloned thead,table.DTFC_Cloned tfoot{background-color:white}div.DTFC_Blocker{background-color:white}div.DTFC_LeftWrapper table.dataTable,div.DTFC_RightWrapper table.dataTable{margin-bottom:0;z-index:2}div.DTFC_LeftWrapper table.dataTable.no-footer,div.DTFC_RightWrapper table.dataTable.no-footer{border-bottom:none}table.dataTable.display tbody tr.DTFC_NoData{background-color:transparent}
0
/content/gmx-projects/gmx-admin/admin/resources/plugins/datatables/FixedColumns-3.3.1
/content/gmx-projects/gmx-admin/admin/resources/plugins/datatables/FixedColumns-3.3.1/css/fixedColumns.bootstrap4.min.css
table.DTFC_Cloned tr{background-color:white;margin-bottom:0}div.DTFC_LeftHeadWrapper table,div.DTFC_RightHeadWrapper table{border-bottom:none !important;margin-bottom:0 !important;background-color:white}div.DTFC_LeftBodyWrapper table,div.DTFC_RightBodyWrapper table{border-top:none;margin:0 !important;z-index:2}div.DTFC_LeftBodyWrapper table thead .sorting:before,div.DTFC_LeftBodyWrapper table thead .sorting:after,div.DTFC_LeftBodyWrapper table thead .sorting_asc:before,div.DTFC_LeftBodyWrapper table thead .sorting_asc:after,div.DTFC_LeftBodyWrapper table thead .sorting_desc:before,div.DTFC_LeftBodyWrapper table thead .sorting_desc:after,div.DTFC_LeftBodyWrapper table thead .sorting:before,div.DTFC_LeftBodyWrapper table thead .sorting:after,div.DTFC_LeftBodyWrapper table thead .sorting_asc:before,div.DTFC_LeftBodyWrapper table thead .sorting_asc:after,div.DTFC_LeftBodyWrapper table thead .sorting_desc:before,div.DTFC_LeftBodyWrapper table thead .sorting_desc:after,div.DTFC_RightBodyWrapper table thead .sorting:before,div.DTFC_RightBodyWrapper table thead .sorting:after,div.DTFC_RightBodyWrapper table thead .sorting_asc:before,div.DTFC_RightBodyWrapper table thead .sorting_asc:after,div.DTFC_RightBodyWrapper table thead .sorting_desc:before,div.DTFC_RightBodyWrapper table thead .sorting_desc:after,div.DTFC_RightBodyWrapper table thead .sorting:before,div.DTFC_RightBodyWrapper table thead .sorting:after,div.DTFC_RightBodyWrapper table thead .sorting_asc:before,div.DTFC_RightBodyWrapper table thead .sorting_asc:after,div.DTFC_RightBodyWrapper table thead .sorting_desc:before,div.DTFC_RightBodyWrapper table thead .sorting_desc:after{display:none}div.DTFC_LeftBodyWrapper table tbody tr:first-child th,div.DTFC_LeftBodyWrapper table tbody tr:first-child td,div.DTFC_RightBodyWrapper table tbody tr:first-child th,div.DTFC_RightBodyWrapper table tbody tr:first-child td{border-top:none}div.DTFC_LeftFootWrapper table,div.DTFC_RightFootWrapper table{border-top:none;margin-top:0 !important;background-color:white}div.DTFC_Blocker{background-color:white}table.dataTable.table-striped.DTFC_Cloned tbody{background-color:white}
0
/content/gmx-projects/gmx-admin/admin/resources/plugins/datatables/FixedColumns-3.3.1
/content/gmx-projects/gmx-admin/admin/resources/plugins/datatables/FixedColumns-3.3.1/css/fixedColumns.foundation.min.css
div.DTFC_LeftHeadWrapper table,div.DTFC_LeftBodyWrapper table,div.DTFC_LeftFootWrapper table{border-right-width:0}div.DTFC_RightHeadWrapper table,div.DTFC_RightBodyWrapper table,div.DTFC_RightFootWrapper table{border-left-width:0}div.DTFC_LeftHeadWrapper table,div.DTFC_RightHeadWrapper table{margin-bottom:0 !important}div.DTFC_LeftBodyWrapper table,div.DTFC_RightBodyWrapper table{border-top:none;margin:0 !important}div.DTFC_LeftFootWrapper table,div.DTFC_RightFootWrapper table{margin-top:0 !important;z-index:2}div.DTFC_Blocker{background-color:white}
0
/content/gmx-projects/gmx-admin/admin/resources/plugins/datatables/FixedColumns-3.3.1
/content/gmx-projects/gmx-admin/admin/resources/plugins/datatables/FixedColumns-3.3.1/css/fixedColumns.bootstrap.min.css
table.DTFC_Cloned tr{background-color:white;margin-bottom:0}div.DTFC_LeftHeadWrapper table,div.DTFC_RightHeadWrapper table{border-bottom:none !important;margin-bottom:0 !important;background-color:white}div.DTFC_LeftBodyWrapper table,div.DTFC_RightBodyWrapper table{border-top:none;margin:0 !important;z-index:2}div.DTFC_LeftBodyWrapper table thead .sorting:before,div.DTFC_LeftBodyWrapper table thead .sorting:after,div.DTFC_LeftBodyWrapper table thead .sorting_asc:before,div.DTFC_LeftBodyWrapper table thead .sorting_asc:after,div.DTFC_LeftBodyWrapper table thead .sorting_desc:before,div.DTFC_LeftBodyWrapper table thead .sorting_desc:after,div.DTFC_LeftBodyWrapper table thead .sorting:before,div.DTFC_LeftBodyWrapper table thead .sorting:after,div.DTFC_LeftBodyWrapper table thead .sorting_asc:before,div.DTFC_LeftBodyWrapper table thead .sorting_asc:after,div.DTFC_LeftBodyWrapper table thead .sorting_desc:before,div.DTFC_LeftBodyWrapper table thead .sorting_desc:after,div.DTFC_RightBodyWrapper table thead .sorting:before,div.DTFC_RightBodyWrapper table thead .sorting:after,div.DTFC_RightBodyWrapper table thead .sorting_asc:before,div.DTFC_RightBodyWrapper table thead .sorting_asc:after,div.DTFC_RightBodyWrapper table thead .sorting_desc:before,div.DTFC_RightBodyWrapper table thead .sorting_desc:after,div.DTFC_RightBodyWrapper table thead .sorting:before,div.DTFC_RightBodyWrapper table thead .sorting:after,div.DTFC_RightBodyWrapper table thead .sorting_asc:before,div.DTFC_RightBodyWrapper table thead .sorting_asc:after,div.DTFC_RightBodyWrapper table thead .sorting_desc:before,div.DTFC_RightBodyWrapper table thead .sorting_desc:after{display:none}div.DTFC_LeftBodyWrapper table tbody tr:first-child th,div.DTFC_LeftBodyWrapper table tbody tr:first-child td,div.DTFC_RightBodyWrapper table tbody tr:first-child th,div.DTFC_RightBodyWrapper table tbody tr:first-child td{border-top:none}div.DTFC_LeftFootWrapper table,div.DTFC_RightFootWrapper table{border-top:none;margin-top:0 !important;background-color:white}div.DTFC_Blocker{background-color:white}
0
/content/gmx-projects/gmx-admin/admin/resources/plugins/datatables/FixedColumns-3.3.1
/content/gmx-projects/gmx-admin/admin/resources/plugins/datatables/FixedColumns-3.3.1/css/fixedColumns.bootstrap4.css
table.DTFC_Cloned tr { background-color: white; margin-bottom: 0; } div.DTFC_LeftHeadWrapper table, div.DTFC_RightHeadWrapper table { border-bottom: none !important; margin-bottom: 0 !important; background-color: white; } div.DTFC_LeftBodyWrapper table, div.DTFC_RightBodyWrapper table { border-top: none; margin: 0 !important; z-index: 2; } div.DTFC_LeftBodyWrapper table thead .sorting:before, div.DTFC_LeftBodyWrapper table thead .sorting:after, div.DTFC_LeftBodyWrapper table thead .sorting_asc:before, div.DTFC_LeftBodyWrapper table thead .sorting_asc:after, div.DTFC_LeftBodyWrapper table thead .sorting_desc:before, div.DTFC_LeftBodyWrapper table thead .sorting_desc:after, div.DTFC_LeftBodyWrapper table thead .sorting:before, div.DTFC_LeftBodyWrapper table thead .sorting:after, div.DTFC_LeftBodyWrapper table thead .sorting_asc:before, div.DTFC_LeftBodyWrapper table thead .sorting_asc:after, div.DTFC_LeftBodyWrapper table thead .sorting_desc:before, div.DTFC_LeftBodyWrapper table thead .sorting_desc:after, div.DTFC_RightBodyWrapper table thead .sorting:before, div.DTFC_RightBodyWrapper table thead .sorting:after, div.DTFC_RightBodyWrapper table thead .sorting_asc:before, div.DTFC_RightBodyWrapper table thead .sorting_asc:after, div.DTFC_RightBodyWrapper table thead .sorting_desc:before, div.DTFC_RightBodyWrapper table thead .sorting_desc:after, div.DTFC_RightBodyWrapper table thead .sorting:before, div.DTFC_RightBodyWrapper table thead .sorting:after, div.DTFC_RightBodyWrapper table thead .sorting_asc:before, div.DTFC_RightBodyWrapper table thead .sorting_asc:after, div.DTFC_RightBodyWrapper table thead .sorting_desc:before, div.DTFC_RightBodyWrapper table thead .sorting_desc:after { display: none; } div.DTFC_LeftBodyWrapper table tbody tr:first-child th, div.DTFC_LeftBodyWrapper table tbody tr:first-child td, div.DTFC_RightBodyWrapper table tbody tr:first-child th, div.DTFC_RightBodyWrapper table tbody tr:first-child td { border-top: none; } div.DTFC_LeftFootWrapper table, div.DTFC_RightFootWrapper table { border-top: none; margin-top: 0 !important; background-color: white; } div.DTFC_Blocker { background-color: white; } table.dataTable.table-striped.DTFC_Cloned tbody { background-color: white; }
0
/content/gmx-projects/gmx-admin/admin/resources/plugins/datatables/Responsive-2.2.5
/content/gmx-projects/gmx-admin/admin/resources/plugins/datatables/Responsive-2.2.5/js/responsive.semanticui.min.js
/*! Bootstrap integration for DataTables' Responsive ©2015-2016 SpryMedia Ltd - datatables.net/license */ var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.findInternal=function(a,c,b){a instanceof String&&(a=String(a));for(var d=a.length,e=0;e<d;e++){var f=a[e];if(c.call(b,f,e,a))return{i:e,v:f}}return{i:-1,v:void 0}};$jscomp.ASSUME_ES5=!1;$jscomp.ASSUME_NO_NATIVE_MAP=!1;$jscomp.ASSUME_NO_NATIVE_SET=!1;$jscomp.SIMPLE_FROUND_POLYFILL=!1; $jscomp.defineProperty=$jscomp.ASSUME_ES5||"function"==typeof Object.defineProperties?Object.defineProperty:function(a,c,b){a!=Array.prototype&&a!=Object.prototype&&(a[c]=b.value)};$jscomp.getGlobal=function(a){a=["object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global,a];for(var c=0;c<a.length;++c){var b=a[c];if(b&&b.Math==Math)return b}throw Error("Cannot find global object");};$jscomp.global=$jscomp.getGlobal(this); $jscomp.polyfill=function(a,c,b,d){if(c){b=$jscomp.global;a=a.split(".");for(d=0;d<a.length-1;d++){var e=a[d];e in b||(b[e]={});b=b[e]}a=a[a.length-1];d=b[a];c=c(d);c!=d&&null!=c&&$jscomp.defineProperty(b,a,{configurable:!0,writable:!0,value:c})}};$jscomp.polyfill("Array.prototype.find",function(a){return a?a:function(a,b){return $jscomp.findInternal(this,a,b).v}},"es6","es3"); (function(a){"function"===typeof define&&define.amd?define(["jquery","datatables.net-se","datatables.net-responsive"],function(c){return a(c,window,document)}):"object"===typeof exports?module.exports=function(c,b){c||(c=window);b&&b.fn.dataTable||(b=require("datatables.net-se")(c,b).$);b.fn.dataTable.Responsive||require("datatables.net-responsive")(c,b);return a(b,c,c.document)}:a(jQuery,window,document)})(function(a,c,b,d){c=a.fn.dataTable;b=c.Responsive.display;var e=b.modal,f=a('<div class="ui modal" role="dialog"><div class="header"><button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button></div><div class="content"/></div>'); b.modal=function(b){return function(c,d,g){a.fn.modal?d||(b&&b.header&&f.find("div.header").empty().append('<h4 class="title">'+b.header(c)+"</h4>"),f.find("div.content").empty().append(g()),f.parent().hasClass("dimmer")||f.appendTo("body"),f.modal("show")):e(c,d,g)}};return c.Responsive});
0
/content/gmx-projects/gmx-admin/admin/resources/plugins/datatables/Responsive-2.2.5
/content/gmx-projects/gmx-admin/admin/resources/plugins/datatables/Responsive-2.2.5/js/responsive.semanticui.js
/*! Bootstrap integration for DataTables' Responsive * ©2015-2016 SpryMedia Ltd - datatables.net/license */ (function( factory ){ if ( typeof define === 'function' && define.amd ) { // AMD define( ['jquery', 'datatables.net-se', 'datatables.net-responsive'], function ( $ ) { return factory( $, window, document ); } ); } else if ( typeof exports === 'object' ) { // CommonJS module.exports = function (root, $) { if ( ! root ) { root = window; } if ( ! $ || ! $.fn.dataTable ) { $ = require('datatables.net-se')(root, $).$; } if ( ! $.fn.dataTable.Responsive ) { require('datatables.net-responsive')(root, $); } return factory( $, root, root.document ); }; } else { // Browser factory( jQuery, window, document ); } }(function( $, window, document, undefined ) { 'use strict'; var DataTable = $.fn.dataTable; var _display = DataTable.Responsive.display; var _original = _display.modal; var _modal = $( '<div class="ui modal" role="dialog">'+ '<div class="header">'+ '<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>'+ '</div>'+ '<div class="content"/>'+ '</div>' ); _display.modal = function ( options ) { return function ( row, update, render ) { if ( ! $.fn.modal ) { _original( row, update, render ); } else { if ( ! update ) { if ( options && options.header ) { _modal.find('div.header') .empty() .append( '<h4 class="title">'+options.header( row )+'</h4>' ); } _modal.find( 'div.content' ) .empty() .append( render() ); // Only need to attach the first time if (! _modal.parent().hasClass('dimmer')) { _modal.appendTo( 'body' ) } _modal.modal('show'); } } }; }; return DataTable.Responsive; }));
0
/content/gmx-projects/gmx-admin/admin/resources/plugins/datatables/Responsive-2.2.5
/content/gmx-projects/gmx-admin/admin/resources/plugins/datatables/Responsive-2.2.5/js/responsive.foundation.min.js
/*! Foundation integration for DataTables' Responsive ©2015 SpryMedia Ltd - datatables.net/license */ (function(c){"function"===typeof define&&define.amd?define(["jquery","datatables.net-zf","datatables.net-responsive"],function(a){return c(a,window,document)}):"object"===typeof exports?module.exports=function(a,b){a||(a=window);b&&b.fn.dataTable||(b=require("datatables.net-zf")(a,b).$);b.fn.dataTable.Responsive||require("datatables.net-responsive")(a,b);return c(b,a,a.document)}:c(jQuery,window,document)})(function(c,a,b,g){a=c.fn.dataTable;b=a.Responsive.display;var f=b.modal;b.modal=function(a){return function(b, d,e){c.fn.foundation?d||c('<div class="reveal-modal" data-reveal/>').append('<a class="close-reveal-modal" aria-label="Close">&#215;</a>').append(a&&a.header?"<h4>"+a.header(b)+"</h4>":null).append(e()).appendTo("body").foundation("reveal","open"):f(b,d,e)}};return a.Responsive});
0
/content/gmx-projects/gmx-admin/admin/resources/plugins/datatables/Responsive-2.2.5
/content/gmx-projects/gmx-admin/admin/resources/plugins/datatables/Responsive-2.2.5/js/dataTables.responsive.min.js
/*! Copyright 2014-2020 SpryMedia Ltd. This source file is free software, available under the following license: MIT license - http://datatables.net/license/mit This source file is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the license files for details. For details please refer to: http://www.datatables.net Responsive 2.2.5 2014-2020 SpryMedia Ltd - datatables.net/license */ var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.findInternal=function(a,k,g){a instanceof String&&(a=String(a));for(var n=a.length,p=0;p<n;p++){var v=a[p];if(k.call(g,v,p,a))return{i:p,v:v}}return{i:-1,v:void 0}};$jscomp.ASSUME_ES5=!1;$jscomp.ASSUME_NO_NATIVE_MAP=!1;$jscomp.ASSUME_NO_NATIVE_SET=!1;$jscomp.SIMPLE_FROUND_POLYFILL=!1; $jscomp.defineProperty=$jscomp.ASSUME_ES5||"function"==typeof Object.defineProperties?Object.defineProperty:function(a,k,g){a!=Array.prototype&&a!=Object.prototype&&(a[k]=g.value)};$jscomp.getGlobal=function(a){a=["object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global,a];for(var k=0;k<a.length;++k){var g=a[k];if(g&&g.Math==Math)return g}throw Error("Cannot find global object");};$jscomp.global=$jscomp.getGlobal(this); $jscomp.polyfill=function(a,k,g,n){if(k){g=$jscomp.global;a=a.split(".");for(n=0;n<a.length-1;n++){var p=a[n];p in g||(g[p]={});g=g[p]}a=a[a.length-1];n=g[a];k=k(n);k!=n&&null!=k&&$jscomp.defineProperty(g,a,{configurable:!0,writable:!0,value:k})}};$jscomp.polyfill("Array.prototype.find",function(a){return a?a:function(a,g){return $jscomp.findInternal(this,a,g).v}},"es6","es3"); (function(a){"function"===typeof define&&define.amd?define(["jquery","datatables.net"],function(k){return a(k,window,document)}):"object"===typeof exports?module.exports=function(k,g){k||(k=window);g&&g.fn.dataTable||(g=require("datatables.net")(k,g).$);return a(g,k,k.document)}:a(jQuery,window,document)})(function(a,k,g,n){function p(b,a,c){var d=a+"-"+c;if(q[d])return q[d];var f=[];b=b.cell(a,c).node().childNodes;a=0;for(c=b.length;a<c;a++)f.push(b[a]);return q[d]=f}function v(b,a,c){var d=a+"-"+ c;if(q[d]){b=b.cell(a,c).node();c=q[d][0].parentNode.childNodes;a=[];for(var f=0,l=c.length;f<l;f++)a.push(c[f]);c=0;for(f=a.length;c<f;c++)b.appendChild(a[c]);q[d]=n}}var t=a.fn.dataTable,m=function(b,d){if(!t.versionCheck||!t.versionCheck("1.10.10"))throw"DataTables Responsive requires DataTables 1.10.10 or newer";this.s={dt:new t.Api(b),columns:[],current:[]};this.s.dt.settings()[0].responsive||(d&&"string"===typeof d.details?d.details={type:d.details}:d&&!1===d.details?d.details={type:!1}:d&& !0===d.details&&(d.details={type:"inline"}),this.c=a.extend(!0,{},m.defaults,t.defaults.responsive,d),b.responsive=this,this._constructor())};a.extend(m.prototype,{_constructor:function(){var b=this,d=this.s.dt,c=d.settings()[0],e=a(k).innerWidth();d.settings()[0]._responsive=this;a(k).on("resize.dtr orientationchange.dtr",t.util.throttle(function(){var d=a(k).innerWidth();d!==e&&(b._resize(),e=d)}));c.oApi._fnCallbackReg(c,"aoRowCreatedCallback",function(c,e,r){-1!==a.inArray(!1,b.s.current)&&a(">td, >th", c).each(function(c){c=d.column.index("toData",c);!1===b.s.current[c]&&a(this).css("display","none")})});d.on("destroy.dtr",function(){d.off(".dtr");a(d.table().body()).off(".dtr");a(k).off("resize.dtr orientationchange.dtr");d.cells(".dtr-control").nodes().to$().removeClass("dtr-control");a.each(b.s.current,function(a,d){!1===d&&b._setColumnVis(a,!0)})});this.c.breakpoints.sort(function(b,a){return b.width<a.width?1:b.width>a.width?-1:0});this._classLogic();this._resizeAuto();c=this.c.details;!1!== c.type&&(b._detailsInit(),d.on("column-visibility.dtr",function(){b._timer&&clearTimeout(b._timer);b._timer=setTimeout(function(){b._timer=null;b._classLogic();b._resizeAuto();b._resize();b._redrawChildren()},100)}),d.on("draw.dtr",function(){b._redrawChildren()}),a(d.table().node()).addClass("dtr-"+c.type));d.on("column-reorder.dtr",function(a,d,c){b._classLogic();b._resizeAuto();b._resize(!0)});d.on("column-sizing.dtr",function(){b._resizeAuto();b._resize()});d.on("preXhr.dtr",function(){var a= [];d.rows().every(function(){this.child.isShown()&&a.push(this.id(!0))});d.one("draw.dtr",function(){b._resizeAuto();b._resize();d.rows(a).every(function(){b._detailsDisplay(this,!1)})})});d.on("draw.dtr",function(){b._controlClass()}).on("init.dtr",function(c,e,r){"dt"===c.namespace&&(b._resizeAuto(),b._resize(),a.inArray(!1,b.s.current)&&d.columns.adjust())});this._resize()},_columnsVisiblity:function(b){var d=this.s.dt,c=this.s.columns,e,f=c.map(function(a,b){return{columnIdx:b,priority:a.priority}}).sort(function(a, b){return a.priority!==b.priority?a.priority-b.priority:a.columnIdx-b.columnIdx}),l=a.map(c,function(c,h){return!1===d.column(h).visible()?"not-visible":c.auto&&null===c.minWidth?!1:!0===c.auto?"-":-1!==a.inArray(b,c.includeIn)}),r=0;var h=0;for(e=l.length;h<e;h++)!0===l[h]&&(r+=c[h].minWidth);h=d.settings()[0].oScroll;h=h.sY||h.sX?h.iBarWidth:0;r=d.table().container().offsetWidth-h-r;h=0;for(e=l.length;h<e;h++)c[h].control&&(r-=c[h].minWidth);var k=!1;h=0;for(e=f.length;h<e;h++){var g=f[h].columnIdx; "-"===l[g]&&!c[g].control&&c[g].minWidth&&(k||0>r-c[g].minWidth?(k=!0,l[g]=!1):l[g]=!0,r-=c[g].minWidth)}f=!1;h=0;for(e=c.length;h<e;h++)if(!c[h].control&&!c[h].never&&!1===l[h]){f=!0;break}h=0;for(e=c.length;h<e;h++)c[h].control&&(l[h]=f),"not-visible"===l[h]&&(l[h]=!1);-1===a.inArray(!0,l)&&(l[0]=!0);return l},_classLogic:function(){var b=this,d=this.c.breakpoints,c=this.s.dt,e=c.columns().eq(0).map(function(a){var b=this.column(a),d=b.header().className;a=c.settings()[0].aoColumns[a].responsivePriority; b=b.header().getAttribute("data-priority");a===n&&(a=b===n||null===b?1E4:1*b);return{className:d,includeIn:[],auto:!1,control:!1,never:d.match(/\bnever\b/)?!0:!1,priority:a}}),f=function(b,d){b=e[b].includeIn;-1===a.inArray(d,b)&&b.push(d)},g=function(a,c,g,l){if(!g)e[a].includeIn.push(c);else if("max-"===g)for(l=b._find(c).width,c=0,g=d.length;c<g;c++)d[c].width<=l&&f(a,d[c].name);else if("min-"===g)for(l=b._find(c).width,c=0,g=d.length;c<g;c++)d[c].width>=l&&f(a,d[c].name);else if("not-"===g)for(c= 0,g=d.length;c<g;c++)-1===d[c].name.indexOf(l)&&f(a,d[c].name)};e.each(function(b,c){for(var e=b.className.split(" "),f=!1,h=0,l=e.length;h<l;h++){var k=a.trim(e[h]);if("all"===k){f=!0;b.includeIn=a.map(d,function(b){return b.name});return}if("none"===k||b.never){f=!0;return}if("control"===k){f=!0;b.control=!0;return}a.each(d,function(b,a){b=a.name.split("-");var d=k.match(new RegExp("(min\\-|max\\-|not\\-)?("+b[0]+")(\\-[_a-zA-Z0-9])?"));d&&(f=!0,d[2]===b[0]&&d[3]==="-"+b[1]?g(c,a.name,d[1],d[2]+ d[3]):d[2]!==b[0]||d[3]||g(c,a.name,d[1],d[2]))})}f||(b.auto=!0)});this.s.columns=e},_controlClass:function(){if("inline"===this.c.details.type){var b=this.s.dt,d=a.inArray(!0,this.s.current);b.cells(null,function(b){return b!==d},{page:"current"}).nodes().to$().filter(".dtr-control").removeClass("dtr-control");b.cells(null,d,{page:"current"}).nodes().to$().addClass("dtr-control")}},_detailsDisplay:function(b,d){var c=this,e=this.s.dt,f=this.c.details;if(f&&!1!==f.type){var g=f.display(b,d,function(){return f.renderer(e, b[0],c._detailsObj(b[0]))});!0!==g&&!1!==g||a(e.table().node()).triggerHandler("responsive-display.dt",[e,b,g,d])}},_detailsInit:function(){var b=this,d=this.s.dt,c=this.c.details;"inline"===c.type&&(c.target="td.dtr-control, th.dtr-control");d.on("draw.dtr",function(){b._tabIndexes()});b._tabIndexes();a(d.table().body()).on("keyup.dtr","td, th",function(b){13===b.keyCode&&a(this).data("dtr-keyboard")&&a(this).click()});var e=c.target;c="string"===typeof e?e:"td, th";if(e!==n||null!==e)a(d.table().body()).on("click.dtr mousedown.dtr mouseup.dtr", c,function(c){if(a(d.table().node()).hasClass("collapsed")&&-1!==a.inArray(a(this).closest("tr").get(0),d.rows().nodes().toArray())){if("number"===typeof e){var f=0>e?d.columns().eq(0).length+e:e;if(d.cell(this).index().column!==f)return}f=d.row(a(this).closest("tr"));"click"===c.type?b._detailsDisplay(f,!1):"mousedown"===c.type?a(this).css("outline","none"):"mouseup"===c.type&&a(this).trigger("blur").css("outline","")}})},_detailsObj:function(b){var d=this,c=this.s.dt;return a.map(this.s.columns, function(e,f){if(!e.never&&!e.control)return e=c.settings()[0].aoColumns[f],{className:e.sClass,columnIndex:f,data:c.cell(b,f).render(d.c.orthogonal),hidden:c.column(f).visible()&&!d.s.current[f],rowIndex:b,title:null!==e.sTitle?e.sTitle:a(c.column(f).header()).text()}})},_find:function(b){for(var a=this.c.breakpoints,c=0,e=a.length;c<e;c++)if(a[c].name===b)return a[c]},_redrawChildren:function(){var b=this,a=this.s.dt;a.rows({page:"current"}).iterator("row",function(c,d){a.row(d);b._detailsDisplay(a.row(d), !0)})},_resize:function(b){var d=this,c=this.s.dt,e=a(k).innerWidth(),f=this.c.breakpoints,g=f[0].name,r=this.s.columns,h,n=this.s.current.slice();for(h=f.length-1;0<=h;h--)if(e<=f[h].width){g=f[h].name;break}var m=this._columnsVisiblity(g);this.s.current=m;f=!1;h=0;for(e=r.length;h<e;h++)if(!1===m[h]&&!r[h].never&&!r[h].control&&!1===!c.column(h).visible()){f=!0;break}a(c.table().node()).toggleClass("collapsed",f);var p=!1,q=0;c.columns().eq(0).each(function(a,c){!0===m[c]&&q++;if(b||m[c]!==n[c])p= !0,d._setColumnVis(a,m[c])});p&&(this._redrawChildren(),a(c.table().node()).trigger("responsive-resize.dt",[c,this.s.current]),0===c.page.info().recordsDisplay&&a("td",c.table().body()).eq(0).attr("colspan",q))},_resizeAuto:function(){var b=this.s.dt,d=this.s.columns;if(this.c.auto&&-1!==a.inArray(!0,a.map(d,function(b){return b.auto}))){a.isEmptyObject(q)||a.each(q,function(a){a=a.split("-");v(b,1*a[0],1*a[1])});b.table().node();var c=b.table().node().cloneNode(!1),e=a(b.table().header().cloneNode(!1)).appendTo(c), f=a(b.table().body()).clone(!1,!1).empty().appendTo(c);c.style.width="auto";var g=b.columns().header().filter(function(a){return b.column(a).visible()}).to$().clone(!1).css("display","table-cell").css("width","auto").css("min-width",0);a(f).append(a(b.rows({page:"current"}).nodes()).clone(!1)).find("th, td").css("display","");if(f=b.table().footer()){f=a(f.cloneNode(!1)).appendTo(c);var k=b.columns().footer().filter(function(a){return b.column(a).visible()}).to$().clone(!1).css("display","table-cell"); a("<tr/>").append(k).appendTo(f)}a("<tr/>").append(g).appendTo(e);"inline"===this.c.details.type&&a(c).addClass("dtr-inline collapsed");a(c).find("[name]").removeAttr("name");a(c).css("position","relative");c=a("<div/>").css({width:1,height:1,overflow:"hidden",clear:"both"}).append(c);c.insertBefore(b.table().node());g.each(function(a){a=b.column.index("fromVisible",a);d[a].minWidth=this.offsetWidth||0});c.remove()}},_responsiveOnlyHidden:function(){var b=this.s.dt;return a.map(this.s.current,function(a, c){return!1===b.column(c).visible()?!0:a})},_setColumnVis:function(b,d){var c=this.s.dt;d=d?"":"none";a(c.column(b).header()).css("display",d);a(c.column(b).footer()).css("display",d);c.column(b).nodes().to$().css("display",d);a.isEmptyObject(q)||c.cells(null,b).indexes().each(function(a){v(c,a.row,a.column)})},_tabIndexes:function(){var b=this.s.dt,d=b.cells({page:"current"}).nodes().to$(),c=b.settings()[0],e=this.c.details.target;d.filter("[data-dtr-keyboard]").removeData("[data-dtr-keyboard]"); "number"===typeof e?b.cells(null,e,{page:"current"}).nodes().to$().attr("tabIndex",c.iTabIndex).data("dtr-keyboard",1):("td:first-child, th:first-child"===e&&(e=">td:first-child, >th:first-child"),a(e,b.rows({page:"current"}).nodes()).attr("tabIndex",c.iTabIndex).data("dtr-keyboard",1))}});m.breakpoints=[{name:"desktop",width:Infinity},{name:"tablet-l",width:1024},{name:"tablet-p",width:768},{name:"mobile-l",width:480},{name:"mobile-p",width:320}];m.display={childRow:function(b,d,c){if(d){if(a(b.node()).hasClass("parent"))return b.child(c(), "child").show(),!0}else{if(b.child.isShown())return b.child(!1),a(b.node()).removeClass("parent"),!1;b.child(c(),"child").show();a(b.node()).addClass("parent");return!0}},childRowImmediate:function(b,d,c){if(!d&&b.child.isShown()||!b.responsive.hasHidden())return b.child(!1),a(b.node()).removeClass("parent"),!1;b.child(c(),"child").show();a(b.node()).addClass("parent");return!0},modal:function(b){return function(d,c,e){if(c)a("div.dtr-modal-content").empty().append(e());else{var f=function(){k.remove(); a(g).off("keypress.dtr")},k=a('<div class="dtr-modal"/>').append(a('<div class="dtr-modal-display"/>').append(a('<div class="dtr-modal-content"/>').append(e())).append(a('<div class="dtr-modal-close">&times;</div>').click(function(){f()}))).append(a('<div class="dtr-modal-background"/>').click(function(){f()})).appendTo("body");a(g).on("keyup.dtr",function(a){27===a.keyCode&&(a.stopPropagation(),f())})}b&&b.header&&a("div.dtr-modal-content").prepend("<h2>"+b.header(d)+"</h2>")}}};var q={};m.renderer= {listHiddenNodes:function(){return function(b,d,c){var e=a('<ul data-dtr-index="'+d+'" class="dtr-details"/>'),f=!1;a.each(c,function(c,d){d.hidden&&(a("<li "+(d.className?'class="'+d.className+'"':"")+' data-dtr-index="'+d.columnIndex+'" data-dt-row="'+d.rowIndex+'" data-dt-column="'+d.columnIndex+'"><span class="dtr-title">'+d.title+"</span> </li>").append(a('<span class="dtr-data"/>').append(p(b,d.rowIndex,d.columnIndex))).appendTo(e),f=!0)});return f?e:!1}},listHidden:function(){return function(b, d,c){return(b=a.map(c,function(a){var b=a.className?'class="'+a.className+'"':"";return a.hidden?"<li "+b+' data-dtr-index="'+a.columnIndex+'" data-dt-row="'+a.rowIndex+'" data-dt-column="'+a.columnIndex+'"><span class="dtr-title">'+a.title+'</span> <span class="dtr-data">'+a.data+"</span></li>":""}).join(""))?a('<ul data-dtr-index="'+d+'" class="dtr-details"/>').append(b):!1}},tableAll:function(b){b=a.extend({tableClass:""},b);return function(d,c,e){d=a.map(e,function(a){return"<tr "+(a.className? 'class="'+a.className+'"':"")+' data-dt-row="'+a.rowIndex+'" data-dt-column="'+a.columnIndex+'"><td>'+a.title+":</td> <td>"+a.data+"</td></tr>"}).join("");return a('<table class="'+b.tableClass+' dtr-details" width="100%"/>').append(d)}}};m.defaults={breakpoints:m.breakpoints,auto:!0,details:{display:m.display.childRow,renderer:m.renderer.listHidden(),target:0,type:"inline"},orthogonal:"display"};var u=a.fn.dataTable.Api;u.register("responsive()",function(){return this});u.register("responsive.index()", function(b){b=a(b);return{column:b.data("dtr-index"),row:b.parent().data("dtr-index")}});u.register("responsive.rebuild()",function(){return this.iterator("table",function(a){a._responsive&&a._responsive._classLogic()})});u.register("responsive.recalc()",function(){return this.iterator("table",function(a){a._responsive&&(a._responsive._resizeAuto(),a._responsive._resize())})});u.register("responsive.hasHidden()",function(){var b=this.context[0];return b._responsive?-1!==a.inArray(!1,b._responsive._responsiveOnlyHidden()): !1});u.registerPlural("columns().responsiveHidden()","column().responsiveHidden()",function(){return this.iterator("column",function(a,d){return a._responsive?a._responsive._responsiveOnlyHidden()[d]:!1},1)});m.version="2.2.5";a.fn.dataTable.Responsive=m;a.fn.DataTable.Responsive=m;a(g).on("preInit.dt.dtr",function(b,d,c){"dt"===b.namespace&&(a(d.nTable).hasClass("responsive")||a(d.nTable).hasClass("dt-responsive")||d.oInit.responsive||t.defaults.responsive)&&(b=d.oInit.responsive,!1!==b&&new m(d, a.isPlainObject(b)?b:{}))});return m});
0
/content/gmx-projects/gmx-admin/admin/resources/plugins/datatables/Responsive-2.2.5
/content/gmx-projects/gmx-admin/admin/resources/plugins/datatables/Responsive-2.2.5/js/dataTables.responsive.js
/*! Responsive 2.2.5 * 2014-2020 SpryMedia Ltd - datatables.net/license */ /** * @summary Responsive * @description Responsive tables plug-in for DataTables * @version 2.2.5 * @file dataTables.responsive.js * @author SpryMedia Ltd (www.sprymedia.co.uk) * @contact www.sprymedia.co.uk/contact * @copyright Copyright 2014-2020 SpryMedia Ltd. * * This source file is free software, available under the following license: * MIT license - http://datatables.net/license/mit * * This source file is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY * or FITNESS FOR A PARTICULAR PURPOSE. See the license files for details. * * For details please refer to: http://www.datatables.net */ (function( factory ){ if ( typeof define === 'function' && define.amd ) { // AMD define( ['jquery', 'datatables.net'], function ( $ ) { return factory( $, window, document ); } ); } else if ( typeof exports === 'object' ) { // CommonJS module.exports = function (root, $) { if ( ! root ) { root = window; } if ( ! $ || ! $.fn.dataTable ) { $ = require('datatables.net')(root, $).$; } return factory( $, root, root.document ); }; } else { // Browser factory( jQuery, window, document ); } }(function( $, window, document, undefined ) { 'use strict'; var DataTable = $.fn.dataTable; /** * Responsive is a plug-in for the DataTables library that makes use of * DataTables' ability to change the visibility of columns, changing the * visibility of columns so the displayed columns fit into the table container. * The end result is that complex tables will be dynamically adjusted to fit * into the viewport, be it on a desktop, tablet or mobile browser. * * Responsive for DataTables has two modes of operation, which can used * individually or combined: * * * Class name based control - columns assigned class names that match the * breakpoint logic can be shown / hidden as required for each breakpoint. * * Automatic control - columns are automatically hidden when there is no * room left to display them. Columns removed from the right. * * In additional to column visibility control, Responsive also has built into * options to use DataTables' child row display to show / hide the information * from the table that has been hidden. There are also two modes of operation * for this child row display: * * * Inline - when the control element that the user can use to show / hide * child rows is displayed inside the first column of the table. * * Column - where a whole column is dedicated to be the show / hide control. * * Initialisation of Responsive is performed by: * * * Adding the class `responsive` or `dt-responsive` to the table. In this case * Responsive will automatically be initialised with the default configuration * options when the DataTable is created. * * Using the `responsive` option in the DataTables configuration options. This * can also be used to specify the configuration options, or simply set to * `true` to use the defaults. * * @class * @param {object} settings DataTables settings object for the host table * @param {object} [opts] Configuration options * @requires jQuery 1.7+ * @requires DataTables 1.10.3+ * * @example * $('#example').DataTable( { * responsive: true * } ); * } ); */ var Responsive = function ( settings, opts ) { // Sanity check that we are using DataTables 1.10 or newer if ( ! DataTable.versionCheck || ! DataTable.versionCheck( '1.10.10' ) ) { throw 'DataTables Responsive requires DataTables 1.10.10 or newer'; } this.s = { dt: new DataTable.Api( settings ), columns: [], current: [] }; // Check if responsive has already been initialised on this table if ( this.s.dt.settings()[0].responsive ) { return; } // details is an object, but for simplicity the user can give it as a string // or a boolean if ( opts && typeof opts.details === 'string' ) { opts.details = { type: opts.details }; } else if ( opts && opts.details === false ) { opts.details = { type: false }; } else if ( opts && opts.details === true ) { opts.details = { type: 'inline' }; } this.c = $.extend( true, {}, Responsive.defaults, DataTable.defaults.responsive, opts ); settings.responsive = this; this._constructor(); }; $.extend( Responsive.prototype, { /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Constructor */ /** * Initialise the Responsive instance * * @private */ _constructor: function () { var that = this; var dt = this.s.dt; var dtPrivateSettings = dt.settings()[0]; var oldWindowWidth = $(window).innerWidth(); dt.settings()[0]._responsive = this; // Use DataTables' throttle function to avoid processor thrashing on // resize $(window).on( 'resize.dtr orientationchange.dtr', DataTable.util.throttle( function () { // iOS has a bug whereby resize can fire when only scrolling // See: http://stackoverflow.com/questions/8898412 var width = $(window).innerWidth(); if ( width !== oldWindowWidth ) { that._resize(); oldWindowWidth = width; } } ) ); // DataTables doesn't currently trigger an event when a row is added, so // we need to hook into its private API to enforce the hidden rows when // new data is added dtPrivateSettings.oApi._fnCallbackReg( dtPrivateSettings, 'aoRowCreatedCallback', function (tr, data, idx) { if ( $.inArray( false, that.s.current ) !== -1 ) { $('>td, >th', tr).each( function ( i ) { var idx = dt.column.index( 'toData', i ); if ( that.s.current[idx] === false ) { $(this).css('display', 'none'); } } ); } } ); // Destroy event handler dt.on( 'destroy.dtr', function () { dt.off( '.dtr' ); $( dt.table().body() ).off( '.dtr' ); $(window).off( 'resize.dtr orientationchange.dtr' ); dt.cells('.dtr-control').nodes().to$().removeClass('dtr-control'); // Restore the columns that we've hidden $.each( that.s.current, function ( i, val ) { if ( val === false ) { that._setColumnVis( i, true ); } } ); } ); // Reorder the breakpoints array here in case they have been added out // of order this.c.breakpoints.sort( function (a, b) { return a.width < b.width ? 1 : a.width > b.width ? -1 : 0; } ); this._classLogic(); this._resizeAuto(); // Details handler var details = this.c.details; if ( details.type !== false ) { that._detailsInit(); // DataTables will trigger this event on every column it shows and // hides individually dt.on( 'column-visibility.dtr', function () { // Use a small debounce to allow multiple columns to be set together if ( that._timer ) { clearTimeout( that._timer ); } that._timer = setTimeout( function () { that._timer = null; that._classLogic(); that._resizeAuto(); that._resize(); that._redrawChildren(); }, 100 ); } ); // Redraw the details box on each draw which will happen if the data // has changed. This is used until DataTables implements a native // `updated` event for rows dt.on( 'draw.dtr', function () { that._redrawChildren(); } ); $(dt.table().node()).addClass( 'dtr-'+details.type ); } dt.on( 'column-reorder.dtr', function (e, settings, details) { that._classLogic(); that._resizeAuto(); that._resize(true); } ); // Change in column sizes means we need to calc dt.on( 'column-sizing.dtr', function () { that._resizeAuto(); that._resize(); }); // On Ajax reload we want to reopen any child rows which are displayed // by responsive dt.on( 'preXhr.dtr', function () { var rowIds = []; dt.rows().every( function () { if ( this.child.isShown() ) { rowIds.push( this.id(true) ); } } ); dt.one( 'draw.dtr', function () { that._resizeAuto(); that._resize(); dt.rows( rowIds ).every( function () { that._detailsDisplay( this, false ); } ); } ); }); dt .on( 'draw.dtr', function () { that._controlClass(); }) .on( 'init.dtr', function (e, settings, details) { if ( e.namespace !== 'dt' ) { return; } that._resizeAuto(); that._resize(); // If columns were hidden, then DataTables needs to adjust the // column sizing if ( $.inArray( false, that.s.current ) ) { dt.columns.adjust(); } } ); // First pass - draw the table for the current viewport size this._resize(); }, /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Private methods */ /** * Calculate the visibility for the columns in a table for a given * breakpoint. The result is pre-determined based on the class logic if * class names are used to control all columns, but the width of the table * is also used if there are columns which are to be automatically shown * and hidden. * * @param {string} breakpoint Breakpoint name to use for the calculation * @return {array} Array of boolean values initiating the visibility of each * column. * @private */ _columnsVisiblity: function ( breakpoint ) { var dt = this.s.dt; var columns = this.s.columns; var i, ien; // Create an array that defines the column ordering based first on the // column's priority, and secondly the column index. This allows the // columns to be removed from the right if the priority matches var order = columns .map( function ( col, idx ) { return { columnIdx: idx, priority: col.priority }; } ) .sort( function ( a, b ) { if ( a.priority !== b.priority ) { return a.priority - b.priority; } return a.columnIdx - b.columnIdx; } ); // Class logic - determine which columns are in this breakpoint based // on the classes. If no class control (i.e. `auto`) then `-` is used // to indicate this to the rest of the function var display = $.map( columns, function ( col, i ) { if ( dt.column(i).visible() === false ) { return 'not-visible'; } return col.auto && col.minWidth === null ? false : col.auto === true ? '-' : $.inArray( breakpoint, col.includeIn ) !== -1; } ); // Auto column control - first pass: how much width is taken by the // ones that must be included from the non-auto columns var requiredWidth = 0; for ( i=0, ien=display.length ; i<ien ; i++ ) { if ( display[i] === true ) { requiredWidth += columns[i].minWidth; } } // Second pass, use up any remaining width for other columns. For // scrolling tables we need to subtract the width of the scrollbar. It // may not be requires which makes this sub-optimal, but it would // require another full redraw to make complete use of those extra few // pixels var scrolling = dt.settings()[0].oScroll; var bar = scrolling.sY || scrolling.sX ? scrolling.iBarWidth : 0; var widthAvailable = dt.table().container().offsetWidth - bar; var usedWidth = widthAvailable - requiredWidth; // Control column needs to always be included. This makes it sub- // optimal in terms of using the available with, but to stop layout // thrashing or overflow. Also we need to account for the control column // width first so we know how much width is available for the other // columns, since the control column might not be the first one shown for ( i=0, ien=display.length ; i<ien ; i++ ) { if ( columns[i].control ) { usedWidth -= columns[i].minWidth; } } // Allow columns to be shown (counting by priority and then right to // left) until we run out of room var empty = false; for ( i=0, ien=order.length ; i<ien ; i++ ) { var colIdx = order[i].columnIdx; if ( display[colIdx] === '-' && ! columns[colIdx].control && columns[colIdx].minWidth ) { // Once we've found a column that won't fit we don't let any // others display either, or columns might disappear in the // middle of the table if ( empty || usedWidth - columns[colIdx].minWidth < 0 ) { empty = true; display[colIdx] = false; } else { display[colIdx] = true; } usedWidth -= columns[colIdx].minWidth; } } // Determine if the 'control' column should be shown (if there is one). // This is the case when there is a hidden column (that is not the // control column). The two loops look inefficient here, but they are // trivial and will fly through. We need to know the outcome from the // first , before the action in the second can be taken var showControl = false; for ( i=0, ien=columns.length ; i<ien ; i++ ) { if ( ! columns[i].control && ! columns[i].never && display[i] === false ) { showControl = true; break; } } for ( i=0, ien=columns.length ; i<ien ; i++ ) { if ( columns[i].control ) { display[i] = showControl; } // Replace not visible string with false from the control column detection above if ( display[i] === 'not-visible' ) { display[i] = false; } } // Finally we need to make sure that there is at least one column that // is visible if ( $.inArray( true, display ) === -1 ) { display[0] = true; } return display; }, /** * Create the internal `columns` array with information about the columns * for the table. This includes determining which breakpoints the column * will appear in, based upon class names in the column, which makes up the * vast majority of this method. * * @private */ _classLogic: function () { var that = this; var calc = {}; var breakpoints = this.c.breakpoints; var dt = this.s.dt; var columns = dt.columns().eq(0).map( function (i) { var column = this.column(i); var className = column.header().className; var priority = dt.settings()[0].aoColumns[i].responsivePriority; var dataPriority = column.header().getAttribute('data-priority'); if ( priority === undefined ) { priority = dataPriority === undefined || dataPriority === null? 10000 : dataPriority * 1; } return { className: className, includeIn: [], auto: false, control: false, never: className.match(/\bnever\b/) ? true : false, priority: priority }; } ); // Simply add a breakpoint to `includeIn` array, ensuring that there are // no duplicates var add = function ( colIdx, name ) { var includeIn = columns[ colIdx ].includeIn; if ( $.inArray( name, includeIn ) === -1 ) { includeIn.push( name ); } }; var column = function ( colIdx, name, operator, matched ) { var size, i, ien; if ( ! operator ) { columns[ colIdx ].includeIn.push( name ); } else if ( operator === 'max-' ) { // Add this breakpoint and all smaller size = that._find( name ).width; for ( i=0, ien=breakpoints.length ; i<ien ; i++ ) { if ( breakpoints[i].width <= size ) { add( colIdx, breakpoints[i].name ); } } } else if ( operator === 'min-' ) { // Add this breakpoint and all larger size = that._find( name ).width; for ( i=0, ien=breakpoints.length ; i<ien ; i++ ) { if ( breakpoints[i].width >= size ) { add( colIdx, breakpoints[i].name ); } } } else if ( operator === 'not-' ) { // Add all but this breakpoint for ( i=0, ien=breakpoints.length ; i<ien ; i++ ) { if ( breakpoints[i].name.indexOf( matched ) === -1 ) { add( colIdx, breakpoints[i].name ); } } } }; // Loop over each column and determine if it has a responsive control // class columns.each( function ( col, i ) { var classNames = col.className.split(' '); var hasClass = false; // Split the class name up so multiple rules can be applied if needed for ( var k=0, ken=classNames.length ; k<ken ; k++ ) { var className = $.trim( classNames[k] ); if ( className === 'all' ) { // Include in all hasClass = true; col.includeIn = $.map( breakpoints, function (a) { return a.name; } ); return; } else if ( className === 'none' || col.never ) { // Include in none (default) and no auto hasClass = true; return; } else if ( className === 'control' ) { // Special column that is only visible, when one of the other // columns is hidden. This is used for the details control hasClass = true; col.control = true; return; } $.each( breakpoints, function ( j, breakpoint ) { // Does this column have a class that matches this breakpoint? var brokenPoint = breakpoint.name.split('-'); var re = new RegExp( '(min\\-|max\\-|not\\-)?('+brokenPoint[0]+')(\\-[_a-zA-Z0-9])?' ); var match = className.match( re ); if ( match ) { hasClass = true; if ( match[2] === brokenPoint[0] && match[3] === '-'+brokenPoint[1] ) { // Class name matches breakpoint name fully column( i, breakpoint.name, match[1], match[2]+match[3] ); } else if ( match[2] === brokenPoint[0] && ! match[3] ) { // Class name matched primary breakpoint name with no qualifier column( i, breakpoint.name, match[1], match[2] ); } } } ); } // If there was no control class, then automatic sizing is used if ( ! hasClass ) { col.auto = true; } } ); this.s.columns = columns; }, /** * Update the cells to show the correct control class / button * @private */ _controlClass: function () { if ( this.c.details.type === 'inline' ) { var dt = this.s.dt; var columnsVis = this.s.current; var firstVisible = $.inArray(true, columnsVis); // Remove from any cells which shouldn't have it dt.cells( null, function(idx) { return idx !== firstVisible; }, {page: 'current'} ) .nodes() .to$() .filter('.dtr-control') .removeClass('dtr-control'); dt.cells(null, firstVisible, {page: 'current'}) .nodes() .to$() .addClass('dtr-control'); } }, /** * Show the details for the child row * * @param {DataTables.Api} row API instance for the row * @param {boolean} update Update flag * @private */ _detailsDisplay: function ( row, update ) { var that = this; var dt = this.s.dt; var details = this.c.details; if ( details && details.type !== false ) { var res = details.display( row, update, function () { return details.renderer( dt, row[0], that._detailsObj(row[0]) ); } ); if ( res === true || res === false ) { $(dt.table().node()).triggerHandler( 'responsive-display.dt', [dt, row, res, update] ); } } }, /** * Initialisation for the details handler * * @private */ _detailsInit: function () { var that = this; var dt = this.s.dt; var details = this.c.details; // The inline type always uses the first child as the target if ( details.type === 'inline' ) { details.target = 'td.dtr-control, th.dtr-control'; } // Keyboard accessibility dt.on( 'draw.dtr', function () { that._tabIndexes(); } ); that._tabIndexes(); // Initial draw has already happened $( dt.table().body() ).on( 'keyup.dtr', 'td, th', function (e) { if ( e.keyCode === 13 && $(this).data('dtr-keyboard') ) { $(this).click(); } } ); // type.target can be a string jQuery selector or a column index var target = details.target; var selector = typeof target === 'string' ? target : 'td, th'; if ( target !== undefined || target !== null ) { // Click handler to show / hide the details rows when they are available $( dt.table().body() ) .on( 'click.dtr mousedown.dtr mouseup.dtr', selector, function (e) { // If the table is not collapsed (i.e. there is no hidden columns) // then take no action if ( ! $(dt.table().node()).hasClass('collapsed' ) ) { return; } // Check that the row is actually a DataTable's controlled node if ( $.inArray( $(this).closest('tr').get(0), dt.rows().nodes().toArray() ) === -1 ) { return; } // For column index, we determine if we should act or not in the // handler - otherwise it is already okay if ( typeof target === 'number' ) { var targetIdx = target < 0 ? dt.columns().eq(0).length + target : target; if ( dt.cell( this ).index().column !== targetIdx ) { return; } } // $().closest() includes itself in its check var row = dt.row( $(this).closest('tr') ); // Check event type to do an action if ( e.type === 'click' ) { // The renderer is given as a function so the caller can execute it // only when they need (i.e. if hiding there is no point is running // the renderer) that._detailsDisplay( row, false ); } else if ( e.type === 'mousedown' ) { // For mouse users, prevent the focus ring from showing $(this).css('outline', 'none'); } else if ( e.type === 'mouseup' ) { // And then re-allow at the end of the click $(this).trigger('blur').css('outline', ''); } } ); } }, /** * Get the details to pass to a renderer for a row * @param {int} rowIdx Row index * @private */ _detailsObj: function ( rowIdx ) { var that = this; var dt = this.s.dt; return $.map( this.s.columns, function( col, i ) { // Never and control columns should not be passed to the renderer if ( col.never || col.control ) { return; } var dtCol = dt.settings()[0].aoColumns[ i ]; return { className: dtCol.sClass, columnIndex: i, data: dt.cell( rowIdx, i ).render( that.c.orthogonal ), hidden: dt.column( i ).visible() && !that.s.current[ i ], rowIndex: rowIdx, title: dtCol.sTitle !== null ? dtCol.sTitle : $(dt.column(i).header()).text() }; } ); }, /** * Find a breakpoint object from a name * * @param {string} name Breakpoint name to find * @return {object} Breakpoint description object * @private */ _find: function ( name ) { var breakpoints = this.c.breakpoints; for ( var i=0, ien=breakpoints.length ; i<ien ; i++ ) { if ( breakpoints[i].name === name ) { return breakpoints[i]; } } }, /** * Re-create the contents of the child rows as the display has changed in * some way. * * @private */ _redrawChildren: function () { var that = this; var dt = this.s.dt; dt.rows( {page: 'current'} ).iterator( 'row', function ( settings, idx ) { var row = dt.row( idx ); that._detailsDisplay( dt.row( idx ), true ); } ); }, /** * Alter the table display for a resized viewport. This involves first * determining what breakpoint the window currently is in, getting the * column visibilities to apply and then setting them. * * @param {boolean} forceRedraw Force a redraw * @private */ _resize: function (forceRedraw) { var that = this; var dt = this.s.dt; var width = $(window).innerWidth(); var breakpoints = this.c.breakpoints; var breakpoint = breakpoints[0].name; var columns = this.s.columns; var i, ien; var oldVis = this.s.current.slice(); // Determine what breakpoint we are currently at for ( i=breakpoints.length-1 ; i>=0 ; i-- ) { if ( width <= breakpoints[i].width ) { breakpoint = breakpoints[i].name; break; } } // Show the columns for that break point var columnsVis = this._columnsVisiblity( breakpoint ); this.s.current = columnsVis; // Set the class before the column visibility is changed so event // listeners know what the state is. Need to determine if there are // any columns that are not visible but can be shown var collapsedClass = false; for ( i=0, ien=columns.length ; i<ien ; i++ ) { if ( columnsVis[i] === false && ! columns[i].never && ! columns[i].control && ! dt.column(i).visible() === false ) { collapsedClass = true; break; } } $( dt.table().node() ).toggleClass( 'collapsed', collapsedClass ); var changed = false; var visible = 0; dt.columns().eq(0).each( function ( colIdx, i ) { if ( columnsVis[i] === true ) { visible++; } if ( forceRedraw || columnsVis[i] !== oldVis[i] ) { changed = true; that._setColumnVis( colIdx, columnsVis[i] ); } } ); if ( changed ) { this._redrawChildren(); // Inform listeners of the change $(dt.table().node()).trigger( 'responsive-resize.dt', [dt, this.s.current] ); // If no records, update the "No records" display element if ( dt.page.info().recordsDisplay === 0 ) { $('td', dt.table().body()).eq(0).attr('colspan', visible); } } }, /** * Determine the width of each column in the table so the auto column hiding * has that information to work with. This method is never going to be 100% * perfect since column widths can change slightly per page, but without * seriously compromising performance this is quite effective. * * @private */ _resizeAuto: function () { var dt = this.s.dt; var columns = this.s.columns; // Are we allowed to do auto sizing? if ( ! this.c.auto ) { return; } // Are there any columns that actually need auto-sizing, or do they all // have classes defined if ( $.inArray( true, $.map( columns, function (c) { return c.auto; } ) ) === -1 ) { return; } // Need to restore all children. They will be reinstated by a re-render if ( ! $.isEmptyObject( _childNodeStore ) ) { $.each( _childNodeStore, function ( key ) { var idx = key.split('-'); _childNodesRestore( dt, idx[0]*1, idx[1]*1 ); } ); } // Clone the table with the current data in it var tableWidth = dt.table().node().offsetWidth; var columnWidths = dt.columns; var clonedTable = dt.table().node().cloneNode( false ); var clonedHeader = $( dt.table().header().cloneNode( false ) ).appendTo( clonedTable ); var clonedBody = $( dt.table().body() ).clone( false, false ).empty().appendTo( clonedTable ); // use jQuery because of IE8 clonedTable.style.width = 'auto'; // Header var headerCells = dt.columns() .header() .filter( function (idx) { return dt.column(idx).visible(); } ) .to$() .clone( false ) .css( 'display', 'table-cell' ) .css( 'width', 'auto' ) .css( 'min-width', 0 ); // Body rows - we don't need to take account of DataTables' column // visibility since we implement our own here (hence the `display` set) $(clonedBody) .append( $(dt.rows( { page: 'current' } ).nodes()).clone( false ) ) .find( 'th, td' ).css( 'display', '' ); // Footer var footer = dt.table().footer(); if ( footer ) { var clonedFooter = $( footer.cloneNode( false ) ).appendTo( clonedTable ); var footerCells = dt.columns() .footer() .filter( function (idx) { return dt.column(idx).visible(); } ) .to$() .clone( false ) .css( 'display', 'table-cell' ); $('<tr/>') .append( footerCells ) .appendTo( clonedFooter ); } $('<tr/>') .append( headerCells ) .appendTo( clonedHeader ); // In the inline case extra padding is applied to the first column to // give space for the show / hide icon. We need to use this in the // calculation if ( this.c.details.type === 'inline' ) { $(clonedTable).addClass( 'dtr-inline collapsed' ); } // It is unsafe to insert elements with the same name into the DOM // multiple times. For example, cloning and inserting a checked radio // clears the chcecked state of the original radio. $( clonedTable ).find( '[name]' ).removeAttr( 'name' ); // A position absolute table would take the table out of the flow of // our container element, bypassing the height and width (Scroller) $( clonedTable ).css( 'position', 'relative' ) var inserted = $('<div/>') .css( { width: 1, height: 1, overflow: 'hidden', clear: 'both' } ) .append( clonedTable ); inserted.insertBefore( dt.table().node() ); // The cloned header now contains the smallest that each column can be headerCells.each( function (i) { var idx = dt.column.index( 'fromVisible', i ); columns[ idx ].minWidth = this.offsetWidth || 0; } ); inserted.remove(); }, /** * Get the state of the current hidden columns - controlled by Responsive only */ _responsiveOnlyHidden: function () { var dt = this.s.dt; return $.map( this.s.current, function (v, i) { // If the column is hidden by DataTables then it can't be hidden by // Responsive! if ( dt.column(i).visible() === false ) { return true; } return v; } ); }, /** * Set a column's visibility. * * We don't use DataTables' column visibility controls in order to ensure * that column visibility can Responsive can no-exist. Since only IE8+ is * supported (and all evergreen browsers of course) the control of the * display attribute works well. * * @param {integer} col Column index * @param {boolean} showHide Show or hide (true or false) * @private */ _setColumnVis: function ( col, showHide ) { var dt = this.s.dt; var display = showHide ? '' : 'none'; // empty string will remove the attr $( dt.column( col ).header() ).css( 'display', display ); $( dt.column( col ).footer() ).css( 'display', display ); dt.column( col ).nodes().to$().css( 'display', display ); // If the are child nodes stored, we might need to reinsert them if ( ! $.isEmptyObject( _childNodeStore ) ) { dt.cells( null, col ).indexes().each( function (idx) { _childNodesRestore( dt, idx.row, idx.column ); } ); } }, /** * Update the cell tab indexes for keyboard accessibility. This is called on * every table draw - that is potentially inefficient, but also the least * complex option given that column visibility can change on the fly. Its a * shame user-focus was removed from CSS 3 UI, as it would have solved this * issue with a single CSS statement. * * @private */ _tabIndexes: function () { var dt = this.s.dt; var cells = dt.cells( { page: 'current' } ).nodes().to$(); var ctx = dt.settings()[0]; var target = this.c.details.target; cells.filter( '[data-dtr-keyboard]' ).removeData( '[data-dtr-keyboard]' ); if ( typeof target === 'number' ) { dt.cells( null, target, { page: 'current' } ).nodes().to$() .attr( 'tabIndex', ctx.iTabIndex ) .data( 'dtr-keyboard', 1 ); } else { // This is a bit of a hack - we need to limit the selected nodes to just // those of this table if ( target === 'td:first-child, th:first-child' ) { target = '>td:first-child, >th:first-child'; } $( target, dt.rows( { page: 'current' } ).nodes() ) .attr( 'tabIndex', ctx.iTabIndex ) .data( 'dtr-keyboard', 1 ); } } } ); /** * List of default breakpoints. Each item in the array is an object with two * properties: * * * `name` - the breakpoint name. * * `width` - the breakpoint width * * @name Responsive.breakpoints * @static */ Responsive.breakpoints = [ { name: 'desktop', width: Infinity }, { name: 'tablet-l', width: 1024 }, { name: 'tablet-p', width: 768 }, { name: 'mobile-l', width: 480 }, { name: 'mobile-p', width: 320 } ]; /** * Display methods - functions which define how the hidden data should be shown * in the table. * * @namespace * @name Responsive.defaults * @static */ Responsive.display = { childRow: function ( row, update, render ) { if ( update ) { if ( $(row.node()).hasClass('parent') ) { row.child( render(), 'child' ).show(); return true; } } else { if ( ! row.child.isShown() ) { row.child( render(), 'child' ).show(); $( row.node() ).addClass( 'parent' ); return true; } else { row.child( false ); $( row.node() ).removeClass( 'parent' ); return false; } } }, childRowImmediate: function ( row, update, render ) { if ( (! update && row.child.isShown()) || ! row.responsive.hasHidden() ) { // User interaction and the row is show, or nothing to show row.child( false ); $( row.node() ).removeClass( 'parent' ); return false; } else { // Display row.child( render(), 'child' ).show(); $( row.node() ).addClass( 'parent' ); return true; } }, // This is a wrapper so the modal options for Bootstrap and jQuery UI can // have options passed into them. This specific one doesn't need to be a // function but it is for consistency in the `modal` name modal: function ( options ) { return function ( row, update, render ) { if ( ! update ) { // Show a modal var close = function () { modal.remove(); // will tidy events for us $(document).off( 'keypress.dtr' ); }; var modal = $('<div class="dtr-modal"/>') .append( $('<div class="dtr-modal-display"/>') .append( $('<div class="dtr-modal-content"/>') .append( render() ) ) .append( $('<div class="dtr-modal-close">&times;</div>' ) .click( function () { close(); } ) ) ) .append( $('<div class="dtr-modal-background"/>') .click( function () { close(); } ) ) .appendTo( 'body' ); $(document).on( 'keyup.dtr', function (e) { if ( e.keyCode === 27 ) { e.stopPropagation(); close(); } } ); } else { $('div.dtr-modal-content') .empty() .append( render() ); } if ( options && options.header ) { $('div.dtr-modal-content').prepend( '<h2>'+options.header( row )+'</h2>' ); } }; } }; var _childNodeStore = {}; function _childNodes( dt, row, col ) { var name = row+'-'+col; if ( _childNodeStore[ name ] ) { return _childNodeStore[ name ]; } // https://jsperf.com/childnodes-array-slice-vs-loop var nodes = []; var children = dt.cell( row, col ).node().childNodes; for ( var i=0, ien=children.length ; i<ien ; i++ ) { nodes.push( children[i] ); } _childNodeStore[ name ] = nodes; return nodes; } function _childNodesRestore( dt, row, col ) { var name = row+'-'+col; if ( ! _childNodeStore[ name ] ) { return; } var node = dt.cell( row, col ).node(); var store = _childNodeStore[ name ]; var parent = store[0].parentNode; var parentChildren = parent.childNodes; var a = []; for ( var i=0, ien=parentChildren.length ; i<ien ; i++ ) { a.push( parentChildren[i] ); } for ( var j=0, jen=a.length ; j<jen ; j++ ) { node.appendChild( a[j] ); } _childNodeStore[ name ] = undefined; } /** * Display methods - functions which define how the hidden data should be shown * in the table. * * @namespace * @name Responsive.defaults * @static */ Responsive.renderer = { listHiddenNodes: function () { return function ( api, rowIdx, columns ) { var ul = $('<ul data-dtr-index="'+rowIdx+'" class="dtr-details"/>'); var found = false; var data = $.each( columns, function ( i, col ) { if ( col.hidden ) { var klass = col.className ? 'class="'+ col.className +'"' : ''; $( '<li '+klass+' data-dtr-index="'+col.columnIndex+'" data-dt-row="'+col.rowIndex+'" data-dt-column="'+col.columnIndex+'">'+ '<span class="dtr-title">'+ col.title+ '</span> '+ '</li>' ) .append( $('<span class="dtr-data"/>').append( _childNodes( api, col.rowIndex, col.columnIndex ) ) )// api.cell( col.rowIndex, col.columnIndex ).node().childNodes ) ) .appendTo( ul ); found = true; } } ); return found ? ul : false; }; }, listHidden: function () { return function ( api, rowIdx, columns ) { var data = $.map( columns, function ( col ) { var klass = col.className ? 'class="'+ col.className +'"' : ''; return col.hidden ? '<li '+klass+' data-dtr-index="'+col.columnIndex+'" data-dt-row="'+col.rowIndex+'" data-dt-column="'+col.columnIndex+'">'+ '<span class="dtr-title">'+ col.title+ '</span> '+ '<span class="dtr-data">'+ col.data+ '</span>'+ '</li>' : ''; } ).join(''); return data ? $('<ul data-dtr-index="'+rowIdx+'" class="dtr-details"/>').append( data ) : false; } }, tableAll: function ( options ) { options = $.extend( { tableClass: '' }, options ); return function ( api, rowIdx, columns ) { var data = $.map( columns, function ( col ) { var klass = col.className ? 'class="'+ col.className +'"' : ''; return '<tr '+klass+' data-dt-row="'+col.rowIndex+'" data-dt-column="'+col.columnIndex+'">'+ '<td>'+col.title+':'+'</td> '+ '<td>'+col.data+'</td>'+ '</tr>'; } ).join(''); return $('<table class="'+options.tableClass+' dtr-details" width="100%"/>').append( data ); } } }; /** * Responsive default settings for initialisation * * @namespace * @name Responsive.defaults * @static */ Responsive.defaults = { /** * List of breakpoints for the instance. Note that this means that each * instance can have its own breakpoints. Additionally, the breakpoints * cannot be changed once an instance has been creased. * * @type {Array} * @default Takes the value of `Responsive.breakpoints` */ breakpoints: Responsive.breakpoints, /** * Enable / disable auto hiding calculations. It can help to increase * performance slightly if you disable this option, but all columns would * need to have breakpoint classes assigned to them * * @type {Boolean} * @default `true` */ auto: true, /** * Details control. If given as a string value, the `type` property of the * default object is set to that value, and the defaults used for the rest * of the object - this is for ease of implementation. * * The object consists of the following properties: * * * `display` - A function that is used to show and hide the hidden details * * `renderer` - function that is called for display of the child row data. * The default function will show the data from the hidden columns * * `target` - Used as the selector for what objects to attach the child * open / close to * * `type` - `false` to disable the details display, `inline` or `column` * for the two control types * * @type {Object|string} */ details: { display: Responsive.display.childRow, renderer: Responsive.renderer.listHidden(), target: 0, type: 'inline' }, /** * Orthogonal data request option. This is used to define the data type * requested when Responsive gets the data to show in the child row. * * @type {String} */ orthogonal: 'display' }; /* * API */ var Api = $.fn.dataTable.Api; // Doesn't do anything - work around for a bug in DT... Not documented Api.register( 'responsive()', function () { return this; } ); Api.register( 'responsive.index()', function ( li ) { li = $(li); return { column: li.data('dtr-index'), row: li.parent().data('dtr-index') }; } ); Api.register( 'responsive.rebuild()', function () { return this.iterator( 'table', function ( ctx ) { if ( ctx._responsive ) { ctx._responsive._classLogic(); } } ); } ); Api.register( 'responsive.recalc()', function () { return this.iterator( 'table', function ( ctx ) { if ( ctx._responsive ) { ctx._responsive._resizeAuto(); ctx._responsive._resize(); } } ); } ); Api.register( 'responsive.hasHidden()', function () { var ctx = this.context[0]; return ctx._responsive ? $.inArray( false, ctx._responsive._responsiveOnlyHidden() ) !== -1 : false; } ); Api.registerPlural( 'columns().responsiveHidden()', 'column().responsiveHidden()', function () { return this.iterator( 'column', function ( settings, column ) { return settings._responsive ? settings._responsive._responsiveOnlyHidden()[ column ] : false; }, 1 ); } ); /** * Version information * * @name Responsive.version * @static */ Responsive.version = '2.2.5'; $.fn.dataTable.Responsive = Responsive; $.fn.DataTable.Responsive = Responsive; // Attach a listener to the document which listens for DataTables initialisation // events so we can automatically initialise $(document).on( 'preInit.dt.dtr', function (e, settings, json) { if ( e.namespace !== 'dt' ) { return; } if ( $(settings.nTable).hasClass( 'responsive' ) || $(settings.nTable).hasClass( 'dt-responsive' ) || settings.oInit.responsive || DataTable.defaults.responsive ) { var init = settings.oInit.responsive; if ( init !== false ) { new Responsive( settings, $.isPlainObject( init ) ? init : {} ); } } } ); return Responsive; }));
0
/content/gmx-projects/gmx-admin/admin/resources/plugins/datatables/Responsive-2.2.5
/content/gmx-projects/gmx-admin/admin/resources/plugins/datatables/Responsive-2.2.5/js/responsive.bootstrap4.js
/*! Bootstrap 4 integration for DataTables' Responsive * ©2016 SpryMedia Ltd - datatables.net/license */ (function( factory ){ if ( typeof define === 'function' && define.amd ) { // AMD define( ['jquery', 'datatables.net-bs4', 'datatables.net-responsive'], function ( $ ) { return factory( $, window, document ); } ); } else if ( typeof exports === 'object' ) { // CommonJS module.exports = function (root, $) { if ( ! root ) { root = window; } if ( ! $ || ! $.fn.dataTable ) { $ = require('datatables.net-bs4')(root, $).$; } if ( ! $.fn.dataTable.Responsive ) { require('datatables.net-responsive')(root, $); } return factory( $, root, root.document ); }; } else { // Browser factory( jQuery, window, document ); } }(function( $, window, document, undefined ) { 'use strict'; var DataTable = $.fn.dataTable; var _display = DataTable.Responsive.display; var _original = _display.modal; var _modal = $( '<div class="modal fade dtr-bs-modal" role="dialog">'+ '<div class="modal-dialog" role="document">'+ '<div class="modal-content">'+ '<div class="modal-header">'+ '<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>'+ '</div>'+ '<div class="modal-body"/>'+ '</div>'+ '</div>'+ '</div>' ); _display.modal = function ( options ) { return function ( row, update, render ) { if ( ! $.fn.modal ) { _original( row, update, render ); } else { if ( ! update ) { if ( options && options.header ) { var header = _modal.find('div.modal-header'); var button = header.find('button').detach(); header .empty() .append( '<h4 class="modal-title">'+options.header( row )+'</h4>' ) .append( button ); } _modal.find( 'div.modal-body' ) .empty() .append( render() ); _modal .appendTo( 'body' ) .modal(); } } }; }; return DataTable.Responsive; }));
0
/content/gmx-projects/gmx-admin/admin/resources/plugins/datatables/Responsive-2.2.5
/content/gmx-projects/gmx-admin/admin/resources/plugins/datatables/Responsive-2.2.5/js/responsive.foundation.js
/*! Foundation integration for DataTables' Responsive * ©2015 SpryMedia Ltd - datatables.net/license */ (function( factory ){ if ( typeof define === 'function' && define.amd ) { // AMD define( ['jquery', 'datatables.net-zf', 'datatables.net-responsive'], function ( $ ) { return factory( $, window, document ); } ); } else if ( typeof exports === 'object' ) { // CommonJS module.exports = function (root, $) { if ( ! root ) { root = window; } if ( ! $ || ! $.fn.dataTable ) { $ = require('datatables.net-zf')(root, $).$; } if ( ! $.fn.dataTable.Responsive ) { require('datatables.net-responsive')(root, $); } return factory( $, root, root.document ); }; } else { // Browser factory( jQuery, window, document ); } }(function( $, window, document, undefined ) { 'use strict'; var DataTable = $.fn.dataTable; var _display = DataTable.Responsive.display; var _original = _display.modal; _display.modal = function ( options ) { return function ( row, update, render ) { if ( ! $.fn.foundation ) { _original( row, update, render ); } else { if ( ! update ) { $( '<div class="reveal-modal" data-reveal/>' ) .append( '<a class="close-reveal-modal" aria-label="Close">&#215;</a>' ) .append( options && options.header ? '<h4>'+options.header( row )+'</h4>' : null ) .append( render() ) .appendTo( 'body' ) .foundation( 'reveal', 'open' ); } } }; }; return DataTable.Responsive; }));
0
/content/gmx-projects/gmx-admin/admin/resources/plugins/datatables/Responsive-2.2.5
/content/gmx-projects/gmx-admin/admin/resources/plugins/datatables/Responsive-2.2.5/js/responsive.jqueryui.js
/*! jQuery UI integration for DataTables' Responsive * ©2015 SpryMedia Ltd - datatables.net/license */ (function( factory ){ if ( typeof define === 'function' && define.amd ) { // AMD define( ['jquery', 'datatables.net-jqui', 'datatables.net-responsive'], function ( $ ) { return factory( $, window, document ); } ); } else if ( typeof exports === 'object' ) { // CommonJS module.exports = function (root, $) { if ( ! root ) { root = window; } if ( ! $ || ! $.fn.dataTable ) { $ = require('datatables.net-jqui')(root, $).$; } if ( ! $.fn.dataTable.Responsive ) { require('datatables.net-responsive')(root, $); } return factory( $, root, root.document ); }; } else { // Browser factory( jQuery, window, document ); } }(function( $, window, document, undefined ) { 'use strict'; var DataTable = $.fn.dataTable; var _display = DataTable.Responsive.display; var _original = _display.modal; _display.modal = function ( options ) { return function ( row, update, render ) { if ( ! $.fn.dialog ) { _original( row, update, render ); } else { if ( ! update ) { $( '<div/>' ) .append( render() ) .appendTo( 'body' ) .dialog( $.extend( true, { title: options && options.header ? options.header( row ) : '', width: 500 }, options.dialog ) ); } } }; }; return DataTable.Responsive; }));
0
/content/gmx-projects/gmx-admin/admin/resources/plugins/datatables/Responsive-2.2.5
/content/gmx-projects/gmx-admin/admin/resources/plugins/datatables/Responsive-2.2.5/js/responsive.bootstrap.js
/*! Bootstrap integration for DataTables' Responsive * ©2015-2016 SpryMedia Ltd - datatables.net/license */ (function( factory ){ if ( typeof define === 'function' && define.amd ) { // AMD define( ['jquery', 'datatables.net-bs', 'datatables.net-responsive'], function ( $ ) { return factory( $, window, document ); } ); } else if ( typeof exports === 'object' ) { // CommonJS module.exports = function (root, $) { if ( ! root ) { root = window; } if ( ! $ || ! $.fn.dataTable ) { $ = require('datatables.net-bs')(root, $).$; } if ( ! $.fn.dataTable.Responsive ) { require('datatables.net-responsive')(root, $); } return factory( $, root, root.document ); }; } else { // Browser factory( jQuery, window, document ); } }(function( $, window, document, undefined ) { 'use strict'; var DataTable = $.fn.dataTable; var _display = DataTable.Responsive.display; var _original = _display.modal; var _modal = $( '<div class="modal fade dtr-bs-modal" role="dialog">'+ '<div class="modal-dialog" role="document">'+ '<div class="modal-content">'+ '<div class="modal-header">'+ '<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>'+ '</div>'+ '<div class="modal-body"/>'+ '</div>'+ '</div>'+ '</div>' ); _display.modal = function ( options ) { return function ( row, update, render ) { if ( ! $.fn.modal ) { _original( row, update, render ); } else { if ( ! update ) { if ( options && options.header ) { var header = _modal.find('div.modal-header'); var button = header.find('button').detach(); header .empty() .append( '<h4 class="modal-title">'+options.header( row )+'</h4>' ) .prepend( button ); } _modal.find( 'div.modal-body' ) .empty() .append( render() ); _modal .appendTo( 'body' ) .modal(); } } }; }; return DataTable.Responsive; }));
0
/content/gmx-projects/gmx-admin/admin/resources/plugins/datatables/Responsive-2.2.5
/content/gmx-projects/gmx-admin/admin/resources/plugins/datatables/Responsive-2.2.5/js/responsive.bootstrap.min.js
/*! Bootstrap integration for DataTables' Responsive ©2015-2016 SpryMedia Ltd - datatables.net/license */ var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.findInternal=function(a,c,b){a instanceof String&&(a=String(a));for(var d=a.length,e=0;e<d;e++){var f=a[e];if(c.call(b,f,e,a))return{i:e,v:f}}return{i:-1,v:void 0}};$jscomp.ASSUME_ES5=!1;$jscomp.ASSUME_NO_NATIVE_MAP=!1;$jscomp.ASSUME_NO_NATIVE_SET=!1;$jscomp.SIMPLE_FROUND_POLYFILL=!1; $jscomp.defineProperty=$jscomp.ASSUME_ES5||"function"==typeof Object.defineProperties?Object.defineProperty:function(a,c,b){a!=Array.prototype&&a!=Object.prototype&&(a[c]=b.value)};$jscomp.getGlobal=function(a){a=["object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global,a];for(var c=0;c<a.length;++c){var b=a[c];if(b&&b.Math==Math)return b}throw Error("Cannot find global object");};$jscomp.global=$jscomp.getGlobal(this); $jscomp.polyfill=function(a,c,b,d){if(c){b=$jscomp.global;a=a.split(".");for(d=0;d<a.length-1;d++){var e=a[d];e in b||(b[e]={});b=b[e]}a=a[a.length-1];d=b[a];c=c(d);c!=d&&null!=c&&$jscomp.defineProperty(b,a,{configurable:!0,writable:!0,value:c})}};$jscomp.polyfill("Array.prototype.find",function(a){return a?a:function(a,b){return $jscomp.findInternal(this,a,b).v}},"es6","es3"); (function(a){"function"===typeof define&&define.amd?define(["jquery","datatables.net-bs","datatables.net-responsive"],function(c){return a(c,window,document)}):"object"===typeof exports?module.exports=function(c,b){c||(c=window);b&&b.fn.dataTable||(b=require("datatables.net-bs")(c,b).$);b.fn.dataTable.Responsive||require("datatables.net-responsive")(c,b);return a(b,c,c.document)}:a(jQuery,window,document)})(function(a,c,b,d){c=a.fn.dataTable;b=c.Responsive.display;var e=b.modal,f=a('<div class="modal fade dtr-bs-modal" role="dialog"><div class="modal-dialog" role="document"><div class="modal-content"><div class="modal-header"><button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button></div><div class="modal-body"/></div></div></div>'); b.modal=function(b){return function(c,d,g){if(!a.fn.modal)e(c,d,g);else if(!d){if(b&&b.header){d=f.find("div.modal-header");var h=d.find("button").detach();d.empty().append('<h4 class="modal-title">'+b.header(c)+"</h4>").prepend(h)}f.find("div.modal-body").empty().append(g());f.appendTo("body").modal()}}};return c.Responsive});
0
/content/gmx-projects/gmx-admin/admin/resources/plugins/datatables/Responsive-2.2.5
/content/gmx-projects/gmx-admin/admin/resources/plugins/datatables/Responsive-2.2.5/js/responsive.jqueryui.min.js
/*! jQuery UI integration for DataTables' Responsive ©2015 SpryMedia Ltd - datatables.net/license */ (function(c){"function"===typeof define&&define.amd?define(["jquery","datatables.net-jqui","datatables.net-responsive"],function(a){return c(a,window,document)}):"object"===typeof exports?module.exports=function(a,b){a||(a=window);b&&b.fn.dataTable||(b=require("datatables.net-jqui")(a,b).$);b.fn.dataTable.Responsive||require("datatables.net-responsive")(a,b);return c(b,a,a.document)}:c(jQuery,window,document)})(function(c,a,b,g){a=c.fn.dataTable;b=a.Responsive.display;var f=b.modal;b.modal=function(a){return function(b, d,e){c.fn.dialog?d||c("<div/>").append(e()).appendTo("body").dialog(c.extend(!0,{title:a&&a.header?a.header(b):"",width:500},a.dialog)):f(b,d,e)}};return a.Responsive});
0
/content/gmx-projects/gmx-admin/admin/resources/plugins/datatables/Responsive-2.2.5
/content/gmx-projects/gmx-admin/admin/resources/plugins/datatables/Responsive-2.2.5/js/responsive.bootstrap4.min.js
/*! Bootstrap 4 integration for DataTables' Responsive ©2016 SpryMedia Ltd - datatables.net/license */ var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.findInternal=function(a,c,b){a instanceof String&&(a=String(a));for(var d=a.length,e=0;e<d;e++){var f=a[e];if(c.call(b,f,e,a))return{i:e,v:f}}return{i:-1,v:void 0}};$jscomp.ASSUME_ES5=!1;$jscomp.ASSUME_NO_NATIVE_MAP=!1;$jscomp.ASSUME_NO_NATIVE_SET=!1;$jscomp.SIMPLE_FROUND_POLYFILL=!1; $jscomp.defineProperty=$jscomp.ASSUME_ES5||"function"==typeof Object.defineProperties?Object.defineProperty:function(a,c,b){a!=Array.prototype&&a!=Object.prototype&&(a[c]=b.value)};$jscomp.getGlobal=function(a){a=["object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global,a];for(var c=0;c<a.length;++c){var b=a[c];if(b&&b.Math==Math)return b}throw Error("Cannot find global object");};$jscomp.global=$jscomp.getGlobal(this); $jscomp.polyfill=function(a,c,b,d){if(c){b=$jscomp.global;a=a.split(".");for(d=0;d<a.length-1;d++){var e=a[d];e in b||(b[e]={});b=b[e]}a=a[a.length-1];d=b[a];c=c(d);c!=d&&null!=c&&$jscomp.defineProperty(b,a,{configurable:!0,writable:!0,value:c})}};$jscomp.polyfill("Array.prototype.find",function(a){return a?a:function(a,b){return $jscomp.findInternal(this,a,b).v}},"es6","es3"); (function(a){"function"===typeof define&&define.amd?define(["jquery","datatables.net-bs4","datatables.net-responsive"],function(c){return a(c,window,document)}):"object"===typeof exports?module.exports=function(c,b){c||(c=window);b&&b.fn.dataTable||(b=require("datatables.net-bs4")(c,b).$);b.fn.dataTable.Responsive||require("datatables.net-responsive")(c,b);return a(b,c,c.document)}:a(jQuery,window,document)})(function(a,c,b,d){c=a.fn.dataTable;b=c.Responsive.display;var e=b.modal,f=a('<div class="modal fade dtr-bs-modal" role="dialog"><div class="modal-dialog" role="document"><div class="modal-content"><div class="modal-header"><button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button></div><div class="modal-body"/></div></div></div>'); b.modal=function(b){return function(c,d,g){if(!a.fn.modal)e(c,d,g);else if(!d){if(b&&b.header){d=f.find("div.modal-header");var h=d.find("button").detach();d.empty().append('<h4 class="modal-title">'+b.header(c)+"</h4>").append(h)}f.find("div.modal-body").empty().append(g());f.appendTo("body").modal()}}};return c.Responsive});
0
/content/gmx-projects/gmx-admin/admin/resources/plugins/datatables/Responsive-2.2.5
/content/gmx-projects/gmx-admin/admin/resources/plugins/datatables/Responsive-2.2.5/css/responsive.foundation.css
table.dataTable.dtr-inline.collapsed > tbody > tr > td.child, table.dataTable.dtr-inline.collapsed > tbody > tr > th.child, table.dataTable.dtr-inline.collapsed > tbody > tr > td.dataTables_empty { cursor: default !important; } table.dataTable.dtr-inline.collapsed > tbody > tr > td.child:before, table.dataTable.dtr-inline.collapsed > tbody > tr > th.child:before, table.dataTable.dtr-inline.collapsed > tbody > tr > td.dataTables_empty:before { display: none !important; } table.dataTable.dtr-inline.collapsed > tbody > tr[role="row"] > td.dtr-control, table.dataTable.dtr-inline.collapsed > tbody > tr[role="row"] > th.dtr-control { position: relative; padding-left: 30px; cursor: pointer; } table.dataTable.dtr-inline.collapsed > tbody > tr[role="row"] > td.dtr-control:before, table.dataTable.dtr-inline.collapsed > tbody > tr[role="row"] > th.dtr-control:before { top: 50%; left: 5px; height: 14px; width: 14px; margin-top: -9px; display: block; position: absolute; color: white; border: 2px solid white; border-radius: 14px; box-shadow: 0 0 3px #444; box-sizing: content-box; text-align: center; text-indent: 0 !important; font-family: 'Courier New', Courier, monospace; line-height: 14px; content: '+'; background-color: #008CBA; } table.dataTable.dtr-inline.collapsed > tbody > tr.parent > td.dtr-control:before, table.dataTable.dtr-inline.collapsed > tbody > tr.parent > th.dtr-control:before { content: '-'; background-color: #d33333; } table.dataTable.dtr-inline.collapsed.compact > tbody > tr > td.dtr-control, table.dataTable.dtr-inline.collapsed.compact > tbody > tr > th.dtr-control { padding-left: 27px; } table.dataTable.dtr-inline.collapsed.compact > tbody > tr > td.dtr-control:before, table.dataTable.dtr-inline.collapsed.compact > tbody > tr > th.dtr-control:before { left: 4px; height: 14px; width: 14px; border-radius: 14px; line-height: 14px; text-indent: 3px; } table.dataTable.dtr-column > tbody > tr > td.control, table.dataTable.dtr-column > tbody > tr > th.control { position: relative; cursor: pointer; } table.dataTable.dtr-column > tbody > tr > td.control:before, table.dataTable.dtr-column > tbody > tr > th.control:before { top: 50%; left: 50%; height: 16px; width: 16px; margin-top: -10px; margin-left: -10px; display: block; position: absolute; color: white; border: 2px solid white; border-radius: 14px; box-shadow: 0 0 3px #444; box-sizing: content-box; text-align: center; text-indent: 0 !important; font-family: 'Courier New', Courier, monospace; line-height: 14px; content: '+'; background-color: #008CBA; } table.dataTable.dtr-column > tbody > tr.parent td.control:before, table.dataTable.dtr-column > tbody > tr.parent th.control:before { content: '-'; background-color: #d33333; } table.dataTable > tbody > tr.child { padding: 0.5em 1em; } table.dataTable > tbody > tr.child:hover { background: transparent !important; } table.dataTable > tbody > tr.child ul.dtr-details { display: inline-block; list-style-type: none; margin: 0; padding: 0; } table.dataTable > tbody > tr.child ul.dtr-details > li { border-bottom: 1px solid #efefef; padding: 0.5em 0; } table.dataTable > tbody > tr.child ul.dtr-details > li:first-child { padding-top: 0; } table.dataTable > tbody > tr.child ul.dtr-details > li:last-child { border-bottom: none; } table.dataTable > tbody > tr.child span.dtr-title { display: inline-block; min-width: 75px; font-weight: bold; } div.dtr-modal { position: fixed; box-sizing: border-box; top: 0; left: 0; height: 100%; width: 100%; z-index: 100; padding: 10em 1em; } div.dtr-modal div.dtr-modal-display { position: absolute; top: 0; left: 0; bottom: 0; right: 0; width: 50%; height: 50%; overflow: auto; margin: auto; z-index: 102; overflow: auto; background-color: #f5f5f7; border: 1px solid black; border-radius: 0.5em; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6); } div.dtr-modal div.dtr-modal-content { position: relative; padding: 1em; } div.dtr-modal div.dtr-modal-close { position: absolute; top: 6px; right: 6px; width: 22px; height: 22px; border: 1px solid #eaeaea; background-color: #f9f9f9; text-align: center; border-radius: 3px; cursor: pointer; z-index: 12; } div.dtr-modal div.dtr-modal-close:hover { background-color: #eaeaea; } div.dtr-modal div.dtr-modal-background { position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 101; background: rgba(0, 0, 0, 0.6); } @media screen and (max-width: 767px) { div.dtr-modal div.dtr-modal-display { width: 95%; } } table.dataTable > tbody > tr.child ul { font-size: 1em; }
0
/content/gmx-projects/gmx-admin/admin/resources/plugins/datatables/Responsive-2.2.5
/content/gmx-projects/gmx-admin/admin/resources/plugins/datatables/Responsive-2.2.5/css/responsive.dataTables.min.css
table.dataTable.dtr-inline.collapsed>tbody>tr>td.child,table.dataTable.dtr-inline.collapsed>tbody>tr>th.child,table.dataTable.dtr-inline.collapsed>tbody>tr>td.dataTables_empty{cursor:default !important}table.dataTable.dtr-inline.collapsed>tbody>tr>td.child:before,table.dataTable.dtr-inline.collapsed>tbody>tr>th.child:before,table.dataTable.dtr-inline.collapsed>tbody>tr>td.dataTables_empty:before{display:none !important}table.dataTable.dtr-inline.collapsed>tbody>tr[role="row"]>td.dtr-control,table.dataTable.dtr-inline.collapsed>tbody>tr[role="row"]>th.dtr-control{position:relative;padding-left:30px;cursor:pointer}table.dataTable.dtr-inline.collapsed>tbody>tr[role="row"]>td.dtr-control:before,table.dataTable.dtr-inline.collapsed>tbody>tr[role="row"]>th.dtr-control:before{top:50%;left:5px;height:14px;width:14px;margin-top:-9px;display:block;position:absolute;color:white;border:2px solid white;border-radius:14px;box-shadow:0 0 3px #444;box-sizing:content-box;text-align:center;text-indent:0 !important;font-family:'Courier New', Courier, monospace;line-height:14px;content:'+';background-color:#31b131}table.dataTable.dtr-inline.collapsed>tbody>tr.parent>td.dtr-control:before,table.dataTable.dtr-inline.collapsed>tbody>tr.parent>th.dtr-control:before{content:'-';background-color:#d33333}table.dataTable.dtr-inline.collapsed.compact>tbody>tr>td.dtr-control,table.dataTable.dtr-inline.collapsed.compact>tbody>tr>th.dtr-control{padding-left:27px}table.dataTable.dtr-inline.collapsed.compact>tbody>tr>td.dtr-control:before,table.dataTable.dtr-inline.collapsed.compact>tbody>tr>th.dtr-control:before{left:4px;height:14px;width:14px;border-radius:14px;line-height:14px;text-indent:3px}table.dataTable.dtr-column>tbody>tr>td.control,table.dataTable.dtr-column>tbody>tr>th.control{position:relative;cursor:pointer}table.dataTable.dtr-column>tbody>tr>td.control:before,table.dataTable.dtr-column>tbody>tr>th.control:before{top:50%;left:50%;height:16px;width:16px;margin-top:-10px;margin-left:-10px;display:block;position:absolute;color:white;border:2px solid white;border-radius:14px;box-shadow:0 0 3px #444;box-sizing:content-box;text-align:center;text-indent:0 !important;font-family:'Courier New', Courier, monospace;line-height:14px;content:'+';background-color:#31b131}table.dataTable.dtr-column>tbody>tr.parent td.control:before,table.dataTable.dtr-column>tbody>tr.parent th.control:before{content:'-';background-color:#d33333}table.dataTable>tbody>tr.child{padding:0.5em 1em}table.dataTable>tbody>tr.child:hover{background:transparent !important}table.dataTable>tbody>tr.child ul.dtr-details{display:inline-block;list-style-type:none;margin:0;padding:0}table.dataTable>tbody>tr.child ul.dtr-details>li{border-bottom:1px solid #efefef;padding:0.5em 0}table.dataTable>tbody>tr.child ul.dtr-details>li:first-child{padding-top:0}table.dataTable>tbody>tr.child ul.dtr-details>li:last-child{border-bottom:none}table.dataTable>tbody>tr.child span.dtr-title{display:inline-block;min-width:75px;font-weight:bold}div.dtr-modal{position:fixed;box-sizing:border-box;top:0;left:0;height:100%;width:100%;z-index:100;padding:10em 1em}div.dtr-modal div.dtr-modal-display{position:absolute;top:0;left:0;bottom:0;right:0;width:50%;height:50%;overflow:auto;margin:auto;z-index:102;overflow:auto;background-color:#f5f5f7;border:1px solid black;border-radius:0.5em;box-shadow:0 12px 30px rgba(0,0,0,0.6)}div.dtr-modal div.dtr-modal-content{position:relative;padding:1em}div.dtr-modal div.dtr-modal-close{position:absolute;top:6px;right:6px;width:22px;height:22px;border:1px solid #eaeaea;background-color:#f9f9f9;text-align:center;border-radius:3px;cursor:pointer;z-index:12}div.dtr-modal div.dtr-modal-close:hover{background-color:#eaeaea}div.dtr-modal div.dtr-modal-background{position:fixed;top:0;left:0;right:0;bottom:0;z-index:101;background:rgba(0,0,0,0.6)}@media screen and (max-width: 767px){div.dtr-modal div.dtr-modal-display{width:95%}}
0
/content/gmx-projects/gmx-admin/admin/resources/plugins/datatables/Responsive-2.2.5
/content/gmx-projects/gmx-admin/admin/resources/plugins/datatables/Responsive-2.2.5/css/responsive.bootstrap.css
table.dataTable.dtr-inline.collapsed > tbody > tr > td.child, table.dataTable.dtr-inline.collapsed > tbody > tr > th.child, table.dataTable.dtr-inline.collapsed > tbody > tr > td.dataTables_empty { cursor: default !important; } table.dataTable.dtr-inline.collapsed > tbody > tr > td.child:before, table.dataTable.dtr-inline.collapsed > tbody > tr > th.child:before, table.dataTable.dtr-inline.collapsed > tbody > tr > td.dataTables_empty:before { display: none !important; } table.dataTable.dtr-inline.collapsed > tbody > tr[role="row"] > td.dtr-control, table.dataTable.dtr-inline.collapsed > tbody > tr[role="row"] > th.dtr-control { position: relative; padding-left: 30px; cursor: pointer; } table.dataTable.dtr-inline.collapsed > tbody > tr[role="row"] > td.dtr-control:before, table.dataTable.dtr-inline.collapsed > tbody > tr[role="row"] > th.dtr-control:before { top: 50%; left: 5px; height: 14px; width: 14px; margin-top: -9px; display: block; position: absolute; color: white; border: 2px solid white; border-radius: 14px; box-shadow: 0 0 3px #444; box-sizing: content-box; text-align: center; text-indent: 0 !important; font-family: 'Courier New', Courier, monospace; line-height: 14px; content: '+'; background-color: #337ab7; } table.dataTable.dtr-inline.collapsed > tbody > tr.parent > td.dtr-control:before, table.dataTable.dtr-inline.collapsed > tbody > tr.parent > th.dtr-control:before { content: '-'; background-color: #d33333; } table.dataTable.dtr-inline.collapsed.compact > tbody > tr > td.dtr-control, table.dataTable.dtr-inline.collapsed.compact > tbody > tr > th.dtr-control { padding-left: 27px; } table.dataTable.dtr-inline.collapsed.compact > tbody > tr > td.dtr-control:before, table.dataTable.dtr-inline.collapsed.compact > tbody > tr > th.dtr-control:before { left: 4px; height: 14px; width: 14px; border-radius: 14px; line-height: 14px; text-indent: 3px; } table.dataTable.dtr-column > tbody > tr > td.control, table.dataTable.dtr-column > tbody > tr > th.control { position: relative; cursor: pointer; } table.dataTable.dtr-column > tbody > tr > td.control:before, table.dataTable.dtr-column > tbody > tr > th.control:before { top: 50%; left: 50%; height: 16px; width: 16px; margin-top: -10px; margin-left: -10px; display: block; position: absolute; color: white; border: 2px solid white; border-radius: 14px; box-shadow: 0 0 3px #444; box-sizing: content-box; text-align: center; text-indent: 0 !important; font-family: 'Courier New', Courier, monospace; line-height: 14px; content: '+'; background-color: #337ab7; } table.dataTable.dtr-column > tbody > tr.parent td.control:before, table.dataTable.dtr-column > tbody > tr.parent th.control:before { content: '-'; background-color: #d33333; } table.dataTable > tbody > tr.child { padding: 0.5em 1em; } table.dataTable > tbody > tr.child:hover { background: transparent !important; } table.dataTable > tbody > tr.child ul.dtr-details { display: inline-block; list-style-type: none; margin: 0; padding: 0; } table.dataTable > tbody > tr.child ul.dtr-details > li { border-bottom: 1px solid #efefef; padding: 0.5em 0; } table.dataTable > tbody > tr.child ul.dtr-details > li:first-child { padding-top: 0; } table.dataTable > tbody > tr.child ul.dtr-details > li:last-child { border-bottom: none; } table.dataTable > tbody > tr.child span.dtr-title { display: inline-block; min-width: 75px; font-weight: bold; } div.dtr-modal { position: fixed; box-sizing: border-box; top: 0; left: 0; height: 100%; width: 100%; z-index: 100; padding: 10em 1em; } div.dtr-modal div.dtr-modal-display { position: absolute; top: 0; left: 0; bottom: 0; right: 0; width: 50%; height: 50%; overflow: auto; margin: auto; z-index: 102; overflow: auto; background-color: #f5f5f7; border: 1px solid black; border-radius: 0.5em; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6); } div.dtr-modal div.dtr-modal-content { position: relative; padding: 1em; } div.dtr-modal div.dtr-modal-close { position: absolute; top: 6px; right: 6px; width: 22px; height: 22px; border: 1px solid #eaeaea; background-color: #f9f9f9; text-align: center; border-radius: 3px; cursor: pointer; z-index: 12; } div.dtr-modal div.dtr-modal-close:hover { background-color: #eaeaea; } div.dtr-modal div.dtr-modal-background { position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 101; background: rgba(0, 0, 0, 0.6); } @media screen and (max-width: 767px) { div.dtr-modal div.dtr-modal-display { width: 95%; } } div.dtr-bs-modal table.table tr:first-child td { border-top: none; }
0
/content/gmx-projects/gmx-admin/admin/resources/plugins/datatables/Responsive-2.2.5
/content/gmx-projects/gmx-admin/admin/resources/plugins/datatables/Responsive-2.2.5/css/responsive.bootstrap.min.css
table.dataTable.dtr-inline.collapsed>tbody>tr>td.child,table.dataTable.dtr-inline.collapsed>tbody>tr>th.child,table.dataTable.dtr-inline.collapsed>tbody>tr>td.dataTables_empty{cursor:default !important}table.dataTable.dtr-inline.collapsed>tbody>tr>td.child:before,table.dataTable.dtr-inline.collapsed>tbody>tr>th.child:before,table.dataTable.dtr-inline.collapsed>tbody>tr>td.dataTables_empty:before{display:none !important}table.dataTable.dtr-inline.collapsed>tbody>tr[role="row"]>td.dtr-control,table.dataTable.dtr-inline.collapsed>tbody>tr[role="row"]>th.dtr-control{position:relative;padding-left:30px;cursor:pointer}table.dataTable.dtr-inline.collapsed>tbody>tr[role="row"]>td.dtr-control:before,table.dataTable.dtr-inline.collapsed>tbody>tr[role="row"]>th.dtr-control:before{top:50%;left:5px;height:14px;width:14px;margin-top:-9px;display:block;position:absolute;color:white;border:2px solid white;border-radius:14px;box-shadow:0 0 3px #444;box-sizing:content-box;text-align:center;text-indent:0 !important;font-family:'Courier New', Courier, monospace;line-height:14px;content:'+';background-color:#337ab7}table.dataTable.dtr-inline.collapsed>tbody>tr.parent>td.dtr-control:before,table.dataTable.dtr-inline.collapsed>tbody>tr.parent>th.dtr-control:before{content:'-';background-color:#d33333}table.dataTable.dtr-inline.collapsed.compact>tbody>tr>td.dtr-control,table.dataTable.dtr-inline.collapsed.compact>tbody>tr>th.dtr-control{padding-left:27px}table.dataTable.dtr-inline.collapsed.compact>tbody>tr>td.dtr-control:before,table.dataTable.dtr-inline.collapsed.compact>tbody>tr>th.dtr-control:before{left:4px;height:14px;width:14px;border-radius:14px;line-height:14px;text-indent:3px}table.dataTable.dtr-column>tbody>tr>td.control,table.dataTable.dtr-column>tbody>tr>th.control{position:relative;cursor:pointer}table.dataTable.dtr-column>tbody>tr>td.control:before,table.dataTable.dtr-column>tbody>tr>th.control:before{top:50%;left:50%;height:16px;width:16px;margin-top:-10px;margin-left:-10px;display:block;position:absolute;color:white;border:2px solid white;border-radius:14px;box-shadow:0 0 3px #444;box-sizing:content-box;text-align:center;text-indent:0 !important;font-family:'Courier New', Courier, monospace;line-height:14px;content:'+';background-color:#337ab7}table.dataTable.dtr-column>tbody>tr.parent td.control:before,table.dataTable.dtr-column>tbody>tr.parent th.control:before{content:'-';background-color:#d33333}table.dataTable>tbody>tr.child{padding:0.5em 1em}table.dataTable>tbody>tr.child:hover{background:transparent !important}table.dataTable>tbody>tr.child ul.dtr-details{display:inline-block;list-style-type:none;margin:0;padding:0}table.dataTable>tbody>tr.child ul.dtr-details>li{border-bottom:1px solid #efefef;padding:0.5em 0}table.dataTable>tbody>tr.child ul.dtr-details>li:first-child{padding-top:0}table.dataTable>tbody>tr.child ul.dtr-details>li:last-child{border-bottom:none}table.dataTable>tbody>tr.child span.dtr-title{display:inline-block;min-width:75px;font-weight:bold}div.dtr-modal{position:fixed;box-sizing:border-box;top:0;left:0;height:100%;width:100%;z-index:100;padding:10em 1em}div.dtr-modal div.dtr-modal-display{position:absolute;top:0;left:0;bottom:0;right:0;width:50%;height:50%;overflow:auto;margin:auto;z-index:102;overflow:auto;background-color:#f5f5f7;border:1px solid black;border-radius:0.5em;box-shadow:0 12px 30px rgba(0,0,0,0.6)}div.dtr-modal div.dtr-modal-content{position:relative;padding:1em}div.dtr-modal div.dtr-modal-close{position:absolute;top:6px;right:6px;width:22px;height:22px;border:1px solid #eaeaea;background-color:#f9f9f9;text-align:center;border-radius:3px;cursor:pointer;z-index:12}div.dtr-modal div.dtr-modal-close:hover{background-color:#eaeaea}div.dtr-modal div.dtr-modal-background{position:fixed;top:0;left:0;right:0;bottom:0;z-index:101;background:rgba(0,0,0,0.6)}@media screen and (max-width: 767px){div.dtr-modal div.dtr-modal-display{width:95%}}div.dtr-bs-modal table.table tr:first-child td{border-top:none}
0
/content/gmx-projects/gmx-admin/admin/resources/plugins/datatables/Responsive-2.2.5
/content/gmx-projects/gmx-admin/admin/resources/plugins/datatables/Responsive-2.2.5/css/responsive.foundation.min.css
table.dataTable.dtr-inline.collapsed>tbody>tr>td.child,table.dataTable.dtr-inline.collapsed>tbody>tr>th.child,table.dataTable.dtr-inline.collapsed>tbody>tr>td.dataTables_empty{cursor:default !important}table.dataTable.dtr-inline.collapsed>tbody>tr>td.child:before,table.dataTable.dtr-inline.collapsed>tbody>tr>th.child:before,table.dataTable.dtr-inline.collapsed>tbody>tr>td.dataTables_empty:before{display:none !important}table.dataTable.dtr-inline.collapsed>tbody>tr[role="row"]>td.dtr-control,table.dataTable.dtr-inline.collapsed>tbody>tr[role="row"]>th.dtr-control{position:relative;padding-left:30px;cursor:pointer}table.dataTable.dtr-inline.collapsed>tbody>tr[role="row"]>td.dtr-control:before,table.dataTable.dtr-inline.collapsed>tbody>tr[role="row"]>th.dtr-control:before{top:50%;left:5px;height:14px;width:14px;margin-top:-9px;display:block;position:absolute;color:white;border:2px solid white;border-radius:14px;box-shadow:0 0 3px #444;box-sizing:content-box;text-align:center;text-indent:0 !important;font-family:'Courier New', Courier, monospace;line-height:14px;content:'+';background-color:#008CBA}table.dataTable.dtr-inline.collapsed>tbody>tr.parent>td.dtr-control:before,table.dataTable.dtr-inline.collapsed>tbody>tr.parent>th.dtr-control:before{content:'-';background-color:#d33333}table.dataTable.dtr-inline.collapsed.compact>tbody>tr>td.dtr-control,table.dataTable.dtr-inline.collapsed.compact>tbody>tr>th.dtr-control{padding-left:27px}table.dataTable.dtr-inline.collapsed.compact>tbody>tr>td.dtr-control:before,table.dataTable.dtr-inline.collapsed.compact>tbody>tr>th.dtr-control:before{left:4px;height:14px;width:14px;border-radius:14px;line-height:14px;text-indent:3px}table.dataTable.dtr-column>tbody>tr>td.control,table.dataTable.dtr-column>tbody>tr>th.control{position:relative;cursor:pointer}table.dataTable.dtr-column>tbody>tr>td.control:before,table.dataTable.dtr-column>tbody>tr>th.control:before{top:50%;left:50%;height:16px;width:16px;margin-top:-10px;margin-left:-10px;display:block;position:absolute;color:white;border:2px solid white;border-radius:14px;box-shadow:0 0 3px #444;box-sizing:content-box;text-align:center;text-indent:0 !important;font-family:'Courier New', Courier, monospace;line-height:14px;content:'+';background-color:#008CBA}table.dataTable.dtr-column>tbody>tr.parent td.control:before,table.dataTable.dtr-column>tbody>tr.parent th.control:before{content:'-';background-color:#d33333}table.dataTable>tbody>tr.child{padding:0.5em 1em}table.dataTable>tbody>tr.child:hover{background:transparent !important}table.dataTable>tbody>tr.child ul.dtr-details{display:inline-block;list-style-type:none;margin:0;padding:0}table.dataTable>tbody>tr.child ul.dtr-details>li{border-bottom:1px solid #efefef;padding:0.5em 0}table.dataTable>tbody>tr.child ul.dtr-details>li:first-child{padding-top:0}table.dataTable>tbody>tr.child ul.dtr-details>li:last-child{border-bottom:none}table.dataTable>tbody>tr.child span.dtr-title{display:inline-block;min-width:75px;font-weight:bold}div.dtr-modal{position:fixed;box-sizing:border-box;top:0;left:0;height:100%;width:100%;z-index:100;padding:10em 1em}div.dtr-modal div.dtr-modal-display{position:absolute;top:0;left:0;bottom:0;right:0;width:50%;height:50%;overflow:auto;margin:auto;z-index:102;overflow:auto;background-color:#f5f5f7;border:1px solid black;border-radius:0.5em;box-shadow:0 12px 30px rgba(0,0,0,0.6)}div.dtr-modal div.dtr-modal-content{position:relative;padding:1em}div.dtr-modal div.dtr-modal-close{position:absolute;top:6px;right:6px;width:22px;height:22px;border:1px solid #eaeaea;background-color:#f9f9f9;text-align:center;border-radius:3px;cursor:pointer;z-index:12}div.dtr-modal div.dtr-modal-close:hover{background-color:#eaeaea}div.dtr-modal div.dtr-modal-background{position:fixed;top:0;left:0;right:0;bottom:0;z-index:101;background:rgba(0,0,0,0.6)}@media screen and (max-width: 767px){div.dtr-modal div.dtr-modal-display{width:95%}}table.dataTable>tbody>tr.child ul{font-size:1em}
0
/content/gmx-projects/gmx-admin/admin/resources/plugins/datatables/Responsive-2.2.5
/content/gmx-projects/gmx-admin/admin/resources/plugins/datatables/Responsive-2.2.5/css/responsive.bootstrap4.min.css
table.dataTable.dtr-inline.collapsed>tbody>tr>td.child,table.dataTable.dtr-inline.collapsed>tbody>tr>th.child,table.dataTable.dtr-inline.collapsed>tbody>tr>td.dataTables_empty{cursor:default !important}table.dataTable.dtr-inline.collapsed>tbody>tr>td.child:before,table.dataTable.dtr-inline.collapsed>tbody>tr>th.child:before,table.dataTable.dtr-inline.collapsed>tbody>tr>td.dataTables_empty:before{display:none !important}table.dataTable.dtr-inline.collapsed>tbody>tr[role="row"]>td.dtr-control,table.dataTable.dtr-inline.collapsed>tbody>tr[role="row"]>th.dtr-control{position:relative;padding-left:30px;cursor:pointer}table.dataTable.dtr-inline.collapsed>tbody>tr[role="row"]>td.dtr-control:before,table.dataTable.dtr-inline.collapsed>tbody>tr[role="row"]>th.dtr-control:before{top:50%;left:5px;height:14px;width:14px;margin-top:-9px;display:block;position:absolute;color:white;border:2px solid white;border-radius:14px;box-shadow:0 0 3px #444;box-sizing:content-box;text-align:center;text-indent:0 !important;font-family:'Courier New', Courier, monospace;line-height:14px;content:'+';background-color:#0275d8}table.dataTable.dtr-inline.collapsed>tbody>tr.parent>td.dtr-control:before,table.dataTable.dtr-inline.collapsed>tbody>tr.parent>th.dtr-control:before{content:'-';background-color:#d33333}table.dataTable.dtr-inline.collapsed.compact>tbody>tr>td.dtr-control,table.dataTable.dtr-inline.collapsed.compact>tbody>tr>th.dtr-control{padding-left:27px}table.dataTable.dtr-inline.collapsed.compact>tbody>tr>td.dtr-control:before,table.dataTable.dtr-inline.collapsed.compact>tbody>tr>th.dtr-control:before{left:4px;height:14px;width:14px;border-radius:14px;line-height:14px;text-indent:3px}table.dataTable.dtr-column>tbody>tr>td.control,table.dataTable.dtr-column>tbody>tr>th.control{position:relative;cursor:pointer}table.dataTable.dtr-column>tbody>tr>td.control:before,table.dataTable.dtr-column>tbody>tr>th.control:before{top:50%;left:50%;height:16px;width:16px;margin-top:-10px;margin-left:-10px;display:block;position:absolute;color:white;border:2px solid white;border-radius:14px;box-shadow:0 0 3px #444;box-sizing:content-box;text-align:center;text-indent:0 !important;font-family:'Courier New', Courier, monospace;line-height:14px;content:'+';background-color:#0275d8}table.dataTable.dtr-column>tbody>tr.parent td.control:before,table.dataTable.dtr-column>tbody>tr.parent th.control:before{content:'-';background-color:#d33333}table.dataTable>tbody>tr.child{padding:0.5em 1em}table.dataTable>tbody>tr.child:hover{background:transparent !important}table.dataTable>tbody>tr.child ul.dtr-details{display:inline-block;list-style-type:none;margin:0;padding:0}table.dataTable>tbody>tr.child ul.dtr-details>li{border-bottom:1px solid #efefef;padding:0.5em 0}table.dataTable>tbody>tr.child ul.dtr-details>li:first-child{padding-top:0}table.dataTable>tbody>tr.child ul.dtr-details>li:last-child{border-bottom:none}table.dataTable>tbody>tr.child span.dtr-title{display:inline-block;min-width:75px;font-weight:bold}div.dtr-modal{position:fixed;box-sizing:border-box;top:0;left:0;height:100%;width:100%;z-index:100;padding:10em 1em}div.dtr-modal div.dtr-modal-display{position:absolute;top:0;left:0;bottom:0;right:0;width:50%;height:50%;overflow:auto;margin:auto;z-index:102;overflow:auto;background-color:#f5f5f7;border:1px solid black;border-radius:0.5em;box-shadow:0 12px 30px rgba(0,0,0,0.6)}div.dtr-modal div.dtr-modal-content{position:relative;padding:1em}div.dtr-modal div.dtr-modal-close{position:absolute;top:6px;right:6px;width:22px;height:22px;border:1px solid #eaeaea;background-color:#f9f9f9;text-align:center;border-radius:3px;cursor:pointer;z-index:12}div.dtr-modal div.dtr-modal-close:hover{background-color:#eaeaea}div.dtr-modal div.dtr-modal-background{position:fixed;top:0;left:0;right:0;bottom:0;z-index:101;background:rgba(0,0,0,0.6)}@media screen and (max-width: 767px){div.dtr-modal div.dtr-modal-display{width:95%}}div.dtr-bs-modal table.table tr:first-child td{border-top:none}table.dataTable.dtr-inline.collapsed.table-sm>tbody>tr>td:first-child:before,table.dataTable.dtr-inline.collapsed.table-sm>tbody>tr>th:first-child:before{top:5px}
0
/content/gmx-projects/gmx-admin/admin/resources/plugins/datatables/Responsive-2.2.5
/content/gmx-projects/gmx-admin/admin/resources/plugins/datatables/Responsive-2.2.5/css/responsive.dataTables.css
table.dataTable.dtr-inline.collapsed > tbody > tr > td.child, table.dataTable.dtr-inline.collapsed > tbody > tr > th.child, table.dataTable.dtr-inline.collapsed > tbody > tr > td.dataTables_empty { cursor: default !important; } table.dataTable.dtr-inline.collapsed > tbody > tr > td.child:before, table.dataTable.dtr-inline.collapsed > tbody > tr > th.child:before, table.dataTable.dtr-inline.collapsed > tbody > tr > td.dataTables_empty:before { display: none !important; } table.dataTable.dtr-inline.collapsed > tbody > tr[role="row"] > td.dtr-control, table.dataTable.dtr-inline.collapsed > tbody > tr[role="row"] > th.dtr-control { position: relative; padding-left: 30px; cursor: pointer; } table.dataTable.dtr-inline.collapsed > tbody > tr[role="row"] > td.dtr-control:before, table.dataTable.dtr-inline.collapsed > tbody > tr[role="row"] > th.dtr-control:before { top: 50%; left: 5px; height: 14px; width: 14px; margin-top: -9px; display: block; position: absolute; color: white; border: 2px solid white; border-radius: 14px; box-shadow: 0 0 3px #444; box-sizing: content-box; text-align: center; text-indent: 0 !important; font-family: 'Courier New', Courier, monospace; line-height: 14px; content: '+'; background-color: #31b131; } table.dataTable.dtr-inline.collapsed > tbody > tr.parent > td.dtr-control:before, table.dataTable.dtr-inline.collapsed > tbody > tr.parent > th.dtr-control:before { content: '-'; background-color: #d33333; } table.dataTable.dtr-inline.collapsed.compact > tbody > tr > td.dtr-control, table.dataTable.dtr-inline.collapsed.compact > tbody > tr > th.dtr-control { padding-left: 27px; } table.dataTable.dtr-inline.collapsed.compact > tbody > tr > td.dtr-control:before, table.dataTable.dtr-inline.collapsed.compact > tbody > tr > th.dtr-control:before { left: 4px; height: 14px; width: 14px; border-radius: 14px; line-height: 14px; text-indent: 3px; } table.dataTable.dtr-column > tbody > tr > td.control, table.dataTable.dtr-column > tbody > tr > th.control { position: relative; cursor: pointer; } table.dataTable.dtr-column > tbody > tr > td.control:before, table.dataTable.dtr-column > tbody > tr > th.control:before { top: 50%; left: 50%; height: 16px; width: 16px; margin-top: -10px; margin-left: -10px; display: block; position: absolute; color: white; border: 2px solid white; border-radius: 14px; box-shadow: 0 0 3px #444; box-sizing: content-box; text-align: center; text-indent: 0 !important; font-family: 'Courier New', Courier, monospace; line-height: 14px; content: '+'; background-color: #31b131; } table.dataTable.dtr-column > tbody > tr.parent td.control:before, table.dataTable.dtr-column > tbody > tr.parent th.control:before { content: '-'; background-color: #d33333; } table.dataTable > tbody > tr.child { padding: 0.5em 1em; } table.dataTable > tbody > tr.child:hover { background: transparent !important; } table.dataTable > tbody > tr.child ul.dtr-details { display: inline-block; list-style-type: none; margin: 0; padding: 0; } table.dataTable > tbody > tr.child ul.dtr-details > li { border-bottom: 1px solid #efefef; padding: 0.5em 0; } table.dataTable > tbody > tr.child ul.dtr-details > li:first-child { padding-top: 0; } table.dataTable > tbody > tr.child ul.dtr-details > li:last-child { border-bottom: none; } table.dataTable > tbody > tr.child span.dtr-title { display: inline-block; min-width: 75px; font-weight: bold; } div.dtr-modal { position: fixed; box-sizing: border-box; top: 0; left: 0; height: 100%; width: 100%; z-index: 100; padding: 10em 1em; } div.dtr-modal div.dtr-modal-display { position: absolute; top: 0; left: 0; bottom: 0; right: 0; width: 50%; height: 50%; overflow: auto; margin: auto; z-index: 102; overflow: auto; background-color: #f5f5f7; border: 1px solid black; border-radius: 0.5em; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6); } div.dtr-modal div.dtr-modal-content { position: relative; padding: 1em; } div.dtr-modal div.dtr-modal-close { position: absolute; top: 6px; right: 6px; width: 22px; height: 22px; border: 1px solid #eaeaea; background-color: #f9f9f9; text-align: center; border-radius: 3px; cursor: pointer; z-index: 12; } div.dtr-modal div.dtr-modal-close:hover { background-color: #eaeaea; } div.dtr-modal div.dtr-modal-background { position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 101; background: rgba(0, 0, 0, 0.6); } @media screen and (max-width: 767px) { div.dtr-modal div.dtr-modal-display { width: 95%; } }
0
/content/gmx-projects/gmx-admin/admin/resources/plugins/datatables/Responsive-2.2.5
/content/gmx-projects/gmx-admin/admin/resources/plugins/datatables/Responsive-2.2.5/css/responsive.bootstrap4.css
table.dataTable.dtr-inline.collapsed > tbody > tr > td.child, table.dataTable.dtr-inline.collapsed > tbody > tr > th.child, table.dataTable.dtr-inline.collapsed > tbody > tr > td.dataTables_empty { cursor: default !important; } table.dataTable.dtr-inline.collapsed > tbody > tr > td.child:before, table.dataTable.dtr-inline.collapsed > tbody > tr > th.child:before, table.dataTable.dtr-inline.collapsed > tbody > tr > td.dataTables_empty:before { display: none !important; } table.dataTable.dtr-inline.collapsed > tbody > tr[role="row"] > td.dtr-control, table.dataTable.dtr-inline.collapsed > tbody > tr[role="row"] > th.dtr-control { position: relative; padding-left: 30px; cursor: pointer; } table.dataTable.dtr-inline.collapsed > tbody > tr[role="row"] > td.dtr-control:before, table.dataTable.dtr-inline.collapsed > tbody > tr[role="row"] > th.dtr-control:before { top: 50%; left: 5px; height: 14px; width: 14px; margin-top: -9px; display: block; position: absolute; color: white; border: 2px solid white; border-radius: 14px; box-shadow: 0 0 3px #444; box-sizing: content-box; text-align: center; text-indent: 0 !important; font-family: 'Courier New', Courier, monospace; line-height: 14px; content: '+'; background-color: #0275d8; } table.dataTable.dtr-inline.collapsed > tbody > tr.parent > td.dtr-control:before, table.dataTable.dtr-inline.collapsed > tbody > tr.parent > th.dtr-control:before { content: '-'; background-color: #d33333; } table.dataTable.dtr-inline.collapsed.compact > tbody > tr > td.dtr-control, table.dataTable.dtr-inline.collapsed.compact > tbody > tr > th.dtr-control { padding-left: 27px; } table.dataTable.dtr-inline.collapsed.compact > tbody > tr > td.dtr-control:before, table.dataTable.dtr-inline.collapsed.compact > tbody > tr > th.dtr-control:before { left: 4px; height: 14px; width: 14px; border-radius: 14px; line-height: 14px; text-indent: 3px; } table.dataTable.dtr-column > tbody > tr > td.control, table.dataTable.dtr-column > tbody > tr > th.control { position: relative; cursor: pointer; } table.dataTable.dtr-column > tbody > tr > td.control:before, table.dataTable.dtr-column > tbody > tr > th.control:before { top: 50%; left: 50%; height: 16px; width: 16px; margin-top: -10px; margin-left: -10px; display: block; position: absolute; color: white; border: 2px solid white; border-radius: 14px; box-shadow: 0 0 3px #444; box-sizing: content-box; text-align: center; text-indent: 0 !important; font-family: 'Courier New', Courier, monospace; line-height: 14px; content: '+'; background-color: #0275d8; } table.dataTable.dtr-column > tbody > tr.parent td.control:before, table.dataTable.dtr-column > tbody > tr.parent th.control:before { content: '-'; background-color: #d33333; } table.dataTable > tbody > tr.child { padding: 0.5em 1em; } table.dataTable > tbody > tr.child:hover { background: transparent !important; } table.dataTable > tbody > tr.child ul.dtr-details { display: inline-block; list-style-type: none; margin: 0; padding: 0; } table.dataTable > tbody > tr.child ul.dtr-details > li { border-bottom: 1px solid #efefef; padding: 0.5em 0; } table.dataTable > tbody > tr.child ul.dtr-details > li:first-child { padding-top: 0; } table.dataTable > tbody > tr.child ul.dtr-details > li:last-child { border-bottom: none; } table.dataTable > tbody > tr.child span.dtr-title { display: inline-block; min-width: 75px; font-weight: bold; } div.dtr-modal { position: fixed; box-sizing: border-box; top: 0; left: 0; height: 100%; width: 100%; z-index: 100; padding: 10em 1em; } div.dtr-modal div.dtr-modal-display { position: absolute; top: 0; left: 0; bottom: 0; right: 0; width: 50%; height: 50%; overflow: auto; margin: auto; z-index: 102; overflow: auto; background-color: #f5f5f7; border: 1px solid black; border-radius: 0.5em; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6); } div.dtr-modal div.dtr-modal-content { position: relative; padding: 1em; } div.dtr-modal div.dtr-modal-close { position: absolute; top: 6px; right: 6px; width: 22px; height: 22px; border: 1px solid #eaeaea; background-color: #f9f9f9; text-align: center; border-radius: 3px; cursor: pointer; z-index: 12; } div.dtr-modal div.dtr-modal-close:hover { background-color: #eaeaea; } div.dtr-modal div.dtr-modal-background { position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 101; background: rgba(0, 0, 0, 0.6); } @media screen and (max-width: 767px) { div.dtr-modal div.dtr-modal-display { width: 95%; } } div.dtr-bs-modal table.table tr:first-child td { border-top: none; } table.dataTable.dtr-inline.collapsed.table-sm > tbody > tr > td:first-child:before, table.dataTable.dtr-inline.collapsed.table-sm > tbody > tr > th:first-child:before { top: 5px; }
0
/content/gmx-projects/gmx-admin/admin/resources/plugins/datatables/Responsive-2.2.5
/content/gmx-projects/gmx-admin/admin/resources/plugins/datatables/Responsive-2.2.5/css/responsive.semanticui.min.css
table.dataTable.dtr-inline.collapsed>tbody>tr>td.child,table.dataTable.dtr-inline.collapsed>tbody>tr>th.child,table.dataTable.dtr-inline.collapsed>tbody>tr>td.dataTables_empty{cursor:default !important}table.dataTable.dtr-inline.collapsed>tbody>tr>td.child:before,table.dataTable.dtr-inline.collapsed>tbody>tr>th.child:before,table.dataTable.dtr-inline.collapsed>tbody>tr>td.dataTables_empty:before{display:none !important}table.dataTable.dtr-inline.collapsed>tbody>tr[role="row"]>td.dtr-control,table.dataTable.dtr-inline.collapsed>tbody>tr[role="row"]>th.dtr-control{position:relative;padding-left:30px;cursor:pointer}table.dataTable.dtr-inline.collapsed>tbody>tr[role="row"]>td.dtr-control:before,table.dataTable.dtr-inline.collapsed>tbody>tr[role="row"]>th.dtr-control:before{top:50%;left:5px;height:14px;width:14px;margin-top:-9px;display:block;position:absolute;color:white;border:2px solid white;border-radius:14px;box-shadow:0 0 3px #444;box-sizing:content-box;text-align:center;text-indent:0 !important;font-family:'Courier New', Courier, monospace;line-height:14px;content:'+';background-color:#21ba45}table.dataTable.dtr-inline.collapsed>tbody>tr.parent>td.dtr-control:before,table.dataTable.dtr-inline.collapsed>tbody>tr.parent>th.dtr-control:before{content:'-';background-color:#d33333}table.dataTable.dtr-inline.collapsed.compact>tbody>tr>td.dtr-control,table.dataTable.dtr-inline.collapsed.compact>tbody>tr>th.dtr-control{padding-left:27px}table.dataTable.dtr-inline.collapsed.compact>tbody>tr>td.dtr-control:before,table.dataTable.dtr-inline.collapsed.compact>tbody>tr>th.dtr-control:before{left:4px;height:14px;width:14px;border-radius:14px;line-height:14px;text-indent:3px}table.dataTable.dtr-column>tbody>tr>td.control,table.dataTable.dtr-column>tbody>tr>th.control{position:relative;cursor:pointer}table.dataTable.dtr-column>tbody>tr>td.control:before,table.dataTable.dtr-column>tbody>tr>th.control:before{top:50%;left:50%;height:16px;width:16px;margin-top:-10px;margin-left:-10px;display:block;position:absolute;color:white;border:2px solid white;border-radius:14px;box-shadow:0 0 3px #444;box-sizing:content-box;text-align:center;text-indent:0 !important;font-family:'Courier New', Courier, monospace;line-height:14px;content:'+';background-color:#21ba45}table.dataTable.dtr-column>tbody>tr.parent td.control:before,table.dataTable.dtr-column>tbody>tr.parent th.control:before{content:'-';background-color:#d33333}table.dataTable>tbody>tr.child{padding:0.5em 1em}table.dataTable>tbody>tr.child:hover{background:transparent !important}table.dataTable>tbody>tr.child ul.dtr-details{display:inline-block;list-style-type:none;margin:0;padding:0}table.dataTable>tbody>tr.child ul.dtr-details>li{border-bottom:1px solid #efefef;padding:0.5em 0}table.dataTable>tbody>tr.child ul.dtr-details>li:first-child{padding-top:0}table.dataTable>tbody>tr.child ul.dtr-details>li:last-child{border-bottom:none}table.dataTable>tbody>tr.child span.dtr-title{display:inline-block;min-width:75px;font-weight:bold}div.dtr-modal{position:fixed;box-sizing:border-box;top:0;left:0;height:100%;width:100%;z-index:100;padding:10em 1em}div.dtr-modal div.dtr-modal-display{position:absolute;top:0;left:0;bottom:0;right:0;width:50%;height:50%;overflow:auto;margin:auto;z-index:102;overflow:auto;background-color:#f5f5f7;border:1px solid black;border-radius:0.5em;box-shadow:0 12px 30px rgba(0,0,0,0.6)}div.dtr-modal div.dtr-modal-content{position:relative;padding:1em}div.dtr-modal div.dtr-modal-close{position:absolute;top:6px;right:6px;width:22px;height:22px;border:1px solid #eaeaea;background-color:#f9f9f9;text-align:center;border-radius:3px;cursor:pointer;z-index:12}div.dtr-modal div.dtr-modal-close:hover{background-color:#eaeaea}div.dtr-modal div.dtr-modal-background{position:fixed;top:0;left:0;right:0;bottom:0;z-index:101;background:rgba(0,0,0,0.6)}@media screen and (max-width: 767px){div.dtr-modal div.dtr-modal-display{width:95%}}div.dtr-bs-modal table.table tr:first-child td{border-top:none}
0
/content/gmx-projects/gmx-admin/admin/resources/plugins/datatables/Responsive-2.2.5
/content/gmx-projects/gmx-admin/admin/resources/plugins/datatables/Responsive-2.2.5/css/responsive.jqueryui.css
table.dataTable.dtr-inline.collapsed > tbody > tr > td.child, table.dataTable.dtr-inline.collapsed > tbody > tr > th.child, table.dataTable.dtr-inline.collapsed > tbody > tr > td.dataTables_empty { cursor: default !important; } table.dataTable.dtr-inline.collapsed > tbody > tr > td.child:before, table.dataTable.dtr-inline.collapsed > tbody > tr > th.child:before, table.dataTable.dtr-inline.collapsed > tbody > tr > td.dataTables_empty:before { display: none !important; } table.dataTable.dtr-inline.collapsed > tbody > tr[role="row"] > td.dtr-control, table.dataTable.dtr-inline.collapsed > tbody > tr[role="row"] > th.dtr-control { position: relative; padding-left: 30px; cursor: pointer; } table.dataTable.dtr-inline.collapsed > tbody > tr[role="row"] > td.dtr-control:before, table.dataTable.dtr-inline.collapsed > tbody > tr[role="row"] > th.dtr-control:before { top: 50%; left: 5px; height: 14px; width: 14px; margin-top: -9px; display: block; position: absolute; color: white; border: 2px solid white; border-radius: 14px; box-shadow: 0 0 3px #444; box-sizing: content-box; text-align: center; text-indent: 0 !important; font-family: 'Courier New', Courier, monospace; line-height: 14px; content: '+'; background-color: #31b131; } table.dataTable.dtr-inline.collapsed > tbody > tr.parent > td.dtr-control:before, table.dataTable.dtr-inline.collapsed > tbody > tr.parent > th.dtr-control:before { content: '-'; background-color: #d33333; } table.dataTable.dtr-inline.collapsed.compact > tbody > tr > td.dtr-control, table.dataTable.dtr-inline.collapsed.compact > tbody > tr > th.dtr-control { padding-left: 27px; } table.dataTable.dtr-inline.collapsed.compact > tbody > tr > td.dtr-control:before, table.dataTable.dtr-inline.collapsed.compact > tbody > tr > th.dtr-control:before { left: 4px; height: 14px; width: 14px; border-radius: 14px; line-height: 14px; text-indent: 3px; } table.dataTable.dtr-column > tbody > tr > td.control, table.dataTable.dtr-column > tbody > tr > th.control { position: relative; cursor: pointer; } table.dataTable.dtr-column > tbody > tr > td.control:before, table.dataTable.dtr-column > tbody > tr > th.control:before { top: 50%; left: 50%; height: 16px; width: 16px; margin-top: -10px; margin-left: -10px; display: block; position: absolute; color: white; border: 2px solid white; border-radius: 14px; box-shadow: 0 0 3px #444; box-sizing: content-box; text-align: center; text-indent: 0 !important; font-family: 'Courier New', Courier, monospace; line-height: 14px; content: '+'; background-color: #31b131; } table.dataTable.dtr-column > tbody > tr.parent td.control:before, table.dataTable.dtr-column > tbody > tr.parent th.control:before { content: '-'; background-color: #d33333; } table.dataTable > tbody > tr.child { padding: 0.5em 1em; } table.dataTable > tbody > tr.child:hover { background: transparent !important; } table.dataTable > tbody > tr.child ul.dtr-details { display: inline-block; list-style-type: none; margin: 0; padding: 0; } table.dataTable > tbody > tr.child ul.dtr-details > li { border-bottom: 1px solid #efefef; padding: 0.5em 0; } table.dataTable > tbody > tr.child ul.dtr-details > li:first-child { padding-top: 0; } table.dataTable > tbody > tr.child ul.dtr-details > li:last-child { border-bottom: none; } table.dataTable > tbody > tr.child span.dtr-title { display: inline-block; min-width: 75px; font-weight: bold; } div.dtr-modal { position: fixed; box-sizing: border-box; top: 0; left: 0; height: 100%; width: 100%; z-index: 100; padding: 10em 1em; } div.dtr-modal div.dtr-modal-display { position: absolute; top: 0; left: 0; bottom: 0; right: 0; width: 50%; height: 50%; overflow: auto; margin: auto; z-index: 102; overflow: auto; background-color: #f5f5f7; border: 1px solid black; border-radius: 0.5em; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6); } div.dtr-modal div.dtr-modal-content { position: relative; padding: 1em; } div.dtr-modal div.dtr-modal-close { position: absolute; top: 6px; right: 6px; width: 22px; height: 22px; border: 1px solid #eaeaea; background-color: #f9f9f9; text-align: center; border-radius: 3px; cursor: pointer; z-index: 12; } div.dtr-modal div.dtr-modal-close:hover { background-color: #eaeaea; } div.dtr-modal div.dtr-modal-background { position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 101; background: rgba(0, 0, 0, 0.6); } @media screen and (max-width: 767px) { div.dtr-modal div.dtr-modal-display { width: 95%; } }
0
/content/gmx-projects/gmx-admin/admin/resources/plugins/datatables/Responsive-2.2.5
/content/gmx-projects/gmx-admin/admin/resources/plugins/datatables/Responsive-2.2.5/css/responsive.jqueryui.min.css
table.dataTable.dtr-inline.collapsed>tbody>tr>td.child,table.dataTable.dtr-inline.collapsed>tbody>tr>th.child,table.dataTable.dtr-inline.collapsed>tbody>tr>td.dataTables_empty{cursor:default !important}table.dataTable.dtr-inline.collapsed>tbody>tr>td.child:before,table.dataTable.dtr-inline.collapsed>tbody>tr>th.child:before,table.dataTable.dtr-inline.collapsed>tbody>tr>td.dataTables_empty:before{display:none !important}table.dataTable.dtr-inline.collapsed>tbody>tr[role="row"]>td.dtr-control,table.dataTable.dtr-inline.collapsed>tbody>tr[role="row"]>th.dtr-control{position:relative;padding-left:30px;cursor:pointer}table.dataTable.dtr-inline.collapsed>tbody>tr[role="row"]>td.dtr-control:before,table.dataTable.dtr-inline.collapsed>tbody>tr[role="row"]>th.dtr-control:before{top:50%;left:5px;height:14px;width:14px;margin-top:-9px;display:block;position:absolute;color:white;border:2px solid white;border-radius:14px;box-shadow:0 0 3px #444;box-sizing:content-box;text-align:center;text-indent:0 !important;font-family:'Courier New', Courier, monospace;line-height:14px;content:'+';background-color:#31b131}table.dataTable.dtr-inline.collapsed>tbody>tr.parent>td.dtr-control:before,table.dataTable.dtr-inline.collapsed>tbody>tr.parent>th.dtr-control:before{content:'-';background-color:#d33333}table.dataTable.dtr-inline.collapsed.compact>tbody>tr>td.dtr-control,table.dataTable.dtr-inline.collapsed.compact>tbody>tr>th.dtr-control{padding-left:27px}table.dataTable.dtr-inline.collapsed.compact>tbody>tr>td.dtr-control:before,table.dataTable.dtr-inline.collapsed.compact>tbody>tr>th.dtr-control:before{left:4px;height:14px;width:14px;border-radius:14px;line-height:14px;text-indent:3px}table.dataTable.dtr-column>tbody>tr>td.control,table.dataTable.dtr-column>tbody>tr>th.control{position:relative;cursor:pointer}table.dataTable.dtr-column>tbody>tr>td.control:before,table.dataTable.dtr-column>tbody>tr>th.control:before{top:50%;left:50%;height:16px;width:16px;margin-top:-10px;margin-left:-10px;display:block;position:absolute;color:white;border:2px solid white;border-radius:14px;box-shadow:0 0 3px #444;box-sizing:content-box;text-align:center;text-indent:0 !important;font-family:'Courier New', Courier, monospace;line-height:14px;content:'+';background-color:#31b131}table.dataTable.dtr-column>tbody>tr.parent td.control:before,table.dataTable.dtr-column>tbody>tr.parent th.control:before{content:'-';background-color:#d33333}table.dataTable>tbody>tr.child{padding:0.5em 1em}table.dataTable>tbody>tr.child:hover{background:transparent !important}table.dataTable>tbody>tr.child ul.dtr-details{display:inline-block;list-style-type:none;margin:0;padding:0}table.dataTable>tbody>tr.child ul.dtr-details>li{border-bottom:1px solid #efefef;padding:0.5em 0}table.dataTable>tbody>tr.child ul.dtr-details>li:first-child{padding-top:0}table.dataTable>tbody>tr.child ul.dtr-details>li:last-child{border-bottom:none}table.dataTable>tbody>tr.child span.dtr-title{display:inline-block;min-width:75px;font-weight:bold}div.dtr-modal{position:fixed;box-sizing:border-box;top:0;left:0;height:100%;width:100%;z-index:100;padding:10em 1em}div.dtr-modal div.dtr-modal-display{position:absolute;top:0;left:0;bottom:0;right:0;width:50%;height:50%;overflow:auto;margin:auto;z-index:102;overflow:auto;background-color:#f5f5f7;border:1px solid black;border-radius:0.5em;box-shadow:0 12px 30px rgba(0,0,0,0.6)}div.dtr-modal div.dtr-modal-content{position:relative;padding:1em}div.dtr-modal div.dtr-modal-close{position:absolute;top:6px;right:6px;width:22px;height:22px;border:1px solid #eaeaea;background-color:#f9f9f9;text-align:center;border-radius:3px;cursor:pointer;z-index:12}div.dtr-modal div.dtr-modal-close:hover{background-color:#eaeaea}div.dtr-modal div.dtr-modal-background{position:fixed;top:0;left:0;right:0;bottom:0;z-index:101;background:rgba(0,0,0,0.6)}@media screen and (max-width: 767px){div.dtr-modal div.dtr-modal-display{width:95%}}
0
/content/gmx-projects/gmx-admin/admin/resources/plugins/datatables/Responsive-2.2.5
/content/gmx-projects/gmx-admin/admin/resources/plugins/datatables/Responsive-2.2.5/css/responsive.semanticui.css
table.dataTable.dtr-inline.collapsed > tbody > tr > td.child, table.dataTable.dtr-inline.collapsed > tbody > tr > th.child, table.dataTable.dtr-inline.collapsed > tbody > tr > td.dataTables_empty { cursor: default !important; } table.dataTable.dtr-inline.collapsed > tbody > tr > td.child:before, table.dataTable.dtr-inline.collapsed > tbody > tr > th.child:before, table.dataTable.dtr-inline.collapsed > tbody > tr > td.dataTables_empty:before { display: none !important; } table.dataTable.dtr-inline.collapsed > tbody > tr[role="row"] > td.dtr-control, table.dataTable.dtr-inline.collapsed > tbody > tr[role="row"] > th.dtr-control { position: relative; padding-left: 30px; cursor: pointer; } table.dataTable.dtr-inline.collapsed > tbody > tr[role="row"] > td.dtr-control:before, table.dataTable.dtr-inline.collapsed > tbody > tr[role="row"] > th.dtr-control:before { top: 50%; left: 5px; height: 14px; width: 14px; margin-top: -9px; display: block; position: absolute; color: white; border: 2px solid white; border-radius: 14px; box-shadow: 0 0 3px #444; box-sizing: content-box; text-align: center; text-indent: 0 !important; font-family: 'Courier New', Courier, monospace; line-height: 14px; content: '+'; background-color: #21ba45; } table.dataTable.dtr-inline.collapsed > tbody > tr.parent > td.dtr-control:before, table.dataTable.dtr-inline.collapsed > tbody > tr.parent > th.dtr-control:before { content: '-'; background-color: #d33333; } table.dataTable.dtr-inline.collapsed.compact > tbody > tr > td.dtr-control, table.dataTable.dtr-inline.collapsed.compact > tbody > tr > th.dtr-control { padding-left: 27px; } table.dataTable.dtr-inline.collapsed.compact > tbody > tr > td.dtr-control:before, table.dataTable.dtr-inline.collapsed.compact > tbody > tr > th.dtr-control:before { left: 4px; height: 14px; width: 14px; border-radius: 14px; line-height: 14px; text-indent: 3px; } table.dataTable.dtr-column > tbody > tr > td.control, table.dataTable.dtr-column > tbody > tr > th.control { position: relative; cursor: pointer; } table.dataTable.dtr-column > tbody > tr > td.control:before, table.dataTable.dtr-column > tbody > tr > th.control:before { top: 50%; left: 50%; height: 16px; width: 16px; margin-top: -10px; margin-left: -10px; display: block; position: absolute; color: white; border: 2px solid white; border-radius: 14px; box-shadow: 0 0 3px #444; box-sizing: content-box; text-align: center; text-indent: 0 !important; font-family: 'Courier New', Courier, monospace; line-height: 14px; content: '+'; background-color: #21ba45; } table.dataTable.dtr-column > tbody > tr.parent td.control:before, table.dataTable.dtr-column > tbody > tr.parent th.control:before { content: '-'; background-color: #d33333; } table.dataTable > tbody > tr.child { padding: 0.5em 1em; } table.dataTable > tbody > tr.child:hover { background: transparent !important; } table.dataTable > tbody > tr.child ul.dtr-details { display: inline-block; list-style-type: none; margin: 0; padding: 0; } table.dataTable > tbody > tr.child ul.dtr-details > li { border-bottom: 1px solid #efefef; padding: 0.5em 0; } table.dataTable > tbody > tr.child ul.dtr-details > li:first-child { padding-top: 0; } table.dataTable > tbody > tr.child ul.dtr-details > li:last-child { border-bottom: none; } table.dataTable > tbody > tr.child span.dtr-title { display: inline-block; min-width: 75px; font-weight: bold; } div.dtr-modal { position: fixed; box-sizing: border-box; top: 0; left: 0; height: 100%; width: 100%; z-index: 100; padding: 10em 1em; } div.dtr-modal div.dtr-modal-display { position: absolute; top: 0; left: 0; bottom: 0; right: 0; width: 50%; height: 50%; overflow: auto; margin: auto; z-index: 102; overflow: auto; background-color: #f5f5f7; border: 1px solid black; border-radius: 0.5em; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6); } div.dtr-modal div.dtr-modal-content { position: relative; padding: 1em; } div.dtr-modal div.dtr-modal-close { position: absolute; top: 6px; right: 6px; width: 22px; height: 22px; border: 1px solid #eaeaea; background-color: #f9f9f9; text-align: center; border-radius: 3px; cursor: pointer; z-index: 12; } div.dtr-modal div.dtr-modal-close:hover { background-color: #eaeaea; } div.dtr-modal div.dtr-modal-background { position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 101; background: rgba(0, 0, 0, 0.6); } @media screen and (max-width: 767px) { div.dtr-modal div.dtr-modal-display { width: 95%; } } div.dtr-bs-modal table.table tr:first-child td { border-top: none; }
0
/content/gmx-projects/gmx-admin/admin/resources/plugins
/content/gmx-projects/gmx-admin/admin/resources/plugins/profile/hammer.min.js
/*! Hammer.JS - v2.0.8 - 2016-04-23 * http://hammerjs.github.io/ * * Copyright (c) 2016 Jorik Tangelder; * Licensed under the MIT license */ !function(a,b,c,d){"use strict";function e(a,b,c){return setTimeout(j(a,c),b)}function f(a,b,c){return Array.isArray(a)?(g(a,c[b],c),!0):!1}function g(a,b,c){var e;if(a)if(a.forEach)a.forEach(b,c);else if(a.length!==d)for(e=0;e<a.length;)b.call(c,a[e],e,a),e++;else for(e in a)a.hasOwnProperty(e)&&b.call(c,a[e],e,a)}function h(b,c,d){var e="DEPRECATED METHOD: "+c+"\n"+d+" AT \n";return function(){var c=new Error("get-stack-trace"),d=c&&c.stack?c.stack.replace(/^[^\(]+?[\n$]/gm,"").replace(/^\s+at\s+/gm,"").replace(/^Object.<anonymous>\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",f=a.console&&(a.console.warn||a.console.log);return f&&f.call(a.console,e,d),b.apply(this,arguments)}}function i(a,b,c){var d,e=b.prototype;d=a.prototype=Object.create(e),d.constructor=a,d._super=e,c&&la(d,c)}function j(a,b){return function(){return a.apply(b,arguments)}}function k(a,b){return typeof a==oa?a.apply(b?b[0]||d:d,b):a}function l(a,b){return a===d?b:a}function m(a,b,c){g(q(b),function(b){a.addEventListener(b,c,!1)})}function n(a,b,c){g(q(b),function(b){a.removeEventListener(b,c,!1)})}function o(a,b){for(;a;){if(a==b)return!0;a=a.parentNode}return!1}function p(a,b){return a.indexOf(b)>-1}function q(a){return a.trim().split(/\s+/g)}function r(a,b,c){if(a.indexOf&&!c)return a.indexOf(b);for(var d=0;d<a.length;){if(c&&a[d][c]==b||!c&&a[d]===b)return d;d++}return-1}function s(a){return Array.prototype.slice.call(a,0)}function t(a,b,c){for(var d=[],e=[],f=0;f<a.length;){var g=b?a[f][b]:a[f];r(e,g)<0&&d.push(a[f]),e[f]=g,f++}return c&&(d=b?d.sort(function(a,c){return a[b]>c[b]}):d.sort()),d}function u(a,b){for(var c,e,f=b[0].toUpperCase()+b.slice(1),g=0;g<ma.length;){if(c=ma[g],e=c?c+f:b,e in a)return e;g++}return d}function v(){return ua++}function w(b){var c=b.ownerDocument||b;return c.defaultView||c.parentWindow||a}function x(a,b){var c=this;this.manager=a,this.callback=b,this.element=a.element,this.target=a.options.inputTarget,this.domHandler=function(b){k(a.options.enable,[a])&&c.handler(b)},this.init()}function y(a){var b,c=a.options.inputClass;return new(b=c?c:xa?M:ya?P:wa?R:L)(a,z)}function z(a,b,c){var d=c.pointers.length,e=c.changedPointers.length,f=b&Ea&&d-e===0,g=b&(Ga|Ha)&&d-e===0;c.isFirst=!!f,c.isFinal=!!g,f&&(a.session={}),c.eventType=b,A(a,c),a.emit("hammer.input",c),a.recognize(c),a.session.prevInput=c}function A(a,b){var c=a.session,d=b.pointers,e=d.length;c.firstInput||(c.firstInput=D(b)),e>1&&!c.firstMultiple?c.firstMultiple=D(b):1===e&&(c.firstMultiple=!1);var f=c.firstInput,g=c.firstMultiple,h=g?g.center:f.center,i=b.center=E(d);b.timeStamp=ra(),b.deltaTime=b.timeStamp-f.timeStamp,b.angle=I(h,i),b.distance=H(h,i),B(c,b),b.offsetDirection=G(b.deltaX,b.deltaY);var j=F(b.deltaTime,b.deltaX,b.deltaY);b.overallVelocityX=j.x,b.overallVelocityY=j.y,b.overallVelocity=qa(j.x)>qa(j.y)?j.x:j.y,b.scale=g?K(g.pointers,d):1,b.rotation=g?J(g.pointers,d):0,b.maxPointers=c.prevInput?b.pointers.length>c.prevInput.maxPointers?b.pointers.length:c.prevInput.maxPointers:b.pointers.length,C(c,b);var k=a.element;o(b.srcEvent.target,k)&&(k=b.srcEvent.target),b.target=k}function B(a,b){var c=b.center,d=a.offsetDelta||{},e=a.prevDelta||{},f=a.prevInput||{};b.eventType!==Ea&&f.eventType!==Ga||(e=a.prevDelta={x:f.deltaX||0,y:f.deltaY||0},d=a.offsetDelta={x:c.x,y:c.y}),b.deltaX=e.x+(c.x-d.x),b.deltaY=e.y+(c.y-d.y)}function C(a,b){var c,e,f,g,h=a.lastInterval||b,i=b.timeStamp-h.timeStamp;if(b.eventType!=Ha&&(i>Da||h.velocity===d)){var j=b.deltaX-h.deltaX,k=b.deltaY-h.deltaY,l=F(i,j,k);e=l.x,f=l.y,c=qa(l.x)>qa(l.y)?l.x:l.y,g=G(j,k),a.lastInterval=b}else c=h.velocity,e=h.velocityX,f=h.velocityY,g=h.direction;b.velocity=c,b.velocityX=e,b.velocityY=f,b.direction=g}function D(a){for(var b=[],c=0;c<a.pointers.length;)b[c]={clientX:pa(a.pointers[c].clientX),clientY:pa(a.pointers[c].clientY)},c++;return{timeStamp:ra(),pointers:b,center:E(b),deltaX:a.deltaX,deltaY:a.deltaY}}function E(a){var b=a.length;if(1===b)return{x:pa(a[0].clientX),y:pa(a[0].clientY)};for(var c=0,d=0,e=0;b>e;)c+=a[e].clientX,d+=a[e].clientY,e++;return{x:pa(c/b),y:pa(d/b)}}function F(a,b,c){return{x:b/a||0,y:c/a||0}}function G(a,b){return a===b?Ia:qa(a)>=qa(b)?0>a?Ja:Ka:0>b?La:Ma}function H(a,b,c){c||(c=Qa);var d=b[c[0]]-a[c[0]],e=b[c[1]]-a[c[1]];return Math.sqrt(d*d+e*e)}function I(a,b,c){c||(c=Qa);var d=b[c[0]]-a[c[0]],e=b[c[1]]-a[c[1]];return 180*Math.atan2(e,d)/Math.PI}function J(a,b){return I(b[1],b[0],Ra)+I(a[1],a[0],Ra)}function K(a,b){return H(b[0],b[1],Ra)/H(a[0],a[1],Ra)}function L(){this.evEl=Ta,this.evWin=Ua,this.pressed=!1,x.apply(this,arguments)}function M(){this.evEl=Xa,this.evWin=Ya,x.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}function N(){this.evTarget=$a,this.evWin=_a,this.started=!1,x.apply(this,arguments)}function O(a,b){var c=s(a.touches),d=s(a.changedTouches);return b&(Ga|Ha)&&(c=t(c.concat(d),"identifier",!0)),[c,d]}function P(){this.evTarget=bb,this.targetIds={},x.apply(this,arguments)}function Q(a,b){var c=s(a.touches),d=this.targetIds;if(b&(Ea|Fa)&&1===c.length)return d[c[0].identifier]=!0,[c,c];var e,f,g=s(a.changedTouches),h=[],i=this.target;if(f=c.filter(function(a){return o(a.target,i)}),b===Ea)for(e=0;e<f.length;)d[f[e].identifier]=!0,e++;for(e=0;e<g.length;)d[g[e].identifier]&&h.push(g[e]),b&(Ga|Ha)&&delete d[g[e].identifier],e++;return h.length?[t(f.concat(h),"identifier",!0),h]:void 0}function R(){x.apply(this,arguments);var a=j(this.handler,this);this.touch=new P(this.manager,a),this.mouse=new L(this.manager,a),this.primaryTouch=null,this.lastTouches=[]}function S(a,b){a&Ea?(this.primaryTouch=b.changedPointers[0].identifier,T.call(this,b)):a&(Ga|Ha)&&T.call(this,b)}function T(a){var b=a.changedPointers[0];if(b.identifier===this.primaryTouch){var c={x:b.clientX,y:b.clientY};this.lastTouches.push(c);var d=this.lastTouches,e=function(){var a=d.indexOf(c);a>-1&&d.splice(a,1)};setTimeout(e,cb)}}function U(a){for(var b=a.srcEvent.clientX,c=a.srcEvent.clientY,d=0;d<this.lastTouches.length;d++){var e=this.lastTouches[d],f=Math.abs(b-e.x),g=Math.abs(c-e.y);if(db>=f&&db>=g)return!0}return!1}function V(a,b){this.manager=a,this.set(b)}function W(a){if(p(a,jb))return jb;var b=p(a,kb),c=p(a,lb);return b&&c?jb:b||c?b?kb:lb:p(a,ib)?ib:hb}function X(){if(!fb)return!1;var b={},c=a.CSS&&a.CSS.supports;return["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach(function(d){b[d]=c?a.CSS.supports("touch-action",d):!0}),b}function Y(a){this.options=la({},this.defaults,a||{}),this.id=v(),this.manager=null,this.options.enable=l(this.options.enable,!0),this.state=nb,this.simultaneous={},this.requireFail=[]}function Z(a){return a&sb?"cancel":a&qb?"end":a&pb?"move":a&ob?"start":""}function $(a){return a==Ma?"down":a==La?"up":a==Ja?"left":a==Ka?"right":""}function _(a,b){var c=b.manager;return c?c.get(a):a}function aa(){Y.apply(this,arguments)}function ba(){aa.apply(this,arguments),this.pX=null,this.pY=null}function ca(){aa.apply(this,arguments)}function da(){Y.apply(this,arguments),this._timer=null,this._input=null}function ea(){aa.apply(this,arguments)}function fa(){aa.apply(this,arguments)}function ga(){Y.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}function ha(a,b){return b=b||{},b.recognizers=l(b.recognizers,ha.defaults.preset),new ia(a,b)}function ia(a,b){this.options=la({},ha.defaults,b||{}),this.options.inputTarget=this.options.inputTarget||a,this.handlers={},this.session={},this.recognizers=[],this.oldCssProps={},this.element=a,this.input=y(this),this.touchAction=new V(this,this.options.touchAction),ja(this,!0),g(this.options.recognizers,function(a){var b=this.add(new a[0](a[1]));a[2]&&b.recognizeWith(a[2]),a[3]&&b.requireFailure(a[3])},this)}function ja(a,b){var c=a.element;if(c.style){var d;g(a.options.cssProps,function(e,f){d=u(c.style,f),b?(a.oldCssProps[d]=c.style[d],c.style[d]=e):c.style[d]=a.oldCssProps[d]||""}),b||(a.oldCssProps={})}}function ka(a,c){var d=b.createEvent("Event");d.initEvent(a,!0,!0),d.gesture=c,c.target.dispatchEvent(d)}var la,ma=["","webkit","Moz","MS","ms","o"],na=b.createElement("div"),oa="function",pa=Math.round,qa=Math.abs,ra=Date.now;la="function"!=typeof Object.assign?function(a){if(a===d||null===a)throw new TypeError("Cannot convert undefined or null to object");for(var b=Object(a),c=1;c<arguments.length;c++){var e=arguments[c];if(e!==d&&null!==e)for(var f in e)e.hasOwnProperty(f)&&(b[f]=e[f])}return b}:Object.assign;var sa=h(function(a,b,c){for(var e=Object.keys(b),f=0;f<e.length;)(!c||c&&a[e[f]]===d)&&(a[e[f]]=b[e[f]]),f++;return a},"extend","Use `assign`."),ta=h(function(a,b){return sa(a,b,!0)},"merge","Use `assign`."),ua=1,va=/mobile|tablet|ip(ad|hone|od)|android/i,wa="ontouchstart"in a,xa=u(a,"PointerEvent")!==d,ya=wa&&va.test(navigator.userAgent),za="touch",Aa="pen",Ba="mouse",Ca="kinect",Da=25,Ea=1,Fa=2,Ga=4,Ha=8,Ia=1,Ja=2,Ka=4,La=8,Ma=16,Na=Ja|Ka,Oa=La|Ma,Pa=Na|Oa,Qa=["x","y"],Ra=["clientX","clientY"];x.prototype={handler:function(){},init:function(){this.evEl&&m(this.element,this.evEl,this.domHandler),this.evTarget&&m(this.target,this.evTarget,this.domHandler),this.evWin&&m(w(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&n(this.element,this.evEl,this.domHandler),this.evTarget&&n(this.target,this.evTarget,this.domHandler),this.evWin&&n(w(this.element),this.evWin,this.domHandler)}};var Sa={mousedown:Ea,mousemove:Fa,mouseup:Ga},Ta="mousedown",Ua="mousemove mouseup";i(L,x,{handler:function(a){var b=Sa[a.type];b&Ea&&0===a.button&&(this.pressed=!0),b&Fa&&1!==a.which&&(b=Ga),this.pressed&&(b&Ga&&(this.pressed=!1),this.callback(this.manager,b,{pointers:[a],changedPointers:[a],pointerType:Ba,srcEvent:a}))}});var Va={pointerdown:Ea,pointermove:Fa,pointerup:Ga,pointercancel:Ha,pointerout:Ha},Wa={2:za,3:Aa,4:Ba,5:Ca},Xa="pointerdown",Ya="pointermove pointerup pointercancel";a.MSPointerEvent&&!a.PointerEvent&&(Xa="MSPointerDown",Ya="MSPointerMove MSPointerUp MSPointerCancel"),i(M,x,{handler:function(a){var b=this.store,c=!1,d=a.type.toLowerCase().replace("ms",""),e=Va[d],f=Wa[a.pointerType]||a.pointerType,g=f==za,h=r(b,a.pointerId,"pointerId");e&Ea&&(0===a.button||g)?0>h&&(b.push(a),h=b.length-1):e&(Ga|Ha)&&(c=!0),0>h||(b[h]=a,this.callback(this.manager,e,{pointers:b,changedPointers:[a],pointerType:f,srcEvent:a}),c&&b.splice(h,1))}});var Za={touchstart:Ea,touchmove:Fa,touchend:Ga,touchcancel:Ha},$a="touchstart",_a="touchstart touchmove touchend touchcancel";i(N,x,{handler:function(a){var b=Za[a.type];if(b===Ea&&(this.started=!0),this.started){var c=O.call(this,a,b);b&(Ga|Ha)&&c[0].length-c[1].length===0&&(this.started=!1),this.callback(this.manager,b,{pointers:c[0],changedPointers:c[1],pointerType:za,srcEvent:a})}}});var ab={touchstart:Ea,touchmove:Fa,touchend:Ga,touchcancel:Ha},bb="touchstart touchmove touchend touchcancel";i(P,x,{handler:function(a){var b=ab[a.type],c=Q.call(this,a,b);c&&this.callback(this.manager,b,{pointers:c[0],changedPointers:c[1],pointerType:za,srcEvent:a})}});var cb=2500,db=25;i(R,x,{handler:function(a,b,c){var d=c.pointerType==za,e=c.pointerType==Ba;if(!(e&&c.sourceCapabilities&&c.sourceCapabilities.firesTouchEvents)){if(d)S.call(this,b,c);else if(e&&U.call(this,c))return;this.callback(a,b,c)}},destroy:function(){this.touch.destroy(),this.mouse.destroy()}});var eb=u(na.style,"touchAction"),fb=eb!==d,gb="compute",hb="auto",ib="manipulation",jb="none",kb="pan-x",lb="pan-y",mb=X();V.prototype={set:function(a){a==gb&&(a=this.compute()),fb&&this.manager.element.style&&mb[a]&&(this.manager.element.style[eb]=a),this.actions=a.toLowerCase().trim()},update:function(){this.set(this.manager.options.touchAction)},compute:function(){var a=[];return g(this.manager.recognizers,function(b){k(b.options.enable,[b])&&(a=a.concat(b.getTouchAction()))}),W(a.join(" "))},preventDefaults:function(a){var b=a.srcEvent,c=a.offsetDirection;if(this.manager.session.prevented)return void b.preventDefault();var d=this.actions,e=p(d,jb)&&!mb[jb],f=p(d,lb)&&!mb[lb],g=p(d,kb)&&!mb[kb];if(e){var h=1===a.pointers.length,i=a.distance<2,j=a.deltaTime<250;if(h&&i&&j)return}return g&&f?void 0:e||f&&c&Na||g&&c&Oa?this.preventSrc(b):void 0},preventSrc:function(a){this.manager.session.prevented=!0,a.preventDefault()}};var nb=1,ob=2,pb=4,qb=8,rb=qb,sb=16,tb=32;Y.prototype={defaults:{},set:function(a){return la(this.options,a),this.manager&&this.manager.touchAction.update(),this},recognizeWith:function(a){if(f(a,"recognizeWith",this))return this;var b=this.simultaneous;return a=_(a,this),b[a.id]||(b[a.id]=a,a.recognizeWith(this)),this},dropRecognizeWith:function(a){return f(a,"dropRecognizeWith",this)?this:(a=_(a,this),delete this.simultaneous[a.id],this)},requireFailure:function(a){if(f(a,"requireFailure",this))return this;var b=this.requireFail;return a=_(a,this),-1===r(b,a)&&(b.push(a),a.requireFailure(this)),this},dropRequireFailure:function(a){if(f(a,"dropRequireFailure",this))return this;a=_(a,this);var b=r(this.requireFail,a);return b>-1&&this.requireFail.splice(b,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(a){return!!this.simultaneous[a.id]},emit:function(a){function b(b){c.manager.emit(b,a)}var c=this,d=this.state;qb>d&&b(c.options.event+Z(d)),b(c.options.event),a.additionalEvent&&b(a.additionalEvent),d>=qb&&b(c.options.event+Z(d))},tryEmit:function(a){return this.canEmit()?this.emit(a):void(this.state=tb)},canEmit:function(){for(var a=0;a<this.requireFail.length;){if(!(this.requireFail[a].state&(tb|nb)))return!1;a++}return!0},recognize:function(a){var b=la({},a);return k(this.options.enable,[this,b])?(this.state&(rb|sb|tb)&&(this.state=nb),this.state=this.process(b),void(this.state&(ob|pb|qb|sb)&&this.tryEmit(b))):(this.reset(),void(this.state=tb))},process:function(a){},getTouchAction:function(){},reset:function(){}},i(aa,Y,{defaults:{pointers:1},attrTest:function(a){var b=this.options.pointers;return 0===b||a.pointers.length===b},process:function(a){var b=this.state,c=a.eventType,d=b&(ob|pb),e=this.attrTest(a);return d&&(c&Ha||!e)?b|sb:d||e?c&Ga?b|qb:b&ob?b|pb:ob:tb}}),i(ba,aa,{defaults:{event:"pan",threshold:10,pointers:1,direction:Pa},getTouchAction:function(){var a=this.options.direction,b=[];return a&Na&&b.push(lb),a&Oa&&b.push(kb),b},directionTest:function(a){var b=this.options,c=!0,d=a.distance,e=a.direction,f=a.deltaX,g=a.deltaY;return e&b.direction||(b.direction&Na?(e=0===f?Ia:0>f?Ja:Ka,c=f!=this.pX,d=Math.abs(a.deltaX)):(e=0===g?Ia:0>g?La:Ma,c=g!=this.pY,d=Math.abs(a.deltaY))),a.direction=e,c&&d>b.threshold&&e&b.direction},attrTest:function(a){return aa.prototype.attrTest.call(this,a)&&(this.state&ob||!(this.state&ob)&&this.directionTest(a))},emit:function(a){this.pX=a.deltaX,this.pY=a.deltaY;var b=$(a.direction);b&&(a.additionalEvent=this.options.event+b),this._super.emit.call(this,a)}}),i(ca,aa,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[jb]},attrTest:function(a){return this._super.attrTest.call(this,a)&&(Math.abs(a.scale-1)>this.options.threshold||this.state&ob)},emit:function(a){if(1!==a.scale){var b=a.scale<1?"in":"out";a.additionalEvent=this.options.event+b}this._super.emit.call(this,a)}}),i(da,Y,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return[hb]},process:function(a){var b=this.options,c=a.pointers.length===b.pointers,d=a.distance<b.threshold,f=a.deltaTime>b.time;if(this._input=a,!d||!c||a.eventType&(Ga|Ha)&&!f)this.reset();else if(a.eventType&Ea)this.reset(),this._timer=e(function(){this.state=rb,this.tryEmit()},b.time,this);else if(a.eventType&Ga)return rb;return tb},reset:function(){clearTimeout(this._timer)},emit:function(a){this.state===rb&&(a&&a.eventType&Ga?this.manager.emit(this.options.event+"up",a):(this._input.timeStamp=ra(),this.manager.emit(this.options.event,this._input)))}}),i(ea,aa,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[jb]},attrTest:function(a){return this._super.attrTest.call(this,a)&&(Math.abs(a.rotation)>this.options.threshold||this.state&ob)}}),i(fa,aa,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:Na|Oa,pointers:1},getTouchAction:function(){return ba.prototype.getTouchAction.call(this)},attrTest:function(a){var b,c=this.options.direction;return c&(Na|Oa)?b=a.overallVelocity:c&Na?b=a.overallVelocityX:c&Oa&&(b=a.overallVelocityY),this._super.attrTest.call(this,a)&&c&a.offsetDirection&&a.distance>this.options.threshold&&a.maxPointers==this.options.pointers&&qa(b)>this.options.velocity&&a.eventType&Ga},emit:function(a){var b=$(a.offsetDirection);b&&this.manager.emit(this.options.event+b,a),this.manager.emit(this.options.event,a)}}),i(ga,Y,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return[ib]},process:function(a){var b=this.options,c=a.pointers.length===b.pointers,d=a.distance<b.threshold,f=a.deltaTime<b.time;if(this.reset(),a.eventType&Ea&&0===this.count)return this.failTimeout();if(d&&f&&c){if(a.eventType!=Ga)return this.failTimeout();var g=this.pTime?a.timeStamp-this.pTime<b.interval:!0,h=!this.pCenter||H(this.pCenter,a.center)<b.posThreshold;this.pTime=a.timeStamp,this.pCenter=a.center,h&&g?this.count+=1:this.count=1,this._input=a;var i=this.count%b.taps;if(0===i)return this.hasRequireFailures()?(this._timer=e(function(){this.state=rb,this.tryEmit()},b.interval,this),ob):rb}return tb},failTimeout:function(){return this._timer=e(function(){this.state=tb},this.options.interval,this),tb},reset:function(){clearTimeout(this._timer)},emit:function(){this.state==rb&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))}}),ha.VERSION="2.0.8",ha.defaults={domEvents:!1,touchAction:gb,enable:!0,inputTarget:null,inputClass:null,preset:[[ea,{enable:!1}],[ca,{enable:!1},["rotate"]],[fa,{direction:Na}],[ba,{direction:Na},["swipe"]],[ga],[ga,{event:"doubletap",taps:2},["tap"]],[da]],cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}};var ub=1,vb=2;ia.prototype={set:function(a){return la(this.options,a),a.touchAction&&this.touchAction.update(),a.inputTarget&&(this.input.destroy(),this.input.target=a.inputTarget,this.input.init()),this},stop:function(a){this.session.stopped=a?vb:ub},recognize:function(a){var b=this.session;if(!b.stopped){this.touchAction.preventDefaults(a);var c,d=this.recognizers,e=b.curRecognizer;(!e||e&&e.state&rb)&&(e=b.curRecognizer=null);for(var f=0;f<d.length;)c=d[f],b.stopped===vb||e&&c!=e&&!c.canRecognizeWith(e)?c.reset():c.recognize(a),!e&&c.state&(ob|pb|qb)&&(e=b.curRecognizer=c),f++}},get:function(a){if(a instanceof Y)return a;for(var b=this.recognizers,c=0;c<b.length;c++)if(b[c].options.event==a)return b[c];return null},add:function(a){if(f(a,"add",this))return this;var b=this.get(a.options.event);return b&&this.remove(b),this.recognizers.push(a),a.manager=this,this.touchAction.update(),a},remove:function(a){if(f(a,"remove",this))return this;if(a=this.get(a)){var b=this.recognizers,c=r(b,a);-1!==c&&(b.splice(c,1),this.touchAction.update())}return this},on:function(a,b){if(a!==d&&b!==d){var c=this.handlers;return g(q(a),function(a){c[a]=c[a]||[],c[a].push(b)}),this}},off:function(a,b){if(a!==d){var c=this.handlers;return g(q(a),function(a){b?c[a]&&c[a].splice(r(c[a],b),1):delete c[a]}),this}},emit:function(a,b){this.options.domEvents&&ka(a,b);var c=this.handlers[a]&&this.handlers[a].slice();if(c&&c.length){b.type=a,b.preventDefault=function(){b.srcEvent.preventDefault()};for(var d=0;d<c.length;)c[d](b),d++}},destroy:function(){this.element&&ja(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null}},la(ha,{INPUT_START:Ea,INPUT_MOVE:Fa,INPUT_END:Ga,INPUT_CANCEL:Ha,STATE_POSSIBLE:nb,STATE_BEGAN:ob,STATE_CHANGED:pb,STATE_ENDED:qb,STATE_RECOGNIZED:rb,STATE_CANCELLED:sb,STATE_FAILED:tb,DIRECTION_NONE:Ia,DIRECTION_LEFT:Ja,DIRECTION_RIGHT:Ka,DIRECTION_UP:La,DIRECTION_DOWN:Ma,DIRECTION_HORIZONTAL:Na,DIRECTION_VERTICAL:Oa,DIRECTION_ALL:Pa,Manager:ia,Input:x,TouchAction:V,TouchInput:P,MouseInput:L,PointerEventInput:M,TouchMouseInput:R,SingleTouchInput:N,Recognizer:Y,AttrRecognizer:aa,Tap:ga,Pan:ba,Swipe:fa,Pinch:ca,Rotate:ea,Press:da,on:m,off:n,each:g,merge:ta,extend:sa,assign:la,inherit:i,bindFn:j,prefixed:u});var wb="undefined"!=typeof a?a:"undefined"!=typeof self?self:{};wb.Hammer=ha,"function"==typeof define&&define.amd?define(function(){return ha}):"undefined"!=typeof module&&module.exports?module.exports=ha:a[c]=ha}(window,document,"Hammer"); //# sourceMappingURL=hammer.min.js.map
0
/content/gmx-projects/gmx-admin/admin/resources/plugins
/content/gmx-projects/gmx-admin/admin/resources/plugins/profile/lrz.all.bundle.js
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var n=t();for(var r in n)("object"==typeof exports?exports:e)[r]=n[r]}}(this,function(){return function(e){function t(r){if(n[r])return n[r].exports;var i=n[r]={exports:{},id:r,loaded:!1};return e[r].call(i.exports,i,i.exports,t),i.loaded=!0,i.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){n(6),n(7),e.exports=n(8)},function(e,t,n){(function(t){!function(n){function r(e,t){return function(){e.apply(t,arguments)}}function i(e){if("object"!=typeof this)throw new TypeError("Promises must be constructed via new");if("function"!=typeof e)throw new TypeError("not a function");this._state=null,this._value=null,this._deferreds=[],l(e,r(a,this),r(s,this))}function o(e){var t=this;return null===this._state?void this._deferreds.push(e):void f(function(){var n=t._state?e.onFulfilled:e.onRejected;if(null===n)return void(t._state?e.resolve:e.reject)(t._value);var r;try{r=n(t._value)}catch(i){return void e.reject(i)}e.resolve(r)})}function a(e){try{if(e===this)throw new TypeError("A promise cannot be resolved with itself.");if(e&&("object"==typeof e||"function"==typeof e)){var t=e.then;if("function"==typeof t)return void l(r(t,e),r(a,this),r(s,this))}this._state=!0,this._value=e,u.call(this)}catch(n){s.call(this,n)}}function s(e){this._state=!1,this._value=e,u.call(this)}function u(){for(var e=0,t=this._deferreds.length;t>e;e++)o.call(this,this._deferreds[e]);this._deferreds=null}function c(e,t,n,r){this.onFulfilled="function"==typeof e?e:null,this.onRejected="function"==typeof t?t:null,this.resolve=n,this.reject=r}function l(e,t,n){var r=!1;try{e(function(e){r||(r=!0,t(e))},function(e){r||(r=!0,n(e))})}catch(i){if(r)return;r=!0,n(i)}}var f="function"==typeof t&&t||function(e){setTimeout(e,1)},d=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};i.prototype["catch"]=function(e){return this.then(null,e)},i.prototype.then=function(e,t){var n=this;return new i(function(r,i){o.call(n,new c(e,t,r,i))})},i.all=function(){var e=Array.prototype.slice.call(1===arguments.length&&d(arguments[0])?arguments[0]:arguments);return new i(function(t,n){function r(o,a){try{if(a&&("object"==typeof a||"function"==typeof a)){var s=a.then;if("function"==typeof s)return void s.call(a,function(e){r(o,e)},n)}e[o]=a,0===--i&&t(e)}catch(u){n(u)}}if(0===e.length)return t([]);for(var i=e.length,o=0;o<e.length;o++)r(o,e[o])})},i.resolve=function(e){return e&&"object"==typeof e&&e.constructor===i?e:new i(function(t){t(e)})},i.reject=function(e){return new i(function(t,n){n(e)})},i.race=function(e){return new i(function(t,n){for(var r=0,i=e.length;i>r;r++)e[r].then(t,n)})},i._setImmediateFn=function(e){f=e},i.prototype.always=function(e){var t=this.constructor;return this.then(function(n){return t.resolve(e()).then(function(){return n})},function(n){return t.resolve(e()).then(function(){throw n})})},"undefined"!=typeof e&&e.exports?e.exports=i:n.Promise||(n.Promise=i)}(this)}).call(t,n(2).setImmediate)},function(e,t,n){(function(e,r){function i(e,t){this._id=e,this._clearFn=t}var o=n(3).nextTick,a=Function.prototype.apply,s=Array.prototype.slice,u={},c=0;t.setTimeout=function(){return new i(a.call(setTimeout,window,arguments),clearTimeout)},t.setInterval=function(){return new i(a.call(setInterval,window,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e.close()},i.prototype.unref=i.prototype.ref=function(){},i.prototype.close=function(){this._clearFn.call(window,this._id)},t.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},t.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout(function(){e._onTimeout&&e._onTimeout()},t))},t.setImmediate="function"==typeof e?e:function(e){var n=c++,r=arguments.length<2?!1:s.call(arguments,1);return u[n]=!0,o(function(){u[n]&&(r?e.apply(null,r):e.call(null),t.clearImmediate(n))}),n},t.clearImmediate="function"==typeof r?r:function(e){delete u[e]}}).call(t,n(2).setImmediate,n(2).clearImmediate)},function(e,t){function n(){c=!1,a.length?u=a.concat(u):l=-1,u.length&&r()}function r(){if(!c){var e=setTimeout(n);c=!0;for(var t=u.length;t;){for(a=u,u=[];++l<t;)a&&a[l].run();l=-1,t=u.length}a=null,c=!1,clearTimeout(e)}}function i(e,t){this.fun=e,this.array=t}function o(){}var a,s=e.exports={},u=[],c=!1,l=-1;s.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];u.push(new i(e,t)),1!==u.length||c||setTimeout(r,0)},i.prototype.run=function(){this.fun.apply(null,this.array)},s.title="browser",s.browser=!0,s.env={},s.argv=[],s.version="",s.versions={},s.on=o,s.addListener=o,s.once=o,s.off=o,s.removeListener=o,s.removeAllListeners=o,s.emit=o,s.binding=function(e){throw new Error("process.binding is not supported")},s.cwd=function(){return"/"},s.chdir=function(e){throw new Error("process.chdir is not supported")},s.umask=function(){return 0}},function(e,t){function n(){var e=~navigator.userAgent.indexOf("Android")&&~navigator.vendor.indexOf("Google")&&!~navigator.userAgent.indexOf("Chrome");return e&&navigator.userAgent.match(/AppleWebKit\/(\d+)/).pop()<=534||/MQQBrowser/g.test(navigator.userAgent)}var r=function(){try{return new Blob,!0}catch(e){return!1}}()?window.Blob:function(e,t){var n=new(window.BlobBuilder||window.WebKitBlobBuilder||window.MSBlobBuilder||window.MozBlobBuilder);return e.forEach(function(e){n.append(e)}),n.getBlob(t?t.type:void 0)},i=function(){function e(){var e=this,n=[],i=Array(21).join("-")+(+new Date*(1e16*Math.random())).toString(36),o=XMLHttpRequest.prototype.send;this.getParts=function(){return n.toString()},this.append=function(e,t,r){n.push("--"+i+'\r\nContent-Disposition: form-data; name="'+e+'"'),t instanceof Blob?(n.push('; filename="'+(r||"blob")+'"\r\nContent-Type: '+t.type+"\r\n\r\n"),n.push(t)):n.push("\r\n\r\n"+t),n.push("\r\n")},t++,XMLHttpRequest.prototype.send=function(a){var s,u,c=this;a===e?(n.push("--"+i+"--\r\n"),u=new r(n),s=new FileReader,s.onload=function(){o.call(c,s.result)},s.onerror=function(e){throw e},s.readAsArrayBuffer(u),this.setRequestHeader("Content-Type","multipart/form-data; boundary="+i),t--,0==t&&(XMLHttpRequest.prototype.send=o)):o.call(this,a)}}var t=0;return e.prototype=Object.create(FormData.prototype),e}();e.exports={Blob:r,FormData:n()?i:FormData}},function(e,t,n){var r,i;(function(){function n(e){return!!e.exifdata}function o(e,t){t=t||e.match(/^data\:([^\;]+)\;base64,/im)[1]||"",e=e.replace(/^data\:([^\;]+)\;base64,/gim,"");for(var n=atob(e),r=n.length,i=new ArrayBuffer(r),o=new Uint8Array(i),a=0;r>a;a++)o[a]=n.charCodeAt(a);return i}function a(e,t){var n=new XMLHttpRequest;n.open("GET",e,!0),n.responseType="blob",n.onload=function(e){(200==this.status||0===this.status)&&t(this.response)},n.send()}function s(e,t){function n(n){var r=u(n),i=c(n);e.exifdata=r||{},e.iptcdata=i||{},t&&t.call(e)}if(e.src)if(/^data\:/i.test(e.src)){var r=o(e.src);n(r)}else if(/^blob\:/i.test(e.src)){var i=new FileReader;i.onload=function(e){n(e.target.result)},a(e.src,function(e){i.readAsArrayBuffer(e)})}else{var s=new XMLHttpRequest;s.onload=function(){200==this.status||0===this.status?n(s.response):t(new Error("Could not load image")),s=null},s.open("GET",e.src,!0),s.responseType="arraybuffer",s.send(null)}else if(window.FileReader&&(e instanceof window.Blob||e instanceof window.File)){var i=new FileReader;i.onload=function(e){p&&console.log("Got file of length "+e.target.result.byteLength),n(e.target.result)},i.readAsArrayBuffer(e)}}function u(e){var t=new DataView(e);if(p&&console.log("Got file of length "+e.byteLength),255!=t.getUint8(0)||216!=t.getUint8(1))return p&&console.log("Not a valid JPEG"),!1;for(var n,r=2,i=e.byteLength;i>r;){if(255!=t.getUint8(r))return p&&console.log("Not a valid marker at offset "+r+", found: "+t.getUint8(r)),!1;if(n=t.getUint8(r+1),p&&console.log(n),225==n)return p&&console.log("Found 0xFFE1 marker"),g(t,r+4,t.getUint16(r+2)-2);r+=2+t.getUint16(r+2)}}function c(e){var t=new DataView(e);if(p&&console.log("Got file of length "+e.byteLength),255!=t.getUint8(0)||216!=t.getUint8(1))return p&&console.log("Not a valid JPEG"),!1;for(var n=2,r=e.byteLength,i=function(e,t){return 56===e.getUint8(t)&&66===e.getUint8(t+1)&&73===e.getUint8(t+2)&&77===e.getUint8(t+3)&&4===e.getUint8(t+4)&&4===e.getUint8(t+5)};r>n;){if(i(t,n)){var o=t.getUint8(n+7);o%2!==0&&(o+=1),0===o&&(o=4);var a=n+8+o,s=t.getUint16(n+6+o);return l(e,a,s)}n++}}function l(e,t,n){for(var r,i,o,a,s,u=new DataView(e),c={},l=t;t+n>l;)28===u.getUint8(l)&&2===u.getUint8(l+1)&&(a=u.getUint8(l+2),a in S&&(o=u.getInt16(l+3),s=o+5,i=S[a],r=h(u,l+5,o),c.hasOwnProperty(i)?c[i]instanceof Array?c[i].push(r):c[i]=[c[i],r]:c[i]=r)),l++;return c}function f(e,t,n,r,i){var o,a,s,u=e.getUint16(n,!i),c={};for(s=0;u>s;s++)o=n+12*s+2,a=r[e.getUint16(o,!i)],!a&&p&&console.log("Unknown tag: "+e.getUint16(o,!i)),c[a]=d(e,o,t,n,i);return c}function d(e,t,n,r,i){var o,a,s,u,c,l,f=e.getUint16(t+2,!i),d=e.getUint32(t+4,!i),g=e.getUint32(t+8,!i)+n;switch(f){case 1:case 7:if(1==d)return e.getUint8(t+8,!i);for(o=d>4?g:t+8,a=[],u=0;d>u;u++)a[u]=e.getUint8(o+u);return a;case 2:return o=d>4?g:t+8,h(e,o,d-1);case 3:if(1==d)return e.getUint16(t+8,!i);for(o=d>2?g:t+8,a=[],u=0;d>u;u++)a[u]=e.getUint16(o+2*u,!i);return a;case 4:if(1==d)return e.getUint32(t+8,!i);for(a=[],u=0;d>u;u++)a[u]=e.getUint32(g+4*u,!i);return a;case 5:if(1==d)return c=e.getUint32(g,!i),l=e.getUint32(g+4,!i),s=new Number(c/l),s.numerator=c,s.denominator=l,s;for(a=[],u=0;d>u;u++)c=e.getUint32(g+8*u,!i),l=e.getUint32(g+4+8*u,!i),a[u]=new Number(c/l),a[u].numerator=c,a[u].denominator=l;return a;case 9:if(1==d)return e.getInt32(t+8,!i);for(a=[],u=0;d>u;u++)a[u]=e.getInt32(g+4*u,!i);return a;case 10:if(1==d)return e.getInt32(g,!i)/e.getInt32(g+4,!i);for(a=[],u=0;d>u;u++)a[u]=e.getInt32(g+8*u,!i)/e.getInt32(g+4+8*u,!i);return a}}function h(e,t,n){var r,i="";for(r=t;t+n>r;r++)i+=String.fromCharCode(e.getUint8(r));return i}function g(e,t){if("Exif"!=h(e,t,4))return p&&console.log("Not valid EXIF data! "+h(e,t,4)),!1;var n,r,i,o,a,s=t+6;if(18761==e.getUint16(s))n=!1;else{if(19789!=e.getUint16(s))return p&&console.log("Not valid TIFF data! (no 0x4949 or 0x4D4D)"),!1;n=!0}if(42!=e.getUint16(s+2,!n))return p&&console.log("Not valid TIFF data! (no 0x002A)"),!1;var u=e.getUint32(s+4,!n);if(8>u)return p&&console.log("Not valid TIFF data! (First offset less than 8)",e.getUint32(s+4,!n)),!1;if(r=f(e,s,s+u,v,n),r.ExifIFDPointer){o=f(e,s,s+r.ExifIFDPointer,w,n);for(i in o){switch(i){case"LightSource":case"Flash":case"MeteringMode":case"ExposureProgram":case"SensingMethod":case"SceneCaptureType":case"SceneType":case"CustomRendered":case"WhiteBalance":case"GainControl":case"Contrast":case"Saturation":case"Sharpness":case"SubjectDistanceRange":case"FileSource":o[i]=b[i][o[i]];break;case"ExifVersion":case"FlashpixVersion":o[i]=String.fromCharCode(o[i][0],o[i][1],o[i][2],o[i][3]);break;case"ComponentsConfiguration":o[i]=b.Components[o[i][0]]+b.Components[o[i][1]]+b.Components[o[i][2]]+b.Components[o[i][3]]}r[i]=o[i]}}if(r.GPSInfoIFDPointer){a=f(e,s,s+r.GPSInfoIFDPointer,y,n);for(i in a){switch(i){case"GPSVersionID":a[i]=a[i][0]+"."+a[i][1]+"."+a[i][2]+"."+a[i][3]}r[i]=a[i]}}return r}var p=!1,m=function(e){return e instanceof m?e:this instanceof m?void(this.EXIFwrapped=e):new m(e)};"undefined"!=typeof e&&e.exports&&(t=e.exports=m),t.EXIF=m;var w=m.Tags={36864:"ExifVersion",40960:"FlashpixVersion",40961:"ColorSpace",40962:"PixelXDimension",40963:"PixelYDimension",37121:"ComponentsConfiguration",37122:"CompressedBitsPerPixel",37500:"MakerNote",37510:"UserComment",40964:"RelatedSoundFile",36867:"DateTimeOriginal",36868:"DateTimeDigitized",37520:"SubsecTime",37521:"SubsecTimeOriginal",37522:"SubsecTimeDigitized",33434:"ExposureTime",33437:"FNumber",34850:"ExposureProgram",34852:"SpectralSensitivity",34855:"ISOSpeedRatings",34856:"OECF",37377:"ShutterSpeedValue",37378:"ApertureValue",37379:"BrightnessValue",37380:"ExposureBias",37381:"MaxApertureValue",37382:"SubjectDistance",37383:"MeteringMode",37384:"LightSource",37385:"Flash",37396:"SubjectArea",37386:"FocalLength",41483:"FlashEnergy",41484:"SpatialFrequencyResponse",41486:"FocalPlaneXResolution",41487:"FocalPlaneYResolution",41488:"FocalPlaneResolutionUnit",41492:"SubjectLocation",41493:"ExposureIndex",41495:"SensingMethod",41728:"FileSource",41729:"SceneType",41730:"CFAPattern",41985:"CustomRendered",41986:"ExposureMode",41987:"WhiteBalance",41988:"DigitalZoomRation",41989:"FocalLengthIn35mmFilm",41990:"SceneCaptureType",41991:"GainControl",41992:"Contrast",41993:"Saturation",41994:"Sharpness",41995:"DeviceSettingDescription",41996:"SubjectDistanceRange",40965:"InteroperabilityIFDPointer",42016:"ImageUniqueID"},v=m.TiffTags={256:"ImageWidth",257:"ImageHeight",34665:"ExifIFDPointer",34853:"GPSInfoIFDPointer",40965:"InteroperabilityIFDPointer",258:"BitsPerSample",259:"Compression",262:"PhotometricInterpretation",274:"Orientation",277:"SamplesPerPixel",284:"PlanarConfiguration",530:"YCbCrSubSampling",531:"YCbCrPositioning",282:"XResolution",283:"YResolution",296:"ResolutionUnit",273:"StripOffsets",278:"RowsPerStrip",279:"StripByteCounts",513:"JPEGInterchangeFormat",514:"JPEGInterchangeFormatLength",301:"TransferFunction",318:"WhitePoint",319:"PrimaryChromaticities",529:"YCbCrCoefficients",532:"ReferenceBlackWhite",306:"DateTime",270:"ImageDescription",271:"Make",272:"Model",305:"Software",315:"Artist",33432:"Copyright"},y=m.GPSTags={0:"GPSVersionID",1:"GPSLatitudeRef",2:"GPSLatitude",3:"GPSLongitudeRef",4:"GPSLongitude",5:"GPSAltitudeRef",6:"GPSAltitude",7:"GPSTimeStamp",8:"GPSSatellites",9:"GPSStatus",10:"GPSMeasureMode",11:"GPSDOP",12:"GPSSpeedRef",13:"GPSSpeed",14:"GPSTrackRef",15:"GPSTrack",16:"GPSImgDirectionRef",17:"GPSImgDirection",18:"GPSMapDatum",19:"GPSDestLatitudeRef",20:"GPSDestLatitude",21:"GPSDestLongitudeRef",22:"GPSDestLongitude",23:"GPSDestBearingRef",24:"GPSDestBearing",25:"GPSDestDistanceRef",26:"GPSDestDistance",27:"GPSProcessingMethod",28:"GPSAreaInformation",29:"GPSDateStamp",30:"GPSDifferential"},b=m.StringValues={ExposureProgram:{0:"Not defined",1:"Manual",2:"Normal program",3:"Aperture priority",4:"Shutter priority",5:"Creative program",6:"Action program",7:"Portrait mode",8:"Landscape mode"},MeteringMode:{0:"Unknown",1:"Average",2:"CenterWeightedAverage",3:"Spot",4:"MultiSpot",5:"Pattern",6:"Partial",255:"Other"},LightSource:{0:"Unknown",1:"Daylight",2:"Fluorescent",3:"Tungsten (incandescent light)",4:"Flash",9:"Fine weather",10:"Cloudy weather",11:"Shade",12:"Daylight fluorescent (D 5700 - 7100K)",13:"Day white fluorescent (N 4600 - 5400K)",14:"Cool white fluorescent (W 3900 - 4500K)",15:"White fluorescent (WW 3200 - 3700K)",17:"Standard light A",18:"Standard light B",19:"Standard light C",20:"D55",21:"D65",22:"D75",23:"D50",24:"ISO studio tungsten",255:"Other"},Flash:{0:"Flash did not fire",1:"Flash fired",5:"Strobe return light not detected",7:"Strobe return light detected",9:"Flash fired, compulsory flash mode",13:"Flash fired, compulsory flash mode, return light not detected",15:"Flash fired, compulsory flash mode, return light detected",16:"Flash did not fire, compulsory flash mode",24:"Flash did not fire, auto mode",25:"Flash fired, auto mode",29:"Flash fired, auto mode, return light not detected",31:"Flash fired, auto mode, return light detected",32:"No flash function",65:"Flash fired, red-eye reduction mode",69:"Flash fired, red-eye reduction mode, return light not detected",71:"Flash fired, red-eye reduction mode, return light detected",73:"Flash fired, compulsory flash mode, red-eye reduction mode",77:"Flash fired, compulsory flash mode, red-eye reduction mode, return light not detected",79:"Flash fired, compulsory flash mode, red-eye reduction mode, return light detected",89:"Flash fired, auto mode, red-eye reduction mode",93:"Flash fired, auto mode, return light not detected, red-eye reduction mode",95:"Flash fired, auto mode, return light detected, red-eye reduction mode"},SensingMethod:{1:"Not defined",2:"One-chip color area sensor",3:"Two-chip color area sensor",4:"Three-chip color area sensor",5:"Color sequential area sensor",7:"Trilinear sensor",8:"Color sequential linear sensor"},SceneCaptureType:{0:"Standard",1:"Landscape",2:"Portrait",3:"Night scene"},SceneType:{1:"Directly photographed"},CustomRendered:{0:"Normal process",1:"Custom process"},WhiteBalance:{0:"Auto white balance",1:"Manual white balance"},GainControl:{0:"None",1:"Low gain up",2:"High gain up",3:"Low gain down",4:"High gain down"},Contrast:{0:"Normal",1:"Soft",2:"Hard"},Saturation:{0:"Normal",1:"Low saturation",2:"High saturation"},Sharpness:{0:"Normal",1:"Soft",2:"Hard"},SubjectDistanceRange:{0:"Unknown",1:"Macro",2:"Close view",3:"Distant view"},FileSource:{3:"DSC"},Components:{0:"",1:"Y",2:"Cb",3:"Cr",4:"R",5:"G",6:"B"}},S={120:"caption",110:"credit",25:"keywords",55:"dateCreated",80:"byline",85:"bylineTitle",122:"captionWriter",105:"headline",116:"copyright",15:"category"};m.getData=function(e,t){return(e instanceof Image||e instanceof HTMLImageElement)&&!e.complete?!1:(n(e)?t&&t.call(e):s(e,t),!0)},m.getTag=function(e,t){return n(e)?e.exifdata[t]:void 0},m.getAllTags=function(e){if(!n(e))return{};var t,r=e.exifdata,i={};for(t in r)r.hasOwnProperty(t)&&(i[t]=r[t]);return i},m.pretty=function(e){if(!n(e))return"";var t,r=e.exifdata,i="";for(t in r)r.hasOwnProperty(t)&&(i+="object"==typeof r[t]?r[t]instanceof Number?t+" : "+r[t]+" ["+r[t].numerator+"/"+r[t].denominator+"]\r\n":t+" : ["+r[t].length+" values]\r\n":t+" : "+r[t]+"\r\n");return i},m.readFromBinaryFile=function(e){return u(e)},r=[],i=function(){return m}.apply(t,r),!(void 0!==i&&(e.exports=i))}).call(this)},function(e,t,n){var r,i;!function(){function n(e){var t=e.naturalWidth,n=e.naturalHeight;if(t*n>1048576){var r=document.createElement("canvas");r.width=r.height=1;var i=r.getContext("2d");return i.drawImage(e,-t+1,0),0===i.getImageData(0,0,1,1).data[3]}return!1}function o(e,t,n){var r=document.createElement("canvas");r.width=1,r.height=n;var i=r.getContext("2d");i.drawImage(e,0,0);for(var o=i.getImageData(0,0,1,n).data,a=0,s=n,u=n;u>a;){var c=o[4*(u-1)+3];0===c?s=u:a=u,u=s+a>>1}var l=u/n;return 0===l?1:l}function a(e,t,n){var r=document.createElement("canvas");return s(e,r,t,n),r.toDataURL("image/jpeg",t.quality||.8)}function s(e,t,r,i){var a=e.naturalWidth,s=e.naturalHeight,c=r.width,l=r.height,f=t.getContext("2d");f.save(),u(t,f,c,l,r.orientation);var d=n(e);d&&(a/=2,s/=2);var h=1024,g=document.createElement("canvas");g.width=g.height=h;for(var p=g.getContext("2d"),m=i?o(e,a,s):1,w=Math.ceil(h*c/a),v=Math.ceil(h*l/s/m),y=0,b=0;s>y;){for(var S=0,I=0;a>S;)p.clearRect(0,0,h,h),p.drawImage(e,-S,-y),f.drawImage(g,0,0,h,h,I,b,w,v),S+=h,I+=w;y+=h,b+=v}f.restore(),g=p=null}function u(e,t,n,r,i){switch(i){case 5:case 6:case 7:case 8:e.width=r,e.height=n;break;default:e.width=n,e.height=r}switch(i){case 2:t.translate(n,0),t.scale(-1,1);break;case 3:t.translate(n,r),t.rotate(Math.PI);break;case 4:t.translate(0,r),t.scale(1,-1);break;case 5:t.rotate(.5*Math.PI),t.scale(1,-1);break;case 6:t.rotate(.5*Math.PI),t.translate(0,-r);break;case 7:t.rotate(.5*Math.PI),t.translate(n,-r),t.scale(-1,1);break;case 8:t.rotate(-.5*Math.PI),t.translate(-n,0)}}function c(e){if(window.Blob&&e instanceof Blob){var t=new Image,n=window.URL&&window.URL.createObjectURL?window.URL:window.webkitURL&&window.webkitURL.createObjectURL?window.webkitURL:null;if(!n)throw Error("No createObjectURL function found to create blob url");t.src=n.createObjectURL(e),this.blob=e,e=t}if(!e.naturalWidth&&!e.naturalHeight){var r=this;e.onload=function(){var e=r.imageLoadListeners;if(e){r.imageLoadListeners=null;for(var t=0,n=e.length;n>t;t++)e[t]()}},this.imageLoadListeners=[]}this.srcImage=e}c.prototype.render=function(e,t,n){if(this.imageLoadListeners){var r=this;return void this.imageLoadListeners.push(function(){r.render(e,t,n)})}t=t||{};var i=this.srcImage,o=i.src,u=o.length,c=i.naturalWidth,l=i.naturalHeight,f=t.width,d=t.height,h=t.maxWidth,g=t.maxHeight,p=this.blob&&"image/jpeg"===this.blob.type||0===o.indexOf("data:image/jpeg")||o.indexOf(".jpg")===u-4||o.indexOf(".jpeg")===u-5;f&&!d?d=l*f/c<<0:d&&!f?f=c*d/l<<0:(f=c,d=l),h&&f>h&&(f=h,d=l*f/c<<0),g&&d>g&&(d=g,f=c*d/l<<0);var m={width:f,height:d};for(var w in t)m[w]=t[w];var v=e.tagName.toLowerCase();"img"===v?e.src=a(this.srcImage,m,p):"canvas"===v&&s(this.srcImage,e,m,p),"function"==typeof this.onrender&&this.onrender(e),n&&n()},r=[],i=function(){return c}.apply(t,r),!(void 0!==i&&(e.exports=i))}()},function(e,t){function n(e){function t(e){for(var t=[16,11,10,16,24,40,51,61,12,12,14,19,26,58,60,55,14,13,16,24,40,57,69,56,14,17,22,29,51,87,80,62,18,22,37,56,68,109,103,77,24,35,55,64,81,104,113,92,49,64,78,87,103,121,120,101,72,92,95,98,112,100,103,99],n=0;64>n;n++){var r=F((t[n]*e+50)/100);1>r?r=1:r>255&&(r=255),D[N[n]]=r}for(var i=[17,18,24,47,99,99,99,99,18,21,26,66,99,99,99,99,24,26,56,99,99,99,99,99,47,66,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99],o=0;64>o;o++){var a=F((i[o]*e+50)/100);1>a?a=1:a>255&&(a=255),x[N[o]]=a}for(var s=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],u=0,c=0;8>c;c++)for(var l=0;8>l;l++)U[u]=1/(D[N[u]]*s[c]*s[l]*8),C[u]=1/(x[N[u]]*s[c]*s[l]*8),u++}function n(e,t){for(var n=0,r=0,i=new Array,o=1;16>=o;o++){for(var a=1;a<=e[o];a++)i[t[r]]=[],i[t[r]][0]=n,i[t[r]][1]=o,r++,n++;n*=2}return i}function r(){y=n(W,H),b=n(V,X),S=n(z,q),I=n(Q,Y)}function i(){for(var e=1,t=2,n=1;15>=n;n++){for(var r=e;t>r;r++)A[32767+r]=n,T[32767+r]=[],T[32767+r][1]=n,T[32767+r][0]=r;for(var i=-(t-1);-e>=i;i++)A[32767+i]=n,T[32767+i]=[],T[32767+i][1]=n,T[32767+i][0]=t-1+i;e<<=1,t<<=1}}function o(){for(var e=0;256>e;e++)k[e]=19595*e,k[e+256>>0]=38470*e,k[e+512>>0]=7471*e+32768,k[e+768>>0]=-11059*e,k[e+1024>>0]=-21709*e,k[e+1280>>0]=32768*e+8421375,k[e+1536>>0]=-27439*e,k[e+1792>>0]=-5329*e}function a(e){for(var t=e[0],n=e[1]-1;n>=0;)t&1<<n&&(G|=1<<O),n--,O--,0>O&&(255==G?(s(255),s(0)):s(G),O=7,G=0)}function s(e){M.push(j[e])}function u(e){s(e>>8&255),s(255&e)}function c(e,t){var n,r,i,o,a,s,u,c,l,f=0;const d=8,h=64;for(l=0;d>l;++l){n=e[f],r=e[f+1],i=e[f+2],o=e[f+3],a=e[f+4],s=e[f+5],u=e[f+6],c=e[f+7];var g=n+c,p=n-c,m=r+u,w=r-u,v=i+s,y=i-s,b=o+a,S=o-a,I=g+b,P=g-b,F=m+v,D=m-v;e[f]=I+F,e[f+4]=I-F;var x=.707106781*(D+P);e[f+2]=P+x,e[f+6]=P-x,I=S+y,F=y+w,D=w+p;var U=.382683433*(I-D),C=.5411961*I+U,T=1.306562965*D+U,A=.707106781*F,R=p+A,M=p-A;e[f+5]=M+C,e[f+3]=M-C,e[f+1]=R+T,e[f+7]=R-T,f+=8}for(f=0,l=0;d>l;++l){n=e[f],r=e[f+8],i=e[f+16],o=e[f+24],a=e[f+32],s=e[f+40],u=e[f+48],c=e[f+56];var G=n+c,O=n-c,_=r+u,B=r-u,E=i+s,j=i-s,k=o+a,N=o-a,W=G+k,H=G-k,z=_+E,q=_-E;e[f]=W+z,e[f+32]=W-z;var V=.707106781*(q+H);e[f+16]=H+V,e[f+48]=H-V,W=N+j,z=j+B,q=B+O;var X=.382683433*(W-q),Q=.5411961*W+X,Y=1.306562965*q+X,K=.707106781*z,J=O+K,Z=O-K;e[f+40]=Z+Q,e[f+24]=Z-Q,e[f+8]=J+Y,e[f+56]=J-Y,f++}var $;for(l=0;h>l;++l)$=e[l]*t[l],L[l]=$>0?$+.5|0:$-.5|0;return L}function l(){u(65504),u(16),s(74),s(70),s(73),s(70),s(0),s(1),s(1),s(0),u(1),u(1),s(0),s(0)}function f(e,t){u(65472),u(17),s(8),u(t),u(e),s(3),s(1),s(17),s(0),s(2),s(17),s(1),s(3),s(17),s(1)}function d(){u(65499),u(132),s(0);for(var e=0;64>e;e++)s(D[e]);s(1);for(var t=0;64>t;t++)s(x[t])}function h(){u(65476),u(418),s(0);for(var e=0;16>e;e++)s(W[e+1]);for(var t=0;11>=t;t++)s(H[t]);s(16);for(var n=0;16>n;n++)s(z[n+1]);for(var r=0;161>=r;r++)s(q[r]);s(1);for(var i=0;16>i;i++)s(V[i+1]);for(var o=0;11>=o;o++)s(X[o]);s(17);for(var a=0;16>a;a++)s(Q[a+1]);for(var c=0;161>=c;c++)s(Y[c])}function g(){u(65498),u(12),s(3),s(1),s(0),s(2),s(17),s(3),s(17),s(0),s(63),s(0)}function p(e,t,n,r,i){var o,s=i[0],u=i[240];const l=16,f=63,d=64;for(var h=c(e,t),g=0;d>g;++g)R[N[g]]=h[g];var p=R[0]-n;n=R[0],0==p?a(r[0]):(o=32767+p,a(r[A[o]]),a(T[o]));for(var m=63;m>0&&0==R[m];m--);if(0==m)return a(s),n;for(var w,v=1;m>=v;){for(var y=v;0==R[v]&&m>=v;++v);var b=v-y;if(b>=l){w=b>>4;for(var S=1;w>=S;++S)a(u);b=15&b}o=32767+R[v],a(i[(b<<4)+A[o]]),a(T[o]),v++}return m!=f&&a(s),n}function m(){for(var e=String.fromCharCode,t=0;256>t;t++)j[t]=e(t)}function w(e){if(0>=e&&(e=1),e>100&&(e=100),P!=e){var n=0;n=50>e?Math.floor(5e3/e):Math.floor(200-2*e),t(n),P=e}}function v(){var t=(new Date).getTime();e||(e=50),m(),r(),i(),o(),w(e);(new Date).getTime()-t}var y,b,S,I,P,F=(Math.round,Math.floor),D=new Array(64),x=new Array(64),U=new Array(64),C=new Array(64),T=new Array(65535),A=new Array(65535),L=new Array(64),R=new Array(64),M=[],G=0,O=7,_=new Array(64),B=new Array(64),E=new Array(64),j=new Array(256),k=new Array(2048),N=[0,1,5,6,14,15,27,28,2,4,7,13,16,26,29,42,3,8,12,17,25,30,41,43,9,11,18,24,31,40,44,53,10,19,23,32,39,45,52,54,20,22,33,38,46,51,55,60,21,34,37,47,50,56,59,61,35,36,48,49,57,58,62,63],W=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],H=[0,1,2,3,4,5,6,7,8,9,10,11],z=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],q=[1,2,3,0,4,17,5,18,33,49,65,6,19,81,97,7,34,113,20,50,129,145,161,8,35,66,177,193,21,82,209,240,36,51,98,114,130,9,10,22,23,24,25,26,37,38,39,40,41,42,52,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,225,226,227,228,229,230,231,232,233,234,241,242,243,244,245,246,247,248,249,250],V=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],X=[0,1,2,3,4,5,6,7,8,9,10,11],Q=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],Y=[0,1,2,3,17,4,5,33,49,6,18,65,81,7,97,113,19,34,50,129,8,20,66,145,161,177,193,9,35,51,82,240,21,98,114,209,10,22,36,52,225,37,241,23,24,25,26,38,39,40,41,42,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,130,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,226,227,228,229,230,231,232,233,234,242,243,244,245,246,247,248,249,250];this.encode=function(e,t,n){var r=(new Date).getTime();t&&w(t),M=new Array,G=0,O=7,u(65496),l(),d(),f(e.width,e.height),h(),g();var i=0,o=0,s=0;G=0,O=7,this.encode.displayName="_encode_";for(var c,m,v,P,F,D,x,T,A,L=e.data,R=e.width,j=e.height,N=4*R,W=0;j>W;){for(c=0;N>c;){for(F=N*W+c,D=F,x=-1,T=0,A=0;64>A;A++)T=A>>3,x=4*(7&A),D=F+T*N+x,W+T>=j&&(D-=N*(W+1+T-j)),c+x>=N&&(D-=c+x-N+4),m=L[D++],v=L[D++],P=L[D++],_[A]=(k[m]+k[v+256>>0]+k[P+512>>0]>>16)-128,B[A]=(k[m+768>>0]+k[v+1024>>0]+k[P+1280>>0]>>16)-128,E[A]=(k[m+1280>>0]+k[v+1536>>0]+k[P+1792>>0]>>16)-128;i=p(_,U,i,y,S),o=p(B,C,o,b,I),s=p(E,C,s,b,I),c+=32}W+=8}if(O>=0){var H=[];H[1]=O+1,H[0]=(1<<O+1)-1,a(H)}if(u(65497),n){for(var z=M.length,q=new Uint8Array(z),V=0;z>V;V++)q[V]=M[V].charCodeAt();M=[];(new Date).getTime()-r;return q}var X="data:image/jpeg;base64,"+btoa(M.join(""));M=[];(new Date).getTime()-r;return X},v()}e.exports=n},function(e,t,n){function r(e,t){var n=this;if(!e)throw new Error("没有收到图片,可能的解决方案:https://github.com/think2011/localResizeIMG/issues/7");t=t||{},n.defaults={width:null,height:null,fieldName:"file",quality:.7},n.file=e;for(var r in t)t.hasOwnProperty(r)&&(n.defaults[r]=t[r]);return this.init()}function i(e){var t=null;return t=e?[].filter.call(document.scripts,function(t){return-1!==t.src.indexOf(e)})[0]:document.scripts[document.scripts.length-1],t?t.src.substr(0,t.src.lastIndexOf("/")):null}function o(e){var t;t=e.split(",")[0].indexOf("base64")>=0?atob(e.split(",")[1]):unescape(e.split(",")[1]);for(var n=e.split(",")[0].split(":")[1].split(";")[0],r=new Uint8Array(t.length),i=0;i<t.length;i++)r[i]=t.charCodeAt(i);return new s.Blob([r.buffer],{type:n})}n.p=i("lrz")+"/",window.URL=window.URL||window.webkitURL;var a=n(1),s=n(4),u=n(5),c=function(e){var t=/OS (\d)_.* like Mac OS X/g.exec(e),n=/Android (\d.*?);/g.exec(e)||/Android\/(\d.*?) /g.exec(e);return{oldIOS:t?+t.pop()<8:!1,oldAndroid:n?+n.pop().substr(0,3)<4.5:!1,iOS:/\(i[^;]+;( U;)? CPU.+Mac OS X/.test(e),android:/Android/g.test(e),mQQBrowser:/MQQBrowser/g.test(e)}}(navigator.userAgent);r.prototype.init=function(){var e=this,t=e.file,n="string"==typeof t,r=/^data:/.test(t),i=new Image,u=document.createElement("canvas"),c=n?t:URL.createObjectURL(t);if(e.img=i,e.blob=c,e.canvas=u,n?e.fileName=r?"base64.jpg":t.split("/").pop():e.fileName=t.name,!document.createElement("canvas").getContext)throw new Error("浏览器不支持canvas");return new a(function(n,a){i.onerror=function(){var e=new Error("加载图片文件失败");throw a(e),e},i.onload=function(){e._getBase64().then(function(e){if(e.length<10){var t=new Error("生成base64失败");throw a(t),t}return e}).then(function(r){var i=null;"object"==typeof e.file&&r.length>e.file.size?(i=new FormData,t=e.file):(i=new s.FormData,t=o(r)),i.append(e.defaults.fieldName,t,e.fileName.replace(/\..+/g,".jpg")),n({formData:i,fileLen:+t.size,base64:r,base64Len:r.length,origin:e.file,file:t});for(var a in e)e.hasOwnProperty(a)&&(e[a]=null);URL.revokeObjectURL(e.blob)})},!r&&(i.crossOrigin="*"),i.src=c})},r.prototype._getBase64=function(){var e=this,t=e.img,n=e.file,r=e.canvas;return new a(function(i){try{u.getData("object"==typeof n?n:t,function(){e.orientation=u.getTag(this,"Orientation"),e.resize=e._getResize(),e.ctx=r.getContext("2d"),r.width=e.resize.width,r.height=e.resize.height,e.ctx.fillStyle="#fff",e.ctx.fillRect(0,0,r.width,r.height),c.oldIOS?e._createBase64ForOldIOS().then(i):e._createBase64().then(i)})}catch(o){throw new Error(o)}})},r.prototype._createBase64ForOldIOS=function(){var e=this,t=e.img,r=e.canvas,i=e.defaults,o=e.orientation;return new a(function(e){!function(){var a=[n(6)];(function(n){var a=new n(t);"5678".indexOf(o)>-1?a.render(r,{width:r.height,height:r.width,orientation:o}):a.render(r,{width:r.width,height:r.height,orientation:o}),e(r.toDataURL("image/jpeg",i.quality))}).apply(null,a)}()})},r.prototype._createBase64=function(){var e=this,t=e.resize,r=e.img,i=e.canvas,o=e.ctx,s=e.defaults,u=e.orientation;switch(u){case 3:o.rotate(180*Math.PI/180),o.drawImage(r,-t.width,-t.height,t.width,t.height);break;case 6:o.rotate(90*Math.PI/180),o.drawImage(r,0,-t.width,t.height,t.width);break;case 8:o.rotate(270*Math.PI/180),o.drawImage(r,-t.height,0,t.height,t.width);break;case 2:o.translate(t.width,0),o.scale(-1,1),o.drawImage(r,0,0,t.width,t.height);break;case 4:o.translate(t.width,0),o.scale(-1,1),o.rotate(180*Math.PI/180),o.drawImage(r,-t.width,-t.height,t.width,t.height);break;case 5:o.translate(t.width,0),o.scale(-1,1),o.rotate(90*Math.PI/180),o.drawImage(r,0,-t.width,t.height,t.width);break;case 7:o.translate(t.width,0),o.scale(-1,1),o.rotate(270*Math.PI/180),o.drawImage(r,-t.height,0,t.height,t.width);break;default:o.drawImage(r,0,0,t.width,t.height)}return new a(function(e){c.oldAndroid||c.mQQBrowser||!navigator.userAgent?!function(){var t=[n(7)];(function(t){var n=new t,r=o.getImageData(0,0,i.width,i.height);e(n.encode(r,100*s.quality))}).apply(null,t)}():e(i.toDataURL("image/jpeg",s.quality))})},r.prototype._getResize=function(){var e=this,t=e.img,n=e.defaults,r=n.width,i=n.height,o=e.orientation,a={width:t.width,height:t.height};if("5678".indexOf(o)>-1&&(a.width=t.height,a.height=t.width),a.width<r||a.height<i)return a;var s=a.width/a.height;for(r&&i?s>=r/i?a.width>r&&(a.width=r,a.height=Math.ceil(r/s)):a.height>i&&(a.height=i,a.width=Math.ceil(i*s)):r?r<a.width&&(a.width=r,a.height=Math.ceil(r/s)):i&&i<a.height&&(a.width=Math.ceil(i*s),a.height=i);a.width>=3264||a.height>=2448;)a.width*=.8,a.height*=.8;return a},window.lrz=function(e,t){return new r(e,t)},window.lrz.version="4.9.40", e.exports=window.lrz}])}); //# sourceMappingURL=lrz.all.bundle.js.map
0
/content/gmx-projects/gmx-admin/admin/resources/plugins
/content/gmx-projects/gmx-admin/admin/resources/plugins/profile/PhotoClip.js
(function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(require("hammerjs"), require("iscroll/build/iscroll-zoom"), require("lrz")); else if(typeof define === 'function' && define.amd) define(["hammerjs", "iscroll", "lrz"], factory); else if(typeof exports === 'object') exports["PhotoClip"] = factory(require("hammerjs"), require("iscroll/build/iscroll-zoom"), require("lrz")); else root["PhotoClip"] = factory(root["Hammer"], root["IScroll"], root["lrz"]); })(window, function(__WEBPACK_EXTERNAL_MODULE__5__, __WEBPACK_EXTERNAL_MODULE__6__, __WEBPACK_EXTERNAL_MODULE__7__) { return /******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******/ /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache /******/ if(installedModules[moduleId]) { /******/ return installedModules[moduleId].exports; /******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = installedModules[moduleId] = { /******/ i: moduleId, /******/ l: false, /******/ exports: {} /******/ }; /******/ /******/ // Execute the module function /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); /******/ /******/ // Flag the module as loaded /******/ module.l = true; /******/ /******/ // Return the exports of the module /******/ return module.exports; /******/ } /******/ /******/ /******/ // expose the modules object (__webpack_modules__) /******/ __webpack_require__.m = modules; /******/ /******/ // expose the module cache /******/ __webpack_require__.c = installedModules; /******/ /******/ // define getter function for harmony exports /******/ __webpack_require__.d = function(exports, name, getter) { /******/ if(!__webpack_require__.o(exports, name)) { /******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); /******/ } /******/ }; /******/ /******/ // define __esModule on exports /******/ __webpack_require__.r = function(exports) { /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); /******/ } /******/ Object.defineProperty(exports, '__esModule', { value: true }); /******/ }; /******/ /******/ // create a fake namespace object /******/ // mode & 1: value is a module id, require it /******/ // mode & 2: merge all properties of value into the ns /******/ // mode & 4: return value when already ns object /******/ // mode & 8|1: behave like require /******/ __webpack_require__.t = function(value, mode) { /******/ if(mode & 1) value = __webpack_require__(value); /******/ if(mode & 8) return value; /******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; /******/ var ns = Object.create(null); /******/ __webpack_require__.r(ns); /******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); /******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); /******/ return ns; /******/ }; /******/ /******/ // getDefaultExport function for compatibility with non-harmony modules /******/ __webpack_require__.n = function(module) { /******/ var getter = module && module.__esModule ? /******/ function getDefault() { return module['default']; } : /******/ function getModuleExports() { return module; }; /******/ __webpack_require__.d(getter, 'a', getter); /******/ return getter; /******/ }; /******/ /******/ // Object.prototype.hasOwnProperty.call /******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; /******/ /******/ // __webpack_public_path__ /******/ __webpack_require__.p = ""; /******/ /******/ /******/ // Load entry module and return exports /******/ return __webpack_require__(__webpack_require__.s = 4); /******/ }) /************************************************************************/ /******/ ([ /* 0 */ /***/ (function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;(function (global, factory) { if (true) { !(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory), __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ? (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); } else { var mod; } })(this, function () { "use strict"; // Determine if the object is an array module.exports = function (obj) { return Object.prototype.toString.call(obj) === '[object Array]'; }; }); /***/ }), /* 1 */ /***/ (function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;(function (global, factory) { if (true) { !(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory), __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ? (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); } else { var mod; } })(this, function () { "use strict"; function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } // Determine if it is an object module.exports = function (obj) { return _typeof(obj) === 'object'; }; }); /***/ }), /* 2 */ /***/ (function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;(function (global, factory) { if (true) { !(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory), __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ? (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); } else { var mod; } })(this, function () { "use strict"; // Determine if it is a numeric type module.exports = function (num) { return typeof num === 'number'; }; }); /***/ }), /* 3 */ /***/ (function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;(function (global, factory) { if (true) { !(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory), __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ? (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); } else { var mod; } })(this, function () { "use strict"; function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } /**    * Let hidden elements execute programs correctly (IE9 and above)    * @param elems {DOM|Array} An array of DOM elements or DOM elements    * @param func {Function} Program function to be executed    * @param target {Object} The point of this in the function when executing the program    */ var defaultDisplayMap = {}; module.exports = function (elems, func, target) { if (_typeof(elems) !== 'object') { elems = []; } if (typeof elems.length === 'undefined') { elems = [elems]; } var hideElems = [], hideElemsDisplay = []; for (var i = 0, elem; elem = elems[i++];) { while (elem instanceof HTMLElement) { var nodeName = elem.nodeName; if (!elem.getClientRects().length) { hideElems.push(elem); hideElemsDisplay.push(elem.style.display); var display = defaultDisplayMap[nodeName]; if (!display) { var temp = document.createElement(nodeName); document.body.appendChild(temp); display = window.getComputedStyle(temp).display; temp.parentNode.removeChild(temp); if (display === 'none') display = 'block'; defaultDisplayMap[nodeName] = display; } elem.style.display = display; } if (nodeName === 'BODY') break; elem = elem.parentNode; } } if (typeof func === 'function') func.call(target || this); var l = hideElems.length; while (l--) { hideElems.pop().style.display = hideElemsDisplay.pop(); } }; }); /***/ }), /* 4 */ /***/ (function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;(function (global, factory) { if (true) { !(__WEBPACK_AMD_DEFINE_ARRAY__ = [exports, __webpack_require__(5), __webpack_require__(6), __webpack_require__(7), __webpack_require__(8), __webpack_require__(9), __webpack_require__(10), __webpack_require__(2), __webpack_require__(0), __webpack_require__(14), __webpack_require__(15), __webpack_require__(16), __webpack_require__(3), __webpack_require__(17), __webpack_require__(18), __webpack_require__(19), __webpack_require__(20), __webpack_require__(22)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory), __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ? (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); } else { var mod; } })(this, function (_exports, _hammerjs, _iscrollZoom, _lrz, _bind, _destroy2, _extend, _isNumber, _isArray, _isPercent, _createElement, _removeElement, _hideAction, _support, _css, _attr, _$, utils) { "use strict"; Object.defineProperty(_exports, "__esModule", { value: true }); _exports.default = void 0; _hammerjs = _interopRequireDefault(_hammerjs); _iscrollZoom = _interopRequireDefault(_iscrollZoom); _lrz = _interopRequireDefault(_lrz); _bind = _interopRequireDefault(_bind); _destroy2 = _interopRequireDefault(_destroy2); _extend = _interopRequireDefault(_extend); _isNumber = _interopRequireDefault(_isNumber); _isArray = _interopRequireDefault(_isArray); _isPercent = _interopRequireDefault(_isPercent); _createElement = _interopRequireDefault(_createElement); _removeElement = _interopRequireDefault(_removeElement); _hideAction = _interopRequireDefault(_hideAction); _support = _interopRequireDefault(_support); _css = _interopRequireDefault(_css); _attr = _interopRequireDefault(_attr); _$ = _interopRequireDefault(_$); utils = _interopRequireWildcard(utils); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = Object.defineProperty && Object.getOwnPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : {}; if (desc.get || desc.set) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } } newObj.default = obj; return newObj; } } function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; } var is_mobile = !!navigator.userAgent.match(/mobile/i), is_android = !!navigator.userAgent.match(/android/i), // Test if the browser supports Transition animation, as well as supported prefixes supportTransition = (0, _support.default)('transition'), prefix = (0, _support.default)('transform'), noop = function noop() {}; var defaultOptions = { size: [100, 100], adaptive: '', outputSize: [0, 0], outputType: 'jpg', outputQuality: .8, maxZoom: 1, rotateFree: !is_android, view: '', file: '', ok: '', img: '', loadStart: noop, loadComplete: noop, loadError: noop, done: noop, fail: noop, lrzOption: { width: is_android ? 1000 : undefined, height: is_android ? 1000 : undefined, quality: .7 }, style: { maskColor: 'rgba(0,0,0,.5)', maskBorder: '2px dashed #ddd', jpgFillColor: '#fff' }, errorMsg: { noSupport: 'Your browser version is too old to support cropping. Please replace it with a new one!', imgError: 'This image format is not supported. Please select a regular format image file!', imgHandleError: 'Image processing failed! Please try another image change', imgLoadError: 'Image reading failed! Please try another image change.', noImg: 'There are no pictures to crop!', clipError: 'The screenshot failed! There may be cross-domain issues with the current image source file. Make sure the image is the same as the app. If you are running the program in a local environment, replace it with the server environment.' } }; var PhotoClip = /*#__PURE__*/ function () { function PhotoClip(container, options) { _classCallCheck(this, PhotoClip); container = (0, _$.default)(container); // Get container if (container && container.length) { this._$container = container[0]; } else { return; } this._options = (0, _extend.default)(true, {}, defaultOptions, options); if (prefix === undefined) { this._options.errorMsg.noSupport && alert(this._options.errorMsg.noSupport); } this._init(); } _createClass(PhotoClip, [{ key: "_init", value: function _init() { var _this = this; var options = this._options; // options Preset if ((0, _isNumber.default)(options.size)) { options.size = [options.size, options.size]; } else if ((0, _isArray.default)(options.size)) { if (!(0, _isNumber.default)(options.size[0]) || options.size[0] <= 0) options.size[0] = defaultOptions.size[0]; if (!(0, _isNumber.default)(options.size[1]) || options.size[1] <= 0) options.size[1] = defaultOptions.size[1]; } else { options.size = (0, _extend.default)({}, defaultOptions.size); } if ((0, _isNumber.default)(options.outputSize)) { options.outputSize = [options.outputSize, 0]; } else if ((0, _isArray.default)(options.outputSize)) { if (!(0, _isNumber.default)(options.outputSize[0]) || options.outputSize[0] < 0) options.outputSize[0] = defaultOptions.outputSize[0]; if (!(0, _isNumber.default)(options.outputSize[1]) || options.outputSize[1] < 0) options.outputSize[1] = defaultOptions.outputSize[1]; } else { options.outputSize = (0, _extend.default)({}, defaultOptions.outputSize); } if (options.outputType === 'jpg') { options.outputType = 'image/jpeg'; } else { // If it is not jpg, then treat it all by png options.outputType = 'image/png'; } // Variable initialization if ((0, _isArray.default)(options.adaptive)) { this._widthIsPercent = options.adaptive[0] && (0, _isPercent.default)(options.adaptive[0]) ? options.adaptive[0] : false; this._heightIsPercent = options.adaptive[1] && (0, _isPercent.default)(options.adaptive[1]) ? options.adaptive[1] : false; } this._outputWidth = options.outputSize[0]; this._outputHeight = options.outputSize[1]; this._canvas = document.createElement('canvas'); // Picture used for cropping this._iScroll = null; // The scroll object of the image, including the position and zoom information of the image this._hammerManager = null; // Hammer management object this._clipWidth = 0; this._clipHeight = 0; this._clipSizeRatio = 1; // Intercept frame height to height ratio this._$img = null; // Image of the DOM object this._imgLoaded = false; // Whether the image has been loaded this._containerWidth = 0; this._containerHeight = 0; this._viewList = null; // The DOM array of the view container rendered after the final screenshot this._fileList = null; // The DOM array of the file control this._okList = null; // Screenshot button's DOM array this._$mask = null; this._$mask_left = null; this._$mask_right = null; this._$mask_right = null; this._$mask_bottom = null; this._$clip_frame = null; this._$clipLayer = null; // Crop layer, including moving layer this._$moveLayer = null; // Moving layer, including rotating layer this._$rotateLayer = null; // Rotating layer this._moveLayerWidth = 0; // The width of the moving layer (does not change with the scale) this._moveLayerHeight = 0; // The height of the moving layer (does not change with the scale) this._moveLayerPaddingLeft = 0; // When the width of the image is smaller than the width of the cropping frame, the compensation left margin of the moving layer (does not change with the scale) this._moveLayerPaddingTop = 0; // When the picture height is less than the height of the crop frame, the compensation top margin of the moving layer (does not change with the scale) this._atRotation = false; // Whether the rotating layer is rotating this._rotateLayerWidth = 0; // The width of the rectangle rendered by the rotation layer (does not change with the scale) this._rotateLayerHeight = 0; // The height of the rectangle rendered by the rotation layer (does not change with the scale) this._rotateLayerX = 0; // The current X coordinate of the rotation layer (does not change with the scale) this._rotateLayerY = 0; // The current Y coordinate of the rotation layer (does not change with the scale) this._rotateLayerOriginX = 0; // Rotating layer rotation reference point X (does not change with scale) this._rotateLayerOriginY = 0; // Rotating layer rotation reference point Y (does not change with scale) this._curAngle = 0; // The current angle of the rotating layer (0, _bind.default)(this, '_resetScroll', '_rotateCW90', '_fileOnChangeHandle', '_clipImg', '_resize', 'size', 'load', 'clear', 'rotate', 'scale', 'clip', 'destroy'); this._initElements(); this._initScroll(); this._initRotationEvent(); this._initFile(); this._resize(); window.addEventListener('resize', this._resize); if (this._okList = (0, _$.default)(options.ok)) { this._okList.forEach(function ($ok) { $ok.addEventListener('click', _this._clipImg); }); } if (this._options.img) { this._lrzHandle(this._options.img); } } }, { key: "_initElements", value: function _initElements() { // Initialize the container var $container = this._$container, style = $container.style, containerOriginStyle = {}; containerOriginStyle['user-select'] = style['user-select']; containerOriginStyle['overflow'] = style['overflow']; containerOriginStyle['position'] = style['position']; this._containerOriginStyle = containerOriginStyle; (0, _css.default)($container, { 'user-select': 'none', 'overflow': 'hidden' }); if ((0, _css.default)($container, 'position') === 'static') { (0, _css.default)($container, 'position', 'relative'); } // Create a clipping layer this._$clipLayer = (0, _createElement.default)($container, 'photo-clip-layer', { 'position': 'absolute', 'left': '50%', 'top': '50%' }); this._$moveLayer = (0, _createElement.default)(this._$clipLayer, 'photo-clip-move-layer'); this._$rotateLayer = (0, _createElement.default)(this._$moveLayer, 'photo-clip-rotate-layer'); // Create a mask var $mask = this._$mask = (0, _createElement.default)($container, 'photo-clip-mask', { 'position': 'absolute', 'left': 0, 'top': 0, 'width': '100%', 'height': '100%', 'pointer-events': 'none' }); var options = this._options, maskColor = options.style.maskColor, maskBorder = options.style.maskBorder; this._$mask_left = (0, _createElement.default)($mask, 'photo-clip-mask-left', { 'position': 'absolute', 'left': 0, 'right': '50%', 'top': '50%', 'bottom': '50%', 'width': 'auto', 'background-color': maskColor }); this._$mask_right = (0, _createElement.default)($mask, 'photo-clip-mask-right', { 'position': 'absolute', 'left': '50%', 'right': 0, 'top': '50%', 'bottom': '50%', 'background-color': maskColor }); this._$mask_top = (0, _createElement.default)($mask, 'photo-clip-mask-top', { 'position': 'absolute', 'left': 0, 'right': 0, 'top': 0, 'bottom': '50%', 'background-color': maskColor }); this._$mask_bottom = (0, _createElement.default)($mask, 'photo-clip-mask-bottom', { 'position': 'absolute', 'left': 0, 'right': 0, 'top': '50%', 'bottom': 0, 'background-color': maskColor }); // Create a clipping box this._$clip_frame = (0, _createElement.default)($mask, 'photo-clip-area', { 'border': maskBorder, 'position': 'absolute', 'left': '50%', 'top': '50%' }); // Initialize the view container this._viewList = (0, _$.default)(options.view); if (this._viewList) { var viewOriginStyleList = []; this._viewList.forEach(function ($view, i) { var style = $view.style, viewOriginStyle = {}; viewOriginStyle['background-repeat'] = style['background-repeat']; viewOriginStyle['background-position'] = style['background-position']; viewOriginStyle['background-size'] = style['background-size']; viewOriginStyleList[i] = viewOriginStyle; (0, _css.default)($view, { 'background-repeat': 'no-repeat', 'background-position': 'center', 'background-size': 'contain' }); }); this._viewOriginStyleList = viewOriginStyleList; } } }, { key: "_initScroll", value: function _initScroll() { var _this2 = this; this._iScroll = new _iscrollZoom.default(this._$clipLayer, { zoom: true, scrollX: true, scrollY: true, freeScroll: true, mouseWheel: true, disablePointer: true, // important to disable the pointer events that causes the issues disableTouch: false, // false if you want the slider to be usable with touch devices disableMouse: false, // false if you want the slider to be usable with a mouse (desktop) wheelAction: 'zoom', bounceTime: 300 }); this._iScroll.on('zoomEnd', function () { _this2._calcScale(); _this2._resizeMoveLayer(); _this2._refreshScroll(); }); } // Reset iScroll }, { key: "_resetScroll", value: function _resetScroll() { var iScroll = this._iScroll; this._calcScale(); var scale = iScroll.scale = iScroll.options.startZoom; this._resizeMoveLayer(); // Reset rotation layer this._rotateLayerX = 0; this._rotateLayerY = 0; this._curAngle = 0; setTransform(this._$rotateLayer, this._rotateLayerX + this._moveLayerPaddingLeft, this._rotateLayerY + this._moveLayerPaddingTop, this._curAngle); // Initialize centered iScroll.scrollTo((this._clipWidth - this._moveLayerWidth * scale) * .5, (this._clipHeight - this._moveLayerHeight * scale) * .5); this._refreshScroll(); } // Refresh iScroll // Duration indicates the duration of the reset animation when the moving layer is over the container }, { key: "_refreshScroll", value: function _refreshScroll(duration) { duration = duration || 0; var iScroll = this._iScroll, scale = iScroll.scale, iScrollOptions = iScroll.options; var lastScale = Math.max(iScrollOptions.zoomMin, Math.min(iScrollOptions.zoomMax, scale)); if (lastScale !== scale) { iScroll.zoom(lastScale, undefined, undefined, duration); } iScroll.refresh(duration); } // Adjust the moving layer }, { key: "_resizeMoveLayer", value: function _resizeMoveLayer() { var iScroll = this._iScroll, iScrollOptions = iScroll.options, scale = Math.max(iScrollOptions.zoomMin, Math.min(iScrollOptions.zoomMax, iScroll.scale)); var width = this._rotateLayerWidth, height = this._rotateLayerHeight, clipWidth = this._clipWidth / scale, clipHeight = this._clipHeight / scale, ltClipArea = false; if (clipWidth > width) { ltClipArea = true; var offset = clipWidth - width; width += offset * 2; iScroll.x += (this._moveLayerPaddingLeft - offset) * scale; this._moveLayerPaddingLeft = offset; } else { this._moveLayerPaddingLeft = 0; } if (clipHeight > height) { ltClipArea = true; var _offset = clipHeight - height; height += _offset * 2; iScroll.y += (this._moveLayerPaddingTop - _offset) * scale; this._moveLayerPaddingTop = _offset; } else { this._moveLayerPaddingTop = 0; } if (ltClipArea) { setTransform(this._$rotateLayer, this._rotateLayerX + this._moveLayerPaddingLeft, this._rotateLayerY + this._moveLayerPaddingTop, this._curAngle); iScroll.scrollTo(iScroll.x, iScroll.y); } if (this._moveLayerWidth === width && this._moveLayerHeight === height) return; this._moveLayerWidth = width; this._moveLayerHeight = height; (0, _css.default)(this._$moveLayer, { 'width': width, 'height': height }); // On mobile devices, especially Android devices, when resetting the width and height for an element // The attributes such as offsetWidth/offsetHeight, clientWidth/clientHeight, etc. are not updated immediately, causing errors in related js programs. // Iscroll uses offsetWidth/offsetHeight in the refresh method to get the width and height of the scroller element ($moveLayer) // So you need to manually re-add the elements to the document, forcing the browser to force the width and height of the elements to be updated. this._$clipLayer.appendChild(this._$moveLayer); } }, { key: "_calcScale", value: function _calcScale() { var iScroll = this._iScroll, iScrollOptions = iScroll.options, width = this._rotateLayerWidth, height = this._rotateLayerHeight, maxZoom = this._options.maxZoom; if (width && height) { iScrollOptions.zoomMin = Math.min(1, utils.getScale(this._clipWidth, this._clipHeight, width, height)); iScrollOptions.zoomMax = maxZoom; iScrollOptions.startZoom = Math.min(maxZoom, utils.getScale(this._containerWidth, this._containerHeight, width, height)); } else { iScrollOptions.zoomMin = 1; iScrollOptions.zoomMax = 1; iScrollOptions.startZoom = 1; } // console.log('zoomMin', iScrollOptions.zoomMin); // console.log('zoomMax', iScrollOptions.zoomMax); // console.log('startZoom', iScrollOptions.startZoom); } }, { key: "_initRotationEvent", value: function _initRotationEvent() { var _this3 = this; if (is_mobile) { this._hammerManager = new _hammerjs.default.Manager(this._$moveLayer); this._hammerManager.add(new _hammerjs.default.Rotate()); var rotateFree = this._options.rotateFree, bounceTime = this._iScroll.options.bounceTime; var startTouch, startAngle, curAngle; this._hammerManager.on('rotatestart', function (e) { if (_this3._atRotation) return; startTouch = true; if (rotateFree) { startAngle = (e.rotation - _this3._curAngle) % 360; _this3._rotateLayerRotateReady(e.center); } else { startAngle = e.rotation; } }); this._hammerManager.on('rotatemove', function (e) { if (!startTouch) return; curAngle = e.rotation - startAngle; rotateFree && _this3._rotateLayerRotate(curAngle); }); this._hammerManager.on('rotateend rotatecancel', function (e) { if (!startTouch) return; startTouch = false; if (!rotateFree) { curAngle %= 360; if (curAngle > 180) curAngle -= 360;else if (curAngle < -180) curAngle += 360; if (curAngle > 30) { _this3._rotateBy(90, bounceTime, e.center); } else if (curAngle < -30) { _this3._rotateBy(-90, bounceTime, e.center); } return; } // Correct when approaching the full 90 degree direction var angle = curAngle % 360; if (angle < 0) angle += 360; if (angle < 10) { curAngle += -angle; } else if (angle > 80 && angle < 100) { curAngle += 90 - angle; } else if (angle > 170 && angle < 190) { curAngle += 180 - angle; } else if (angle > 260 && angle < 280) { curAngle += 270 - angle; } else if (angle > 350) { curAngle += 360 - angle; } _this3._rotateLayerRotateFinish(curAngle, bounceTime); }); } else { this._$moveLayer.addEventListener('dblclick', this._rotateCW90); } } }, { key: "_rotateCW90", value: function _rotateCW90(e) { this._rotateBy(90, this._iScroll.options.bounceTime, { x: e.clientX, y: e.clientY }); } }, { key: "_rotateBy", value: function _rotateBy(angle, duration, center) { this._rotateTo(this._curAngle + angle, duration, center); } }, { key: "_rotateTo", value: function _rotateTo(angle, duration, center) { if (this._atRotation) return; this._rotateLayerRotateReady(center); // Rotating layer rotation ends this._rotateLayerRotateFinish(angle, duration); } // Rotation layer rotation preparation }, { key: "_rotateLayerRotateReady", value: function _rotateLayerRotateReady(center) { var scale = this._iScroll.scale; var coord; // Rotate the coordinates of the reference point in the moving layer if (!center) { coord = utils.loaclToLoacl(this._$moveLayer, this._$clipLayer, this._clipWidth * .5, this._clipHeight * .5); } else { coord = utils.globalToLoacl(this._$moveLayer, center.x, center.y); } // Since the resulting coordinates are the coordinates on the scaled coordinate system, you need to divide by the scale coord.x /= scale; coord.y /= scale; // The coordinates of the rotation reference point relative to the zero of the rotating layer (the upper left corner before the rotation of the rotating layer) var coordBy0 = { x: coord.x - (this._rotateLayerX + this._moveLayerPaddingLeft), y: coord.y - (this._rotateLayerY + this._moveLayerPaddingTop) }; // Find the rotation reference point before the rotation of the rotation layer // This reference point is the coordinates of the rotation center point map on the rotation layer image. // This position indicates the coordinates of the point before the rotation of the rotation layer var origin = utils.pointRotate(coordBy0, -this._curAngle); this._rotateLayerOriginX = origin.x; this._rotateLayerOriginY = origin.y; // Set the reference point, calculate the rotation layer displacement under the new reference point, and then make up the difference var rect = this._$rotateLayer.getBoundingClientRect(); setOrigin(this._$rotateLayer, this._rotateLayerOriginX, this._rotateLayerOriginY); var newRect = this._$rotateLayer.getBoundingClientRect(); this._rotateLayerX += (rect.left - newRect.left) / scale; this._rotateLayerY += (rect.top - newRect.top) / scale; setTransform(this._$rotateLayer, this._rotateLayerX + this._moveLayerPaddingLeft, this._rotateLayerY + this._moveLayerPaddingTop, this._curAngle); } // Rotating layer rotation }, { key: "_rotateLayerRotate", value: function _rotateLayerRotate(angle) { setTransform(this._$rotateLayer, this._rotateLayerX + this._moveLayerPaddingLeft, this._rotateLayerY + this._moveLayerPaddingTop, angle); this._curAngle = angle; } // Rotating layer rotation ends }, { key: "_rotateLayerRotateFinish", value: function _rotateLayerRotateFinish(angle, duration) { var _this4 = this; setTransform(this._$rotateLayer, this._rotateLayerX + this._moveLayerPaddingLeft, this._rotateLayerY + this._moveLayerPaddingTop, angle); var iScroll = this._iScroll, scale = iScroll.scale, iScrollOptions = iScroll.options; // Get the rotated rectangle var rect = this._$rotateLayer.getBoundingClientRect(); // Update the width and height of the rectangle currently being rendered by the rotation layer this._rotateLayerWidth = rect.width / scale; this._rotateLayerHeight = rect.height / scale; // Get the rectangle after displacement when the reference point is zero setOrigin(this._$rotateLayer, 0, 0); var rectByOrigin0 = this._$rotateLayer.getBoundingClientRect(); // Get the rectangle before the rotation (zero degrees) setTransform(this._$rotateLayer, this._rotateLayerX + this._moveLayerPaddingLeft, this._rotateLayerY + this._moveLayerPaddingTop, 0); var rectByAngle0 = this._$rotateLayer.getBoundingClientRect(); // When the reference point is zero, after the rotation layer is rotated, in the new rectangle formed, the new coordinates of the rotation layer zero (the upper left corner before the rotation of the rotation layer) this._rotateLayerX = (rectByAngle0.left - rectByOrigin0.left) / scale; this._rotateLayerY = (rectByAngle0.top - rectByOrigin0.top) / scale; this._calcScale(); this._resizeMoveLayer(); // Get the rectangle of the moving layer var moveLayerRect = this._$moveLayer.getBoundingClientRect(); // Find the positional shift between the moving layer and the rotating layer // Since it is applied directly to the moving layer, there is no need to scale based on scaling. // Note that the offset here may also include the extra offset when the scaling is excessive. var offset = { x: rect.left - this._moveLayerPaddingLeft * scale - moveLayerRect.left, y: rect.top - this._moveLayerPaddingTop * scale - moveLayerRect.top }; iScroll.scrollTo(iScroll.x + offset.x, iScroll.y + offset.y); this._refreshScroll(iScroll.options.bounceTime); // Since offset may also contain extra offsets when scaling is excessive // Therefore, here to determine whether to scale excessive var lastScale = Math.max(iScrollOptions.zoomMin, Math.min(iScrollOptions.zoomMax, scale)); if (lastScale !== scale) { // When scaling is excessive, convert offset to the value corresponding to the final normal scale offset.x = offset.x / scale * lastScale; offset.y = offset.y / scale * lastScale; } // Since the two-finger rotation is also accompanied by scaling, after the code is executed, the _zoomEnd of iscroll will be executed. // This method recalculates x, y based on the position recorded at touchstart, which causes the moving layer to move back a distance after the finger leaves the screen. // So here we have to make the difference between the two values ​​startX and startY, and this difference must be the value corresponding to the final normal ratio. iScroll.startX += offset.x; iScroll.startY += offset.y; if (angle !== this._curAngle && duration && (0, _isNumber.default)(duration) && supportTransition !== undefined) { // Calculate the reference point of the rotating layer, set the offset before and after the zero position offset = { x: (rectByOrigin0.left - rect.left) / scale, y: (rectByOrigin0.top - rect.top) / scale }; // Set the rotation reference point back to the previous value, and adjust the offset to ensure that the view position is unchanged, ready to start the animation setOrigin(this._$rotateLayer, this._rotateLayerOriginX, this._rotateLayerOriginY); var targetX = this._rotateLayerX + this._moveLayerPaddingLeft + offset.x, targetY = this._rotateLayerY + this._moveLayerPaddingTop + offset.y; setTransform(this._$rotateLayer, targetX, targetY, this._curAngle); // Start rotating this._atRotation = true; setTransition(this._$rotateLayer, targetX, targetY, angle, duration, function () { _this4._atRotation = false; _this4._rotateFinishUpdataElem(angle); }); } else { this._rotateFinishUpdataElem(angle); } } // Rotate to update related elements }, { key: "_rotateFinishUpdataElem", value: function _rotateFinishUpdataElem(angle) { setOrigin(this._$rotateLayer, this._rotateLayerOriginX = 0, this._rotateLayerOriginY = 0); setTransform(this._$rotateLayer, this._rotateLayerX + this._moveLayerPaddingLeft, this._rotateLayerY + this._moveLayerPaddingTop, this._curAngle = angle % 360); } }, { key: "_initFile", value: function _initFile() { var _this5 = this; var options = this._options; if (this._fileList = (0, _$.default)(options.file)) { this._fileList.forEach(function ($file) { // If the mobile terminal sets 'accept', the album will be opened slowly, so only the non-mobile side is set here. if (!is_mobile) { (0, _attr.default)($file, 'accept', 'image/jpeg, image/x-png, image/png, image/gif'); } $file.addEventListener('change', _this5._fileOnChangeHandle); }); } } }, { key: "_fileOnChangeHandle", value: function _fileOnChangeHandle(e) { var files = e.target.files; if (files.length) { this._lrzHandle(files[0]); } } }, { key: "_lrzHandle", value: function _lrzHandle(src) { var _this6 = this; var options = this._options, errorMsg = options.errorMsg; if (_typeof(src) === 'object' && src.type && !/image\/\w+/.test(src.type)) { options.loadError.call(this, errorMsg.imgError); return false; } this._imgLoaded = false; options.loadStart.call(this, src); try { (0, _lrz.default)(src, options.lrzOption).then(function (rst) { // Successful processing will be performed _this6._clearImg(); _this6._createImg(rst.base64); }).catch(function (err) { // Processing failure will be performed options.loadError.call(_this6, errorMsg.imgHandleError, err); }); } catch (err) { options.loadError.call(this, errorMsg.imgHandleError, err); throw err; } } }, { key: "_clearImg", value: function _clearImg() { if (!this._$img) return; // Delete old images to free up memory and prevent webview crashes on iOS devices this._$img.onload = null; this._$img.onerror = null; (0, _removeElement.default)(this._$img); this._$img = null; this._imgLoaded = false; } }, { key: "_createImg", value: function _createImg(src) { var _this7 = this; var options = this._options, errorMsg = options.errorMsg; this._$img = new Image(); (0, _css.default)(this._$img, { 'display': 'block', 'user-select': 'none', 'pointer-events': 'none' }); this._$img.onload = function (e) { var img = e.target; _this7._imgLoaded = true; options.loadComplete.call(_this7, img); _this7._$rotateLayer.appendChild(img); _this7._rotateLayerWidth = img.naturalWidth; _this7._rotateLayerHeight = img.naturalHeight; (0, _css.default)(_this7._$rotateLayer, { 'width': _this7._rotateLayerWidth, 'height': _this7._rotateLayerHeight }); (0, _hideAction.default)([img, _this7._$moveLayer], _this7._resetScroll); }; this._$img.onerror = function (e) { options.loadError.call(_this7, errorMsg.imgLoadError, e); }; (0, _attr.default)(this._$img, 'src', src); } }, { key: "_clipImg", value: function _clipImg() { var options = this._options, errorMsg = options.errorMsg; if (!this._imgLoaded) { options.fail.call(this, errorMsg.noImg); return; } var local = utils.loaclToLoacl(this._$moveLayer, this._$clipLayer), scale = this._iScroll.scale, ctx = this._canvas.getContext('2d'); var scaleX = 1, scaleY = 1; if (this._outputWidth || this._outputHeight) { this._canvas.width = this._outputWidth; this._canvas.height = this._outputHeight; scaleX = this._outputWidth / this._clipWidth * scale; scaleY = this._outputHeight / this._clipHeight * scale; } else { this._canvas.width = this._clipWidth / scale; this._canvas.height = this._clipHeight / scale; } ctx.clearRect(0, 0, this._canvas.width, this._canvas.height); ctx.fillStyle = options.outputType === 'image/png' ? 'transparent' : options.style.jpgFillColor; ctx.fillRect(0, 0, this._canvas.width, this._canvas.height); ctx.save(); ctx.scale(scaleX, scaleY); ctx.translate(this._rotateLayerX + this._moveLayerPaddingLeft - local.x / scale, this._rotateLayerY + this._moveLayerPaddingTop - local.y / scale); ctx.rotate(this._curAngle * Math.PI / 180); ctx.drawImage(this._$img, 0, 0); ctx.restore(); try { var dataURL = this._canvas.toDataURL(options.outputType, options.outputQuality); if (this._viewList) { this._viewList.forEach(function ($view) { (0, _css.default)($view, 'background-image', "url(".concat(dataURL, ")")); }); } options.done.call(this, dataURL); return dataURL; } catch (err) { options.fail.call(this, errorMsg.clipError); throw err; } } }, { key: "_resize", value: function _resize(width, height) { (0, _hideAction.default)(this._$container, function () { this._containerWidth = this._$container.offsetWidth; this._containerHeight = this._$container.offsetHeight; }, this); var size = this._options.size, oldClipWidth = this._clipWidth, oldClipHeight = this._clipHeight; if ((0, _isNumber.default)(width)) size[0] = width; if ((0, _isNumber.default)(height)) size[1] = height; if (this._widthIsPercent || this._heightIsPercent) { var ratio = size[0] / size[1]; if (this._widthIsPercent) { this._clipWidth = this._containerWidth / 100 * parseFloat(this._widthIsPercent); if (!this._heightIsPercent) { this._clipHeight = this._clipWidth / ratio; } } if (this._heightIsPercent) { this._clipHeight = this._containerHeight / 100 * parseFloat(this._heightIsPercent); if (!this._widthIsPercent) { this._clipWidth = this._clipHeight * ratio; } } } else { this._clipWidth = size[0]; this._clipHeight = size[1]; } var clipWidth = this._clipWidth, clipHeight = this._clipHeight; this._clipSizeRatio = clipWidth / clipHeight; if (this._outputWidth && !this._outputHeight) { this._outputHeight = this._outputWidth / this._clipSizeRatio; } if (this._outputHeight && !this._outputWidth) { this._outputWidth = this._outputHeight * this._clipSizeRatio; } (0, _css.default)(this._$clipLayer, { 'width': clipWidth, 'height': clipHeight, 'margin-left': -clipWidth / 2, 'margin-top': -clipHeight / 2 }); (0, _css.default)(this._$mask_left, { 'margin-right': clipWidth / 2, 'margin-top': -clipHeight / 2, 'margin-bottom': -clipHeight / 2 }); (0, _css.default)(this._$mask_right, { 'margin-left': clipWidth / 2, 'margin-top': -clipHeight / 2, 'margin-bottom': -clipHeight / 2 }); (0, _css.default)(this._$mask_top, { 'margin-bottom': clipHeight / 2 }); (0, _css.default)(this._$mask_bottom, { 'margin-top': clipHeight / 2 }); (0, _css.default)(this._$clip_frame, { 'width': clipWidth, 'height': clipHeight }); (0, _css.default)(this._$clip_frame, prefix + 'transform', 'translate(-50%, -50%)'); if (clipWidth !== oldClipWidth || clipHeight !== oldClipHeight) { this._calcScale(); this._resizeMoveLayer(); this._refreshScroll(); var iScroll = this._iScroll, scale = iScroll.scale, offsetX = (clipWidth - oldClipWidth) * .5 * scale, offsetY = (clipHeight - oldClipHeight) * .5 * scale; iScroll.scrollBy(offsetX, offsetY); } } /**        * Set the width and height of the intercept box        * If the adaptive option is set, this method is only used to modify the aspect ratio of the clipping box.        * @param {Number} width the width of the clipping box        * @param {Number} height the height of the clipping box        * @return {PhotoClip} returns an instance object of a PhotoClip        */ }, { key: "size", value: function size(width, height) { this._resize(width, height); return this; } /**        * Load a picture        * @param {String|Object} The url of the src image, or the file file object of the image        * @return {PhotoClip} returns an instance object of a PhotoClip        */ }, { key: "load", value: function load(src) { this._lrzHandle(src); return this; } /**        * Clear current picture        * @return {PhotoClip} returns an instance object of a PhotoClip        */ }, { key: "clear", value: function clear() { this._clearImg(); this._resetScroll(); if (this._fileList) { this._fileList.forEach(function ($file) { $file.value = ''; }); } return this; } /**        * Image rotated to a specified angle        * @param {Number} angle Optional. Angle of rotation        * @param {Number} duration Optional. The length of the rotation animation, if it is 0 or false, it means there is no transition animation        * @return {PhotoClip|Number} Returns the instance object of the PhotoClip. If the parameter is empty, return the current rotation angle        */ }, { key: "rotate", value: function rotate(angle, duration) { if (angle === undefined) return this._curAngle; this._rotateTo(angle, duration); return this; } /**        * The image is scaled to the specified scale, if it is outside the zoom range, it will be scaled to the zoomable limit        * @param {Number} zoom Optional. Scaling, between 0 - 1        * @param {Number} duration Optional. The length of the zoom animation, if it is 0 or false, it means there is no transition animation        * @return {PhotoClip|Number} Returns the instance object of the PhotoClip. If the argument is empty, the current scale is returned        */ }, { key: "scale", value: function scale(zoom, duration) { if (zoom === undefined) return this._iScroll.scale; this._iScroll.zoom(zoom, undefined, undefined, duration); return this; } /**        * Screenshot        * @return {String} returns the Base64 string of the captured image        */ }, { key: "clip", value: function clip() { return this._clipImg(); } /**        * Destruction        * @return {Undefined} No return value        */ }, { key: "destroy", value: function destroy() { var _this8 = this; window.removeEventListener('resize', this._resize); this._$container.removeChild(this._$clipLayer); this._$container.removeChild(this._$mask); (0, _css.default)(this._$container, this._containerOriginStyle); if (this._iScroll) { this._iScroll.destroy(); } if (this._hammerManager) { this._hammerManager.off('rotatemove'); this._hammerManager.off('rotateend'); this._hammerManager.destroy(); } else { this._$moveLayer.removeEventListener('dblclick', this._rotateCW90); } if (this._$img) { this._$img.onload = null; this._$img.onerror = null; } if (this._viewList) { this._viewList.forEach(function ($view, i) { (0, _css.default)($view, _this8._viewOriginStyleList[i]); }); } if (this._fileList) { this._fileList.forEach(function ($file) { $file.removeEventListener('change', _this8._fileOnChangeHandle); $file.value = null; }); } if (this._okList) { this._okList.forEach(function ($ok) { $ok.removeEventListener('click', _this8._clipImg); }); } (0, _destroy2.default)(this); } }]); return PhotoClip; }(); _exports.default = PhotoClip; ; // Set the transformation registration point function setOrigin($obj, originX, originY) { originX = (originX || 0).toFixed(2); originY = (originY || 0).toFixed(2); (0, _css.default)($obj, prefix + 'transform-origin', originX + 'px ' + originY + 'px'); } // Set transform coordinates and rotation angle function setTransform($obj, x, y, angle) { // Too many decimal places in the coordinates of translate(x, y) will cause a bug // So here you need to keep two decimals x = x.toFixed(2); y = y.toFixed(2); angle = angle.toFixed(2); (0, _css.default)($obj, prefix + 'transform', 'translateZ(0) translate(' + x + 'px,' + y + 'px) rotate(' + angle + 'deg)'); } // Set transform animation function setTransition($obj, x, y, angle, dur, fn) { // Here you need to read the previously set transform style, forcing the browser to render the style value to the element.     // Otherwise the browser may suspend the style rendering for performance reasons, and then wait until all the style settings are complete before rendering     // This will cause the previously set displacement to be applied to the animation as well. (0, _css.default)($obj, prefix + 'transform'); // The easing used here is the same as the default easing of iScroll (0, _css.default)($obj, prefix + 'transition', prefix + 'transform ' + dur + 'ms cubic-bezier(0.1, 0.57, 0.1, 1)'); setTransform($obj, x, y, angle); setTimeout(function () { (0, _css.default)($obj, prefix + 'transition', ''); fn(); }, dur); } module.exports = exports.default; }); /***/ }), /* 5 */ /***/ (function(module, exports) { module.exports = __WEBPACK_EXTERNAL_MODULE__5__; /***/ }), /* 6 */ /***/ (function(module, exports) { module.exports = __WEBPACK_EXTERNAL_MODULE__6__; /***/ }), /* 7 */ /***/ (function(module, exports) { module.exports = __WEBPACK_EXTERNAL_MODULE__7__; /***/ }), /* 8 */ /***/ (function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;(function (global, factory) { if (true) { !(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory), __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ? (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); } else { var mod; } })(this, function () { "use strict"; module.exports = function (context) { for (var _len = arguments.length, methods = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) { methods[_key - 1] = arguments[_key]; } methods.forEach(function (method) { context[method] = context[method].bind(context); }); }; }); /***/ }), /* 9 */ /***/ (function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;(function (global, factory) { if (true) { !(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory), __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ? (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); } else { var mod; } })(this, function () { "use strict"; module.exports = function (context) { // Clear all attributes Object.getOwnPropertyNames(context).forEach(function (prop) { delete context[prop]; }); context.__proto__ = Object.prototype; }; }); /***/ }), /* 10 */ /***/ (function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;(function (global, factory) { if (true) { !(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory), __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ? (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); } else { var mod; } })(this, function () { "use strict"; var isArray = __webpack_require__(0); var isObject = __webpack_require__(1); var isBoolean = __webpack_require__(11); var isFunction = __webpack_require__(12); var isPlainObject = __webpack_require__(13); module.exports = function extend() { var options, name, src, copy, copyIsArray, target = arguments[0] || {}, toString = Object.prototype.toString, i = 1, length = arguments.length, deep = false; // Processing deep copy if (isBoolean(target)) { deep = target; // Skip the boolean and the target target = arguments[i] || {}; i++; } // Handle case when target is a string or something (possible in deep copy) if (!isObject(target) && !isFunction(target)) { target = {}; } // If there is no merged object, then the target is a merged object, and the target is merged to the holder of the current function. if (i === length) { target = this; i--; } for (; i < length; i++) { // Only deal with non-null/undefined values if ((options = arguments[i]) != null) { // Extend the base object for (name in options) { src = target[name]; copy = options[name]; // Prevent infinite loops if (target === copy) { continue; } // Deep copy object or array if (deep && copy && ((copyIsArray = isArray(copy)) || isPlainObject(copy))) { if (copyIsArray) { copyIsArray = false; src = src && isArray(src) ? src : []; } else { src = src && isPlainObject(src) ? src : {}; } target[name] = extend(deep, src, copy); } else if (copy !== undefined) { // Ignore only undefined values target[name] = copy; } } } } // Return the modified object return target; }; }); /***/ }), /* 11 */ /***/ (function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;(function (global, factory) { if (true) { !(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory), __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ? (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); } else { var mod; } })(this, function () { "use strict"; // Determine if it is a Boolean value module.exports = function (bool) { return typeof bool === 'boolean'; }; }); /***/ }), /* 12 */ /***/ (function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;(function (global, factory) { if (true) { !(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory), __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ? (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); } else { var mod; } })(this, function () { "use strict"; // Determine whether it is a function module.exports = function (func) { return typeof func === 'function'; }; }); /***/ }), /* 13 */ /***/ (function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;(function (global, factory) { if (true) { !(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory), __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ? (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); } else { var mod; } })(this, function () { "use strict"; // Determine if the object is a pure object (created by "{}" or "new Object") module.exports = function (obj) { return Object.prototype.toString.call(obj) === '[object Object]'; }; }); /***/ }), /* 14 */ /***/ (function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;(function (global, factory) { if (true) { !(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory), __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ? (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); } else { var mod; } })(this, function () { "use strict"; // Determine if it is a percentage module.exports = function (value) { return /%$/.test(value + ''); }; }); /***/ }), /* 15 */ /***/ (function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;(function (global, factory) { if (true) { !(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory), __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ? (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); } else { var mod; } })(this, function () { "use strict"; function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } // Create element module.exports = function (parentNode, className, id, prop) { var elem = document.createElement('DIV'); if (_typeof(className) === 'object') { prop = className; className = null; } if (_typeof(id) === 'object') { prop = id; id = null; } if (_typeof(prop) === 'object') { for (var p in prop) { elem.style[p] = prop[p]; } } if (className) elem.className = className; if (id) elem.id = id; parentNode.appendChild(elem); return elem; }; }); /***/ }), /* 16 */ /***/ (function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;(function (global, factory) { if (true) { !(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory), __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ? (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); } else { var mod; } })(this, function () { "use strict"; // Remove element module.exports = function (elem) { elem.parentNode && elem.parentNode.removeChild(elem); }; }); /***/ }), /* 17 */ /***/ (function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;(function (global, factory) { if (true) { !(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory), __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ? (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); } else { var mod; } })(this, function () { "use strict"; // returns the compatible prefix of the specified property in the current browser   // Returns an empty string if no compatible prefix is ​​needed   // all is a boolean value, if true, the property name containing the prefix is ​​returned module.exports = function (prop, all) { var returnProp = all ? prop : ''; var testElem = document.documentElement; if (prop in testElem.style) return returnProp; var testProp = prop.charAt(0).toUpperCase() + prop.substr(1), prefixs = ['Webkit', 'Moz', 'ms', 'O']; for (var i = 0, prefix; prefix = prefixs[i++];) { if (prefix + testProp in testElem.style) { return '-' + prefix.toLowerCase() + '-' + returnProp; } } return returnProp; }; }); /***/ }), /* 18 */ /***/ (function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;(function (global, factory) { if (true) { !(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory), __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ? (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); } else { var mod; } })(this, function () { "use strict"; // Set style var isObject = __webpack_require__(1); var isNumber = __webpack_require__(2); var cssNumber = { 'animationIterationCount': true, 'columnCount': true, 'fillOpacity': true, 'flexGrow': true, 'flexShrink': true, 'fontWeight': true, 'lineHeight': true, 'opacity': true, 'order': true, 'orphans': true, 'widows': true, 'zIndex': true, 'zoom': true }; module.exports = function (elem, prop, value) { if (isObject(prop)) { for (var p in prop) { value = prop[p]; if (isNumber(value) && !cssNumber[prop]) value += 'px'; elem.style[p] = value; } return elem; } if (value === undefined) { return window.getComputedStyle(elem)[prop]; } else { if (isNumber(value) && !cssNumber[prop]) value += 'px'; elem.style[prop] = value; return elem; } }; }); /***/ }), /* 19 */ /***/ (function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;(function (global, factory) { if (true) { !(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory), __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ? (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); } else { var mod; } })(this, function () { "use strict"; function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } // Setting properties module.exports = function (elem, prop, value) { if (_typeof(prop) === 'object') { for (var p in prop) { elem[p] = prop[p]; } return elem; } if (value === undefined) { return elem[prop]; } else { elem[prop] = value; return elem; } }; }); /***/ }), /* 20 */ /***/ (function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;(function (global, factory) { if (true) { !(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory), __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ? (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); } else { var mod; } })(this, function () { "use strict"; function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } var toArray = __webpack_require__(21); // Get the element (IE8 and above) module.exports = function (selector, context) { if (selector instanceof HTMLElement) { return [selector]; } else if (_typeof(selector) === 'object' && selector.length) { return toArray(selector); } else if (!selector || typeof selector !== 'string') { return []; } if (typeof context === 'string') { context = document.querySelector(context); } if (!(context instanceof HTMLElement)) { context = document; } return toArray(context.querySelectorAll(selector)); }; }); /***/ }), /* 21 */ /***/ (function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;(function (global, factory) { if (true) { !(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory), __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ? (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); } else { var mod; } })(this, function () { "use strict"; // Similar array object to array module.exports = function (obj) { return Array.prototype.map.call(obj, function (n) { return n; }); }; }); /***/ }), /* 22 */ /***/ (function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;(function (global, factory) { if (true) { !(__WEBPACK_AMD_DEFINE_ARRAY__ = [exports, __webpack_require__(3)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory), __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ? (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); } else { var mod; } })(this, function (_exports, _hideAction) { "use strict"; Object.defineProperty(_exports, "__esModule", { value: true }); _exports.getScale = getScale; _exports.pointRotate = pointRotate; _exports.angleToRadian = angleToRadian; _exports.loaclToLoacl = loaclToLoacl; _exports.globalToLoacl = globalToLoacl; _hideAction = _interopRequireDefault(_hideAction); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } // Get the maximum zoom ratio function getScale(w1, h1, w2, h2) { var sx = w1 / w2; var sy = h1 / h2; return sx > sy ? sx : sy; } // Calculate the new coordinates of a point rotated around the origin function pointRotate(point, angle) { var radian = angleToRadian(angle), sin = Math.sin(radian), cos = Math.cos(radian); return { x: cos * point.x - sin * point.y, y: cos * point.y + sin * point.x }; } // Angle turning function angleToRadian(angle) { return angle / 180 * Math.PI; } // Calculate the coordinates of the x and y coordinates on layerTwo on layerOne function loaclToLoacl(layerOne, layerTwo, x, y) { x = x || 0; y = y || 0; var layerOneRect, layerTwoRect; (0, _hideAction.default)([layerOne, layerTwo], function () { layerOneRect = layerOne.getBoundingClientRect(); layerTwoRect = layerTwo.getBoundingClientRect(); }); return { x: layerTwoRect.left - layerOneRect.left + x, y: layerTwoRect.top - layerOneRect.top + y }; } // Calculate the coordinates of the x and y coordinates relative to the window on the layer function globalToLoacl(layer, x, y) { x = x || 0; y = y || 0; var layerRect; (0, _hideAction.default)(layer, function () { layerRect = layer.getBoundingClientRect(); }); return { x: x - layerRect.left, y: y - layerRect.top }; } }); /***/ }) /******/ ]); });
0
/content/gmx-projects/gmx-admin/admin/resources/plugins
/content/gmx-projects/gmx-admin/admin/resources/plugins/profile/iscroll-zoom-min.js
/*! iScroll v5.2.0-snapshot ~ (c) 2008-2017 Matteo Spinelli ~ http://cubiq.org/license */ !function(t,i,s){function e(e,o){this.wrapper="string"==typeof e?i.querySelector(e):e,this.scroller=this.wrapper.children[0],this.scrollerStyle=this.scroller.style,this.options={zoomMin:1,zoomMax:4,startZoom:1,resizeScrollbars:!0,mouseWheelSpeed:20,snapThreshold:.334,disablePointer:!h.hasPointer,disableTouch:h.hasPointer||!h.hasTouch,disableMouse:h.hasPointer||h.hasTouch,startX:0,startY:0,scrollY:!0,directionLockThreshold:5,momentum:!0,bounce:!0,bounceTime:600,bounceEasing:"",preventDefault:!0,preventDefaultException:{tagName:/^(INPUT|TEXTAREA|BUTTON|SELECT)$/},HWCompositing:!0,useTransition:!0,useTransform:!0,bindToWrapper:"undefined"==typeof t.onmousedown};for(var n in o)this.options[n]=o[n];this.translateZ=this.options.HWCompositing&&h.hasPerspective?" translateZ(0)":"",this.options.useTransition=h.hasTransition&&this.options.useTransition,this.options.useTransform=h.hasTransform&&this.options.useTransform,this.options.eventPassthrough=this.options.eventPassthrough===!0?"vertical":this.options.eventPassthrough,this.options.preventDefault=!this.options.eventPassthrough&&this.options.preventDefault,this.options.scrollY="vertical"!=this.options.eventPassthrough&&this.options.scrollY,this.options.scrollX="horizontal"!=this.options.eventPassthrough&&this.options.scrollX,this.options.freeScroll=this.options.freeScroll&&!this.options.eventPassthrough,this.options.directionLockThreshold=this.options.eventPassthrough?0:this.options.directionLockThreshold,this.options.bounceEasing="string"==typeof this.options.bounceEasing?h.ease[this.options.bounceEasing]||h.ease.circular:this.options.bounceEasing,this.options.resizePolling=void 0===this.options.resizePolling?60:this.options.resizePolling,this.options.tap===!0&&(this.options.tap="tap"),this.options.useTransition||this.options.useTransform||/relative|absolute/i.test(this.scrollerStyle.position)||(this.scrollerStyle.position="relative"),"scale"==this.options.shrinkScrollbars&&(this.options.useTransition=!1),this.options.invertWheelDirection=this.options.invertWheelDirection?-1:1,this.x=0,this.y=0,this.directionX=0,this.directionY=0,this._events={},this.scale=s.min(s.max(this.options.startZoom,this.options.zoomMin),this.options.zoomMax),this._init(),this.refresh(),this.scrollTo(this.options.startX,this.options.startY),this.enable()}function o(t,s,e){var o=i.createElement("div"),n=i.createElement("div");return e===!0&&(o.style.cssText="position:absolute;z-index:9999",n.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;position:absolute;background:rgba(0,0,0,0.5);border:1px solid rgba(255,255,255,0.9);border-radius:3px"),n.className="iScrollIndicator","h"==t?(e===!0&&(o.style.cssText+=";height:7px;left:2px;right:2px;bottom:0",n.style.height="100%"),o.className="iScrollHorizontalScrollbar"):(e===!0&&(o.style.cssText+=";width:7px;bottom:2px;top:2px;right:1px",n.style.width="100%"),o.className="iScrollVerticalScrollbar"),o.style.cssText+=";overflow:hidden",s||(o.style.pointerEvents="none"),o.appendChild(n),o}function n(s,e){this.wrapper="string"==typeof e.el?i.querySelector(e.el):e.el,this.wrapperStyle=this.wrapper.style,this.indicator=this.wrapper.children[0],this.indicatorStyle=this.indicator.style,this.scroller=s,this.options={listenX:!0,listenY:!0,interactive:!1,resize:!0,defaultScrollbars:!1,shrink:!1,fade:!1,speedRatioX:0,speedRatioY:0};for(var o in e)this.options[o]=e[o];if(this.sizeRatioX=1,this.sizeRatioY=1,this.maxPosX=0,this.maxPosY=0,this.options.interactive&&(this.options.disableTouch||(h.addEvent(this.indicator,"touchstart",this),h.addEvent(t,"touchend",this)),this.options.disablePointer||(h.addEvent(this.indicator,h.prefixPointerEvent("pointerdown"),this),h.addEvent(t,h.prefixPointerEvent("pointerup"),this)),this.options.disableMouse||(h.addEvent(this.indicator,"mousedown",this),h.addEvent(t,"mouseup",this))),this.options.fade){this.wrapperStyle[h.style.transform]=this.scroller.translateZ;var n=h.style.transitionDuration;if(!n)return;this.wrapperStyle[n]=h.isBadAndroid?"0.0001ms":"0ms";var a=this;h.isBadAndroid&&r(function(){"0.0001ms"===a.wrapperStyle[n]&&(a.wrapperStyle[n]="0s")}),this.wrapperStyle.opacity="0"}}var r=t.requestAnimationFrame||t.webkitRequestAnimationFrame||t.mozRequestAnimationFrame||t.oRequestAnimationFrame||t.msRequestAnimationFrame||function(i){t.setTimeout(i,1e3/60)},h=function(){function e(t){return r!==!1&&(""===r?t:r+t.charAt(0).toUpperCase()+t.substr(1))}var o={},n=i.createElement("div").style,r=function(){for(var t,i=["t","webkitT","MozT","msT","OT"],s=0,e=i.length;s<e;s++)if(t=i[s]+"ransform",t in n)return i[s].substr(0,i[s].length-1);return!1}();o.getTime=Date.now||function(){return(new Date).getTime()},o.extend=function(t,i){for(var s in i)t[s]=i[s]},o.addEvent=function(t,i,s,e){t.addEventListener(i,s,!!e)},o.removeEvent=function(t,i,s,e){t.removeEventListener(i,s,!!e)},o.prefixPointerEvent=function(i){return t.MSPointerEvent?"MSPointer"+i.charAt(7).toUpperCase()+i.substr(8):i},o.momentum=function(t,i,e,o,n,r){var h,a,l=t-i,c=s.abs(l)/e;return r=void 0===r?6e-4:r,h=t+c*c/(2*r)*(l<0?-1:1),a=c/r,h<o?(h=n?o-n/2.5*(c/8):o,l=s.abs(h-t),a=l/c):h>0&&(h=n?n/2.5*(c/8):0,l=s.abs(t)+h,a=l/c),{destination:s.round(h),duration:a}};var h=e("transform");return o.extend(o,{hasTransform:h!==!1,hasPerspective:e("perspective")in n,hasTouch:"ontouchstart"in t,hasPointer:!(!t.PointerEvent&&!t.MSPointerEvent),hasTransition:e("transition")in n}),o.isBadAndroid=function(){var i=t.navigator.appVersion;if(/Android/.test(i)&&!/Chrome\/\d/.test(i)){var s=i.match(/Safari\/(\d+.\d)/);return!(s&&"object"==typeof s&&s.length>=2)||parseFloat(s[1])<535.19}return!1}(),o.extend(o.style={},{transform:h,transitionTimingFunction:e("transitionTimingFunction"),transitionDuration:e("transitionDuration"),transitionDelay:e("transitionDelay"),transformOrigin:e("transformOrigin"),touchAction:e("touchAction")}),o.hasClass=function(t,i){var s=new RegExp("(^|\\s)"+i+"(\\s|$)");return s.test(t.className)},o.addClass=function(t,i){if(!o.hasClass(t,i)){var s=t.className.split(" ");s.push(i),t.className=s.join(" ")}},o.removeClass=function(t,i){if(o.hasClass(t,i)){var s=new RegExp("(^|\\s)"+i+"(\\s|$)","g");t.className=t.className.replace(s," ")}},o.offset=function(t){for(var i=-t.offsetLeft,s=-t.offsetTop;t=t.offsetParent;)i-=t.offsetLeft,s-=t.offsetTop;return{left:i,top:s}},o.preventDefaultException=function(t,i){for(var s in i)if(i[s].test(t[s]))return!0;return!1},o.extend(o.eventType={},{touchstart:1,touchmove:1,touchend:1,mousedown:2,mousemove:2,mouseup:2,pointerdown:3,pointermove:3,pointerup:3,MSPointerDown:3,MSPointerMove:3,MSPointerUp:3}),o.extend(o.ease={},{quadratic:{style:"cubic-bezier(0.25, 0.46, 0.45, 0.94)",fn:function(t){return t*(2-t)}},circular:{style:"cubic-bezier(0.1, 0.57, 0.1, 1)",fn:function(t){return s.sqrt(1- --t*t)}},back:{style:"cubic-bezier(0.175, 0.885, 0.32, 1.275)",fn:function(t){var i=4;return(t-=1)*t*((i+1)*t+i)+1}},bounce:{style:"",fn:function(t){return(t/=1)<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375}},elastic:{style:"",fn:function(t){var i=.22,e=.4;return 0===t?0:1==t?1:e*s.pow(2,-10*t)*s.sin((t-i/4)*(2*s.PI)/i)+1}}}),o.tap=function(t,s){var e=i.createEvent("Event");e.initEvent(s,!0,!0),e.pageX=t.pageX,e.pageY=t.pageY,t.target.dispatchEvent(e)},o.click=function(s){var e,o=s.target;/(SELECT|INPUT|TEXTAREA)/i.test(o.tagName)||(e=i.createEvent(t.MouseEvent?"MouseEvents":"Event"),e.initEvent("click",!0,!0),e.view=s.view||t,e.detail=1,e.screenX=o.screenX||0,e.screenY=o.screenY||0,e.clientX=o.clientX||0,e.clientY=o.clientY||0,e.ctrlKey=!!s.ctrlKey,e.altKey=!!s.altKey,e.shiftKey=!!s.shiftKey,e.metaKey=!!s.metaKey,e.button=0,e.relatedTarget=null,e._constructed=!0,o.dispatchEvent(e))},o.getTouchAction=function(t,i){var s="none";return"vertical"===t?s="pan-y":"horizontal"===t&&(s="pan-x"),i&&"none"!=s&&(s+=" pinch-zoom"),s},o.getRect=function(t){if(t instanceof SVGElement){var i=t.getBoundingClientRect();return{top:i.top,left:i.left,width:i.width,height:i.height}}return{top:t.offsetTop,left:t.offsetLeft,width:t.offsetWidth,height:t.offsetHeight}},o}();e.prototype={version:"5.2.0-snapshot",_init:function(){this._initEvents(),this.options.zoom&&this._initZoom(),(this.options.scrollbars||this.options.indicators)&&this._initIndicators(),this.options.mouseWheel&&this._initWheel(),this.options.snap&&this._initSnap(),this.options.keyBindings&&this._initKeys()},destroy:function(){this._initEvents(!0),clearTimeout(this.resizeTimeout),this.resizeTimeout=null,this._execEvent("destroy")},_transitionEnd:function(t){t.target==this.scroller&&this.isInTransition&&(this._transitionTime(),this.resetPosition(this.options.bounceTime)||(this.isInTransition=!1,this._execEvent("scrollEnd")))},_start:function(t){if(1!=h.eventType[t.type]){var i;if(i=t.which?t.button:t.button<2?0:4==t.button?1:2,0!==i)return}if(this.enabled&&(!this.initiated||h.eventType[t.type]===this.initiated)){!this.options.preventDefault||h.isBadAndroid||h.preventDefaultException(t.target,this.options.preventDefaultException)||t.preventDefault();var e,o=t.touches?t.touches[0]:t;this.initiated=h.eventType[t.type],this.moved=!1,this.distX=0,this.distY=0,this.directionX=0,this.directionY=0,this.directionLocked=0,this.startTime=h.getTime(),this.options.useTransition&&this.isInTransition?(this._transitionTime(),this.isInTransition=!1,e=this.getComputedPosition(),this._translate(s.round(e.x),s.round(e.y)),this._execEvent("scrollEnd")):!this.options.useTransition&&this.isAnimating&&(this.isAnimating=!1,this._execEvent("scrollEnd")),this.startX=this.x,this.startY=this.y,this.absStartX=this.x,this.absStartY=this.y,this.pointX=o.pageX,this.pointY=o.pageY,this._execEvent("beforeScrollStart")}},_move:function(t){if(this.enabled&&h.eventType[t.type]===this.initiated){this.options.preventDefault&&t.preventDefault();var i,e,o,n,r=t.touches?t.touches[0]:t,a=r.pageX-this.pointX,l=r.pageY-this.pointY,c=h.getTime();if(this.pointX=r.pageX,this.pointY=r.pageY,this.distX+=a,this.distY+=l,o=s.abs(this.distX),n=s.abs(this.distY),!(c-this.endTime>300&&o<10&&n<10)){if(this.directionLocked||this.options.freeScroll||(o>n+this.options.directionLockThreshold?this.directionLocked="h":n>=o+this.options.directionLockThreshold?this.directionLocked="v":this.directionLocked="n"),"h"==this.directionLocked){if("vertical"==this.options.eventPassthrough)t.preventDefault();else if("horizontal"==this.options.eventPassthrough)return void(this.initiated=!1);l=0}else if("v"==this.directionLocked){if("horizontal"==this.options.eventPassthrough)t.preventDefault();else if("vertical"==this.options.eventPassthrough)return void(this.initiated=!1);a=0}this.options.scrollX||(a=this.hasHorizontalScroll?a:0),this.options.scrollY||(l=this.hasVerticalScroll?l:0),i=this.x+a,e=this.y+l,(i>0||i<this.maxScrollX)&&(i=this.options.bounce?this.x+a/3:i>0?0:this.maxScrollX),(e>0||e<this.maxScrollY)&&(e=this.options.bounce?this.y+l/3:e>0?0:this.maxScrollY),this.directionX=a>0?-1:a<0?1:0,this.directionY=l>0?-1:l<0?1:0,this.moved||this._execEvent("scrollStart"),this.moved=!0,this._translate(i,e),c-this.startTime>300&&(this.startTime=c,this.startX=this.x,this.startY=this.y)}}},_end:function(t){if(this.enabled&&h.eventType[t.type]===this.initiated){this.options.preventDefault&&!h.preventDefaultException(t.target,this.options.preventDefaultException)&&t.preventDefault();var i,e,o=(t.changedTouches?t.changedTouches[0]:t,h.getTime()-this.startTime),n=s.round(this.x),r=s.round(this.y),a=s.abs(n-this.startX),l=s.abs(r-this.startY),c=0,p="";if(this.isInTransition=0,this.initiated=0,this.endTime=h.getTime(),!this.resetPosition(this.options.bounceTime)){if(this.scrollTo(n,r),!this.moved)return this.options.tap&&h.tap(t,this.options.tap),this.options.click&&h.click(t),void this._execEvent("scrollCancel");if(this._events.flick&&o<200&&a<100&&l<100)return void this._execEvent("flick");if(this.options.momentum&&o<300&&(i=this.hasHorizontalScroll?h.momentum(this.x,this.startX,o,this.maxScrollX,this.options.bounce?this.wrapperWidth:0,this.options.deceleration):{destination:n,duration:0},e=this.hasVerticalScroll?h.momentum(this.y,this.startY,o,this.maxScrollY,this.options.bounce?this.wrapperHeight:0,this.options.deceleration):{destination:r,duration:0},n=i.destination,r=e.destination,c=s.max(i.duration,e.duration),this.isInTransition=1),this.options.snap){var d=this._nearestSnap(n,r);this.currentPage=d,c=this.options.snapSpeed||s.max(s.max(s.min(s.abs(n-d.x),1e3),s.min(s.abs(r-d.y),1e3)),300),n=d.x,r=d.y,this.directionX=0,this.directionY=0,p=this.options.bounceEasing}return n!=this.x||r!=this.y?((n>0||n<this.maxScrollX||r>0||r<this.maxScrollY)&&(p=h.ease.quadratic),void this.scrollTo(n,r,c,p)):void this._execEvent("scrollEnd")}}},_resize:function(){var t=this;clearTimeout(this.resizeTimeout),this.resizeTimeout=setTimeout(function(){t.refresh()},this.options.resizePolling)},resetPosition:function(t){var i=this.x,s=this.y;return t=t||0,!this.hasHorizontalScroll||this.x>0?i=0:this.x<this.maxScrollX&&(i=this.maxScrollX),!this.hasVerticalScroll||this.y>0?s=0:this.y<this.maxScrollY&&(s=this.maxScrollY),(i!=this.x||s!=this.y)&&(this.scrollTo(i,s,t,this.options.bounceEasing),!0)},disable:function(){this.enabled=!1},enable:function(){this.enabled=!0},refresh:function(t){h.getRect(this.wrapper),this.wrapperWidth=this.wrapper.clientWidth,this.wrapperHeight=this.wrapper.clientHeight;var i=h.getRect(this.scroller);this.scrollerWidth=s.round(i.width*this.scale),this.scrollerHeight=s.round(i.height*this.scale),this.maxScrollX=this.wrapperWidth-this.scrollerWidth,this.maxScrollY=this.wrapperHeight-this.scrollerHeight,this.hasHorizontalScroll=this.options.scrollX&&this.maxScrollX<0,this.hasVerticalScroll=this.options.scrollY&&this.maxScrollY<0,this.hasHorizontalScroll||(this.maxScrollX=0,this.scrollerWidth=this.wrapperWidth),this.hasVerticalScroll||(this.maxScrollY=0,this.scrollerHeight=this.wrapperHeight),this.endTime=0,this.directionX=0,this.directionY=0,h.hasPointer&&!this.options.disablePointer&&(this.wrapper.style[h.style.touchAction]=h.getTouchAction(this.options.eventPassthrough,!0),this.wrapper.style[h.style.touchAction]||(this.wrapper.style[h.style.touchAction]=h.getTouchAction(this.options.eventPassthrough,!1))),this.wrapperOffset=h.offset(this.wrapper),this._execEvent("refresh"),this.resetPosition(t)},on:function(t,i){this._events[t]||(this._events[t]=[]),this._events[t].push(i)},off:function(t,i){if(this._events[t]){var s=this._events[t].indexOf(i);s>-1&&this._events[t].splice(s,1)}},_execEvent:function(t){if(this._events[t]){var i=0,s=this._events[t].length;if(s)for(;i<s;i++)this._events[t][i].apply(this,[].slice.call(arguments,1))}},scrollBy:function(t,i,s,e){t=this.x+t,i=this.y+i,s=s||0,this.scrollTo(t,i,s,e)},scrollTo:function(t,i,s,e){e=e||h.ease.circular,this.isInTransition=this.options.useTransition&&s>0;var o=this.options.useTransition&&e.style;!s||o?(o&&(this._transitionTimingFunction(e.style),this._transitionTime(s)),this._translate(t,i)):this._animate(t,i,s,e.fn)},scrollToElement:function(t,i,e,o,n){if(t=t.nodeType?t:this.scroller.querySelector(t)){var r=h.offset(t);r.left-=this.wrapperOffset.left,r.top-=this.wrapperOffset.top;var a=h.getRect(t),l=h.getRect(this.wrapper);e===!0&&(e=s.round(a.width/2-l.width/2)),o===!0&&(o=s.round(a.height/2-l.height/2)),r.left-=e||0,r.top-=o||0,r.left=r.left>0?0:r.left<this.maxScrollX?this.maxScrollX:r.left,r.top=r.top>0?0:r.top<this.maxScrollY?this.maxScrollY:r.top,i=void 0===i||null===i||"auto"===i?s.max(s.abs(this.x-r.left),s.abs(this.y-r.top)):i,this.scrollTo(r.left,r.top,i,n)}},_transitionTime:function(t){if(this.options.useTransition){t=t||0;var i=h.style.transitionDuration;if(i){if(this.scrollerStyle[i]=t+"ms",!t&&h.isBadAndroid){this.scrollerStyle[i]="0.0001ms";var s=this;r(function(){"0.0001ms"===s.scrollerStyle[i]&&(s.scrollerStyle[i]="0s")})}if(this.indicators)for(var e=this.indicators.length;e--;)this.indicators[e].transitionTime(t)}}},_transitionTimingFunction:function(t){if(this.scrollerStyle[h.style.transitionTimingFunction]=t,this.indicators)for(var i=this.indicators.length;i--;)this.indicators[i].transitionTimingFunction(t)},_translate:function(t,i){if(this.options.useTransform?this.scrollerStyle[h.style.transform]="translate("+t+"px,"+i+"px) scale("+this.scale+") "+this.translateZ:(t=s.round(t),i=s.round(i),this.scrollerStyle.left=t+"px",this.scrollerStyle.top=i+"px"),this.x=t,this.y=i,this.indicators)for(var e=this.indicators.length;e--;)this.indicators[e].updatePosition()},_initEvents:function(i){var s=i?h.removeEvent:h.addEvent,e=this.options.bindToWrapper?this.wrapper:t;s(t,"orientationchange",this),s(t,"resize",this),this.options.click&&s(this.wrapper,"click",this,!0),this.options.disableMouse||(s(this.wrapper,"mousedown",this),s(e,"mousemove",this),s(e,"mousecancel",this),s(e,"mouseup",this)),h.hasPointer&&!this.options.disablePointer&&(s(this.wrapper,h.prefixPointerEvent("pointerdown"),this),s(e,h.prefixPointerEvent("pointermove"),this),s(e,h.prefixPointerEvent("pointercancel"),this),s(e,h.prefixPointerEvent("pointerup"),this)),h.hasTouch&&!this.options.disableTouch&&(s(this.wrapper,"touchstart",this),s(e,"touchmove",this),s(e,"touchcancel",this),s(e,"touchend",this)),s(this.scroller,"transitionend",this),s(this.scroller,"webkitTransitionEnd",this),s(this.scroller,"oTransitionEnd",this),s(this.scroller,"MSTransitionEnd",this)},getComputedPosition:function(){var i,s,e=t.getComputedStyle(this.scroller,null);return this.options.useTransform?(e=e[h.style.transform].split(")")[0].split(", "),i=+(e[12]||e[4]),s=+(e[13]||e[5])):(i=+e.left.replace(/[^-\d.]/g,""),s=+e.top.replace(/[^-\d.]/g,"")),{x:i,y:s}},_initIndicators:function(){function t(t){if(h.indicators)for(var i=h.indicators.length;i--;)t.call(h.indicators[i])}var i,s=this.options.interactiveScrollbars,e="string"!=typeof this.options.scrollbars,r=[],h=this;this.indicators=[],this.options.scrollbars&&(this.options.scrollY&&(i={el:o("v",s,this.options.scrollbars),interactive:s,defaultScrollbars:!0,customStyle:e,resize:this.options.resizeScrollbars,shrink:this.options.shrinkScrollbars,fade:this.options.fadeScrollbars,listenX:!1},this.wrapper.appendChild(i.el),r.push(i)),this.options.scrollX&&(i={el:o("h",s,this.options.scrollbars),interactive:s,defaultScrollbars:!0,customStyle:e,resize:this.options.resizeScrollbars,shrink:this.options.shrinkScrollbars,fade:this.options.fadeScrollbars,listenY:!1},this.wrapper.appendChild(i.el),r.push(i))),this.options.indicators&&(r=r.concat(this.options.indicators));for(var a=r.length;a--;)this.indicators.push(new n(this,r[a]));this.options.fadeScrollbars&&(this.on("scrollEnd",function(){t(function(){this.fade()})}),this.on("scrollCancel",function(){t(function(){this.fade()})}),this.on("scrollStart",function(){t(function(){this.fade(1)})}),this.on("beforeScrollStart",function(){t(function(){this.fade(1,!0)})})),this.on("refresh",function(){t(function(){this.refresh()})}),this.on("destroy",function(){t(function(){this.destroy()}),delete this.indicators})},_initZoom:function(){this.scrollerStyle[h.style.transformOrigin]="0 0"},_zoomStart:function(t){var i=s.abs(t.touches[0].pageX-t.touches[1].pageX),e=s.abs(t.touches[0].pageY-t.touches[1].pageY);this.touchesDistanceStart=s.sqrt(i*i+e*e),this.startScale=this.scale,this.originX=s.abs(t.touches[0].pageX+t.touches[1].pageX)/2+this.wrapperOffset.left-this.x,this.originY=s.abs(t.touches[0].pageY+t.touches[1].pageY)/2+this.wrapperOffset.top-this.y,this._execEvent("zoomStart")},_zoom:function(t){if(this.enabled&&h.eventType[t.type]===this.initiated){this.options.preventDefault&&t.preventDefault();var i,e,o,n=s.abs(t.touches[0].pageX-t.touches[1].pageX),r=s.abs(t.touches[0].pageY-t.touches[1].pageY),a=s.sqrt(n*n+r*r),l=1/this.touchesDistanceStart*a*this.startScale;this.scaled=!0,l<this.options.zoomMin?l=.5*this.options.zoomMin*s.pow(2,l/this.options.zoomMin):l>this.options.zoomMax&&(l=2*this.options.zoomMax*s.pow(.5,this.options.zoomMax/l)),i=l/this.startScale,e=this.originX-this.originX*i+this.startX,o=this.originY-this.originY*i+this.startY,this.scale=l,this.scrollTo(e,o,0)}},_zoomEnd:function(t){if(this.enabled&&h.eventType[t.type]===this.initiated){this.options.preventDefault&&t.preventDefault();var i,s,e;this.isInTransition=0,this.initiated=0,this.scale>this.options.zoomMax?this.scale=this.options.zoomMax:this.scale<this.options.zoomMin&&(this.scale=this.options.zoomMin),this.refresh(),e=this.scale/this.startScale,i=this.originX-this.originX*e+this.startX,s=this.originY-this.originY*e+this.startY,i>0?i=0:i<this.maxScrollX&&(i=this.maxScrollX),s>0?s=0:s<this.maxScrollY&&(s=this.maxScrollY),this.scrollTo(i,s,this.options.bounceTime),this.scaled=!1,this._execEvent("zoomEnd")}},zoom:function(t,i,s,e){if(t<this.options.zoomMin?t=this.options.zoomMin:t>this.options.zoomMax&&(t=this.options.zoomMax),t!=this.scale){var o=t/this.scale;i=void 0===i?this.wrapperWidth/2-this.wrapperOffset.left:i,s=void 0===s?this.wrapperHeight/2-this.wrapperOffset.top:s,e=void 0===e?300:e,i=i+this.wrapperOffset.left-this.x,s=s+this.wrapperOffset.top-this.y,i=i-i*o+this.x,s=s-s*o+this.y,this.scale=t,this.refresh(),i>0?i=0:i<this.maxScrollX&&(i=this.maxScrollX),s>0?s=0:s<this.maxScrollY&&(s=this.maxScrollY),this.scrollTo(i,s,e)}},_wheelZoom:function(t){var i,e,o=this;if(clearTimeout(this.wheelTimeout),this.wheelTimeout=setTimeout(function(){o._execEvent("zoomEnd")},400),"deltaY"in t)i=-t.deltaY/s.abs(t.deltaY);else if("wheelDeltaY"in t)i=t.wheelDeltaY/s.abs(t.wheelDeltaY);else if("wheelDelta"in t)i=t.wheelDelta/s.abs(t.wheelDelta);else{if(!("detail"in t))return;i=-t.detail/s.abs(t.detail)}isNaN(i)&&(i=0),e=this.scale+.01*i,this.zoom(e,t.pageX,t.pageY,0),t.preventDefault(),t.stopPropagation()},_initWheel:function(){h.addEvent(this.wrapper,"wheel",this),h.addEvent(this.wrapper,"mousewheel",this),h.addEvent(this.wrapper,"DOMMouseScroll",this),this.on("destroy",function(){clearTimeout(this.wheelTimeout),this.wheelTimeout=null,h.removeEvent(this.wrapper,"wheel",this),h.removeEvent(this.wrapper,"mousewheel",this),h.removeEvent(this.wrapper,"DOMMouseScroll",this)})},_wheel:function(t){if(this.enabled){t.preventDefault();var i,e,o,n,r=this;if(void 0===this.wheelTimeout&&r._execEvent("scrollStart"),clearTimeout(this.wheelTimeout),this.wheelTimeout=setTimeout(function(){r.options.snap||r._execEvent("scrollEnd"),r.wheelTimeout=void 0},400),"deltaX"in t)1===t.deltaMode?(i=-t.deltaX*this.options.mouseWheelSpeed,e=-t.deltaY*this.options.mouseWheelSpeed):(i=-t.deltaX,e=-t.deltaY);else if("wheelDeltaX"in t)i=t.wheelDeltaX/120*this.options.mouseWheelSpeed,e=t.wheelDeltaY/120*this.options.mouseWheelSpeed;else if("wheelDelta"in t)i=e=t.wheelDelta/120*this.options.mouseWheelSpeed;else{if(!("detail"in t))return;i=e=-t.detail/3*this.options.mouseWheelSpeed}if(i*=this.options.invertWheelDirection,e*=this.options.invertWheelDirection,this.hasVerticalScroll||(i=e,e=0),this.options.snap)return o=this.currentPage.pageX,n=this.currentPage.pageY,i>0?o--:i<0&&o++,e>0?n--:e<0&&n++,void this.goToPage(o,n);o=this.x+s.round(this.hasHorizontalScroll?i:0),n=this.y+s.round(this.hasVerticalScroll?e:0),this.directionX=i>0?-1:i<0?1:0,this.directionY=e>0?-1:e<0?1:0,o>0?o=0:o<this.maxScrollX&&(o=this.maxScrollX),n>0?n=0:n<this.maxScrollY&&(n=this.maxScrollY),this.scrollTo(o,n,0)}},_initSnap:function(){this.currentPage={},"string"==typeof this.options.snap&&(this.options.snap=this.scroller.querySelectorAll(this.options.snap)),this.on("refresh",function(){var t,i,e,o,n,r,a,l=0,c=0,p=0,d=this.options.snapStepX||this.wrapperWidth,u=this.options.snapStepY||this.wrapperHeight;if(this.pages=[],this.wrapperWidth&&this.wrapperHeight&&this.scrollerWidth&&this.scrollerHeight){if(this.options.snap===!0)for(e=s.round(d/2),o=s.round(u/2);p>-this.scrollerWidth;){for(this.pages[l]=[],t=0,n=0;n>-this.scrollerHeight;)this.pages[l][t]={x:s.max(p,this.maxScrollX),y:s.max(n,this.maxScrollY),width:d,height:u,cx:p-e,cy:n-o},n-=u,t++;p-=d,l++}else for(r=this.options.snap,t=r.length,i=-1;l<t;l++)a=h.getRect(r[l]),(0===l||a.left<=h.getRect(r[l-1]).left)&&(c=0,i++),this.pages[c]||(this.pages[c]=[]),p=s.max(-a.left,this.maxScrollX),n=s.max(-a.top,this.maxScrollY),e=p-s.round(a.width/2),o=n-s.round(a.height/2),this.pages[c][i]={x:p,y:n,width:a.width,height:a.height,cx:e,cy:o},p>this.maxScrollX&&c++;this.goToPage(this.currentPage.pageX||0,this.currentPage.pageY||0,0),this.options.snapThreshold%1===0?(this.snapThresholdX=this.options.snapThreshold,this.snapThresholdY=this.options.snapThreshold):(this.snapThresholdX=s.round(this.pages[this.currentPage.pageX][this.currentPage.pageY].width*this.options.snapThreshold),this.snapThresholdY=s.round(this.pages[this.currentPage.pageX][this.currentPage.pageY].height*this.options.snapThreshold))}}),this.on("flick",function(){var t=this.options.snapSpeed||s.max(s.max(s.min(s.abs(this.x-this.startX),1e3),s.min(s.abs(this.y-this.startY),1e3)),300);this.goToPage(this.currentPage.pageX+this.directionX,this.currentPage.pageY+this.directionY,t)})},_nearestSnap:function(t,i){if(!this.pages.length)return{x:0,y:0,pageX:0,pageY:0};var e=0,o=this.pages.length,n=0;if(s.abs(t-this.absStartX)<this.snapThresholdX&&s.abs(i-this.absStartY)<this.snapThresholdY)return this.currentPage;for(t>0?t=0:t<this.maxScrollX&&(t=this.maxScrollX),i>0?i=0:i<this.maxScrollY&&(i=this.maxScrollY);e<o;e++)if(t>=this.pages[e][0].cx){t=this.pages[e][0].x;break}for(o=this.pages[e].length;n<o;n++)if(i>=this.pages[0][n].cy){i=this.pages[0][n].y;break}return e==this.currentPage.pageX&&(e+=this.directionX,e<0?e=0:e>=this.pages.length&&(e=this.pages.length-1),t=this.pages[e][0].x),n==this.currentPage.pageY&&(n+=this.directionY,n<0?n=0:n>=this.pages[0].length&&(n=this.pages[0].length-1),i=this.pages[0][n].y),{x:t,y:i,pageX:e,pageY:n}},goToPage:function(t,i,e,o){o=o||this.options.bounceEasing,t>=this.pages.length?t=this.pages.length-1:t<0&&(t=0),i>=this.pages[t].length?i=this.pages[t].length-1:i<0&&(i=0);var n=this.pages[t][i].x,r=this.pages[t][i].y;e=void 0===e?this.options.snapSpeed||s.max(s.max(s.min(s.abs(n-this.x),1e3),s.min(s.abs(r-this.y),1e3)),300):e,this.currentPage={x:n,y:r,pageX:t,pageY:i},this.scrollTo(n,r,e,o)},next:function(t,i){var s=this.currentPage.pageX,e=this.currentPage.pageY;s++,s>=this.pages.length&&this.hasVerticalScroll&&(s=0,e++),this.goToPage(s,e,t,i)},prev:function(t,i){var s=this.currentPage.pageX,e=this.currentPage.pageY;s--,s<0&&this.hasVerticalScroll&&(s=0,e--),this.goToPage(s,e,t,i)},_initKeys:function(i){var s,e={pageUp:33,pageDown:34,end:35,home:36,left:37,up:38,right:39,down:40};if("object"==typeof this.options.keyBindings)for(s in this.options.keyBindings)"string"==typeof this.options.keyBindings[s]&&(this.options.keyBindings[s]=this.options.keyBindings[s].toUpperCase().charCodeAt(0));else this.options.keyBindings={};for(s in e)this.options.keyBindings[s]=this.options.keyBindings[s]||e[s];h.addEvent(t,"keydown",this),this.on("destroy",function(){h.removeEvent(t,"keydown",this)})},_key:function(t){if(this.enabled){var i,e=this.options.snap,o=e?this.currentPage.pageX:this.x,n=e?this.currentPage.pageY:this.y,r=h.getTime(),a=this.keyTime||0,l=.25;switch(this.options.useTransition&&this.isInTransition&&(i=this.getComputedPosition(),this._translate(s.round(i.x),s.round(i.y)),this.isInTransition=!1),this.keyAcceleration=r-a<200?s.min(this.keyAcceleration+l,50):0,t.keyCode){case this.options.keyBindings.pageUp:this.hasHorizontalScroll&&!this.hasVerticalScroll?o+=e?1:this.wrapperWidth:n+=e?1:this.wrapperHeight;break;case this.options.keyBindings.pageDown:this.hasHorizontalScroll&&!this.hasVerticalScroll?o-=e?1:this.wrapperWidth:n-=e?1:this.wrapperHeight;break;case this.options.keyBindings.end:o=e?this.pages.length-1:this.maxScrollX,n=e?this.pages[0].length-1:this.maxScrollY;break;case this.options.keyBindings.home:o=0,n=0;break;case this.options.keyBindings.left:o+=e?-1:5+this.keyAcceleration>>0;break;case this.options.keyBindings.up:n+=e?1:5+this.keyAcceleration>>0;break;case this.options.keyBindings.right:o-=e?-1:5+this.keyAcceleration>>0;break;case this.options.keyBindings.down:n-=e?1:5+this.keyAcceleration>>0;break;default:return}if(e)return void this.goToPage(o,n);o>0?(o=0,this.keyAcceleration=0):o<this.maxScrollX&&(o=this.maxScrollX,this.keyAcceleration=0),n>0?(n=0,this.keyAcceleration=0):n<this.maxScrollY&&(n=this.maxScrollY,this.keyAcceleration=0),this.scrollTo(o,n,0),this.keyTime=r}},_animate:function(t,i,s,e){function o(){var d,u,m,f=h.getTime();return f>=p?(n.isAnimating=!1,n._translate(t,i),void(n.resetPosition(n.options.bounceTime)||n._execEvent("scrollEnd"))):(f=(f-c)/s,m=e(f),d=(t-a)*m+a,u=(i-l)*m+l,n._translate(d,u),void(n.isAnimating&&r(o)))}var n=this,a=this.x,l=this.y,c=h.getTime(),p=c+s;this.isAnimating=!0,o()},handleEvent:function(t){switch(t.type){case"touchstart":case"pointerdown":case"MSPointerDown":case"mousedown":this._start(t),this.options.zoom&&t.touches&&t.touches.length>1&&this._zoomStart(t);break;case"touchmove":case"pointermove":case"MSPointerMove":case"mousemove":if(this.options.zoom&&t.touches&&t.touches[1])return void this._zoom(t);this._move(t);break;case"touchend":case"pointerup":case"MSPointerUp":case"mouseup":case"touchcancel":case"pointercancel":case"MSPointerCancel":case"mousecancel":if(this.scaled)return void this._zoomEnd(t);this._end(t);break;case"orientationchange":case"resize":this._resize();break;case"transitionend":case"webkitTransitionEnd":case"oTransitionEnd":case"MSTransitionEnd":this._transitionEnd(t);break;case"wheel":case"DOMMouseScroll":case"mousewheel":if("zoom"==this.options.wheelAction)return void this._wheelZoom(t);this._wheel(t);break;case"keydown":this._key(t)}}},n.prototype={handleEvent:function(t){switch(t.type){case"touchstart":case"pointerdown":case"MSPointerDown":case"mousedown":this._start(t);break;case"touchmove":case"pointermove":case"MSPointerMove":case"mousemove":this._move(t);break;case"touchend":case"pointerup":case"MSPointerUp":case"mouseup":case"touchcancel":case"pointercancel":case"MSPointerCancel":case"mousecancel":this._end(t)}},destroy:function(){this.options.fadeScrollbars&&(clearTimeout(this.fadeTimeout),this.fadeTimeout=null),this.options.interactive&&(h.removeEvent(this.indicator,"touchstart",this),h.removeEvent(this.indicator,h.prefixPointerEvent("pointerdown"),this),h.removeEvent(this.indicator,"mousedown",this),h.removeEvent(t,"touchmove",this),h.removeEvent(t,h.prefixPointerEvent("pointermove"),this),h.removeEvent(t,"mousemove",this),h.removeEvent(t,"touchend",this),h.removeEvent(t,h.prefixPointerEvent("pointerup"),this),h.removeEvent(t,"mouseup",this)),this.options.defaultScrollbars&&this.wrapper.parentNode&&this.wrapper.parentNode.removeChild(this.wrapper)},_start:function(i){var s=i.touches?i.touches[0]:i;i.preventDefault(),i.stopPropagation(),this.transitionTime(),this.initiated=!0,this.moved=!1,this.lastPointX=s.pageX,this.lastPointY=s.pageY,this.startTime=h.getTime(),this.options.disableTouch||h.addEvent(t,"touchmove",this),this.options.disablePointer||h.addEvent(t,h.prefixPointerEvent("pointermove"),this),this.options.disableMouse||h.addEvent(t,"mousemove",this),this.scroller._execEvent("beforeScrollStart")},_move:function(t){var i,s,e,o,n=t.touches?t.touches[0]:t;h.getTime();this.moved||this.scroller._execEvent("scrollStart"),this.moved=!0,i=n.pageX-this.lastPointX,this.lastPointX=n.pageX,s=n.pageY-this.lastPointY,this.lastPointY=n.pageY,e=this.x+i,o=this.y+s,this._pos(e,o),t.preventDefault(),t.stopPropagation()},_end:function(i){if(this.initiated){if(this.initiated=!1,i.preventDefault(),i.stopPropagation(),h.removeEvent(t,"touchmove",this),h.removeEvent(t,h.prefixPointerEvent("pointermove"),this),h.removeEvent(t,"mousemove",this),this.scroller.options.snap){var e=this.scroller._nearestSnap(this.scroller.x,this.scroller.y),o=this.options.snapSpeed||s.max(s.max(s.min(s.abs(this.scroller.x-e.x),1e3),s.min(s.abs(this.scroller.y-e.y),1e3)),300); this.scroller.x==e.x&&this.scroller.y==e.y||(this.scroller.directionX=0,this.scroller.directionY=0,this.scroller.currentPage=e,this.scroller.scrollTo(e.x,e.y,o,this.scroller.options.bounceEasing))}this.moved&&this.scroller._execEvent("scrollEnd")}},transitionTime:function(t){t=t||0;var i=h.style.transitionDuration;if(i&&(this.indicatorStyle[i]=t+"ms",!t&&h.isBadAndroid)){this.indicatorStyle[i]="0.0001ms";var s=this;r(function(){"0.0001ms"===s.indicatorStyle[i]&&(s.indicatorStyle[i]="0s")})}},transitionTimingFunction:function(t){this.indicatorStyle[h.style.transitionTimingFunction]=t},refresh:function(){this.transitionTime(),this.options.listenX&&!this.options.listenY?this.indicatorStyle.display=this.scroller.hasHorizontalScroll?"block":"none":this.options.listenY&&!this.options.listenX?this.indicatorStyle.display=this.scroller.hasVerticalScroll?"block":"none":this.indicatorStyle.display=this.scroller.hasHorizontalScroll||this.scroller.hasVerticalScroll?"block":"none",this.scroller.hasHorizontalScroll&&this.scroller.hasVerticalScroll?(h.addClass(this.wrapper,"iScrollBothScrollbars"),h.removeClass(this.wrapper,"iScrollLoneScrollbar"),this.options.defaultScrollbars&&this.options.customStyle&&(this.options.listenX?this.wrapper.style.right="8px":this.wrapper.style.bottom="8px")):(h.removeClass(this.wrapper,"iScrollBothScrollbars"),h.addClass(this.wrapper,"iScrollLoneScrollbar"),this.options.defaultScrollbars&&this.options.customStyle&&(this.options.listenX?this.wrapper.style.right="2px":this.wrapper.style.bottom="2px")),h.getRect(this.wrapper),this.options.listenX&&(this.wrapperWidth=this.wrapper.clientWidth,this.options.resize?(this.indicatorWidth=s.max(s.round(this.wrapperWidth*this.wrapperWidth/(this.scroller.scrollerWidth||this.wrapperWidth||1)),8),this.indicatorStyle.width=this.indicatorWidth+"px"):this.indicatorWidth=this.indicator.clientWidth,this.maxPosX=this.wrapperWidth-this.indicatorWidth,"clip"==this.options.shrink?(this.minBoundaryX=-this.indicatorWidth+8,this.maxBoundaryX=this.wrapperWidth-8):(this.minBoundaryX=0,this.maxBoundaryX=this.maxPosX),this.sizeRatioX=this.options.speedRatioX||this.scroller.maxScrollX&&this.maxPosX/this.scroller.maxScrollX),this.options.listenY&&(this.wrapperHeight=this.wrapper.clientHeight,this.options.resize?(this.indicatorHeight=s.max(s.round(this.wrapperHeight*this.wrapperHeight/(this.scroller.scrollerHeight||this.wrapperHeight||1)),8),this.indicatorStyle.height=this.indicatorHeight+"px"):this.indicatorHeight=this.indicator.clientHeight,this.maxPosY=this.wrapperHeight-this.indicatorHeight,"clip"==this.options.shrink?(this.minBoundaryY=-this.indicatorHeight+8,this.maxBoundaryY=this.wrapperHeight-8):(this.minBoundaryY=0,this.maxBoundaryY=this.maxPosY),this.maxPosY=this.wrapperHeight-this.indicatorHeight,this.sizeRatioY=this.options.speedRatioY||this.scroller.maxScrollY&&this.maxPosY/this.scroller.maxScrollY),this.updatePosition()},updatePosition:function(){var t=this.options.listenX&&s.round(this.sizeRatioX*this.scroller.x)||0,i=this.options.listenY&&s.round(this.sizeRatioY*this.scroller.y)||0;this.options.ignoreBoundaries||(t<this.minBoundaryX?("scale"==this.options.shrink&&(this.width=s.max(this.indicatorWidth+t,8),this.indicatorStyle.width=this.width+"px"),t=this.minBoundaryX):t>this.maxBoundaryX?"scale"==this.options.shrink?(this.width=s.max(this.indicatorWidth-(t-this.maxPosX),8),this.indicatorStyle.width=this.width+"px",t=this.maxPosX+this.indicatorWidth-this.width):t=this.maxBoundaryX:"scale"==this.options.shrink&&this.width!=this.indicatorWidth&&(this.width=this.indicatorWidth,this.indicatorStyle.width=this.width+"px"),i<this.minBoundaryY?("scale"==this.options.shrink&&(this.height=s.max(this.indicatorHeight+3*i,8),this.indicatorStyle.height=this.height+"px"),i=this.minBoundaryY):i>this.maxBoundaryY?"scale"==this.options.shrink?(this.height=s.max(this.indicatorHeight-3*(i-this.maxPosY),8),this.indicatorStyle.height=this.height+"px",i=this.maxPosY+this.indicatorHeight-this.height):i=this.maxBoundaryY:"scale"==this.options.shrink&&this.height!=this.indicatorHeight&&(this.height=this.indicatorHeight,this.indicatorStyle.height=this.height+"px")),this.x=t,this.y=i,this.scroller.options.useTransform?this.indicatorStyle[h.style.transform]="translate("+t+"px,"+i+"px)"+this.scroller.translateZ:(this.indicatorStyle.left=t+"px",this.indicatorStyle.top=i+"px")},_pos:function(t,i){t<0?t=0:t>this.maxPosX&&(t=this.maxPosX),i<0?i=0:i>this.maxPosY&&(i=this.maxPosY),t=this.options.listenX?s.round(t/this.sizeRatioX):this.scroller.x,i=this.options.listenY?s.round(i/this.sizeRatioY):this.scroller.y,this.scroller.scrollTo(t,i)},fade:function(t,i){if(!i||this.visible){clearTimeout(this.fadeTimeout),this.fadeTimeout=null;var s=t?250:500,e=t?0:300;t=t?"1":"0",this.wrapperStyle[h.style.transitionDuration]=s+"ms",this.fadeTimeout=setTimeout(function(t){this.wrapperStyle.opacity=t,this.visible=+t}.bind(this,t),e)}}},e.utils=h,"undefined"!=typeof module&&module.exports?module.exports=e:"function"==typeof define&&define.amd?define(function(){return e}):t.IScroll=e}(window,document,Math);
0
/content/gmx-projects/gmx-admin/admin/resources/plugins
/content/gmx-projects/gmx-admin/admin/resources/plugins/bootstrap-fileinput/bootstrap-fileinput.css
/*! * Jasny Bootstrap v3.1.3 (http://jasny.github.io/bootstrap) * Copyright 2012-2014 Arnold Daniels * Licensed under Apache-2.0 (https://github.com/jasny/bootstrap/blob/master/LICENSE) */ .btn-file { position: relative; overflow: hidden; vertical-align: middle; } .btn-file > input { position: absolute; top: 0; right: 0; width: 100%; height: 100%; margin: 0; font-size: 23px; cursor: pointer; filter: alpha(opacity=0); opacity: 0; direction: ltr; } .fileinput { display: inline-block; margin-bottom: 9px; } .fileinput .form-control { display: inline-block; padding-top: 7px; padding-bottom: 5px; margin-bottom: 0; vertical-align: middle; /* cursor: text; */ } .fileinput .thumbnail { display: inline-block; margin-bottom: 5px; overflow: hidden; text-align: center; vertical-align: middle; } .fileinput .thumbnail > img { max-height: 100%; } .fileinput .btn { vertical-align: middle; } .fileinput-exists .fileinput-new, .fileinput-new .fileinput-exists { display: none; } .fileinput-inline .fileinput-controls { display: inline; } .fileinput-filename { display: inline-block; overflow: hidden; vertical-align: middle; } .form-control .fileinput-filename { vertical-align: bottom; } .fileinput.input-group { display: table; } .fileinput.input-group > * { position: relative; z-index: 2; } .fileinput.input-group > .btn-file { z-index: 1; } .fileinput-new.input-group .btn-file, .fileinput-new .input-group .btn-file { border-radius: 0 4px 4px 0; } .fileinput-new.input-group .btn-file.btn-xs, .fileinput-new .input-group .btn-file.btn-xs, .fileinput-new.input-group .btn-file.btn-sm, .fileinput-new .input-group .btn-file.btn-sm { border-radius: 0 3px 3px 0; } .fileinput-new.input-group .btn-file.btn-lg, .fileinput-new .input-group .btn-file.btn-lg { border-radius: 0 6px 6px 0; } .form-group.has-warning .fileinput .fileinput-preview { color: #8a6d3b; } .form-group.has-warning .fileinput .thumbnail { border-color: #faebcc; } .form-group.has-error .fileinput .fileinput-preview { color: #a94442; } .form-group.has-error .fileinput .thumbnail { border-color: #ebccd1; } .form-group.has-success .fileinput .fileinput-preview { color: #3c763d; } .form-group.has-success .fileinput .thumbnail { border-color: #d6e9c6; } .input-group-addon:not(:first-child) { border-left: 0; }
0
/content/gmx-projects/gmx-admin/admin/resources/plugins
/content/gmx-projects/gmx-admin/admin/resources/plugins/bootstrap-fileinput/bootstrap-fileinput.js
/* =========================================================== * Bootstrap: fileinput.js v3.1.3 * http://jasny.github.com/bootstrap/javascript/#fileinput * =========================================================== * Copyright 2012-2014 Arnold Daniels * * Licensed under the Apache License, Version 2.0 (the "License") * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * ========================================================== */ +function ($) { "use strict"; var isIE = window.navigator.appName == 'Microsoft Internet Explorer' // FILEUPLOAD PUBLIC CLASS DEFINITION // ================================= var Fileinput = function (element, options) { this.$element = $(element) this.$input = this.$element.find(':file') if (this.$input.length === 0) return this.name = this.$input.attr('name') || options.name this.$hidden = this.$element.find('input[type=hidden][name="' + this.name + '"]') if (this.$hidden.length === 0) { this.$hidden = $('<input type="hidden">').insertBefore(this.$input) } this.$preview = this.$element.find('.fileinput-preview') var height = this.$preview.css('height') if (this.$preview.css('display') !== 'inline' && height !== '0px' && height !== 'none') { this.$preview.css('line-height', height) } this.original = { exists: this.$element.hasClass('fileinput-exists'), preview: this.$preview.html(), hiddenVal: this.$hidden.val() } this.listen() } Fileinput.prototype.listen = function() { this.$input.on('change.bs.fileinput', $.proxy(this.change, this)) $(this.$input[0].form).on('reset.bs.fileinput', $.proxy(this.reset, this)) this.$element.find('[data-trigger="fileinput"]').on('click.bs.fileinput', $.proxy(this.trigger, this)) this.$element.find('[data-dismiss="fileinput"]').on('click.bs.fileinput', $.proxy(this.clear, this)) }, Fileinput.prototype.change = function(e) { var files = e.target.files === undefined ? (e.target && e.target.value ? [{ name: e.target.value.replace(/^.+\\/, '')}] : []) : e.target.files e.stopPropagation() if (files.length === 0) { this.clear() return } this.$hidden.val('') this.$hidden.attr('name', '') this.$input.attr('name', this.name) var file = files[0] if (this.$preview.length > 0 && (typeof file.type !== "undefined" ? file.type.match(/^image\/(gif|png|jpeg)$/) : file.name.match(/\.(gif|png|jpe?g)$/i)) && typeof FileReader !== "undefined") { var reader = new FileReader() var preview = this.$preview var element = this.$element reader.onload = function(re) { var $img = $('<img>') $img[0].src = re.target.result files[0].result = re.target.result element.find('.fileinput-filename').text(file.name) // if parent has max-height, using `(max-)height: 100%` on child doesn't take padding and border into account if (preview.css('max-height') != 'none') $img.css('max-height', parseInt(preview.css('max-height'), 10) - parseInt(preview.css('padding-top'), 10) - parseInt(preview.css('padding-bottom'), 10) - parseInt(preview.css('border-top'), 10) - parseInt(preview.css('border-bottom'), 10)) preview.html($img) element.addClass('fileinput-exists').removeClass('fileinput-new') element.trigger('change.bs.fileinput', files) } reader.readAsDataURL(file) } else { this.$element.find('.fileinput-filename').text(file.name) this.$preview.text(file.name) this.$element.addClass('fileinput-exists').removeClass('fileinput-new') this.$element.trigger('change.bs.fileinput') } }, Fileinput.prototype.clear = function(e) { if (e) e.preventDefault() this.$hidden.val('') this.$hidden.attr('name', this.name) this.$input.attr('name', '') //ie8+ doesn't support changing the value of input with type=file so clone instead if (isIE) { var inputClone = this.$input.clone(true); this.$input.after(inputClone); this.$input.remove(); this.$input = inputClone; } else { this.$input.val('') } this.$preview.html('') this.$element.find('.fileinput-filename').text('') this.$element.addClass('fileinput-new').removeClass('fileinput-exists') if (e !== undefined) { this.$input.trigger('change') this.$element.trigger('clear.bs.fileinput') } }, Fileinput.prototype.reset = function() { this.clear() this.$hidden.val(this.original.hiddenVal) this.$preview.html(this.original.preview) this.$element.find('.fileinput-filename').text('') if (this.original.exists) this.$element.addClass('fileinput-exists').removeClass('fileinput-new') else this.$element.addClass('fileinput-new').removeClass('fileinput-exists') this.$element.trigger('reset.bs.fileinput') }, Fileinput.prototype.trigger = function(e) { this.$input.trigger('click') e.preventDefault() } // FILEUPLOAD PLUGIN DEFINITION // =========================== var old = $.fn.fileinput $.fn.fileinput = function (options) { return this.each(function () { var $this = $(this), data = $this.data('bs.fileinput') if (!data) $this.data('bs.fileinput', (data = new Fileinput(this, options))) if (typeof options == 'string') data[options]() }) } $.fn.fileinput.Constructor = Fileinput // FILEINPUT NO CONFLICT // ==================== $.fn.fileinput.noConflict = function () { $.fn.fileinput = old return this } // FILEUPLOAD DATA-API // ================== $(document).on('click.fileinput.data-api', '[data-provides="fileinput"]', function (e) { var $this = $(this) if ($this.data('bs.fileinput')) return $this.fileinput($this.data()) var $target = $(e.target).closest('[data-dismiss="fileinput"],[data-trigger="fileinput"]'); if ($target.length > 0) { e.preventDefault() $target.trigger('click.bs.fileinput') } }) }(window.jQuery);
0
/content/gmx-projects/gmx-admin/admin/resources/plugins
/content/gmx-projects/gmx-admin/admin/resources/plugins/creditcard/imask.min.js
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.IMask=e()}(this,function(){"use strict";var t=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t},e={}.hasOwnProperty,u=function(t,u){return e.call(t,u)},n={}.toString,r=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==function(t){return n.call(t).slice(8,-1)}(t)?t.split(""):Object(t)},i=function(e){return r(t(e))},s=Math.ceil,a=Math.floor,o=function(t){return isNaN(t=+t)?0:(t>0?a:s)(t)},l=Math.min,h=function(t){return t>0?l(o(t),9007199254740991):0},c=Math.max,f=Math.min;function p(t,e){return t(e={exports:{}},e.exports),e.exports}var d,v,g=p(function(t){var e=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=e)}),y=g["__core-js_shared__"]||(g["__core-js_shared__"]={}),_=0,k=Math.random(),m=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++_+k).toString(36))},A=y[d="keys"]||(y[d]={}),F=(v=!1,function(t,e,u){var n,r=i(t),s=h(r.length),a=function(t,e){return(t=o(t))<0?c(t+e,0):f(t,e)}(u,s);if(v&&e!=e){for(;s>a;)if((n=r[a++])!=n)return!0}else for(;s>a;a++)if((v||a in r)&&r[a]===e)return v||a||0;return!v&&-1}),D=function(t){return A[t]||(A[t]=m(t))}("IE_PROTO"),E="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(","),C=Object.keys||function(t){return function(t,e){var n,r=i(t),s=0,a=[];for(n in r)n!=D&&u(r,n)&&a.push(n);for(;e.length>s;)u(r,n=e[s++])&&(~F(a,n)||a.push(n));return a}(t,E)},b=p(function(t){var e=t.exports={version:"2.5.5"};"number"==typeof __e&&(__e=e)}),B=(b.version,function(t){return"object"==typeof t?null!==t:"function"==typeof t}),P=function(t){if(!B(t))throw TypeError(t+" is not an object!");return t},w=function(t){try{return!!t()}catch(t){return!0}},S=!w(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}),O=g.document,x=B(O)&&B(O.createElement),T=!S&&!w(function(){return 7!=Object.defineProperty((t="div",x?O.createElement(t):{}),"a",{get:function(){return 7}}).a;var t}),I=Object.defineProperty,M={f:S?Object.defineProperty:function(t,e,u){if(P(t),e=function(t,e){if(!B(t))return t;var u,n;if(e&&"function"==typeof(u=t.toString)&&!B(n=u.call(t)))return n;if("function"==typeof(u=t.valueOf)&&!B(n=u.call(t)))return n;if(!e&&"function"==typeof(u=t.toString)&&!B(n=u.call(t)))return n;throw TypeError("Can't convert object to primitive value")}(e,!0),P(u),T)try{return I(t,e,u)}catch(t){}if("get"in u||"set"in u)throw TypeError("Accessors not supported!");return"value"in u&&(t[e]=u.value),t}},j=S?function(t,e,u){return M.f(t,e,function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}(1,u))}:function(t,e,u){return t[e]=u,t},V=p(function(t){var e=m("src"),n=Function.toString,r=(""+n).split("toString");b.inspectSource=function(t){return n.call(t)},(t.exports=function(t,n,i,s){var a="function"==typeof i;a&&(u(i,"name")||j(i,"name",n)),t[n]!==i&&(a&&(u(i,e)||j(i,e,t[n]?""+t[n]:r.join(String(n)))),t===g?t[n]=i:s?t[n]?t[n]=i:j(t,n,i):(delete t[n],j(t,n,i)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[e]||n.call(this)})}),R=function(t,e,u){if(function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!")}(t),void 0===e)return t;switch(u){case 1:return function(u){return t.call(e,u)};case 2:return function(u,n){return t.call(e,u,n)};case 3:return function(u,n,r){return t.call(e,u,n,r)}}return function(){return t.apply(e,arguments)}},H=function(t,e,u){var n,r,i,s,a=t&H.F,o=t&H.G,l=t&H.S,h=t&H.P,c=t&H.B,f=o?g:l?g[e]||(g[e]={}):(g[e]||{}).prototype,p=o?b:b[e]||(b[e]={}),d=p.prototype||(p.prototype={});for(n in o&&(u=e),u)i=((r=!a&&f&&void 0!==f[n])?f:u)[n],s=c&&r?R(i,g):h&&"function"==typeof i?R(Function.call,i):i,f&&V(f,n,i,t&H.U),p[n]!=i&&j(p,n,s),h&&d[n]!=i&&(d[n]=i)};g.core=b,H.F=1,H.G=2,H.S=4,H.P=8,H.B=16,H.W=32,H.U=64,H.R=128;var N,L,U,Y,z=H;N="keys",L=function(){return function(e){return C(function(e){return Object(t(e))}(e))}},U=(b.Object||{})[N]||Object[N],(Y={})[N]=L(U),z(z.S+z.F*w(function(){U(1)}),"Object",Y);b.Object.keys;var G=function(e){var u=String(t(this)),n="",r=o(e);if(r<0||r==1/0)throw RangeError("Count can't be negative");for(;r>0;(r>>>=1)&&(u+=u))1&r&&(n+=u);return n};z(z.P,"String",{repeat:G});b.String.repeat;var Z=function(e,u,n,r){var i=String(t(e)),s=i.length,a=void 0===n?" ":String(n),o=h(u);if(o<=s||""==a)return i;var l=o-s,c=G.call(a,Math.ceil(l/a.length));return c.length>l&&(c=c.slice(0,l)),r?c+i:i+c},W=g.navigator,$=W&&W.userAgent||"";z(z.P+z.F*/Version\/10\.\d+(\.\d+)? Safari\//.test($),"String",{padStart:function(t){return Z(this,t,arguments.length>1?arguments[1]:void 0,!0)}});b.String.padStart;z(z.P+z.F*/Version\/10\.\d+(\.\d+)? Safari\//.test($),"String",{padEnd:function(t){return Z(this,t,arguments.length>1?arguments[1]:void 0,!1)}});b.String.padEnd;var X="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},q=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},J=function(){function t(t,e){for(var u=0;u<e.length;u++){var n=e[u];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,u,n){return u&&t(e.prototype,u),n&&t(e,n),e}}(),K=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var u=arguments[e];for(var n in u)Object.prototype.hasOwnProperty.call(u,n)&&(t[n]=u[n])}return t},Q=function t(e,u,n){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,u);if(void 0===r){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,u,n)}if("value"in r)return r.value;var s=r.get;return void 0!==s?s.call(n):void 0},tt=function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)},et=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e},ut=function t(e,u,n,r){var i=Object.getOwnPropertyDescriptor(e,u);if(void 0===i){var s=Object.getPrototypeOf(e);null!==s&&t(s,u,n,r)}else if("value"in i&&i.writable)i.value=n;else{var a=i.set;void 0!==a&&a.call(r,n)}return n},nt=function(){return function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var u=[],n=!0,r=!1,i=void 0;try{for(var s,a=t[Symbol.iterator]();!(n=(s=a.next()).done)&&(u.push(s.value),!e||u.length!==e);n=!0);}catch(t){r=!0,i=t}finally{try{!n&&a.return&&a.return()}finally{if(r)throw i}}return u}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),rt=function(t){if(Array.isArray(t)){for(var e=0,u=Array(t.length);e<t.length;e++)u[e]=t[e];return u}return Array.from(t)};function it(t){return"string"==typeof t||t instanceof String}function st(t,e){var u=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return it(t)?t:t?e:u}var at={NONE:0,LEFT:-1,RIGHT:1};function ot(t,e){return e===at.LEFT&&--t,t}function lt(t){return t.replace(/([.*+?^=!:${}()|[\]/\\])/g,"\\$1")}var ht="undefined"!=typeof window&&window||"undefined"!=typeof global&&global.global===global&&global||"undefined"!=typeof self&&self.self===self&&self||{},ct=function(){function t(e,u,n,r){for(q(this,t),this.value=e,this.cursorPos=u,this.oldValue=n,this.oldSelection=r;this.value.slice(0,this.startChangePos)!==this.oldValue.slice(0,this.startChangePos);)--this.oldSelection.start}return J(t,[{key:"startChangePos",get:function(){return Math.min(this.cursorPos,this.oldSelection.start)}},{key:"insertedCount",get:function(){return this.cursorPos-this.startChangePos}},{key:"inserted",get:function(){return this.value.substr(this.startChangePos,this.insertedCount)}},{key:"removedCount",get:function(){return Math.max(this.oldSelection.end-this.startChangePos||this.oldValue.length-this.value.length,0)}},{key:"removed",get:function(){return this.oldValue.substr(this.startChangePos,this.removedCount)}},{key:"head",get:function(){return this.value.substring(0,this.startChangePos)}},{key:"tail",get:function(){return this.value.substring(this.startChangePos+this.insertedCount)}},{key:"removeDirection",get:function(){return!this.removedCount||this.insertedCount?at.NONE:this.oldSelection.end===this.cursorPos||this.oldSelection.start===this.cursorPos?at.RIGHT:at.LEFT}}]),t}(),ft=function(){function t(e){q(this,t),K(this,{inserted:"",overflow:!1,shift:0},e)}return J(t,[{key:"aggregate",value:function(t){return t.rawInserted&&(this.rawInserted+=t.rawInserted),this.inserted+=t.inserted,this.shift+=t.shift,this.overflow=this.overflow||t.overflow,this}},{key:"offset",get:function(){return this.shift+this.inserted.length}},{key:"rawInserted",get:function(){return null!=this._rawInserted?this._rawInserted:this.inserted},set:function(t){this._rawInserted=t}}]),t}(),pt=function(){function t(e){q(this,t),this._value="",this._update(e),this.isInitialized=!0}return J(t,[{key:"updateOptions",value:function(t){this.withValueRefresh(this._update.bind(this,t))}},{key:"_update",value:function(t){K(this,t)}},{key:"clone",value:function(){var e=new t(this);return e._value=this.value.slice(),e}},{key:"assign",value:function(t){return K(this,t)}},{key:"reset",value:function(){this._value=""}},{key:"resolve",value:function(t){return this.reset(),this._append(t,{input:!0}),this._appendTail(),this.doCommit(),this.value}},{key:"nearestInputPos",value:function(t,e){return t}},{key:"extractInput",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.value.length;return this.value.slice(t,e)}},{key:"_extractTail",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.value.length;return{value:this.extractInput(t,e),fromPos:t,toPos:e}}},{key:"_appendTail",value:function(t){return this._append(t?t.value:"",{tail:!0})}},{key:"_append",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},u=this.value.length,n=this.clone(),r=!1;t=this.doPrepare(t,e);for(var i=0;i<t.length;++i){if(this._value+=t[i],!1===this.doValidate(e)&&(this.assign(n),!e.input)){r=!0;break}n=this.clone()}return new ft({inserted:this.value.slice(u),overflow:r})}},{key:"appendWithTail",value:function(t,e){for(var u=new ft,n=this.clone(),r=void 0,i=0;i<t.length;++i){var s=t[i],a=this._append(s,{input:!0});if(r=this.clone(),!(!a.overflow&&!this._appendTail(e).overflow)||!1===this.doValidate({tail:!0})){this.assign(n);break}this.assign(r),n=this.clone(),u.aggregate(a)}return u.shift+=this._appendTail(e).shift,u}},{key:"remove",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.value.length-t;return this._value=this.value.slice(0,t)+this.value.slice(t+e),new ft}},{key:"withValueRefresh",value:function(t){if(this._refreshing||!this.isInitialized)return t();this._refreshing=!0;var e=this.unmaskedValue,u=this.value,n=t();return this.resolve(u)!==u&&(this.unmaskedValue=e),delete this._refreshing,n}},{key:"doPrepare",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.prepare?this.prepare(t,this,e):t}},{key:"doValidate",value:function(t){return!this.validate||this.validate(this.value,this,t)}},{key:"doCommit",value:function(){this.commit&&this.commit(this.value,this)}},{key:"splice",value:function(t,e,u,n){var r=t+e,i=this._extractTail(r),s=this.nearestInputPos(t,n);return new ft({shift:s-t}).aggregate(this.remove(s)).aggregate(this.appendWithTail(u,i))}},{key:"value",get:function(){return this._value},set:function(t){this.resolve(t)}},{key:"unmaskedValue",get:function(){return this.value},set:function(t){this.reset(),this._append(t),this._appendTail(),this.doCommit()}},{key:"typedValue",get:function(){return this.unmaskedValue},set:function(t){this.unmaskedValue=t}},{key:"rawInputValue",get:function(){return this.extractInput(0,this.value.length,{raw:!0})},set:function(t){this.reset(),this._append(t,{raw:!0}),this._appendTail(),this.doCommit()}},{key:"isComplete",get:function(){return!0}}]),t}();function dt(t){if(null==t)throw new Error("mask property should be defined");return t instanceof RegExp?ht.IMask.MaskedRegExp:it(t)?ht.IMask.MaskedPattern:t instanceof Date||t===Date?ht.IMask.MaskedDate:t instanceof Number||"number"==typeof t||t===Number?ht.IMask.MaskedNumber:Array.isArray(t)||t===Array?ht.IMask.MaskedDynamic:t.prototype instanceof ht.IMask.Masked?t:t instanceof Function?ht.IMask.MaskedFunction:(console.warn("Mask not found for mask",t),ht.IMask.Masked)}function vt(t){var e=(t=K({},t)).mask;return e instanceof ht.IMask.Masked?e:new(dt(e))(t)}var gt=function(){function t(e){q(this,t),K(this,e),this.mask&&(this._masked=vt(e))}return J(t,[{key:"reset",value:function(){this.isHollow=!1,this.isRawInput=!1,this._masked&&this._masked.reset()}},{key:"resolve",value:function(t){return!!this._masked&&this._masked.resolve(t)}},{key:"isInput",get:function(){return this.type===t.TYPES.INPUT}},{key:"isHiddenHollow",get:function(){return this.isHollow&&this.optional}}]),t}();gt.DEFAULTS={0:/\d/,a:/[\u0041-\u005A\u0061-\u007A\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/,"*":/./},gt.TYPES={INPUT:"input",FIXED:"fixed"};var yt=function(){function t(e,u){var n=u.name,r=u.offset,i=u.mask,s=u.validate;q(this,t),this.masked=e,this.name=n,this.offset=r,this.mask=i,this.validate=s||function(){return!0}}return J(t,[{key:"doValidate",value:function(t){return this.validate(this.value,this,t)}},{key:"value",get:function(){return this.masked.value.slice(this.masked.mapDefIndexToPos(this.offset),this.masked.mapDefIndexToPos(this.offset+this.mask.length))}},{key:"unmaskedValue",get:function(){return this.masked.extractInput(this.masked.mapDefIndexToPos(this.offset),this.masked.mapDefIndexToPos(this.offset+this.mask.length))}}]),t}(),_t=function(){function t(e){var u=nt(e,2),n=u[0],r=u[1],i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:String(r).length;q(this,t),this._from=n,this._to=r,this._maxLength=i,this.validate=this.validate.bind(this),this._update()}return J(t,[{key:"_update",value:function(){this._maxLength=Math.max(this._maxLength,String(this.to).length),this.mask="0".repeat(this._maxLength)}},{key:"validate",value:function(t){var e="",u="",n=t.match(/^(\D*)(\d*)(\D*)/)||[],r=nt(n,3),i=r[1],s=r[2];return s&&(e="0".repeat(i.length)+s,u="9".repeat(i.length)+s),-1===t.search(/[^0]/)&&t.length<=this._matchFrom||(e=e.padEnd(this._maxLength,"0"),u=u.padEnd(this._maxLength,"9"),this.from<=Number(u)&&Number(e)<=this.to)}},{key:"to",get:function(){return this._to},set:function(t){this._to=t,this._update()}},{key:"from",get:function(){return this._from},set:function(t){this._from=t,this._update()}},{key:"maxLength",get:function(){return this._maxLength},set:function(t){this._maxLength=t,this._update()}},{key:"_matchFrom",get:function(){return this.maxLength-String(this.from).length}}]),t}();yt.Range=_t,yt.Enum=function(t){return{mask:"*".repeat(t[0].length),validate:function(e,u,n){return t.some(function(t){return t.indexOf(u.unmaskedValue)>=0})}}};var kt=function(){function t(e){q(this,t),this.chunks=e}return J(t,[{key:"value",get:function(){return this.chunks.map(function(t){return t.value}).join("")}},{key:"fromPos",get:function(){var t=this.chunks[0];return t&&t.stop}},{key:"toPos",get:function(){var t=this.chunks[this.chunks.length-1];return t&&t.stop}}]),t}(),mt=function(t){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return q(this,e),t.definitions=K({},gt.DEFAULTS,t.definitions),et(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,K({},e.DEFAULTS,t)))}return tt(e,pt),J(e,[{key:"_update",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};t.definitions=K({},this.definitions,t.definitions),Q(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"_update",this).call(this,t),this._rebuildMask()}},{key:"_rebuildMask",value:function(){var t=this,u=this.definitions;this._charDefs=[],this._groupDefs=[];var n=this.mask;if(n&&u){var r=!1,i=!1,s=!1,a=function(a){if(t.groups){var l=n.slice(a),h=Object.keys(t.groups).filter(function(t){return 0===l.indexOf(t)});h.sort(function(t,e){return e.length-t.length});var c=h[0];if(c){var f=t.groups[c];t._groupDefs.push(new yt(t,{name:c,offset:t._charDefs.length,mask:f.mask,validate:f.validate})),n=n.replace(c,f.mask)}}var p=n[a],d=p in u?gt.TYPES.INPUT:gt.TYPES.FIXED,v=d===gt.TYPES.INPUT||r,g=d===gt.TYPES.INPUT&&i;if(p===e.STOP_CHAR)return s=!0,"continue";if("{"===p||"}"===p)return r=!r,"continue";if("["===p||"]"===p)return i=!i,"continue";if(p===e.ESCAPE_CHAR){if(!(p=n[++a]))return"break";d=gt.TYPES.FIXED}t._charDefs.push(new gt({char:p,type:d,optional:g,stopAlign:s,unmasking:v,mask:d===gt.TYPES.INPUT?u[p]:function(t){return t===p}})),s=!1,o=a};t:for(var o=0;o<n.length;++o){switch(a(o)){case"continue":continue;case"break":break t}}}}},{key:"doValidate",value:function(){for(var t,u=arguments.length,n=Array(u),r=0;r<u;r++)n[r]=arguments[r];return this._groupDefs.every(function(t){return t.doValidate.apply(t,rt(n))})&&(t=Q(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"doValidate",this)).call.apply(t,[this].concat(rt(n)))}},{key:"clone",value:function(){var t=this,u=new e(this);return u._value=this.value,u._charDefs.forEach(function(e,u){return K(e,t._charDefs[u])}),u._groupDefs.forEach(function(e,u){return K(e,t._groupDefs[u])}),u}},{key:"reset",value:function(){Q(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"reset",this).call(this),this._charDefs.forEach(function(t){delete t.isHollow})}},{key:"hiddenHollowsBefore",value:function(t){return this._charDefs.slice(0,t).filter(function(t){return t.isHiddenHollow}).length}},{key:"mapDefIndexToPos",value:function(t){return t-this.hiddenHollowsBefore(t)}},{key:"mapPosToDefIndex",value:function(t){for(var e=t,u=0;u<this._charDefs.length;++u){var n=this._charDefs[u];if(u>=e)break;n.isHiddenHollow&&++e}return e}},{key:"_appendTail",value:function(t){var u=new ft;return t&&u.aggregate(t instanceof kt?this._appendChunks(t.chunks,{tail:!0}):Q(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"_appendTail",this).call(this,t)),u.aggregate(this._appendPlaceholder())}},{key:"_append",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},u=this.value.length,n="",r=!1;t=this.doPrepare(t,e);for(var i=0,s=this.mapPosToDefIndex(this.value.length);i<t.length;){var a=t[i],o=this._charDefs[s];if(null==o){r=!0;break}o.isHollow=!1;var l=void 0,h=void 0,c=st(o.resolve(a),a);o.type===gt.TYPES.INPUT?(c&&(this._value+=c,this.doValidate()||(c="",this._value=this.value.slice(0,-1))),l=!!c,h=!c&&!o.optional,c?n+=c:(o.optional||e.input||this.lazy||(this._value+=this.placeholderChar,h=!1),h||(o.isHollow=!0))):(this._value+=o.char,l=c&&(o.unmasking||e.input||e.raw)&&!e.tail,o.isRawInput=l&&(e.raw||e.input),o.isRawInput&&(n+=o.char)),h||++s,(l||h)&&++i}return new ft({inserted:this.value.slice(u),rawInserted:n,overflow:r})}},{key:"_appendChunks",value:function(t){for(var e=new ft,u=arguments.length,n=Array(u>1?u-1:0),r=1;r<u;r++)n[r-1]=arguments[r];for(var i=0;i<t.length;++i){var s=t[i],a=s.stop,o=s.value,l=null!=a&&this._charDefs[a];if(l&&l.stopAlign&&e.aggregate(this._appendPlaceholder(a)),e.aggregate(this._append.apply(this,[o].concat(rt(n)))).overflow)break}return e}},{key:"_extractTail",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.value.length;return new kt(this._extractInputChunks(t,e))}},{key:"extractInput",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.value.length,u=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(t===e)return"";for(var n=this.value,r="",i=this.mapPosToDefIndex(e),s=t,a=this.mapPosToDefIndex(t);s<e&&s<n.length&&a<i;++a){var o=n[s],l=this._charDefs[a];if(!l)break;l.isHiddenHollow||((l.isInput&&!l.isHollow||u.raw&&!l.isInput&&l.isRawInput)&&(r+=o),++s)}return r}},{key:"_extractInputChunks",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.value.length;if(e===u)return[];var n=this.mapPosToDefIndex(e),r=this.mapPosToDefIndex(u),i=this._charDefs.map(function(t,e){return[t,e]}).slice(n,r).filter(function(t){return nt(t,1)[0].stopAlign}).map(function(t){return nt(t,2)[1]}),s=[n].concat(rt(i),[r]);return s.map(function(e,u){return{stop:i.indexOf(e)>=0?e:null,value:t.extractInput(t.mapDefIndexToPos(e),t.mapDefIndexToPos(s[++u]))}}).filter(function(t){var e=t.stop,u=t.value;return null!=e||u})}},{key:"_appendPlaceholder",value:function(t){for(var e=this.value.length,u=t||this._charDefs.length,n=this.mapPosToDefIndex(this.value.length);n<u;++n){var r=this._charDefs[n];r.isInput&&(r.isHollow=!0),this.lazy&&!t||(this._value+=r.isInput||null==r.char?r.optional?"":this.placeholderChar:r.char)}return new ft({inserted:this.value.slice(e)})}},{key:"remove",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.value.length-t,n=this.mapPosToDefIndex(t),r=this.mapPosToDefIndex(t+u);return this._charDefs.slice(n,r).forEach(function(t){return t.reset()}),Q(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"remove",this).call(this,t,u)}},{key:"nearestInputPos",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:at.NONE,u=e||at.RIGHT,n=this.mapPosToDefIndex(t),r=this._charDefs[n],i=n,s=void 0,a=void 0,o=void 0,l=void 0;if(e!==at.RIGHT&&(r&&r.isInput||e===at.NONE&&t===this.value.length)&&(s=n,r&&!r.isHollow&&(a=n)),null==a&&e==at.LEFT||null==s)for(l=ot(i,u);0<=l&&l<this._charDefs.length;i+=u,l+=u){var h=this._charDefs[l];if(null==s&&h.isInput&&(s=i,e===at.NONE))break;if(null==o&&h.isHollow&&!h.isHiddenHollow&&(o=i),h.isInput&&!h.isHollow){a=i;break}}if(e!==at.LEFT||0!==i||!this.lazy||this.extractInput()||r&&r.isInput||(s=0),e===at.LEFT||null==s){var c=!1;for(l=ot(i,u=-u);0<=l&&l<this._charDefs.length;i+=u,l+=u){var f=this._charDefs[l];if(f.isInput&&(s=i,f.isHollow&&!f.isHiddenHollow))break;if(i===n&&(c=!0),c&&null!=s)break}(c=c||l>=this._charDefs.length)&&null!=s&&(i=s)}else null==a&&(i=null!=o?o:s);return this.mapDefIndexToPos(i)}},{key:"group",value:function(t){return this.groupsByName(t)[0]}},{key:"groupsByName",value:function(t){return this._groupDefs.filter(function(e){return e.name===t})}},{key:"isComplete",get:function(){var t=this;return!this._charDefs.some(function(e,u){return e.isInput&&!e.optional&&(e.isHollow||!t.extractInput(u,u+1))})}},{key:"unmaskedValue",get:function(){for(var t=this.value,e="",u=0,n=0;u<t.length&&n<this._charDefs.length;++n){var r=t[u],i=this._charDefs[n];i.isHiddenHollow||(i.unmasking&&!i.isHollow&&(e+=r),++u)}return e},set:function(t){ut(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"unmaskedValue",t,this)}}]),e}();mt.DEFAULTS={lazy:!0,placeholderChar:"_"},mt.STOP_CHAR="`",mt.ESCAPE_CHAR="\\",mt.Definition=gt,mt.Group=yt;var At=function(t){function e(t){return q(this,e),et(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,K({},e.DEFAULTS,t)))}return tt(e,mt),J(e,[{key:"_update",value:function(t){t.mask===Date&&delete t.mask,t.pattern&&(t.mask=t.pattern,delete t.pattern);var u=t.groups;t.groups=K({},e.GET_DEFAULT_GROUPS()),t.min&&(t.groups.Y.from=t.min.getFullYear()),t.max&&(t.groups.Y.to=t.max.getFullYear()),K(t.groups,u),Q(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"_update",this).call(this,t)}},{key:"doValidate",value:function(){for(var t,u=arguments.length,n=Array(u),r=0;r<u;r++)n[r]=arguments[r];var i=(t=Q(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"doValidate",this)).call.apply(t,[this].concat(rt(n))),s=this.date;return i&&(!this.isComplete||this.isDateExist(this.value)&&s&&(null==this.min||this.min<=s)&&(null==this.max||s<=this.max))}},{key:"isDateExist",value:function(t){return this.format(this.parse(t))===t}},{key:"date",get:function(){return this.isComplete?this.parse(this.value):null},set:function(t){this.value=this.format(t)}},{key:"typedValue",get:function(){return this.date},set:function(t){this.date=t}}]),e}();At.DEFAULTS={pattern:"d{.}`m{.}`Y",format:function(t){return[String(t.getDate()).padStart(2,"0"),String(t.getMonth()+1).padStart(2,"0"),t.getFullYear()].join(".")},parse:function(t){var e=t.split("."),u=nt(e,3),n=u[0],r=u[1],i=u[2];return new Date(i,r-1,n)}},At.GET_DEFAULT_GROUPS=function(){return{d:new yt.Range([1,31]),m:new yt.Range([1,12]),Y:new yt.Range([1900,9999])}};var Ft=function(){function t(){q(this,t)}return J(t,[{key:"select",value:function(t,e){if(null!=t&&null!=e&&(t!==this.selectionStart||e!==this.selectionEnd))try{this._unsafeSelect(t,e)}catch(t){}}},{key:"_unsafeSelect",value:function(t,e){}},{key:"isActive",value:function(){return!1}},{key:"bindEvents",value:function(t){}},{key:"unbindEvents",value:function(){}},{key:"selectionStart",get:function(){var t=void 0;try{t=this._unsafeSelectionStart}catch(t){}return null!=t?t:this.value.length}},{key:"selectionEnd",get:function(){var t=void 0;try{t=this._unsafeSelectionEnd}catch(t){}return null!=t?t:this.value.length}}]),t}(),Dt=function(t){function e(t){q(this,e);var u=et(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));return u.input=t,u._handlers={},u}return tt(e,Ft),J(e,[{key:"isActive",value:function(){return this.input===document.activeElement}},{key:"_unsafeSelect",value:function(t,e){this.input.setSelectionRange(t,e)}},{key:"bindEvents",value:function(t){var u=this;Object.keys(t).forEach(function(n){return u._toggleEventHandler(e.EVENTS_MAP[n],t[n])})}},{key:"unbindEvents",value:function(){var t=this;Object.keys(this._handlers).forEach(function(e){return t._toggleEventHandler(e)})}},{key:"_toggleEventHandler",value:function(t,e){this._handlers[t]&&(this.input.removeEventListener(t,this._handlers[t]),delete this._handlers[t]),e&&(this.input.addEventListener(t,e),this._handlers[t]=e)}},{key:"_unsafeSelectionStart",get:function(){return this.input.selectionStart}},{key:"_unsafeSelectionEnd",get:function(){return this.input.selectionEnd}},{key:"value",get:function(){return this.input.value},set:function(t){this.input.value=t}}]),e}();Dt.EVENTS_MAP={selectionChange:"keydown",input:"input",drop:"drop",click:"click",focus:"focus",commit:"change"};var Et=function(){function t(e,u){q(this,t),this.el=e instanceof Ft?e:new Dt(e),this.masked=vt(u),this._listeners={},this._value="",this._unmaskedValue="",this._saveSelection=this._saveSelection.bind(this),this._onInput=this._onInput.bind(this),this._onChange=this._onChange.bind(this),this._onDrop=this._onDrop.bind(this),this.alignCursor=this.alignCursor.bind(this),this.alignCursorFriendly=this.alignCursorFriendly.bind(this),this._bindEvents(),this.updateValue(),this._onChange()}return J(t,[{key:"_bindEvents",value:function(){this.el.bindEvents({selectionChange:this._saveSelection,input:this._onInput,drop:this._onDrop,click:this.alignCursorFriendly,focus:this.alignCursorFriendly,commit:this._onChange})}},{key:"_unbindEvents",value:function(){this.el.unbindEvents()}},{key:"_fireEvent",value:function(t){var e=this._listeners[t];e&&e.forEach(function(t){return t()})}},{key:"_saveSelection",value:function(){this.value!==this.el.value&&console.warn("Uncontrolled input change, refresh mask manually!"),this._selection={start:this.selectionStart,end:this.cursorPos}}},{key:"updateValue",value:function(){this.masked.value=this.el.value}},{key:"updateControl",value:function(){var t=this.masked.unmaskedValue,e=this.masked.value,u=this.unmaskedValue!==t||this.value!==e;this._unmaskedValue=t,this._value=e,this.el.value!==e&&(this.el.value=e),u&&this._fireChangeEvents()}},{key:"updateOptions",value:function(t){t=K({},t),this.mask=t.mask,delete t.mask,function t(e,u){if(u===e)return!0;var n,r=Array.isArray(u),i=Array.isArray(e);if(r&&i){if(u.length!=e.length)return!1;for(n=0;n<u.length;n++)if(!t(u[n],e[n]))return!1;return!0}if(r!=i)return!1;if(u&&e&&"object"===(void 0===u?"undefined":X(u))&&"object"===(void 0===e?"undefined":X(e))){var s=Object.keys(u),a=u instanceof Date,o=e instanceof Date;if(a&&o)return u.getTime()==e.getTime();if(a!=o)return!1;var l=u instanceof RegExp,h=e instanceof RegExp;if(l&&h)return u.toString()==e.toString();if(l!=h)return!1;for(n=0;n<s.length;n++)if(!Object.prototype.hasOwnProperty.call(e,s[n]))return!1;for(n=0;n<s.length;n++)if(!t(u[s[n]],e[s[n]]))return!1;return!0}return!1}(this.masked,t)||(this.masked.updateOptions(t),this.updateControl())}},{key:"updateCursor",value:function(t){null!=t&&(this.cursorPos=t,this._delayUpdateCursor(t))}},{key:"_delayUpdateCursor",value:function(t){var e=this;this._abortUpdateCursor(),this._changingCursorPos=t,this._cursorChanging=setTimeout(function(){e.el&&(e.cursorPos=e._changingCursorPos,e._abortUpdateCursor())},10)}},{key:"_fireChangeEvents",value:function(){this._fireEvent("accept"),this.masked.isComplete&&this._fireEvent("complete")}},{key:"_abortUpdateCursor",value:function(){this._cursorChanging&&(clearTimeout(this._cursorChanging),delete this._cursorChanging)}},{key:"alignCursor",value:function(){this.cursorPos=this.masked.nearestInputPos(this.cursorPos,at.LEFT)}},{key:"alignCursorFriendly",value:function(){this.selectionStart===this.cursorPos&&this.alignCursor()}},{key:"on",value:function(t,e){return this._listeners[t]||(this._listeners[t]=[]),this._listeners[t].push(e),this}},{key:"off",value:function(t,e){if(this._listeners[t]){if(e){var u=this._listeners[t].indexOf(e);return u>=0&&this._listeners[t].splice(u,1),this}delete this._listeners[t]}}},{key:"_onInput",value:function(){if(this._abortUpdateCursor(),!this._selection)return this.updateValue();var t=new ct(this.el.value,this.cursorPos,this.value,this._selection),e=this.masked.splice(t.startChangePos,t.removed.length,t.inserted,t.removeDirection).offset,u=this.masked.nearestInputPos(t.startChangePos+e,t.removeDirection);this.updateControl(),this.updateCursor(u)}},{key:"_onChange",value:function(){this.value!==this.el.value&&this.updateValue(),this.masked.doCommit(),this.updateControl()}},{key:"_onDrop",value:function(t){t.preventDefault(),t.stopPropagation()}},{key:"destroy",value:function(){this._unbindEvents(),this._listeners.length=0,delete this.el}},{key:"mask",get:function(){return this.masked.mask},set:function(t){if(!(null==t||t===this.masked.mask||t===Date&&this.masked instanceof At))if(this.masked.constructor!==dt(t)){var e=vt({mask:t});e.unmaskedValue=this.masked.unmaskedValue,this.masked=e}else this.masked.mask=t}},{key:"value",get:function(){return this._value},set:function(t){this.masked.value=t,this.updateControl(),this.alignCursor()}},{key:"unmaskedValue",get:function(){return this._unmaskedValue},set:function(t){this.masked.unmaskedValue=t,this.updateControl(),this.alignCursor()}},{key:"typedValue",get:function(){return this.masked.typedValue},set:function(t){this.masked.typedValue=t,this.updateControl(),this.alignCursor()}},{key:"selectionStart",get:function(){return this._cursorChanging?this._changingCursorPos:this.el.selectionStart}},{key:"cursorPos",get:function(){return this._cursorChanging?this._changingCursorPos:this.el.selectionEnd},set:function(t){this.el.isActive&&(this.el.select(t,t),this._saveSelection())}}]),t}(),Ct=function(t){function e(t){return q(this,e),et(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,K({},e.DEFAULTS,t)))}return tt(e,pt),J(e,[{key:"_update",value:function(t){Q(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"_update",this).call(this,t),this._updateRegExps()}},{key:"_updateRegExps",value:function(){var t="",e="";this.allowNegative?(t+="([+|\\-]?|([+|\\-]?(0|([1-9]+\\d*))))",e+="[+|\\-]?"):t+="(0|([1-9]+\\d*))",e+="\\d*";var u=(this.scale?"("+this.radix+"\\d{0,"+this.scale+"})?":"")+"$";this._numberRegExpInput=new RegExp("^"+t+u),this._numberRegExp=new RegExp("^"+e+u),this._mapToRadixRegExp=new RegExp("["+this.mapToRadix.map(lt).join("")+"]","g"),this._thousandsSeparatorRegExp=new RegExp(lt(this.thousandsSeparator),"g")}},{key:"_extractTail",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.value.length,n=Q(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"_extractTail",this).call(this,t,u);return K({},n,{value:this._removeThousandsSeparators(n.value)})}},{key:"_removeThousandsSeparators",value:function(t){return t.replace(this._thousandsSeparatorRegExp,"")}},{key:"_insertThousandsSeparators",value:function(t){var e=t.split(this.radix);return e[0]=e[0].replace(/\B(?=(\d{3})+(?!\d))/g,this.thousandsSeparator),e.join(this.radix)}},{key:"doPrepare",value:function(t){for(var u,n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return(u=Q(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"doPrepare",this)).call.apply(u,[this,this._removeThousandsSeparators(t.replace(this._mapToRadixRegExp,this.radix))].concat(rt(r)))}},{key:"appendWithTail",value:function(){var t,u=this.value;this._value=this._removeThousandsSeparators(this.value);for(var n=this.value.length,r=arguments.length,i=Array(r),s=0;s<r;s++)i[s]=arguments[s];var a=(t=Q(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"appendWithTail",this)).call.apply(t,[this].concat(rt(i)));this._value=this._insertThousandsSeparators(this.value);for(var o=n+a.inserted.length,l=0;l<=o;++l)this.value[l]===this.thousandsSeparator&&((l<n||l===n&&u[l]===this.thousandsSeparator)&&++n,l<o&&++o);return a.rawInserted=a.inserted,a.inserted=this.value.slice(n,o),a.shift+=n-u.length,a}},{key:"nearestInputPos",value:function(t,e){if(!e)return t;var u=ot(t,e);return this.value[u]===this.thousandsSeparator&&(t+=e),t}},{key:"doValidate",value:function(t){var u=(t.input?this._numberRegExpInput:this._numberRegExp).test(this._removeThousandsSeparators(this.value));if(u){var n=this.number;u=u&&!isNaN(n)&&(null==this.min||this.min>=0||this.min<=this.number)&&(null==this.max||this.max<=0||this.number<=this.max)}return u&&Q(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"doValidate",this).call(this,t)}},{key:"doCommit",value:function(){var t=this.number,u=t;null!=this.min&&(u=Math.max(u,this.min)),null!=this.max&&(u=Math.min(u,this.max)),u!==t&&(this.unmaskedValue=String(u));var n=this.value;this.normalizeZeros&&(n=this._normalizeZeros(n)),this.padFractionalZeros&&(n=this._padFractionalZeros(n)),this._value=this._insertThousandsSeparators(n),Q(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"doCommit",this).call(this)}},{key:"_normalizeZeros",value:function(t){var e=this._removeThousandsSeparators(t).split(this.radix);return e[0]=e[0].replace(/^(\D*)(0*)(\d*)/,function(t,e,u,n){return e+n}),t.length&&!/\d$/.test(e[0])&&(e[0]=e[0]+"0"),e.length>1&&(e[1]=e[1].replace(/0*$/,""),e[1].length||(e.length=1)),this._insertThousandsSeparators(e.join(this.radix))}},{key:"_padFractionalZeros",value:function(t){if(!t)return t;var e=t.split(this.radix);return e.length<2&&e.push(""),e[1]=e[1].padEnd(this.scale,"0"),e.join(this.radix)}},{key:"unmaskedValue",get:function(){return this._removeThousandsSeparators(this._normalizeZeros(this.value)).replace(this.radix,".")},set:function(t){ut(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"unmaskedValue",t.replace(".",this.radix),this)}},{key:"number",get:function(){return Number(this.unmaskedValue)},set:function(t){this.unmaskedValue=String(t)}},{key:"typedValue",get:function(){return this.number},set:function(t){this.number=t}},{key:"allowNegative",get:function(){return this.signed||null!=this.min&&this.min<0||null!=this.max&&this.max<0}}]),e}();Ct.DEFAULTS={radix:",",thousandsSeparator:"",mapToRadix:["."],scale:2,signed:!1,normalizeZeros:!0,padFractionalZeros:!1};var bt=function(t){function e(){return q(this,e),et(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return tt(e,pt),J(e,[{key:"_update",value:function(t){t.validate=function(e){return e.search(t.mask)>=0},Q(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"_update",this).call(this,t)}}]),e}(),Bt=function(t){function e(){return q(this,e),et(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return tt(e,pt),J(e,[{key:"_update",value:function(t){t.validate=t.mask,Q(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"_update",this).call(this,t)}}]),e}(),Pt=function(t){function e(t){q(this,e);var u=et(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,K({},e.DEFAULTS,t)));return u.currentMask=null,u}return tt(e,pt),J(e,[{key:"_update",value:function(t){Q(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"_update",this).call(this,t),this.compiledMasks=Array.isArray(t.mask)?t.mask.map(function(t){return vt(t)}):[]}},{key:"_append",value:function(t){for(var e=arguments.length,u=Array(e>1?e-1:0),n=1;n<e;n++)u[n-1]=arguments[n];t=this.doPrepare.apply(this,[t].concat(rt(u)));var r,i=this._applyDispatch.apply(this,[t].concat(rt(u)));this.currentMask&&i.aggregate((r=this.currentMask)._append.apply(r,[t].concat(rt(u))));return i}},{key:"_applyDispatch",value:function(){for(var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=this.value.length,u=this.rawInputValue,n=this.currentMask,r=new ft,i=arguments.length,s=Array(i>1?i-1:0),a=1;a<i;a++)s[a-1]=arguments[a];return this.currentMask=this.doDispatch.apply(this,[t].concat(rt(s))),this.currentMask&&this.currentMask!==n&&(this.currentMask.reset(),this.currentMask._append(u,{raw:!0}),r.shift=this.value.length-e),r}},{key:"doDispatch",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.dispatch(t,this,e)}},{key:"clone",value:function(){var t=new e(this);t._value=this.value;var u=this.compiledMasks.indexOf(this.currentMask);return this.currentMask&&(t.currentMask=u>=0?t.compiledMasks[u].assign(this.currentMask):this.currentMask.clone()),t}},{key:"reset",value:function(){this.currentMask&&this.currentMask.reset(),this.compiledMasks.forEach(function(t){return t.reset()})}},{key:"remove",value:function(){var t,e=new ft;this.currentMask&&e.aggregate((t=this.currentMask).remove.apply(t,arguments)).aggregate(this._applyDispatch());return e}},{key:"extractInput",value:function(){var t;return this.currentMask?(t=this.currentMask).extractInput.apply(t,arguments):""}},{key:"_extractTail",value:function(){for(var t,u,n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];return this.currentMask?(t=this.currentMask)._extractTail.apply(t,rt(r)):(u=Q(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"_extractTail",this)).call.apply(u,[this].concat(rt(r)))}},{key:"_appendTail",value:function(t){var u=new ft;return t&&u.aggregate(this._applyDispatch(t.value)),u.aggregate(this.currentMask?this.currentMask._appendTail(t):Q(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"_appendTail",this).call(this,t))}},{key:"doCommit",value:function(){this.currentMask&&this.currentMask.doCommit(),Q(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"doCommit",this).call(this)}},{key:"nearestInputPos",value:function(){for(var t,u,n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];return this.currentMask?(t=this.currentMask).nearestInputPos.apply(t,rt(r)):(u=Q(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"nearestInputPos",this)).call.apply(u,[this].concat(rt(r)))}},{key:"value",get:function(){return this.currentMask?this.currentMask.value:""},set:function(t){ut(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"value",t,this)}},{key:"unmaskedValue",get:function(){return this.currentMask?this.currentMask.unmaskedValue:""},set:function(t){ut(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"unmaskedValue",t,this)}},{key:"typedValue",get:function(){return this.currentMask?this.currentMask.typedValue:""},set:function(t){var e=String(t);this.currentMask&&(this.currentMask.typedValue=t,e=this.currentMask.unmaskedValue),this.unmaskedValue=e}},{key:"isComplete",get:function(){return!!this.currentMask&&this.currentMask.isComplete}}]),e}();function wt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new Et(t,e)}return Pt.DEFAULTS={dispatch:function(t,e,u){if(e.compiledMasks.length){var n=e.rawInputValue,r=e.compiledMasks.map(function(e,r){var i=e.clone();return i.rawInputValue=n,i._append(t,u),{value:i.rawInputValue.length,index:r}});return r.sort(function(t,e){return e.value-t.value}),e.compiledMasks[r[0].index]}}},wt.InputMask=Et,wt.Masked=pt,wt.MaskedPattern=mt,wt.MaskedNumber=Ct,wt.MaskedDate=At,wt.MaskedRegExp=bt,wt.MaskedFunction=Bt,wt.MaskedDynamic=Pt,wt.createMask=vt,wt.MaskElement=Ft,wt.HTMLMaskElement=Dt,ht.IMask=wt,wt}); //# sourceMappingURL=imask.min.js.map
0
/content/gmx-projects/gmx-admin/admin/resources/plugins
/content/gmx-projects/gmx-admin/admin/resources/plugins/creditcard/creditcard.css
.payment-title { width: 100%; text-align: center; } .ccicon { height: 38px; position: absolute; right: 2px; top: 27px; width: 60px; } .ccicon-wrap{ position:relative; } .ccicon-wrap .ccicon { right: 7px; top: 9px; width: 48px; height: 35px; } /* CREDIT CARD IMAGE STYLING */ .preload * { -webkit-transition: none !important; -moz-transition: none !important; -ms-transition: none !important; -o-transition: none !important; } #ccsingle { position: absolute; right: 15px; top: 20px; } #ccsingle svg { width: 100px; max-height: 60px; } .creditcard svg#cardfront, .creditcard svg#cardback { width: 100%; -webkit-box-shadow: 1px 5px 6px 0px black; box-shadow: 1px 5px 6px 0px black; border-radius: 22px; } #generatecard{ cursor: pointer; float: right; font-size: 12px; color: #fff; padding: 2px 4px; background-color: #909090; border-radius: 4px; cursor: pointer; float:right; } /* CHANGEABLE CARD ELEMENTS */ .creditcard .lightcolor, .creditcard .darkcolor { -webkit-transition: fill .5s; transition: fill .5s; } .creditcard .lightblue { fill: #03A9F4; } .creditcard .lightbluedark { fill: #0288D1; } .creditcard .red { fill: #ef5350; } .creditcard .reddark { fill: #d32f2f; } .creditcard .purple { fill: #ab47bc; } .creditcard .purpledark { fill: #7b1fa2; } .creditcard .cyan { fill: #26c6da; } .creditcard .cyandark { fill: #0097a7; } .creditcard .green { fill: #66bb6a; } .creditcard .greendark { fill: #388e3c; } .creditcard .lime { fill: #d4e157; } .creditcard .limedark { fill: #afb42b; } .creditcard .yellow { fill: #ffeb3b; } .creditcard .yellowdark { fill: #f9a825; } .creditcard .orange { fill: #ff9800; } .creditcard .orangedark { fill: #ef6c00; } .creditcard .grey { fill: #bdbdbd; } .creditcard .greydark { fill: #616161; } /* FRONT OF CARD */ #svgname { text-transform: uppercase; } #cardfront .st2 { fill: #FFFFFF; } #cardfront .st3 { font-family: 'Source Code Pro', monospace; font-weight: 600; } #cardfront .st4 { font-size: 54.7817px; } #cardfront .st5 { font-family: 'Source Code Pro', monospace; font-weight: 400; } #cardfront .st6 { font-size: 33.1112px; } #cardfront .st7 { opacity: 0.6; fill: #FFFFFF; } #cardfront .st8 { font-size: 24px; } #cardfront .st9 { font-size: 36.5498px; } #cardfront .st10 { font-family: 'Source Code Pro', monospace; font-weight: 300; } #cardfront .st11 { font-size: 16.1716px; } #cardfront .st12 { fill: #4C4C4C; } /* BACK OF CARD */ #cardback .st0 { fill: none; stroke: #0F0F0F; stroke-miterlimit: 10; } #cardback .st2 { fill: #111111; } #cardback .st3 { fill: #F2F2F2; } #cardback .st4 { fill: #D8D2DB; } #cardback .st5 { fill: #C4C4C4; } #cardback .st6 { font-family: 'Source Code Pro', monospace; font-weight: 400; } #cardback .st7 { font-size: 27px; } #cardback .st8 { opacity: 0.6; } #cardback .st9 { fill: #FFFFFF; } #cardback .st10 { font-size: 24px; } #cardback .st11 { fill: #EAEAEA; } #cardback .st12 { font-family: 'Rock Salt', cursive; } #cardback .st13 { font-size: 37.769px; } /* FLIP ANIMATION */ .container { perspective: 1000px; } .creditcard { width: 100%; max-width: 400px; -webkit-transform-style: preserve-3d; transform-style: preserve-3d; transition: -webkit-transform 0.6s; -webkit-transition: -webkit-transform 0.6s; transition: transform 0.6s; transition: transform 0.6s, -webkit-transform 0.6s; cursor: pointer; } .creditcard .front, .creditcard .back { position: absolute; width: 100%; max-width: 400px; -webkit-backface-visibility: hidden; backface-visibility: hidden; -webkit-font-smoothing: antialiased; color: #47525d; } .creditcard .back { -webkit-transform: rotateY(180deg); transform: rotateY(180deg); } .creditcard.flipped { -webkit-transform: rotateY(180deg); transform: rotateY(180deg); } /********* card img ************/ /*------- use demo <span class="cardicon Unknown"></span> ---------------*/ .cardicon{display:inline-block;width:48px;height:30px;} .cardicon.unknown{background:url('card-img/Unknown.svg') no-repeat center center / contain;} /* ----------------- changed class name as DB ~ PriyankM -------------------*/ .cardicon.american-express{background:url('card-img/AmericanExpress.svg') no-repeat center center / contain; } .cardicon.australian-bank-card{background:url('card-img/AustralianBankCard.svg') no-repeat center center / contain;} .cardicon.maestro{background:url('card-img/AustralianBankCard.svg') no-repeat center center / contain;} .cardicon.diners{background:url('card-img/DinersClub.svg') no-repeat center center / contain;} .cardicon.discover{background:url('card-img/Discover.svg') no-repeat center center / contain;} .cardicon.jcb{background:url('card-img/JCB.svg') no-repeat center center / contain;} .cardicon.mastercard{background:url('card-img/MasterCard.svg') no-repeat center center / contain;} .cardicon.visa{background:url('card-img/Visa.svg') no-repeat center center / contain;} .cardicon.dankort{background:url('card-img/dankort.svg') no-repeat center center / contain;} .cardicon.unionpay{background:url('card-img/UnionPay.svg') no-repeat center center / contain;} .cardicon.instapayment{background:url('card-img/instapayment.svg') no-repeat center center / contain;}
0
/content/gmx-projects/gmx-admin/admin/resources/plugins
/content/gmx-projects/gmx-admin/admin/resources/plugins/creditcard/creditcard.js
window.onload = function () { const name = document.getElementById('name'); const cardnumber = document.getElementById('cardnumber'); const expirationdate = document.getElementById('expirationdate'); const securitycode = document.getElementById('securitycode'); const output = document.getElementById('output'); const ccicon = document.getElementById('ccicon'); const cctype = document.getElementById('cctype'); //const ccsingle = document.getElementById('ccsingle'); const generatecard = document.getElementById('generatecard'); //let cctype = null; //Mask the Credit Card Number Input var cardnumber_mask = new IMask(cardnumber, { mask: [ { mask: '0000 000000 00000', regex: '^3[47]\\d{0,13}', cardtype: 'american express' }, { mask: '0000 0000 0000 0000', regex: '^(?:6011|65\\d{0,2}|64[4-9]\\d?)\\d{0,12}', cardtype: 'discover' }, { mask: '0000 000000 0000', regex: '^3(?:0([0-5]|9)|[689]\\d?)\\d{0,11}', cardtype: 'diners' }, { mask: '0000 0000 0000 0000', regex: '^(5[1-5]\\d{0,2}|22[2-9]\\d{0,1}|2[3-7]\\d{0,2})\\d{0,12}', cardtype: 'mastercard' }, // { // mask: '0000-0000-0000-0000', // regex: '^(5019|4175|4571)\\d{0,12}', // cardtype: 'dankort' // }, // { // mask: '0000-0000-0000-0000', // regex: '^63[7-9]\\d{0,13}', // cardtype: 'instapayment' // }, { mask: '0000 000000 00000', regex: '^(?:2131|1800)\\d{0,11}', cardtype: 'jcb15' }, { mask: '0000 0000 0000 0000', regex: '^(?:35\\d{0,2})\\d{0,12}', cardtype: 'jcb' }, { mask: '0000 0000 0000 0000', regex: '^(?:5[0678]\\d{0,2}|6304|67\\d{0,2})\\d{0,12}', cardtype: 'maestro' }, // { // mask: '0000-0000-0000-0000', // regex: '^220[0-4]\\d{0,12}', // cardtype: 'mir' // }, { mask: '0000 0000 0000 0000', regex: '^4\\d{0,15}', cardtype: 'visa' }, { mask: '0000 0000 0000 0000', regex: '^62\\d{0,14}', cardtype: 'unionpay' }, { mask: '0000 0000 0000 0000', cardtype: 'Unknown' } ], dispatch: function (appended, dynamicMasked) { var number = (dynamicMasked.value + appended).replace(/\D/g, ''); for (var i = 0; i < dynamicMasked.compiledMasks.length; i++) { let re = new RegExp(dynamicMasked.compiledMasks[i].regex); if (number.match(re) != null) { return dynamicMasked.compiledMasks[i]; } } } }); //Mask the Expiration Date var expirationdate_mask = new IMask(expirationdate, { mask: 'MM{/}YY', groups: { YY: new IMask.MaskedPattern.Group.Range([0, 99]), MM: new IMask.MaskedPattern.Group.Range([1, 12]), } }); //Mask the security code var securitycode_mask = new IMask(securitycode, { mask: '0000', }); // SVGICONS let amex = `<g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> <g id="amex" fill-rule="nonzero"> <rect id="Rectangle-1" fill="#2557D6" x="0" y="0" width="750" height="471" rx="40"></rect> <path d="M0.002688,221.18508 L36.026849,221.18508 L44.149579,201.67506 L62.334596,201.67506 L70.436042,221.18508 L141.31637,221.18508 L141.31637,206.26909 L147.64322,221.24866 L184.43894,221.24866 L190.76579,206.04654 L190.76579,221.18508 L366.91701,221.18508 L366.83451,189.15941 L370.2427,189.15941 C372.62924,189.24161 373.3263,189.46144 373.3263,193.38516 L373.3263,221.18508 L464.43232,221.18508 L464.43232,213.72973 C471.78082,217.6508 483.21064,221.18508 498.25086,221.18508 L536.57908,221.18508 L544.78163,201.67506 L562.96664,201.67506 L570.98828,221.18508 L644.84844,221.18508 L644.84844,202.65269 L656.0335,221.18508 L715.22061,221.18508 L715.22061,98.67789 L656.64543,98.67789 L656.64543,113.14614 L648.44288,98.67789 L588.33787,98.67789 L588.33787,113.14614 L580.80579,98.67789 L499.61839,98.67789 C486.02818,98.67789 474.08221,100.5669 464.43232,105.83121 L464.43232,98.67789 L408.40596,98.67789 L408.40596,105.83121 C402.26536,100.40529 393.89786,98.67789 384.59383,98.67789 L179.90796,98.67789 L166.17407,130.3194 L152.07037,98.67789 L87.59937,98.67789 L87.59937,113.14614 L80.516924,98.67789 L25.533518,98.67789 L-2.99999999e-06,156.92445 L-2.99999999e-06,221.18508 L0.002597,221.18508 L0.002688,221.18508 Z M227.39957,203.51436 L205.78472,203.51436 L205.70492,134.72064 L175.13228,203.51436 L156.62,203.51436 L125.96754,134.6597 L125.96754,203.51436 L83.084427,203.51436 L74.982981,183.92222 L31.083524,183.92222 L22.8996,203.51436 L4.7e-05,203.51436 L37.756241,115.67692 L69.08183,115.67692 L104.94103,198.84086 L104.94103,115.67692 L139.35289,115.67692 L166.94569,175.26406 L192.29297,115.67692 L227.39657,115.67692 L227.39657,203.51436 L227.39957,203.51436 Z M67.777214,165.69287 L53.346265,130.67606 L38.997794,165.69287 L67.777214,165.69287 Z M313.41947,203.51436 L242.98611,203.51436 L242.98611,115.67692 L313.41947,115.67692 L313.41947,133.96821 L264.07116,133.96821 L264.07116,149.8009 L312.23551,149.8009 L312.23551,167.80606 L264.07116,167.80606 L264.07116,185.34759 L313.41947,185.34759 L313.41947,203.51436 Z M412.67528,139.33321 C412.67528,153.33782 403.28877,160.57326 397.81863,162.74575 C402.43206,164.49434 406.37237,167.58351 408.24808,170.14281 C411.22525,174.51164 411.73875,178.41416 411.73875,186.25897 L411.73875,203.51436 L390.47278,203.51436 L390.39298,192.43732 C390.39298,187.1518 390.90115,179.55074 387.0646,175.32499 C383.98366,172.23581 379.28774,171.56552 371.69714,171.56552 L349.06363,171.56552 L349.06363,203.51436 L327.98125,203.51436 L327.98125,115.67692 L376.47552,115.67692 C387.25084,115.67692 395.18999,115.9604 402.00639,119.88413 C408.67644,123.80786 412.67529,129.53581 412.67529,139.33321 L412.67528,139.33321 Z M386.02277,152.37632 C383.1254,154.12756 379.69859,154.18584 375.59333,154.18584 L349.97998,154.18584 L349.97998,134.67583 L375.94186,134.67583 C379.61611,134.67583 383.44999,134.8401 385.94029,136.26016 C388.67536,137.53981 390.36749,140.26337 390.36749,144.02548 C390.36749,147.86443 388.75784,150.95361 386.02277,152.37632 Z M446.48908,203.51436 L424.97569,203.51436 L424.97569,115.67692 L446.48908,115.67692 L446.48908,203.51436 Z M696.22856,203.51436 L666.35032,203.51436 L626.38585,137.58727 L626.38585,203.51436 L583.44687,203.51436 L575.24166,183.92222 L531.44331,183.92222 L523.48287,203.51436 L498.81137,203.51436 C488.56284,203.51436 475.58722,201.25709 468.23872,193.79909 C460.82903,186.3411 456.97386,176.23903 456.97386,160.26593 C456.97386,147.23895 459.27791,135.33 468.33983,125.91941 C475.15621,118.90916 485.83044,115.67692 500.35982,115.67692 L520.77174,115.67692 L520.77174,134.49809 L500.78818,134.49809 C493.0938,134.49809 488.74909,135.63733 484.564,139.70147 C480.96957,143.4 478.50322,150.39171 478.50322,159.59829 C478.50322,169.00887 480.38158,175.79393 484.30061,180.22633 C487.5465,183.70232 493.445,184.75677 498.99495,184.75677 L508.46393,184.75677 L538.17987,115.67957 L569.77152,115.67957 L605.46843,198.76138 L605.46843,115.67957 L637.5709,115.67957 L674.6327,176.85368 L674.6327,115.67957 L696.22856,115.67957 L696.22856,203.51436 Z M568.07051,165.69287 L553.47993,130.67606 L538.96916,165.69287 L568.07051,165.69287 Z" id="Path" fill="#FFFFFF"></path> <path d="M749.95644,343.76716 C744.83485,351.22516 734.85504,355.00582 721.34464,355.00582 L680.62723,355.00582 L680.62723,336.1661 L721.17969,336.1661 C725.20248,336.1661 728.01736,335.63887 729.71215,333.99096 C731.18079,332.63183 732.2051,330.65804 732.2051,328.26036 C732.2051,325.70107 731.18079,323.66899 729.62967,322.45028 C728.09984,321.10969 725.87294,320.50033 722.20135,320.50033 C702.40402,319.83005 677.70592,321.10969 677.70592,293.30714 C677.70592,280.56363 685.83131,267.14983 707.95664,267.14983 L749.95379,267.14983 L749.95644,249.66925 L710.93382,249.66925 C699.15812,249.66925 690.60438,252.47759 684.54626,256.84375 L684.54626,249.66925 L626.83044,249.66925 C617.60091,249.66925 606.76706,251.94771 601.64279,256.84375 L601.64279,249.66925 L498.57751,249.66925 L498.57751,256.84375 C490.37496,250.95154 476.53466,249.66925 470.14663,249.66925 L402.16366,249.66925 L402.16366,256.84375 C395.67452,250.58593 381.24357,249.66925 372.44772,249.66925 L296.3633,249.66925 L278.95252,268.43213 L262.64586,249.66925 L148.99149,249.66925 L148.99149,372.26121 L260.50676,372.26121 L278.447,353.20159 L295.34697,372.26121 L364.08554,372.32211 L364.08554,343.48364 L370.84339,343.48364 C379.96384,343.62405 390.72054,343.25845 400.21079,339.17311 L400.21079,372.25852 L456.90762,372.25852 L456.90762,340.30704 L459.64268,340.30704 C463.13336,340.30704 463.47657,340.45011 463.47657,343.92344 L463.47657,372.25587 L635.71144,372.25587 C646.64639,372.25587 658.07621,369.46873 664.40571,364.41107 L664.40571,372.25587 L719.03792,372.25587 C730.40656,372.25587 741.50913,370.66889 749.95644,366.60475 L749.95644,343.76712 L749.95644,343.76716 Z M408.45301,296.61266 C408.45301,321.01872 390.16689,326.05784 371.7371,326.05784 L345.42935,326.05784 L345.42935,355.52685 L304.44855,355.52685 L278.48667,326.44199 L251.5058,355.52685 L167.9904,355.52685 L167.9904,267.66822 L252.79086,267.66822 L278.73144,296.46694 L305.55002,267.66822 L372.92106,267.66822 C389.6534,267.66822 408.45301,272.28078 408.45301,296.61266 Z M240.82781,337.04655 L188.9892,337.04655 L188.9892,319.56596 L235.27785,319.56596 L235.27785,301.64028 L188.9892,301.64028 L188.9892,285.66718 L241.84947,285.66718 L264.91132,311.27077 L240.82781,337.04655 Z M324.3545,347.10668 L291.9833,311.3189 L324.3545,276.6677 L324.3545,347.10668 Z M372.2272,308.04117 L344.98027,308.04117 L344.98027,285.66718 L372.47197,285.66718 C380.08388,285.66718 385.36777,288.75636 385.36777,296.43956 C385.36777,304.03796 380.32865,308.04117 372.2272,308.04117 Z M514.97053,267.66815 L585.34004,267.66815 L585.34004,285.83764 L535.96778,285.83764 L535.96778,301.81074 L584.1348,301.81074 L584.1348,319.73642 L535.96778,319.73642 L535.96778,337.21701 L585.34004,337.29641 L585.34004,355.52678 L514.97053,355.52678 L514.97053,267.66815 Z M487.91724,314.6973 C492.61049,316.42205 496.44703,319.51387 498.24559,322.07317 C501.22276,326.36251 501.65378,330.36571 501.73891,338.10985 L501.73891,355.52685 L480.5714,355.52685 L480.5714,344.53458 C480.5714,339.24908 481.08223,331.42282 477.1632,327.33748 C474.08226,324.19002 469.38635,323.4376 461.69463,323.4376 L439.16223,323.4376 L439.16223,355.52685 L417.97609,355.52685 L417.97609,267.66822 L466.65393,267.66822 C477.32816,267.66822 485.10236,268.13716 492.02251,271.81449 C498.6766,275.8177 502.86168,281.30191 502.86168,291.3245 C502.85868,305.34765 493.46719,312.50362 487.91724,314.6973 Z M475.99899,303.59022 C473.17879,305.25668 469.69077,305.39975 465.58817,305.39975 L439.97483,305.39975 L439.97483,285.66718 L465.9367,285.66718 C469.69077,285.66718 473.4475,285.74658 475.99899,287.25416 C478.7314,288.67687 480.36499,291.39779 480.36499,295.15725 C480.36499,298.91672 478.7314,301.94496 475.99899,303.59022 Z M666.33539,309.1866 C670.44067,313.41766 672.64095,318.7588 672.64095,327.80112 C672.64095,346.70178 660.78278,355.5242 639.51948,355.5242 L598.45353,355.5242 L598.45353,336.68449 L639.35453,336.68449 C643.35337,336.68449 646.18954,336.15726 647.9668,334.50934 C649.41681,333.15021 650.45709,331.17643 650.45709,328.77875 C650.45709,326.21944 649.33167,324.18738 647.88433,322.96866 C646.27201,321.62807 644.04778,321.01872 640.37619,321.01872 C620.65868,320.34843 595.9659,321.62807 595.9659,293.82551 C595.9659,281.08201 604.00615,267.66822 626.11019,267.66822 L668.37872,267.66822 L668.37872,286.36752 L629.70196,286.36752 C625.86809,286.36752 623.37512,286.51059 621.25464,287.9545 C618.94527,289.37721 618.08856,291.48876 618.08856,294.2759 C618.08856,297.59028 620.04941,299.8449 622.702,300.81987 C624.92624,301.59084 627.31543,301.81603 630.9072,301.81603 L642.25722,302.12071 C653.703,302.39889 661.55967,304.37003 666.33539,309.1866 Z M750,285.66718 L711.57335,285.66718 C707.7368,285.66718 705.18797,285.81025 703.04088,287.25416 C700.81665,288.67687 699.95995,290.78843 699.95995,293.57558 C699.95995,296.88994 701.83831,299.14456 704.57071,300.11953 C706.79495,300.8905 709.18415,301.1157 712.6961,301.1157 L724.12327,301.42038 C735.65419,301.70387 743.35123,303.67765 748.04448,308.49157 C748.89852,309.16186 749.41202,309.91428 750,310.6667 L750,285.66718 Z" id="path13" fill="#FFFFFF"></path> </g> </g>`; let visa = `<g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> <g id="visa" fill-rule="nonzero"> <rect id="Rectangle-1" fill="#0E4595" x="0" y="0" width="750" height="471" rx="40"></rect> <polygon id="Shape" fill="#FFFFFF" points="278.1975 334.2275 311.5585 138.4655 364.9175 138.4655 331.5335 334.2275"></polygon> <path d="M524.3075,142.6875 C513.7355,138.7215 497.1715,134.4655 476.4845,134.4655 C423.7605,134.4655 386.6205,161.0165 386.3045,199.0695 C386.0075,227.1985 412.8185,242.8905 433.0585,252.2545 C453.8275,261.8495 460.8105,267.9695 460.7115,276.5375 C460.5795,289.6595 444.1255,295.6545 428.7885,295.6545 C407.4315,295.6545 396.0855,292.6875 378.5625,285.3785 L371.6865,282.2665 L364.1975,326.0905 C376.6605,331.5545 399.7065,336.2895 423.6355,336.5345 C479.7245,336.5345 516.1365,310.2875 516.5505,269.6525 C516.7515,247.3835 502.5355,230.4355 471.7515,216.4645 C453.1005,207.4085 441.6785,201.3655 441.7995,192.1955 C441.7995,184.0585 451.4675,175.3575 472.3565,175.3575 C489.8055,175.0865 502.4445,178.8915 512.2925,182.8575 L517.0745,185.1165 L524.3075,142.6875" id="path13" fill="#FFFFFF"></path> <path d="M661.6145,138.4655 L620.3835,138.4655 C607.6105,138.4655 598.0525,141.9515 592.4425,154.6995 L513.1975,334.1025 L569.2285,334.1025 C569.2285,334.1025 578.3905,309.9805 580.4625,304.6845 C586.5855,304.6845 641.0165,304.7685 648.7985,304.7685 C650.3945,311.6215 655.2905,334.1025 655.2905,334.1025 L704.8025,334.1025 L661.6145,138.4655 Z M596.1975,264.8725 C600.6105,253.5935 617.4565,210.1495 617.4565,210.1495 C617.1415,210.6705 621.8365,198.8155 624.5315,191.4655 L628.1385,208.3435 C628.1385,208.3435 638.3555,255.0725 640.4905,264.8715 L596.1975,264.8715 L596.1975,264.8725 Z" id="Path" fill="#FFFFFF"></path> <path d="M232.9025,138.4655 L180.6625,271.9605 L175.0965,244.8315 C165.3715,213.5575 135.0715,179.6755 101.1975,162.7125 L148.9645,333.9155 L205.4195,333.8505 L289.4235,138.4655 L232.9025,138.4655" id="path16" fill="#FFFFFF"></path> <path d="M131.9195,138.4655 L45.8785,138.4655 L45.1975,142.5385 C112.1365,158.7425 156.4295,197.9015 174.8155,244.9525 L156.1065,154.9925 C152.8765,142.5965 143.5085,138.8975 131.9195,138.4655" id="path18" fill="#F2AE14"></path> </g> </g>`; let diners = `<g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> <g id="diners" fill-rule="nonzero"> <rect id="rectangle" fill="#0079BE" x="0" y="0" width="750" height="471" rx="40"></rect> <path d="M584.933911,237.947339 C584.933911,138.53154 501.952976,69.8140806 411.038924,69.8471464 L332.79674,69.8471464 C240.793699,69.8140806 165.066089,138.552041 165.066089,237.947339 C165.066089,328.877778 240.793699,403.587432 332.79674,403.150963 L411.038924,403.150963 C501.952976,403.586771 584.933911,328.857939 584.933911,237.947339 Z" id="Shape-path" fill="#FFFFFF"></path> <path d="M333.280302,83.9308394 C249.210378,83.9572921 181.085889,152.238282 181.066089,236.510581 C181.085889,320.768331 249.209719,389.042708 333.280302,389.069161 C417.370025,389.042708 485.508375,320.768331 485.520254,236.510581 C485.507715,152.238282 417.370025,83.9572921 333.280302,83.9308394 Z" id="Shape-path" fill="#0079BE"></path> <path d="M237.066089,236.09774 C237.145288,194.917524 262.812421,159.801587 299.006443,145.847134 L299.006443,326.327183 C262.812421,312.380667 237.144628,277.283907 237.066089,236.09774 Z M368.066089,326.372814 L368.066089,145.847134 C404.273312,159.767859 429.980043,194.903637 430.046043,236.103692 C429.980043,277.316312 404.273312,312.425636 368.066089,326.372814 Z" id="Path" fill="#FFFFFF"></path> </g> </g>`; let discover = `<g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> <g id="discover" fill-rule="nonzero"> <path d="M52.8771038,0 C23.6793894,0 -4.55476115e-15,23.1545612 0,51.7102589 L0,419.289737 C0,447.850829 23.671801,471 52.8771038,471 L697.122894,471 C726.320615,471 750,447.845433 750,419.289737 L750,252.475404 L750,51.7102589 C750,23.1491677 726.328202,-4.4533018e-15 697.122894,0 L52.8771038,0 Z" id="Shape" fill="#4D4D4D"></path> <path d="M314.569558,152.198414 C323.06625,152.198414 330.192577,153.9309 338.865308,158.110254 L338.865308,180.197198 C330.650269,172.563549 323.523875,169.368926 314.100058,169.368926 C295.577115,169.368926 281.009615,183.944539 281.009615,202.424438 C281.009615,221.911997 295.126279,235.620254 315.018404,235.620254 C323.972798,235.620254 330.967135,232.591128 338.865308,225.080186 L338.865308,247.178497 C329.883538,251.197965 322.604577,252.785079 314.100058,252.785079 C284.025202,252.785079 260.655798,230.849701 260.655798,202.560947 C260.655798,174.577103 284.647269,152.198414 314.569558,152.198414 Z M221.191404,152.807038 C232.293048,152.807038 242.451462,156.418802 250.944635,163.479831 L240.609981,176.340655 C235.465019,170.859895 230.599394,168.547945 224.682615,168.547945 C216.169885,168.547936 209.970327,173.154235 209.970327,179.215049 C209.970327,184.413218 213.450798,187.164422 225.302356,191.332621 C247.768529,199.141028 254.426462,206.064868 254.426462,221.354473 C254.426462,239.986821 240.026981,252.955721 219.503077,252.955721 C204.47426,252.955721 193.548154,247.330452 184.44824,234.636213 L197.205529,222.956624 C201.754702,231.315341 209.342452,235.792799 218.763144,235.792799 C227.573971,235.792799 234.097058,230.014421 234.097058,222.217168 C234.097058,218.175392 232.121269,214.709536 228.175702,212.259183 C226.189231,211.099073 222.254519,209.369382 214.522615,206.777734 C195.973058,200.43062 189.609,193.646221 189.609,180.386799 C189.609,164.636126 203.275981,152.807038 221.191404,152.807038 Z M446.886269,154.485036 L468.460788,154.485036 L495.464615,219.130417 L522.815885,154.485036 L544.22701,154.485036 L500.482644,253.198414 L489.855019,253.198414 L446.886269,154.485036 Z M64.8212135,154.632923 L93.811974,154.632923 C125.842394,154.632923 148.170827,174.418596 148.170827,202.822609 C148.170827,216.985567 141.340038,230.679389 129.788913,239.766893 C120.068962,247.437722 108.994192,250.877669 93.6598558,250.877669 L64.8212135,250.877669 L64.8212135,154.632923 Z M157.25849,154.632923 L177.009462,154.632923 L177.009462,250.877669 L157.25849,250.877669 L157.25849,154.632923 Z M553.156923,154.632923 L609.168423,154.632923 L609.168423,170.940741 L572.892875,170.940741 L572.892875,192.303392 L607.831279,192.303392 L607.831279,208.603619 L572.892875,208.603619 L572.892875,234.583122 L609.168423,234.583122 L609.168423,250.877669 L553.156923,250.877669 L553.156923,154.632923 Z M622.250596,154.632923 L651.534327,154.632923 C674.313452,154.632923 687.366663,165.030007 687.366663,183.048838 C687.366663,197.784414 679.179923,207.454847 664.302885,210.332805 L696.176385,250.877669 L671.888144,250.877669 L644.551904,212.213673 L641.977163,212.213673 L641.977163,250.877669 L622.250596,250.877669 L622.250596,154.632923 Z M641.977163,169.791736 L641.977163,198.939525 L647.748269,198.939525 C660.360308,198.939525 667.044769,193.734406 667.044769,184.05942 C667.044769,174.693052 660.359106,169.791736 648.060019,169.791736 L641.977163,169.791736 Z M84.5571663,170.940741 L84.5571663,234.583122 L89.8568962,234.583122 C102.619538,234.583122 110.679663,232.259105 116.885144,226.934514 C123.71575,221.152572 127.824519,211.920423 127.824519,202.684197 C127.824519,193.462833 123.71575,184.505917 116.885144,178.723975 C110.361615,173.113074 102.619538,170.940741 89.8568962,170.940741 L84.5571663,170.940741 Z" id="Shape" fill="#FFFFFF"></path> <path d="M399.164288,151.559424 C428.914452,151.559424 453.031096,173.727429 453.031096,201.112187 L453.031096,201.143399 C453.031096,228.528147 428.914452,250.727374 399.164288,250.727374 C369.414125,250.727374 345.297481,228.528147 345.297481,201.143399 L345.297481,201.112187 C345.297481,173.727429 369.414125,151.559424 399.164288,151.559424 Z M749.982612,271.093939 C724.934651,288.327133 537.408564,411.490963 212.719237,470.985071 L697.105507,470.985071 C726.303228,470.985071 749.982612,447.830504 749.982612,419.274807 L749.982612,271.093939 Z" id="Shape" fill="#F47216"></path> </g> </g>`; let jcb = `<defs> <linearGradient x1="0.031607858%" y1="49.9998574%" x2="99.9743153%" y2="49.9998574%" id="linearGradient-1"> <stop stop-color="#007B40" offset="0%"></stop> <stop stop-color="#55B330" offset="100%"></stop> </linearGradient> <linearGradient x1="0.471693172%" y1="49.999826%" x2="99.9860086%" y2="49.999826%" id="linearGradient-2"> <stop stop-color="#1D2970" offset="0%"></stop> <stop stop-color="#006DBA" offset="100%"></stop> </linearGradient> <linearGradient x1="0.113880772%" y1="50.0008964%" x2="99.9860003%" y2="50.0008964%" id="linearGradient-3"> <stop stop-color="#6E2B2F" offset="0%"></stop> <stop stop-color="#E30138" offset="100%"></stop> </linearGradient> </defs> <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> <g id="jcb" fill-rule="nonzero"> <rect id="Rectangle-1" fill="#0E4C96" x="0" y="0" width="750" height="471" rx="40"></rect> <path d="M617.243183,346.766281 C617.243183,388.380887 583.514892,422.125974 541.88349,422.125974 L132.756823,422.125974 L132.756823,124.244916 C132.756823,82.6186826 166.489851,48.8744567 208.121683,48.8744567 L617.243183,48.874026 L617.242752,346.766281 L617.243183,346.766281 Z" id="path3494" fill="#FFFFFF"></path> <path d="M483.858874,242.044797 C495.542699,242.298285 507.296188,241.528806 518.936004,242.444883 C530.723244,244.645678 533.563915,262.487874 523.09234,268.332511 C515.950746,272.182115 507.459496,269.764696 499.713328,270.446208 L483.858874,270.446208 L483.858874,242.044797 Z M525.691826,209.900487 C528.288491,219.064679 519.453903,227.292118 510.625917,226.030566 L483.858874,226.030566 C484.043758,217.388441 483.491345,208.008973 484.131053,199.821663 C494.854942,200.123386 505.679576,199.205849 516.340394,200.301853 C520.921799,201.451558 524.753935,205.217712 525.691826,209.900487 Z M590.120412,73.9972254 C590.617872,91.498454 590.191471,109.92365 590.33359,127.780192 C590.299137,200.376358 590.405942,272.974174 590.278896,345.569303 C589.81042,372.776592 565.696524,396.413678 538.678749,396.956694 C511.63292,397.068451 484.584297,396.972628 457.537396,397.004497 L457.537396,287.253291 C487.007,287.099803 516.49604,287.561 545.953521,287.021594 C559.62072,286.162769 574.586027,277.145695 575.22328,262.107374 C576.833661,247.005483 562.592128,236.557185 549.071096,234.905684 C543.872773,234.770542 544.027132,233.390846 549.071096,232.788972 C561.96307,230.002483 572.090675,216.655787 568.296786,203.290229 C565.06052,189.232374 549.523839,183.79142 536.600366,183.817768 C510.248548,183.638612 483.891299,183.792359 457.537396,183.74111 C457.708585,163.252408 457.182916,142.740653 457.82271,122.267364 C459.910361,95.5513766 484.628603,73.5195319 511.269759,73.997656 C537.553166,73.9973692 563.837737,73.9982301 590.120412,73.9972254 Z" id="path3496" fill="url(#linearGradient-1)"></path> <path d="M159.740429,125.040498 C160.413689,97.8766592 184.628619,74.4290299 211.614797,74.0325398 C238.559493,73.9499686 265.506204,74.0209119 292.451671,73.9972254 C292.37764,164.882488 292.599905,255.773672 292.340301,346.655222 C291.302298,373.488802 267.350548,396.488661 240.661356,396.962292 C213.665015,397.060957 186.666275,396.976074 159.669012,397.004497 L159.669012,283.550875 C185.891623,289.745491 213.391138,292.382518 240.142406,288.272242 C256.134509,285.697368 273.629935,277.848026 279.044261,261.257567 C283.030122,247.066267 280.785723,232.131602 281.378027,217.566465 L281.378027,183.741541 L235.081246,183.741541 C234.873106,206.112145 235.507258,228.522447 234.746146,250.867107 C233.49785,264.601214 219.900147,273.326996 206.946428,272.861801 C190.879747,273.030535 159.04755,261.221796 159.04755,261.221796 C158.967492,219.3048 159.514314,166.814385 159.740429,125.040498 Z" id="path3498" fill="url(#linearGradient-2)"></path> <path d="M309.719995,197.390136 C307.285788,197.90738 309.229141,189.089459 308.606298,185.743964 C308.772233,164.593637 308.260045,143.420951 308.889718,122.285827 C310.972541,95.4570827 335.881262,73.3701105 362.628748,73.997656 L441.39456,73.997656 C441.320658,164.882346 441.542493,255.77294 441.283406,346.653934 C440.244412,373.488027 416.291344,396.487102 389.602087,396.962292 C362.604605,397.061991 335.604707,396.976504 308.606298,397.004928 L308.606298,272.707624 C327.04641,287.835846 352.105738,290.192248 375.077953,290.233484 C392.39501,290.227455 409.611861,287.557865 426.428143,283.562934 L426.428143,260.790297 C407.474658,270.236609 385.194808,276.235815 364.184745,270.807966 C349.529051,267.157367 338.89089,252.996683 339.128513,237.872204 C337.43001,222.143684 346.652631,205.536885 362.110237,200.860855 C381.300923,194.852545 402.217787,199.448454 420.206344,207.258795 C424.060526,209.27695 427.97066,211.780342 426.428143,205.338044 L426.428143,187.438358 C396.343581,180.280951 364.326644,177.646405 334.099438,185.433619 C325.351193,187.901774 316.82819,191.644647 309.719995,197.390136 Z" id="path3500" fill="url(#linearGradient-3)"></path> </g> </g>`; let maestro = `<g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> <g id="maestro" fill-rule="nonzero"> <rect id="Rectangle-1" fill="#000000" x="0" y="0" width="750" height="471" rx="40"></rect> <g id="Group" transform="translate(133.000000, 48.000000)"> <path d="M146.8,373.77 L146.8,349 C146.8,339.65 140.8,333.36 131.25,333.28 C126.25,333.2 120.99,334.77 117.35,340.28 C114.62,335.9 110.35,333.28 104.28,333.28 C99.6528149,333.047729 95.2479974,335.280568 92.7,339.15 L92.7,334.27 L84.09,334.27 L84.09,373.82 L92.78,373.82 L92.78,351.85 C92.78,344.98 96.59,341.34 102.46,341.34 C108.17,341.34 111.07,345.06 111.07,351.76 L111.07,373.76 L119.76,373.76 L119.76,351.85 C119.76,344.98 123.76,341.34 129.44,341.34 C135.31,341.34 138.13,345.06 138.13,351.76 L138.13,373.76 L146.8,373.77 Z M195.28,354 L195.28,334.23 L186.67,334.23 L186.67,339 C183.94,335.44 179.8,333.21 174.18,333.21 C163.09,333.21 154.41,341.9 154.41,353.98 C154.41,366.06 163.1,374.75 174.18,374.75 C179.81,374.75 183.94,372.52 186.67,368.96 L186.67,373.76 L195.28,373.76 L195.28,354 Z M163.28,354 C163.28,347.05 167.83,341.34 175.28,341.34 C182.4,341.34 187.19,346.8 187.19,354 C187.19,361.2 182.39,366.66 175.28,366.66 C167.81,366.66 163.26,360.95 163.26,354 L163.28,354 Z M379.4,333.19 C382.306602,333.161358 385.190743,333.701498 387.89,334.78 C390.404719,335.784654 392.697997,337.272736 394.64,339.16 C396.553063,341.035758 398.069744,343.276773 399.1,345.75 C401.246003,351.047587 401.246003,356.972413 399.1,362.27 C398.069744,364.743227 396.553063,366.984242 394.64,368.86 C392.698322,370.747671 390.404958,372.235809 387.89,373.24 C382.423165,375.368264 376.356835,375.368264 370.89,373.24 C368.379501,372.23863 366.092168,370.749994 364.16,368.86 C362.258485,366.978798 360.749319,364.738843 359.72,362.27 C357.573997,356.972413 357.573997,351.047587 359.72,345.75 C360.749788,343.28141 362.258895,341.041542 364.16,339.16 C366.092334,337.270213 368.379623,335.781606 370.89,334.78 C373.595493,333.69893 376.486681,333.158743 379.4,333.19 Z M379.4,341.33 C377.718221,341.315441 376.049964,341.631425 374.49,342.26 C373.019746,342.850363 371.685751,343.735156 370.57,344.86 C369.447092,346.008077 368.563336,347.367702 367.97,348.86 C366.704271,352.169784 366.704271,355.830216 367.97,359.14 C368.562861,360.632544 369.446675,361.992258 370.57,363.14 C371.685751,364.264844 373.019746,365.149637 374.49,365.74 C377.649488,366.979283 381.160512,366.979283 384.32,365.74 C385.794284,365.146098 387.134154,364.26192 388.26,363.14 C389.392829,361.995929 390.283848,360.635594 390.88,359.14 C392.145729,355.830216 392.145729,352.169784 390.88,348.86 C390.283848,347.364406 389.392829,346.004071 388.26,344.86 C387.134154,343.73808 385.794284,342.853902 384.32,342.26 C382.757613,341.626714 381.085807,341.307304 379.4,341.32 L379.4,341.33 Z M242.1,354 C242.02,341.67 234.41,333.23 223.32,333.23 C211.74,333.23 203.63,341.67 203.63,354 C203.63,366.58 212.07,374.77 223.9,374.77 C229.9,374.77 235.32,373.28 240.12,369.23 L235.9,362.86 C232.633262,365.479648 228.586894,366.936341 224.4,367 C218.86,367 213.81,364.44 212.57,357.32 L241.94,357.32 C242,356.23 242.1,355.16 242.1,354 Z M212.65,350.53 C213.56,344.82 217.03,340.93 223.16,340.93 C228.7,340.93 232.26,344.4 233.16,350.53 L212.65,350.53 Z M278.34,344.33 C274.582803,342.165547 270.335565,340.995319 266,340.93 C261.28,340.93 258.47,342.67 258.47,345.56 C258.47,348.21 261.47,348.95 265.17,349.45 L269.22,350.03 C277.83,351.27 283.04,354.91 283.04,361.86 C283.04,369.39 276.42,374.77 265.04,374.77 C258.59,374.77 252.63,373.11 247.91,369.64 L251.96,362.94 C255.757785,365.757702 260.39304,367.215905 265.12,367.08 C270.99,367.08 274.12,365.34 274.12,362.28 C274.12,360.05 271.89,358.81 267.17,358.14 L263.12,357.56 C254.27,356.32 249.47,352.35 249.47,345.89 C249.47,338.03 255.92,333.23 265.93,333.23 C272.22,333.23 277.93,334.64 282.06,337.37 L278.34,344.33 Z M319.69,342.1 L305.62,342.1 L305.62,360 C305.62,364 307.03,366.62 311.33,366.62 C314.014365,366.531754 316.632562,365.76453 318.94,364.39 L321.42,371.75 C318.192475,373.761602 314.463066,374.822196 310.66,374.81 C300.48,374.81 296.93,369.35 296.93,360.16 L296.93,342.16 L288.93,342.16 L288.93,334.3 L296.93,334.3 L296.93,322.3 L305.62,322.3 L305.62,334.3 L319.68,334.3 L319.69,342.1 Z M349.47,333.25 C351.556514,333.260012 353.62609,333.625232 355.59,334.33 L352.94,342.44 C351.229904,341.756022 349.401653,341.416198 347.56,341.44 C341.93,341.44 339.12,345.08 339.12,351.62 L339.12,373.79 L330.52,373.79 L330.52,334.23 L339,334.23 L339,339 C341.149726,335.306198 345.148028,333.084492 349.42,333.21 L349.47,333.25 Z" id="Shape" fill="#FFFFFF"></path> <g id="_Group_"> <rect id="Rectangle-path" fill="#7673C0" x="176.95" y="32.39" width="130.5" height="234.51"></rect> <path d="M185.24,149.64 C185.20514,103.86954 206.225386,60.6268374 242.24,32.38 C181.092968,-15.6818249 93.2777189,-8.68578574 40.5116372,48.4512353 C-12.2544445,105.588256 -12.2544445,193.681744 40.5116372,250.818765 C93.2777189,307.955786 181.092968,314.951825 242.24,266.89 C206.228151,238.645328 185.208215,195.406951 185.24,149.64 Z" id="_Path_" fill="#EB001B"></path> <path d="M483.5,149.64 C483.501034,206.73874 450.90156,258.826356 399.545558,283.782862 C348.189556,308.739368 287.092343,302.183759 242.2,266.9 C278.166584,238.620187 299.164715,195.398065 299.164715,149.645 C299.164715,103.891935 278.166584,60.669813 242.2,32.39 C287.090924,-2.89264477 348.185845,-9.44904288 399.541061,15.5049525 C450.896277,40.4589479 483.497206,92.543064 483.5,149.64 Z" id="Shape" fill="#00A1DF"></path> </g> </g> </g> </g>`; let mastercard = `<g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> <g id="mastercard" fill-rule="nonzero"> <rect id="Rectangle-1" fill="#000000" x="0" y="0" width="750" height="471" rx="40"></rect> <g id="Group" transform="translate(133.000000, 48.000000)"> <path d="M88.13,373.67 L88.13,348.82 C88.13,339.29 82.33,333.08 72.81,333.08 C67.81,333.08 62.46,334.74 58.73,340.08 C55.83,335.52 51.73,333.08 45.48,333.08 C40.7599149,332.876008 36.2525337,335.054575 33.48,338.88 L33.48,333.88 L25.61,333.88 L25.61,373.64 L33.48,373.64 L33.48,350.89 C33.48,343.89 37.62,340.54 43.42,340.54 C49.22,340.54 52.53,344.27 52.53,350.89 L52.53,373.67 L60.4,373.67 L60.4,350.89 C60.4,343.89 64.54,340.54 70.34,340.54 C76.14,340.54 79.45,344.27 79.45,350.89 L79.45,373.67 L88.13,373.67 Z M217.35,334.32 L202.85,334.32 L202.85,322.32 L195,322.32 L195,334.32 L186.72,334.32 L186.72,341.32 L195,341.32 L195,360 C195,369.11 198.31,374.5 208.25,374.5 C212.015784,374.421483 215.705651,373.426077 219,371.6 L216.51,364.6 C214.275685,365.996557 211.684475,366.715565 209.05,366.67 C204.91,366.67 202.84,364.18 202.84,360.04 L202.84,341 L217.34,341 L217.34,334.37 L217.35,334.32 Z M291.07,333.08 C286.709355,332.982846 282.618836,335.185726 280.3,338.88 L280.3,333.88 L272.43,333.88 L272.43,373.64 L280.3,373.64 L280.3,351.31 C280.3,344.68 283.61,340.54 289,340.54 C290.818809,340.613783 292.62352,340.892205 294.38,341.37 L296.87,333.91 C294.971013,333.43126 293.02704,333.153071 291.07,333.08 Z M179.66,337.22 C175.52,334.32 169.72,333.08 163.51,333.08 C153.57,333.08 147.36,337.64 147.36,345.51 C147.36,352.14 151.92,355.86 160.61,357.11 L164.75,357.52 C169.31,358.35 172.21,360.01 172.21,362.08 C172.21,364.98 168.9,367.08 162.68,367.08 C157.930627,367.177716 153.278889,365.724267 149.43,362.94 L145.29,369.15 C151.09,373.29 158.13,374.15 162.29,374.15 C173.89,374.15 180.1,368.77 180.1,361.31 C180.1,354.31 175.1,350.96 166.43,349.71 L162.29,349.3 C158.56,348.89 155.29,347.64 155.29,345.16 C155.29,342.26 158.6,340.16 163.16,340.16 C168.16,340.16 173.1,342.23 175.59,343.47 L179.66,337.22 Z M299.77,353.79 C299.77,365.79 307.64,374.5 320.48,374.5 C326.28,374.5 330.42,373.26 334.56,369.94 L330.42,363.73 C327.488758,366.10388 323.841703,367.41823 320.07,367.46 C313.07,367.46 307.64,362.08 307.64,354.21 C307.64,346.34 313,341 320.07,341 C323.841703,341.04177 327.488758,342.35612 330.42,344.73 L334.56,338.52 C330.42,335.21 326.28,333.96 320.48,333.96 C308.05,333.13 299.77,341.83 299.77,353.84 L299.77,353.79 Z M244.27,333.08 C232.67,333.08 224.8,341.36 224.8,353.79 C224.8,366.22 233.08,374.5 245.09,374.5 C250.932775,374.623408 256.638486,372.722682 261.24,369.12 L257.1,363.32 C253.772132,365.898743 249.708598,367.349004 245.5,367.46 C240.12,367.46 234.32,364.15 233.5,357.11 L262.91,357.11 L262.91,353.8 C262.91,341.37 255.45,333.09 244.27,333.09 L244.27,333.08 Z M243.86,340.54 C249.66,340.54 253.8,344.27 254.21,350.48 L232.68,350.48 C233.92,344.68 237.68,340.54 243.86,340.54 Z M136.59,353.79 L136.59,333.91 L128.72,333.91 L128.72,338.91 C125.82,335.18 121.72,333.11 115.88,333.11 C104.7,333.11 96.41,341.81 96.41,353.82 C96.41,365.83 104.69,374.53 115.88,374.53 C121.68,374.53 125.82,372.46 128.72,368.73 L128.72,373.73 L136.59,373.73 L136.59,353.79 Z M104.7,353.79 C104.7,346.33 109.26,340.54 117.13,340.54 C124.59,340.54 129.13,346.34 129.13,353.79 C129.13,361.66 124.13,367.04 117.13,367.04 C109.26,367.45 104.7,361.24 104.7,353.79 Z M410.78,333.08 C406.419355,332.982846 402.328836,335.185726 400.01,338.88 L400.01,333.88 L392.14,333.88 L392.14,373.64 L400,373.64 L400,351.31 C400,344.68 403.31,340.54 408.7,340.54 C410.518809,340.613783 412.32352,340.892205 414.08,341.37 L416.57,333.91 C414.671013,333.43126 412.72704,333.153071 410.77,333.08 L410.78,333.08 Z M380.13,353.79 L380.13,333.91 L372.26,333.91 L372.26,338.91 C369.36,335.18 365.26,333.11 359.42,333.11 C348.24,333.11 339.95,341.81 339.95,353.82 C339.95,365.83 348.23,374.53 359.42,374.53 C365.22,374.53 369.36,372.46 372.26,368.73 L372.26,373.73 L380.13,373.73 L380.13,353.79 Z M348.24,353.79 C348.24,346.33 352.8,340.54 360.67,340.54 C368.13,340.54 372.67,346.34 372.67,353.79 C372.67,361.66 367.67,367.04 360.67,367.04 C352.8,367.45 348.24,361.24 348.24,353.79 Z M460.07,353.79 L460.07,318.17 L452.2,318.17 L452.2,338.88 C449.3,335.15 445.2,333.08 439.36,333.08 C428.18,333.08 419.89,341.78 419.89,353.79 C419.89,365.8 428.17,374.5 439.36,374.5 C445.16,374.5 449.3,372.43 452.2,368.7 L452.2,373.7 L460.07,373.7 L460.07,353.79 Z M428.18,353.79 C428.18,346.33 432.74,340.54 440.61,340.54 C448.07,340.54 452.61,346.34 452.61,353.79 C452.61,361.66 447.61,367.04 440.61,367.04 C432.73,367.46 428.17,361.25 428.17,353.79 L428.18,353.79 Z" id="Shape" fill="#FFFFFF"></path> <g> <rect id="Rectangle-path" fill="#FF5F00" x="170.55" y="32.39" width="143.72" height="234.42"></rect> <path d="M185.05,149.6 C185.05997,103.912554 205.96046,60.7376085 241.79,32.39 C180.662018,-15.6713968 92.8620037,-8.68523415 40.103462,48.4380037 C-12.6550796,105.561241 -12.6550796,193.638759 40.103462,250.761996 C92.8620037,307.885234 180.662018,314.871397 241.79,266.81 C205.96046,238.462391 185.05997,195.287446 185.05,149.6 Z" id="Shape" fill="#EB001B"></path> <path d="M483.26,149.6 C483.30134,206.646679 450.756789,258.706022 399.455617,283.656273 C348.154445,308.606523 287.109181,302.064451 242.26,266.81 C278.098424,238.46936 299.001593,195.290092 299.001593,149.6 C299.001593,103.909908 278.098424,60.7306402 242.26,32.39 C287.109181,-2.86445052 348.154445,-9.40652324 399.455617,15.5437274 C450.756789,40.493978 483.30134,92.5533211 483.26,149.6 Z" id="Shape" fill="#F79E1B"></path> </g> </g> </g> </g>`; let unionpay = `<g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> <g id="unionpay" fill-rule="nonzero"> <rect id="Rectangle-path" fill="#FFFFFF" x="0" y="0" width="750" height="471" rx="40"></rect> <path d="M201.809581,55 L344.203266,55 C364.072152,55 376.490206,71.4063861 371.833436,91.4702467 L305.500331,378.94775 C300.843561,399.011611 280.871191,415.417997 261.002305,415.417997 L118.60862,415.417997 C98.7397339,415.417997 86.32168,399.011611 90.9784502,378.94775 L157.311555,91.4702467 C161.968325,71.3018868 181.837211,55 201.706097,55 L201.809581,55 Z" id="Shape" fill="#D10429"></path> <path d="M331.750074,55 L495.564902,55 C515.433788,55 506.430699,71.4063861 501.773929,91.4702467 L435.440824,378.94775 C430.784054,399.011611 432.232827,415.417997 412.363941,415.417997 L248.549113,415.417997 C228.576743,415.417997 216.262173,399.011611 221.022427,378.94775 L287.355531,91.4702467 C292.012302,71.3018868 311.881188,55 331.853558,55 L331.750074,55 Z" id="Shape" fill="#022E64"></path> <path d="M489.814981,55 L632.208666,55 C652.077552,55 664.495606,71.4063861 659.838836,91.4702467 L593.505731,378.94775 C588.848961,399.011611 568.876591,415.417997 549.007705,415.417997 L406.61402,415.417997 C386.64165,415.417997 374.32708,399.011611 378.98385,378.94775 L445.316955,91.4702467 C449.973725,71.3018868 469.842611,55 489.711498,55 L489.814981,55 Z" id="Shape" fill="#076F74"></path> <path d="M465.904754,326.014514 L479.357645,326.014514 L483.186545,312.952104 L469.837137,312.952104 L465.904754,326.014514 Z M476.667067,290.066763 L472.010297,305.532656 C472.010297,305.532656 477.081002,302.920174 479.875064,302.08418 C482.669126,301.457184 486.808478,300.934688 486.808478,300.934688 L490.016475,290.171263 L476.563583,290.171263 L476.667067,290.066763 Z M483.393513,267.912917 L478.94371,282.751814 C478.94371,282.751814 483.910932,280.45283 486.704994,279.721335 C489.499056,278.98984 493.638407,278.780842 493.638407,278.780842 L496.846405,268.017417 L483.496997,268.017417 L483.393513,267.912917 Z M513.093359,267.912917 L495.708083,325.910015 L500.364853,325.910015 L496.742921,337.927431 L492.086151,337.927431 L490.947829,341.584906 L474.390424,341.584906 L475.528745,337.927431 L442,337.927431 L445.311481,326.850508 L448.726446,326.850508 L466.318689,267.912917 L469.837137,256 L486.704994,256 L484.94577,261.956459 C484.94577,261.956459 489.395572,258.716981 493.741891,257.567489 C497.984726,256.417997 522.406899,256 522.406899,256 L518.784967,267.808418 L512.989875,267.808418 L513.093359,267.912917 Z" id="Shape" fill="#FEFEFE"></path> <path d="M520,256 L538.006178,256 L538.213146,262.792453 C538.109662,263.941945 539.041016,264.464441 541.214175,264.464441 L544.836108,264.464441 L541.524627,275.645864 L531.797151,275.645864 C523.414965,276.272859 520.206968,272.615385 520.413935,268.539913 L520.103484,256.104499 L520,256 Z M522.216235,309.20029 L505.037927,309.20029 L507.935473,299.272859 L527.597391,299.272859 L530.391454,290.181422 L511.039986,290.181422 L514.351467,279 L568.163034,279 L564.851553,290.181422 L546.741891,290.181422 L543.947829,299.272859 L562.057491,299.272859 L559.056461,309.20029 L539.498026,309.20029 L535.979578,313.380261 L543.947829,313.380261 L545.914021,325.920174 C546.120989,327.174165 546.120989,328.01016 546.534924,328.532656 C546.948859,328.950653 549.328986,329.159652 550.674275,329.159652 L553.054402,329.159652 L549.328986,341.386067 L543.223443,341.386067 C542.292089,341.386067 540.843316,341.281567 538.877124,341.281567 C537.014416,341.072569 535.77261,340.027576 534.530805,339.400581 C533.392483,338.878084 531.736743,337.519594 531.322808,335.11611 L529.4601,322.576197 L520.560494,334.907112 C517.766432,338.773585 513.937532,341.804064 507.418054,341.804064 L495,341.804064 L498.311481,330.936139 L503.071735,330.936139 C504.417024,330.936139 505.65883,330.413643 506.590184,329.891147 C507.521538,329.473149 508.349408,329.055152 509.177278,327.696662 L522.216235,309.20029 Z M334.31354,282 L379.742921,282 L376.43144,292.972424 L358.321778,292.972424 L355.527716,302.272859 L374.154797,302.272859 L370.739832,313.558781 L352.216235,313.558781 L347.662948,328.711176 C347.145529,330.383164 352.112751,330.592163 353.871975,330.592163 L363.185516,329.338171 L359.4601,341.878084 L338.556375,341.878084 C336.900635,341.878084 335.65883,341.669086 333.796122,341.251089 C332.036897,340.833091 331.209027,339.997097 330.48464,338.847605 C329.760254,337.593614 328.518449,336.65312 329.346319,333.936139 L335.348378,313.872279 L325,313.872279 L328.414965,302.377358 L338.763343,302.377358 L341.557405,293.076923 L331.209027,293.076923 L334.520508,282.104499 L334.31354,282 Z M365.700875,262.165457 L384.327956,262.165457 L380.912991,273.555878 L355.455981,273.555878 L352.661919,275.959361 C351.420113,277.108853 351.109662,276.690856 349.557405,277.526851 C348.108632,278.258345 345.107603,279.721335 341.175219,279.721335 L333,279.721335 L336.311481,268.748911 L338.795092,268.748911 C340.864767,268.748911 342.31354,268.539913 343.037927,268.121916 C343.865797,267.599419 344.797151,266.449927 345.728505,264.56894 L350.385275,256 L368.908872,256 L365.700875,262.269956 L365.700875,262.165457 Z M400.808726,280.975327 C400.808726,280.975327 405.879431,276.272859 414.572069,274.809869 C416.538261,274.391872 428.956314,274.600871 428.956314,274.600871 L430.819023,268.330914 L404.637626,268.330914 L400.808726,281.079826 L400.808726,280.975327 Z M425.437866,285.782293 L399.463436,285.782293 L397.91118,291.111756 L420.470644,291.111756 C423.161223,290.798258 423.678642,291.216255 423.885609,291.007257 L425.54135,285.782293 L425.437866,285.782293 Z M391.702153,256.104499 L407.535171,256.104499 L405.258528,264.150943 C405.258528,264.150943 410.22575,260.075472 413.744198,258.612482 C417.262647,257.358491 425.127414,256.104499 425.127414,256.104499 L450.791393,256 L441.995271,285.468795 C440.546498,290.484761 438.787274,293.724238 437.752436,295.291727 C436.821082,296.754717 435.68276,298.113208 433.406117,299.367199 C431.232958,300.516691 429.266766,301.248186 427.404058,301.352685 C425.748317,301.457184 423.057739,301.561684 419.53929,301.561684 L394.806666,301.561684 L387.873253,324.865022 C387.25235,327.164006 386.941899,328.313498 387.355834,328.940493 C387.666285,329.46299 388.597639,330.089985 389.735961,330.089985 L400.601758,329.044993 L396.876342,341.793904 L384.665256,341.793904 C380.732872,341.793904 377.93881,341.689405 375.972618,341.584906 C374.10991,341.375907 372.143718,341.584906 370.798429,340.539913 C369.660107,339.49492 367.900883,338.13643 368.004367,336.777939 C368.10785,335.523948 368.625269,333.433962 369.45314,330.507983 L391.702153,256.104499 Z" id="Shape" fill="#FEFEFE"></path> <path d="M437.840227,303 L436.391454,310.105951 C435.770551,312.300435 435.253132,313.972424 433.597391,315.435414 C431.838167,316.898403 429.871975,318.465893 425.111721,318.465893 L416.3156,318.88389 L416.212116,326.825835 C416.108632,329.020319 416.729535,328.811321 417.039986,329.229318 C417.453921,329.647315 417.764373,329.751814 418.178308,329.960813 L420.97237,329.751814 L429.354556,329.333817 L425.836108,341.037736 L416.212116,341.037736 C409.48567,341.037736 404.414965,340.828737 402.862708,339.574746 C401.206968,338.529753 401,337.275762 401,334.976778 L401.620903,303.835994 L417.039986,303.835994 L416.833019,310.21045 L420.558435,310.21045 C421.80024,310.21045 422.731594,310.105951 423.249013,309.792453 C423.766432,309.478955 424.076883,308.956459 424.283851,308.224964 L425.836108,303.208999 L437.94371,303.208999 L437.840227,303 Z M218.470396,147 C217.952978,149.507983 208.018534,195.592163 208.018534,195.592163 C205.845375,204.892598 204.293118,211.580552 199.118929,215.865022 C196.117899,218.373004 192.599451,219.522496 188.563583,219.522496 C182.044105,219.522496 178.318689,216.283019 177.697786,210.117562 L177.594302,208.027576 C177.594302,208.027576 179.560494,195.592163 179.560494,195.487663 C179.560494,195.487663 189.908872,153.478955 191.771581,147.940493 C191.875064,147.626996 191.875064,147.417997 191.875064,147.313498 C171.695727,147.522496 168.073794,147.313498 167.866827,147 C167.763343,147.417997 167.245924,150.030479 167.245924,150.030479 L156.690578,197.36865 L155.759224,201.339623 L154,214.506531 C154,218.373004 154.724386,221.612482 156.276643,224.224964 C161.140381,232.793904 174.903724,234.047896 182.665008,234.047896 C192.702935,234.047896 202.119959,231.853411 208.43247,227.986938 C219.505234,221.403483 222.40278,211.058055 224.886391,201.966618 L226.128196,197.264151 C226.128196,197.264151 236.787026,153.687954 238.649734,148.044993 C238.753218,147.731495 238.753218,147.522496 238.856702,147.417997 C224.162004,147.522496 219.919169,147.417997 218.470396,147.104499 L218.470396,147 Z M277.499056,233.622642 C270.358675,233.518142 267.771581,233.518142 259.389394,233.936139 L259.078943,233.309144 C259.803329,230.069666 260.6312,226.934688 261.252102,223.69521 L262.28694,219.306241 C263.839197,212.513788 265.28797,204.467344 265.494937,202.063861 C265.701905,200.600871 266.11584,196.943396 261.976489,196.943396 C260.217264,196.943396 258.45804,197.77939 256.595332,198.615385 C255.560494,202.272859 253.594302,212.513788 252.559465,217.111756 C250.489789,226.934688 250.386305,228.08418 249.454951,232.891147 L248.834048,233.518142 C241.4867,233.413643 238.899605,233.413643 230.413935,233.83164 L230,233.100145 C231.448773,227.248186 232.794062,221.396226 234.139351,215.544267 C237.6578,199.764877 238.589154,193.703919 239.520508,185.657475 L240.244894,185.239478 C248.523597,184.089985 250.489789,183.776488 259.492878,182 L260.217264,182.835994 L258.871975,187.851959 C260.424232,186.911466 261.873005,185.970972 263.425262,185.239478 C267.668097,183.149492 272.324867,182.522496 274.911962,182.522496 C278.844345,182.522496 283.190664,183.671988 284.949888,188.269956 C286.605629,192.345428 285.570791,197.361393 283.294148,207.288824 L282.155826,212.30479 C279.879183,223.381713 279.465248,225.367199 278.223443,232.891147 L277.395572,233.518142 L277.499056,233.622642 Z M306.558435,233.650218 C302.212116,233.650218 299.418054,233.545718 296.727476,233.650218 C294.036897,233.650218 291.449803,233.859216 287.413935,233.963716 L287.206968,233.650218 L287,233.232221 C288.138322,229.05225 288.655741,227.58926 289.276643,226.12627 C289.794062,224.66328 290.311481,223.20029 291.346319,218.91582 C292.588124,213.377358 293.415995,209.510885 293.933413,206.062409 C294.554316,202.822932 294.864767,200.001451 295.278703,196.761974 L295.589154,196.552975 L295.899605,196.239478 C300.245924,195.612482 302.936502,195.194485 305.730565,194.776488 C308.524627,194.358491 311.422173,193.835994 315.871975,193 L316.078943,193.417997 L316.182427,193.835994 C315.354556,197.28447 314.526686,200.732946 313.698816,204.181422 C312.870946,207.629898 312.043075,211.078374 311.318689,214.526851 C309.766432,221.8418 309.042046,224.558781 308.731594,226.544267 C308.317659,228.425254 308.214175,229.365747 307.593273,233.127721 L307.179338,233.441219 L306.765402,233.754717 L306.558435,233.650218 Z M352.499319,207.975327 C352.188868,209.856313 350.533127,216.857765 348.359968,219.783745 C346.807711,221.978229 345.048487,223.33672 342.978811,223.33672 C342.357909,223.33672 338.83946,223.33672 338.735976,218.007257 C338.735976,215.394775 339.253395,212.677794 339.874298,209.751814 C341.737006,201.287373 344.013649,194.285922 349.705257,194.285922 C354.15506,194.285922 354.465511,199.510885 352.499319,207.975327 Z M371.229884,208.811321 C373.713495,197.734398 371.747303,192.509434 369.367176,189.374456 C365.64176,184.567489 359.018798,183 352.188868,183 C348.049517,183 338.322041,183.417997 330.664241,190.523948 C325.179601,195.644412 322.592506,202.645864 321.143733,209.333817 C319.591476,216.12627 317.832252,228.352685 329.008501,232.950653 C332.423466,234.413643 337.390687,234.83164 340.598684,234.83164 C348.773903,234.83164 357.156089,232.532656 363.4686,225.844702 C368.332338,220.41074 370.505497,212.259797 371.333368,208.811321 L371.229884,208.811321 Z M545.661919,234.891147 C536.969281,234.786647 534.48567,234.786647 526.517419,235.204644 L526,234.577649 C528.173159,226.322206 530.346319,217.962264 532.312511,209.602322 C534.796122,198.734398 535.417024,194.13643 536.244894,187.761974 L536.865797,187.239478 C545.454951,185.985486 547.835078,185.671988 556.838167,184 L557.045135,184.731495 C555.389394,191.628447 553.837137,198.4209 552.181397,205.213353 C548.869916,219.529753 547.731594,226.844702 546.489789,234.36865 L545.661919,234.995646 L545.661919,234.891147 Z" id="Shape" fill="#FEFEFE"></path> <path d="M533.159909,209.373777 C532.745974,211.150265 531.090233,218.256216 528.917074,221.182195 C527.468301,223.272181 523.949852,224.630672 521.983661,224.630672 C521.362758,224.630672 517.947793,224.630672 517.740826,219.405708 C517.740826,216.793226 518.258244,214.076245 518.879147,211.150265 C520.741855,202.894822 523.018498,195.893371 528.710106,195.893371 C533.159909,195.893371 535.126101,201.013836 533.159909,209.478277 L533.159909,209.373777 Z M550.234733,210.209772 C552.718344,199.132849 542.576933,209.269278 541.024677,205.611804 C538.541066,199.864344 540.093322,188.369423 530.158879,184.50295 C526.329979,182.935461 517.32689,184.920947 509.66909,192.026898 C504.287934,197.042863 501.597355,204.044315 500.148582,210.732268 C498.596326,217.420222 496.837101,229.751136 507.909866,234.035606 C511.428315,235.603095 514.636312,236.021092 517.844309,235.812094 C529.020558,235.185098 537.506228,218.151717 543.818739,211.463763 C548.682476,206.1343 549.510347,213.449249 550.234733,210.209772 Z M420.292089,233.622642 C413.151708,233.518142 410.668097,233.518142 402.28591,233.936139 L401.975459,233.309144 C402.699846,230.069666 403.527716,226.934688 404.252102,223.69521 L405.183456,219.306241 C406.735713,212.513788 408.28797,204.467344 408.391454,202.063861 C408.598421,200.600871 409.012356,196.943396 404.976489,196.943396 C403.217264,196.943396 401.354556,197.77939 399.595332,198.615385 C398.663978,202.272859 396.594302,212.513788 395.559465,217.111756 C393.593273,226.934688 393.386305,228.08418 392.454951,232.891147 L391.834048,233.518142 C384.4867,233.413643 381.899605,233.413643 373.413935,233.83164 L373,233.100145 C374.448773,227.248186 375.794062,221.396226 377.139351,215.544267 C380.6578,199.764877 381.48567,193.703919 382.520508,185.657475 L383.141411,185.239478 C391.420113,184.089985 393.489789,183.776488 402.389394,182 L403.113781,182.835994 L401.871975,187.851959 C403.320748,186.911466 404.873005,185.970972 406.321778,185.239478 C410.564613,183.149492 415.221383,182.522496 417.808478,182.522496 C421.740862,182.522496 425.983697,183.671988 427.846405,188.269956 C429.502145,192.345428 428.363824,197.361393 426.08718,207.288824 L424.948859,212.30479 C422.568732,223.381713 422.25828,225.367199 421.016475,232.891147 L420.188605,233.518142 L420.292089,233.622642 Z M482.293118,147.104499 L476.291059,147.208999 C460.768492,147.417997 454.559465,147.313498 452.075854,147 C451.868886,148.149492 451.454951,150.134978 451.454951,150.134978 C451.454951,150.134978 445.866827,176.050798 445.866827,176.155298 C445.866827,176.155298 432.620903,231.330914 432,233.943396 C445.556375,233.734398 451.041016,233.734398 453.421143,234.047896 C453.938562,231.435414 457.043075,216.07402 457.146559,216.07402 C457.146559,216.07402 459.837137,204.788099 459.940621,204.370102 C459.940621,204.370102 460.768492,203.22061 461.596362,202.698113 L462.838167,202.698113 C474.531835,202.698113 487.674275,202.698113 498.022653,195.069666 C505.05955,189.844702 509.819804,182.007257 511.992964,172.602322 C512.510383,170.303338 512.924318,167.586357 512.924318,164.764877 C512.924318,161.107402 512.199931,157.554427 510.130256,154.732946 C504.852583,147.313498 494.400721,147.208999 482.293118,147.104499 Z M490.054402,174.169811 C488.812597,179.917271 485.08718,184.828737 480.326926,187.127721 C476.394543,189.113208 471.634289,189.322206 466.667067,189.322206 L463.45907,189.322206 L463.666037,188.068215 C463.666037,188.068215 469.564613,162.152395 469.564613,162.256894 L469.771581,160.898403 L469.875064,159.853411 L472.255191,160.062409 C472.255191,160.062409 484.466278,161.107402 484.673245,161.107402 C489.433499,162.988389 491.503175,167.795356 490.054402,174.169811 Z M617.261369,182.835994 L616.536983,182 C607.740862,183.776488 606.085121,184.089985 598.013386,185.239478 L597.392483,185.866473 C597.392483,185.970972 597.288999,186.075472 597.288999,186.28447 L597.288999,186.179971 C591.28694,200.287373 591.390424,197.256894 586.526686,208.333817 C586.526686,207.811321 586.526686,207.497823 586.423202,206.975327 L585.181397,182.940493 L584.45701,182.104499 C575.14347,183.880987 574.936502,184.194485 566.450832,185.343977 L565.82993,185.970972 C565.726446,186.28447 565.726446,186.597968 565.726446,186.911466 L565.82993,187.015965 C566.864767,192.554427 566.6578,191.300435 567.692638,199.973875 C568.210057,204.258345 568.830959,208.542816 569.348378,212.722787 C570.176248,219.828737 570.693667,223.277213 571.728505,234.040639 C565.933413,243.654572 564.588124,247.312046 559,255.776488 L559.310451,256.612482 C567.692638,256.298984 569.555346,256.298984 575.764373,256.298984 L577.109662,254.731495 C581.766432,244.595065 617.364853,182.940493 617.364853,182.940493 L617.261369,182.835994 Z M314.543608,189.75837 C319.303862,186.414394 319.924765,181.816425 315.888897,179.412942 C311.85303,177.009459 304.712649,177.740954 299.952395,181.084931 C295.192141,184.324408 294.674722,188.922376 298.71059,191.430359 C302.642973,193.729343 309.783354,193.102347 314.543608,189.75837 Z" id="Shape" fill="#FEFEFE"></path> <path d="M575.734683,256.104499 L568.80127,268.121916 C566.628111,272.197388 562.488759,275.332366 556.072765,275.332366 L545,275.123367 L548.207997,264.255443 L550.381157,264.255443 C551.519478,264.255443 552.347349,264.150943 552.968251,263.837446 C553.589154,263.628447 553.899605,263.21045 554.417024,262.583454 L558.556375,256 L575.838167,256 L575.734683,256.104499 Z" id="Shape" fill="#FEFEFE"></path> </g> </g>`; let amex_single = `<svg version="1.1" id="Layer_1" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="750" height="471" viewBox="0 0 750 471" enable-background="new 0 0 752 471" xml:space="preserve"><title>Slice 1</title><desc>Created with Sketch.</desc><g><g><path fill="#2557D6" d="M554.594,130.608l-14.521,35.039h29.121L554.594,130.608z M387.03,152.321c2.738-1.422,4.349-4.515,4.349-8.356c0-3.764-1.693-6.49-4.431-7.771c-2.492-1.42-6.328-1.584-10.006-1.584h-25.978v19.523h25.63C380.7,154.134,384.131,154.074,387.03,152.321z M54.142,130.608l-14.357,35.039h28.8L54.142,130.608z M722.565,355.08h-40.742v-18.852h40.578c4.023,0,6.84-0.525,8.537-2.177c1.471-1.358,2.494-3.336,2.494-5.733c0-2.562-1.023-4.596-2.578-5.813c-1.529-1.342-3.76-1.953-7.434-1.953c-19.81-0.67-44.523,0.609-44.523-27.211c0-12.75,8.131-26.172,30.27-26.172h42.025v-17.492h-39.045c-11.783,0-20.344,2.81-26.406,7.181v-7.181h-57.752c-9.233,0-20.074,2.279-25.201,7.181v-7.181H499.655v7.181c-8.207-5.898-22.057-7.181-28.447-7.181H403.18v7.181c-6.492-6.262-20.935-7.181-29.734-7.181h-76.134l-17.42,18.775l-16.318-18.775H149.847v122.675h111.586l17.95-19.076l16.91,19.076l68.78,0.059v-28.859h6.764c9.125,0.145,19.889-0.223,29.387-4.311v33.107h56.731v-31.976h2.736c3.492,0,3.838,0.146,3.838,3.621v28.348h172.344c10.941,0,22.38-2.786,28.712-7.853v7.853h54.668c11.375,0,22.485-1.588,30.938-5.653v-22.853C746.069,351.297,736.079,355.08,722.565,355.08z M372.734,326.113h-26.325v29.488h-41.006L279.425,326.5l-26.997,29.102h-83.569v-87.914h84.855l25.955,28.818l26.835-28.818h67.414c16.743,0,35.555,4.617,35.555,28.963C409.473,321.072,391.176,326.113,372.734,326.113z M499.323,322.127c2.98,4.291,3.41,8.297,3.496,16.047v17.428h-21.182v-10.998c0-5.289,0.512-13.121-3.41-17.209c-3.08-3.149-7.781-3.901-15.48-3.901h-22.545v32.108h-21.198v-87.914h48.706c10.685,0,18.462,0.472,25.386,4.148c6.658,4.006,10.848,9.494,10.848,19.523c-0.002,14.031-9.399,21.19-14.953,23.389C493.684,316.473,497.522,319.566,499.323,322.127z M586.473,285.869h-49.404v15.982h48.197v17.938h-48.197v17.492l49.404,0.078v18.242h-70.414v-87.914h70.414V285.869z M640.686,355.6h-41.09v-18.852h40.926c4.002,0,6.84-0.527,8.619-2.178c1.449-1.359,2.492-3.336,2.492-5.73c0-2.564-1.129-4.598-2.574-5.818c-1.615-1.34-3.842-1.948-7.514-1.948c-19.73-0.673-44.439,0.606-44.439-27.212c0-12.752,8.047-26.174,30.164-26.174h42.297v18.709h-38.703c-3.836,0-6.33,0.146-8.451,1.592c-2.313,1.423-3.17,3.535-3.17,6.322c0,3.316,1.963,5.574,4.615,6.549c2.228,0.771,4.617,0.996,8.211,0.996l11.359,0.308c11.449,0.274,19.313,2.25,24.092,7.069c4.105,4.232,6.311,9.578,6.311,18.625C673.829,346.771,661.963,355.6,640.686,355.6z M751.192,343.838L751.192,343.838L751.192,343.838L751.192,343.838z M477.061,287.287c-2.549-1.508-6.311-1.588-10.066-1.588h-25.979v19.744h25.631c4.104,0,7.594-0.144,10.414-1.812c2.734-1.646,4.371-4.678,4.371-8.438C481.432,291.434,479.795,288.711,477.061,287.287z M712.784,285.697c-3.838,0-6.389,0.145-8.537,1.588c-2.227,1.426-3.081,3.537-3.081,6.326c0,3.315,1.879,5.572,4.612,6.549c2.228,0.771,4.615,0.996,8.129,0.996l11.437,0.303c11.537,0.285,19.242,2.262,23.938,7.08c0.855,0.668,1.369,1.42,1.957,2.174v-25.014h-38.453L712.784,285.697L712.784,285.697z M373.47,285.697h-27.509v22.391h27.265c8.105,0,13.146-4.006,13.149-11.611C386.372,288.789,381.086,285.697,373.47,285.697z M189.872,285.697v15.984h46.315v17.938h-46.315v17.49h51.87l24.1-25.791l-23.076-25.621H189.872L189.872,285.697z M325.321,347.176v-70.482l-32.391,34.673L325.321,347.176z M191.649,206.025v15.148h176.263l-0.082-32.046h3.411c2.39,0.083,3.084,0.302,3.084,4.229v27.818h91.164v-7.461c7.353,3.924,18.789,7.461,33.838,7.461h38.353l8.209-19.522h18.197l8.026,19.522h73.906V202.63l11.189,18.543h59.227V98.59h-58.611v14.477l-8.207-14.477h-60.143v14.477l-7.537-14.477h-81.24c-13.6,0-25.551,1.89-35.207,7.158V98.59h-56.063v7.158c-6.146-5.43-14.519-7.158-23.826-7.158H180.784l-13.742,31.662L152.928,98.59H88.417v14.477L81.329,98.59H26.312L0.763,156.874v46.621l37.779-87.894h31.346l35.88,83.217v-83.217h34.435l27.61,59.625l25.365-59.625h35.126v87.894h-21.625l-0.079-68.837l-30.593,68.837h-18.524l-30.671-68.898v68.898H83.899l-8.106-19.605H31.865l-8.19,19.605H0.762v17.682h36.049l8.128-19.523h18.198l8.106,19.523h70.925V206.25l6.33,14.989h36.819L191.649,206.025z M469.401,125.849c6.818-7.015,17.5-10.25,32.039-10.25h20.424v18.833h-19.996c-7.696,0-12.047,1.14-16.233,5.208c-3.599,3.7-6.066,10.696-6.066,19.908c0,9.417,1.881,16.206,5.801,20.641c3.248,3.478,9.152,4.533,14.705,4.533h9.478l29.733-69.12h31.611l35.719,83.134v-83.133h32.123l37.086,61.213v-61.213h21.611v87.891h-29.898l-39.989-65.968v65.968h-42.968l-8.209-19.605h-43.827l-7.966,19.605h-24.688c-10.254,0-23.238-2.258-30.59-9.722c-7.416-7.462-11.271-17.571-11.271-33.553C458.026,147.182,460.329,135.266,469.401,125.849z M426.006,115.6h21.526v87.894h-21.526V115.6z M328.951,115.6h48.525c10.779,0,18.727,0.285,25.547,4.21c6.674,3.926,10.676,9.658,10.676,19.46c0,14.015-9.393,21.254-14.864,23.429c4.614,1.75,8.559,4.841,10.438,7.401c2.979,4.372,3.492,8.277,3.492,16.126v17.267h-21.279l-0.08-11.084c0-5.29,0.508-12.896-3.33-17.122c-3.082-3.09-7.782-3.763-15.379-3.763H350.05v31.97h-21.098L328.951,115.6L328.951,115.6z M243.902,115.6h70.479v18.303h-49.379v15.843h48.193v18.017h-48.193v17.553h49.379v18.177h-70.479V115.6L243.902,115.6z"/></g></g></svg>`; let visa_single = `<svg version="1.1" id="Layer_1" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="750px" height="471px" viewBox="0 0 750 471" enable-background="new 0 0 750 471" xml:space="preserve"><title>Slice 1</title><desc>Created with Sketch.</desc><g id="visa" sketch:type="MSLayerGroup"><path id="Shape" sketch:type="MSShapeGroup" fill="#0E4595" d="M278.198,334.228l33.36-195.763h53.358l-33.384,195.763H278.198L278.198,334.228z"/><path id="path13" sketch:type="MSShapeGroup" fill="#0E4595" d="M524.307,142.687c-10.57-3.966-27.135-8.222-47.822-8.222c-52.725,0-89.863,26.551-90.18,64.604c-0.297,28.129,26.514,43.821,46.754,53.185c20.77,9.597,27.752,15.716,27.652,24.283c-0.133,13.123-16.586,19.116-31.924,19.116c-21.355,0-32.701-2.967-50.225-10.274l-6.877-3.112l-7.488,43.823c12.463,5.466,35.508,10.199,59.438,10.445c56.09,0,92.502-26.248,92.916-66.884c0.199-22.27-14.016-39.216-44.801-53.188c-18.65-9.056-30.072-15.099-29.951-24.269c0-8.137,9.668-16.838,30.559-16.838c17.447-0.271,30.088,3.534,39.936,7.5l4.781,2.259L524.307,142.687"/><path id="Path" sketch:type="MSShapeGroup" fill="#0E4595" d="M661.615,138.464h-41.23c-12.773,0-22.332,3.486-27.941,16.234l-79.244,179.402h56.031c0,0,9.16-24.121,11.232-29.418c6.123,0,60.555,0.084,68.336,0.084c1.596,6.854,6.492,29.334,6.492,29.334h49.512L661.615,138.464L661.615,138.464z M596.198,264.872c4.414-11.279,21.26-54.724,21.26-54.724c-0.314,0.521,4.381-11.334,7.074-18.684l3.607,16.878c0,0,10.217,46.729,12.352,56.527h-44.293V264.872L596.198,264.872z"/><path id="path16" sketch:type="MSShapeGroup" fill="#0E4595" d="M232.903,138.464L180.664,271.96l-5.565-27.129c-9.726-31.274-40.025-65.157-73.898-82.12l47.767,171.204l56.455-0.064l84.004-195.386L232.903,138.464"/><path id="path18" sketch:type="MSShapeGroup" fill="#F2AE14" d="M131.92,138.464H45.879l-0.682,4.073c66.939,16.204,111.232,55.363,129.618,102.415l-18.709-89.96C152.877,142.596,143.509,138.896,131.92,138.464"/></g></svg>`; let diners_single = `<svg version="1.1" id="Layer_1" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="750" height="471" viewBox="0 0 750 471" enable-background="new 0 0 750 471" xml:space="preserve"><title>diners</title><desc>Created with Sketch.</desc><g id="diners" sketch:type="MSLayerGroup"><path id="Shape-path" sketch:type="MSShapeGroup" fill="#0079BE" d="M584.934,236.947c0-99.416-82.98-168.133-173.896-168.1h-78.241c-92.003-0.033-167.73,68.705-167.73,168.1c0,90.931,75.729,165.641,167.73,165.203h78.241C501.951,402.587,584.934,327.857,584.934,236.947L584.934,236.947z"/><path id="Shape-path_1_" sketch:type="MSShapeGroup" fill="#FFFFFF" d="M333.281,82.932c-84.069,0.026-152.193,68.308-152.215,152.58c0.021,84.258,68.145,152.532,152.215,152.559c84.088-0.026,152.229-68.301,152.239-152.559C485.508,151.238,417.369,82.958,333.281,82.932L333.281,82.932z"/><path id="Path" sketch:type="MSShapeGroup" fill="#0079BE" d="M237.066,235.098c0.08-41.18,25.747-76.296,61.94-90.25v180.479C262.813,311.381,237.145,276.283,237.066,235.098z M368.066,325.373V144.848c36.208,13.921,61.915,49.057,61.981,90.256C429.981,276.316,404.274,311.426,368.066,325.373z"/></g></svg>`; let discover_single = `<svg version="1.1" id="Layer_1" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="780px" height="501px" viewBox="0 0 780 501" enable-background="new 0 0 780 501" xml:space="preserve"><title>discover</title><desc>Created with Sketch.</desc><g id="Page-1" sketch:type="MSPage"><g id="discover" sketch:type="MSLayerGroup"><path fill="#F47216" d="M409.412,197.758c30.938,0,56.02,23.58,56.02,52.709v0.033c0,29.129-25.082,52.742-56.02,52.742c-30.941,0-56.022-23.613-56.022-52.742v-0.033C353.39,221.338,378.471,197.758,409.412,197.758L409.412,197.758z"/><path d="M321.433,198.438c8.836,0,16.247,1.785,25.269,6.09v22.752c-8.544-7.863-15.955-11.154-25.757-11.154c-19.265,0-34.413,15.015-34.413,34.051c0,20.074,14.681,34.195,35.368,34.195c9.313,0,16.586-3.12,24.802-10.856v22.764c-9.343,4.141-16.912,5.775-25.757,5.775c-31.277,0-55.581-22.597-55.581-51.737C265.363,221.49,290.314,198.438,321.433,198.438L321.433,198.438z"/><path d="M224.32,199.064c11.546,0,22.109,3.721,30.942,10.994l-10.748,13.248c-5.351-5.646-10.411-8.027-16.563-8.027c-8.854,0-15.301,4.745-15.301,10.988c0,5.354,3.618,8.188,15.944,12.482c23.364,8.043,30.289,15.176,30.289,30.926c0,19.193-14.976,32.554-36.319,32.554c-15.631,0-26.993-5.795-36.457-18.871l13.268-12.031c4.73,8.609,12.622,13.223,22.42,13.223c9.163,0,15.947-5.951,15.947-13.984c0-4.164-2.056-7.733-6.158-10.258c-2.066-1.195-6.158-2.977-14.199-5.646c-19.292-6.538-25.91-13.527-25.91-27.186C191.474,211.25,205.688,199.064,224.32,199.064L224.32,199.064z"/><polygon points="459.043,200.793 481.479,200.793 509.563,267.385 538.01,200.793 560.276,200.793 514.783,302.479 503.729,302.479 "/><polygon points="157.83,200.945 178.371,200.945 178.371,300.088 157.83,300.088 "/><polygon points="569.563,200.945 627.815,200.945 627.815,217.744 590.09,217.744 590.09,239.75 626.426,239.75 626.426,256.541 590.09,256.541 590.09,283.303 627.815,283.303 627.815,300.088 569.563,300.088 "/><path d="M685.156,258.322c15.471-2.965,23.984-12.926,23.984-28.105c0-18.562-13.576-29.271-37.266-29.271H641.42v99.143h20.516V260.26h2.68l28.43,39.828h25.26L685.156,258.322z M667.938,246.586h-6.002v-30.025h6.326c12.791,0,19.744,5.049,19.744,14.697C688.008,241.224,681.055,246.586,667.938,246.586z"/><path d="M91.845,200.945H61.696v99.143h29.992c15.946,0,27.465-3.543,37.573-11.445c12.014-9.36,19.117-23.467,19.117-38.057C148.379,221.327,125.157,200.945,91.845,200.945z M115.842,275.424c-6.454,5.484-14.837,7.879-28.108,7.879H82.22v-65.559h5.513c13.271,0,21.323,2.238,28.108,8.018c7.104,5.956,11.377,15.183,11.377,24.682C127.219,259.957,122.945,269.468,115.842,275.424z"/></g></g></svg>`; let jcb_single = `<svg version="1.1" id="Layer_1" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="750px" height="471px" viewBox="0 0 750 471" enable-background="new 0 0 750 471" xml:space="preserve"><title>Slice 1</title><desc>Created with Sketch.</desc><g><path id="path3494" sketch:type="MSShapeGroup" fill="#FFFFFF" d="M617.242,346.766c0,41.615-33.729,75.36-75.357,75.36H132.759V124.245c0-41.626,33.73-75.371,75.364-75.371h409.12V346.766L617.242,346.766L617.242,346.766z"/><linearGradient id="path3496_1_" gradientUnits="userSpaceOnUse" x1="824.7424" y1="333.7813" x2="825.7424" y2="333.7813" gradientTransform="matrix(132.8743 0 0 -323.0226 -109129.5313 108054.6016)"><stop offset="0" style="stop-color:#007B40"/><stop offset="1" style="stop-color:#55B330"/></linearGradient><path id="path3496" sketch:type="MSShapeGroup" fill="url(#path3496_1_)" d="M483.86,242.045c11.686,0.254,23.439-0.516,35.078,0.4c11.787,2.199,14.627,20.043,4.156,25.887c-7.145,3.85-15.633,1.434-23.379,2.113H483.86V242.045L483.86,242.045z M525.694,209.9c2.596,9.164-6.238,17.392-15.064,16.13h-26.77c0.188-8.642-0.367-18.022,0.273-26.209c10.723,0.302,21.547-0.616,32.209,0.48C520.922,201.452,524.756,205.218,525.694,209.9L525.694,209.9z M590.119,73.997c0.498,17.501,0.072,35.927,0.215,53.783c-0.033,72.596,0.07,145.195-0.057,217.789c-0.469,27.207-24.582,50.847-51.6,51.39c-27.045,0.11-54.094,0.017-81.143,0.047v-109.75c29.471-0.153,58.957,0.308,88.416-0.231c13.666-0.858,28.635-9.875,29.271-24.914c1.609-15.103-12.631-25.551-26.152-27.201c-5.197-0.135-5.045-1.515,0-2.117c12.895-2.787,23.021-16.133,19.227-29.499c-3.234-14.058-18.771-19.499-31.695-19.472c-26.352-0.179-52.709-0.025-79.063-0.077c0.17-20.489-0.355-41,0.283-61.474c2.088-26.716,26.807-48.748,53.447-48.27C537.555,73.998,563.838,73.998,590.119,73.997L590.119,73.997z"/><linearGradient id="path3498_1_" gradientUnits="userSpaceOnUse" x1="824.7551" y1="333.7822" x2="825.7484" y2="333.7822" gradientTransform="matrix(133.4307 0 0 -323.0203 -109887.6875 108053.8203)"><stop offset="0" style="stop-color:#1D2970"/><stop offset="1" style="stop-color:#006DBA"/></linearGradient><path id="path3498" sketch:type="MSShapeGroup" fill="url(#path3498_1_)" d="M159.742,125.041c0.673-27.164,24.888-50.611,51.872-51.008c26.945-0.083,53.894-0.012,80.839-0.036c-0.074,90.885,0.146,181.776-0.111,272.657c-1.038,26.834-24.989,49.834-51.679,50.309c-26.996,0.098-53.995,0.014-80.992,0.041V283.551c26.223,6.195,53.722,8.832,80.474,4.723c15.991-2.574,33.487-10.426,38.901-27.016c3.984-14.191,1.741-29.126,2.334-43.691v-33.825h-46.297c-0.208,22.371,0.426,44.781-0.335,67.125c-1.248,13.734-14.849,22.46-27.802,21.994c-16.064,0.17-47.897-11.641-47.897-11.641C158.969,219.305,159.515,166.814,159.742,125.041L159.742,125.041z"/><linearGradient id="path3500_1_" gradientUnits="userSpaceOnUse" x1="824.7424" y1="333.7813" x2="825.741" y2="333.7813" gradientTransform="matrix(132.9583 0 0 -323.0276 -109347.9219 108056.2656)"><stop offset="0" style="stop-color:#6E2B2F"/><stop offset="1" style="stop-color:#E30138"/></linearGradient><path id="path3500" sketch:type="MSShapeGroup" fill="url(#path3500_1_)" d="M309.721,197.39c-2.437,0.517-0.491-8.301-1.114-11.646c0.166-21.15-0.346-42.323,0.284-63.458c2.082-26.829,26.991-48.916,53.738-48.288h78.767c-0.074,90.885,0.145,181.775-0.111,272.657c-1.039,26.834-24.992,49.833-51.682,50.309c-26.998,0.101-53.998,0.015-80.997,0.042V272.707c18.44,15.129,43.5,17.484,66.472,17.525c17.318-0.006,34.535-2.676,51.353-6.67V260.79c-18.953,9.446-41.234,15.446-62.244,10.019c-14.656-3.649-25.294-17.813-25.057-32.937c-1.698-15.729,7.522-32.335,22.979-37.011c19.192-6.008,40.108-1.413,58.096,6.398c3.855,2.018,7.766,4.521,6.225-1.921v-17.899c-30.086-7.158-62.104-9.792-92.33-2.005C325.352,187.902,316.828,191.645,309.721,197.39L309.721,197.39z"/></g></svg>`; let maestro_single = `<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" width="482.6" height="374.31" viewBox="0 0 482.6 374.31"> <title>maestro</title> <g> <path d="M278.8,421.77V397c0-9.35-6-15.64-15.55-15.72-5-.08-10.26,1.49-13.9,7-2.73-4.38-7-7-13.07-7a13.08,13.08,0,0,0-11.58,5.87v-4.88h-8.61v39.55h8.69V399.85c0-6.87,3.81-10.51,9.68-10.51,5.71,0,8.61,3.72,8.61,10.42v22h8.69V399.85c0-6.87,4-10.51,9.68-10.51,5.87,0,8.69,3.72,8.69,10.42v22ZM327.28,402V382.23h-8.61V387c-2.73-3.56-6.87-5.79-12.49-5.79-11.09,0-19.77,8.69-19.77,20.77s8.69,20.77,19.77,20.77c5.63,0,9.76-2.23,12.49-5.79v4.8h8.61Zm-32,0c0-6.95,4.55-12.66,12-12.66,7.12,0,11.91,5.46,11.91,12.66s-4.8,12.66-11.91,12.66C299.81,414.66,295.26,408.95,295.26,402ZM511.4,381.19a22.29,22.29,0,0,1,8.49,1.59,20.71,20.71,0,0,1,6.75,4.38,20,20,0,0,1,4.46,6.59,22,22,0,0,1,0,16.52,20,20,0,0,1-4.46,6.59,20.69,20.69,0,0,1-6.75,4.38,23.43,23.43,0,0,1-17,0,20.47,20.47,0,0,1-6.73-4.38,20.21,20.21,0,0,1-4.44-6.59,22,22,0,0,1,0-16.52,20.23,20.23,0,0,1,4.44-6.59,20.48,20.48,0,0,1,6.73-4.38A22.29,22.29,0,0,1,511.4,381.19Zm0,8.14a12.84,12.84,0,0,0-4.91.93,11.62,11.62,0,0,0-3.92,2.6,12.13,12.13,0,0,0-2.6,4,14.39,14.39,0,0,0,0,10.28,12.11,12.11,0,0,0,2.6,4,11.62,11.62,0,0,0,3.92,2.6,13.46,13.46,0,0,0,9.83,0,11.86,11.86,0,0,0,3.94-2.6,12,12,0,0,0,2.62-4,14.39,14.39,0,0,0,0-10.28,12,12,0,0,0-2.62-4,11.86,11.86,0,0,0-3.94-2.6A12.84,12.84,0,0,0,511.4,389.32ZM374.1,402c-.08-12.33-7.69-20.77-18.78-20.77-11.58,0-19.69,8.44-19.69,20.77,0,12.58,8.44,20.77,20.27,20.77,6,0,11.42-1.49,16.22-5.54l-4.22-6.37A18.84,18.84,0,0,1,356.4,415c-5.54,0-10.59-2.56-11.83-9.68h29.37C374,404.23,374.1,403.16,374.1,402Zm-29.45-3.47c.91-5.71,4.38-9.6,10.51-9.6,5.54,0,9.1,3.47,10,9.6Zm65.69-6.2A25.49,25.49,0,0,0,398,388.93c-4.72,0-7.53,1.74-7.53,4.63,0,2.65,3,3.39,6.7,3.89l4.05.58c8.61,1.24,13.82,4.88,13.82,11.83,0,7.53-6.62,12.91-18,12.91-6.45,0-12.41-1.66-17.13-5.13l4.05-6.7a21.07,21.07,0,0,0,13.16,4.14c5.87,0,9-1.74,9-4.8,0-2.23-2.23-3.47-6.95-4.14l-4.05-.58c-8.85-1.24-13.65-5.21-13.65-11.67,0-7.86,6.45-12.66,16.46-12.66,6.29,0,12,1.41,16.13,4.14Zm41.35-2.23H437.62V408c0,4,1.41,6.62,5.71,6.62a15.89,15.89,0,0,0,7.61-2.23l2.48,7.36a20.22,20.22,0,0,1-10.76,3.06c-10.18,0-13.73-5.46-13.73-14.65v-18h-8v-7.86h8v-12h8.69v12h14.06Zm29.78-8.85a18.38,18.38,0,0,1,6.12,1.08l-2.65,8.11a14,14,0,0,0-5.38-1c-5.63,0-8.44,3.64-8.44,10.18v22.17h-8.6V382.23H471V387a11.66,11.66,0,0,1,10.42-5.79Z" transform="translate(-132.9 -48.5)"/> <g id="_Group_" data-name="&lt;Group&gt;"> <rect x="176.05" y="31.89" width="130.5" height="234.51" fill="#7673c0"/> <path id="_Path_" data-name="&lt;Path&gt;" d="M317.24,197.64a148.88,148.88,0,0,1,57-117.26,149.14,149.14,0,1,0,0,234.51A148.88,148.88,0,0,1,317.24,197.64Z" transform="translate(-132.9 -48.5)" fill="#eb001b"/> <path d="M615.5,197.64A149.14,149.14,0,0,1,374.2,314.9a149.16,149.16,0,0,0,0-234.51A149.14,149.14,0,0,1,615.5,197.64Z" transform="translate(-132.9 -48.5)" fill="#00a1df"/> </g> </g></svg>`; let mastercard_single = `<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" width="482.51" height="374" viewBox="0 0 482.51 374"> <title>mastercard</title> <g> <path d="M220.13,421.67V396.82c0-9.53-5.8-15.74-15.32-15.74-5,0-10.35,1.66-14.08,7-2.9-4.56-7-7-13.25-7a14.07,14.07,0,0,0-12,5.8v-5h-7.87v39.76h7.87V398.89c0-7,4.14-10.35,9.94-10.35s9.11,3.73,9.11,10.35v22.78h7.87V398.89c0-7,4.14-10.35,9.94-10.35s9.11,3.73,9.11,10.35v22.78Zm129.22-39.35h-14.5v-12H327v12h-8.28v7H327V408c0,9.11,3.31,14.5,13.25,14.5A23.17,23.17,0,0,0,351,419.6l-2.49-7a13.63,13.63,0,0,1-7.46,2.07c-4.14,0-6.21-2.49-6.21-6.63V389h14.5v-6.63Zm73.72-1.24a12.39,12.39,0,0,0-10.77,5.8v-5h-7.87v39.76h7.87V399.31c0-6.63,3.31-10.77,8.7-10.77a24.24,24.24,0,0,1,5.38.83l2.49-7.46a28,28,0,0,0-5.8-.83Zm-111.41,4.14c-4.14-2.9-9.94-4.14-16.15-4.14-9.94,0-16.15,4.56-16.15,12.43,0,6.63,4.56,10.35,13.25,11.6l4.14.41c4.56.83,7.46,2.49,7.46,4.56,0,2.9-3.31,5-9.53,5a21.84,21.84,0,0,1-13.25-4.14l-4.14,6.21c5.8,4.14,12.84,5,17,5,11.6,0,17.81-5.38,17.81-12.84,0-7-5-10.35-13.67-11.6l-4.14-.41c-3.73-.41-7-1.66-7-4.14,0-2.9,3.31-5,7.87-5,5,0,9.94,2.07,12.43,3.31Zm120.11,16.57c0,12,7.87,20.71,20.71,20.71,5.8,0,9.94-1.24,14.08-4.56l-4.14-6.21a16.74,16.74,0,0,1-10.35,3.73c-7,0-12.43-5.38-12.43-13.25S445,389,452.07,389a16.74,16.74,0,0,1,10.35,3.73l4.14-6.21c-4.14-3.31-8.28-4.56-14.08-4.56-12.43-.83-20.71,7.87-20.71,19.88h0Zm-55.5-20.71c-11.6,0-19.47,8.28-19.47,20.71s8.28,20.71,20.29,20.71a25.33,25.33,0,0,0,16.15-5.38l-4.14-5.8a19.79,19.79,0,0,1-11.6,4.14c-5.38,0-11.18-3.31-12-10.35h29.41v-3.31c0-12.43-7.46-20.71-18.64-20.71h0Zm-.41,7.46c5.8,0,9.94,3.73,10.35,9.94H364.68c1.24-5.8,5-9.94,11.18-9.94ZM268.59,401.79V381.91h-7.87v5c-2.9-3.73-7-5.8-12.84-5.8-11.18,0-19.47,8.7-19.47,20.71s8.28,20.71,19.47,20.71c5.8,0,9.94-2.07,12.84-5.8v5h7.87V401.79Zm-31.89,0c0-7.46,4.56-13.25,12.43-13.25,7.46,0,12,5.8,12,13.25,0,7.87-5,13.25-12,13.25-7.87.41-12.43-5.8-12.43-13.25Zm306.08-20.71a12.39,12.39,0,0,0-10.77,5.8v-5h-7.87v39.76H532V399.31c0-6.63,3.31-10.77,8.7-10.77a24.24,24.24,0,0,1,5.38.83l2.49-7.46a28,28,0,0,0-5.8-.83Zm-30.65,20.71V381.91h-7.87v5c-2.9-3.73-7-5.8-12.84-5.8-11.18,0-19.47,8.7-19.47,20.71s8.28,20.71,19.47,20.71c5.8,0,9.94-2.07,12.84-5.8v5h7.87V401.79Zm-31.89,0c0-7.46,4.56-13.25,12.43-13.25,7.46,0,12,5.8,12,13.25,0,7.87-5,13.25-12,13.25-7.87.41-12.43-5.8-12.43-13.25Zm111.83,0V366.17h-7.87v20.71c-2.9-3.73-7-5.8-12.84-5.8-11.18,0-19.47,8.7-19.47,20.71s8.28,20.71,19.47,20.71c5.8,0,9.94-2.07,12.84-5.8v5h7.87V401.79Zm-31.89,0c0-7.46,4.56-13.25,12.43-13.25,7.46,0,12,5.8,12,13.25,0,7.87-5,13.25-12,13.25C564.73,415.46,560.17,409.25,560.17,401.79Z" transform="translate(-132.74 -48.5)"/> <g> <rect x="169.81" y="31.89" width="143.72" height="234.42" fill="#ff5f00"/> <path d="M317.05,197.6A149.5,149.5,0,0,1,373.79,80.39a149.1,149.1,0,1,0,0,234.42A149.5,149.5,0,0,1,317.05,197.6Z" transform="translate(-132.74 -48.5)" fill="#eb001b"/> <path d="M615.26,197.6a148.95,148.95,0,0,1-241,117.21,149.43,149.43,0,0,0,0-234.42,148.95,148.95,0,0,1,241,117.21Z" transform="translate(-132.74 -48.5)" fill="#f79e1b"/> </g> </g></svg>`; let unionpay_single = `<svg xmlns="http://www.w3.org/2000/svg" width="750" height="471" viewBox="0 0 750 471"> <g fill="none" fill-rule="evenodd"> <rect width="750" height="471" rx="40"/> <path fill="#D10429" d="M201.809581,55 L344.203266,55 C364.072152,55 376.490206,71.4063861 371.833436,91.4702467 L305.500331,378.94775 C300.843561,399.011611 280.871191,415.417997 261.002305,415.417997 L118.60862,415.417997 C98.7397339,415.417997 86.32168,399.011611 90.9784502,378.94775 L157.311555,91.4702467 C161.968325,71.3018868 181.837211,55 201.706097,55 L201.809581,55 Z"/> <path fill="#022E64" d="M331.750074,55 L495.564902,55 C515.433788,55 506.430699,71.4063861 501.773929,91.4702467 L435.440824,378.94775 C430.784054,399.011611 432.232827,415.417997 412.363941,415.417997 L248.549113,415.417997 C228.576743,415.417997 216.262173,399.011611 221.022427,378.94775 L287.355531,91.4702467 C292.012302,71.3018868 311.881188,55 331.853558,55 L331.750074,55 Z"/> <path fill="#076F74" d="M489.814981,55 L632.208666,55 C652.077552,55 664.495606,71.4063861 659.838836,91.4702467 L593.505731,378.94775 C588.848961,399.011611 568.876591,415.417997 549.007705,415.417997 L406.61402,415.417997 C386.64165,415.417997 374.32708,399.011611 378.98385,378.94775 L445.316955,91.4702467 C449.973725,71.3018868 469.842611,55 489.711498,55 L489.814981,55 Z"/> <path fill="#FEFEFE" d="M465.904754,326.014514 L479.357645,326.014514 L483.186545,312.952104 L469.837137,312.952104 L465.904754,326.014514 L465.904754,326.014514 Z M476.667067,290.066763 L476.667067,290.066763 L472.010297,305.532656 C472.010297,305.532656 477.081002,302.920174 479.875064,302.08418 C482.669126,301.457184 486.808478,300.934688 486.808478,300.934688 L490.016475,290.171263 L476.563583,290.171263 L476.667067,290.066763 Z M483.393513,267.912917 L483.393513,267.912917 L478.94371,282.751814 C478.94371,282.751814 483.910932,280.45283 486.704994,279.721335 C489.499056,278.98984 493.638407,278.780842 493.638407,278.780842 L496.846405,268.017417 L483.496997,268.017417 L483.393513,267.912917 Z M513.093359,267.912917 L513.093359,267.912917 L495.708083,325.910015 L500.364853,325.910015 L496.742921,337.927431 L492.086151,337.927431 L490.947829,341.584906 L474.390424,341.584906 L475.528745,337.927431 L442,337.927431 L445.311481,326.850508 L448.726446,326.850508 L466.318689,267.912917 L469.837137,256 L486.704994,256 L484.94577,261.956459 C484.94577,261.956459 489.395572,258.716981 493.741891,257.567489 C497.984726,256.417997 522.406899,256 522.406899,256 L518.784967,267.808418 L512.989875,267.808418 L513.093359,267.912917 Z"/> <path fill="#FEFEFE" d="M520 256L538.006178 256 538.213146 262.792453C538.109662 263.941945 539.041016 264.464441 541.214175 264.464441L544.836108 264.464441 541.524627 275.645864 531.797151 275.645864C523.414965 276.272859 520.206968 272.615385 520.413935 268.539913L520.103484 256.104499 520 256zM522.216235 309.20029L505.037927 309.20029 507.935473 299.272859 527.597391 299.272859 530.391454 290.181422 511.039986 290.181422 514.351467 279 568.163034 279 564.851553 290.181422 546.741891 290.181422 543.947829 299.272859 562.057491 299.272859 559.056461 309.20029 539.498026 309.20029 535.979578 313.380261 543.947829 313.380261 545.914021 325.920174C546.120989 327.174165 546.120989 328.01016 546.534924 328.532656 546.948859 328.950653 549.328986 329.159652 550.674275 329.159652L553.054402 329.159652 549.328986 341.386067 543.223443 341.386067C542.292089 341.386067 540.843316 341.281567 538.877124 341.281567 537.014416 341.072569 535.77261 340.027576 534.530805 339.400581 533.392483 338.878084 531.736743 337.519594 531.322808 335.11611L529.4601 322.576197 520.560494 334.907112C517.766432 338.773585 513.937532 341.804064 507.418054 341.804064L495 341.804064 498.311481 330.936139 503.071735 330.936139C504.417024 330.936139 505.65883 330.413643 506.590184 329.891147 507.521538 329.473149 508.349408 329.055152 509.177278 327.696662L522.216235 309.20029 522.216235 309.20029zM334.31354 282L379.742921 282 376.43144 292.972424 358.321778 292.972424 355.527716 302.272859 374.154797 302.272859 370.739832 313.558781 352.216235 313.558781 347.662948 328.711176C347.145529 330.383164 352.112751 330.592163 353.871975 330.592163L363.185516 329.338171 359.4601 341.878084 338.556375 341.878084C336.900635 341.878084 335.65883 341.669086 333.796122 341.251089 332.036897 340.833091 331.209027 339.997097 330.48464 338.847605 329.760254 337.593614 328.518449 336.65312 329.346319 333.936139L335.348378 313.872279 325 313.872279 328.414965 302.377358 338.763343 302.377358 341.557405 293.076923 331.209027 293.076923 334.520508 282.104499 334.31354 282zM365.700875 262.165457L384.327956 262.165457 380.912991 273.555878 355.455981 273.555878 352.661919 275.959361C351.420113 277.108853 351.109662 276.690856 349.557405 277.526851 348.108632 278.258345 345.107603 279.721335 341.175219 279.721335L333 279.721335 336.311481 268.748911 338.795092 268.748911C340.864767 268.748911 342.31354 268.539913 343.037927 268.121916 343.865797 267.599419 344.797151 266.449927 345.728505 264.56894L350.385275 256 368.908872 256 365.700875 262.269956 365.700875 262.165457zM400.808726 280.975327C400.808726 280.975327 405.879431 276.272859 414.572069 274.809869 416.538261 274.391872 428.956314 274.600871 428.956314 274.600871L430.819023 268.330914 404.637626 268.330914 400.808726 281.079826 400.808726 280.975327zM425.437866 285.782293L425.437866 285.782293 399.463436 285.782293 397.91118 291.111756 420.470644 291.111756C423.161223 290.798258 423.678642 291.216255 423.885609 291.007257L425.54135 285.782293 425.437866 285.782293zM391.702153 256.104499L391.702153 256.104499 407.535171 256.104499 405.258528 264.150943C405.258528 264.150943 410.22575 260.075472 413.744198 258.612482 417.262647 257.358491 425.127414 256.104499 425.127414 256.104499L450.791393 256 441.995271 285.468795C440.546498 290.484761 438.787274 293.724238 437.752436 295.291727 436.821082 296.754717 435.68276 298.113208 433.406117 299.367199 431.232958 300.516691 429.266766 301.248186 427.404058 301.352685 425.748317 301.457184 423.057739 301.561684 419.53929 301.561684L394.806666 301.561684 387.873253 324.865022C387.25235 327.164006 386.941899 328.313498 387.355834 328.940493 387.666285 329.46299 388.597639 330.089985 389.735961 330.089985L400.601758 329.044993 396.876342 341.793904 384.665256 341.793904C380.732872 341.793904 377.93881 341.689405 375.972618 341.584906 374.10991 341.375907 372.143718 341.584906 370.798429 340.539913 369.660107 339.49492 367.900883 338.13643 368.004367 336.777939 368.10785 335.523948 368.625269 333.433962 369.45314 330.507983L391.702153 256.104499 391.702153 256.104499z"/> <path fill="#FEFEFE" d="M437.840227 303L436.391454 310.105951C435.770551 312.300435 435.253132 313.972424 433.597391 315.435414 431.838167 316.898403 429.871975 318.465893 425.111721 318.465893L416.3156 318.88389 416.212116 326.825835C416.108632 329.020319 416.729535 328.811321 417.039986 329.229318 417.453921 329.647315 417.764373 329.751814 418.178308 329.960813L420.97237 329.751814 429.354556 329.333817 425.836108 341.037736 416.212116 341.037736C409.48567 341.037736 404.414965 340.828737 402.862708 339.574746 401.206968 338.529753 401 337.275762 401 334.976778L401.620903 303.835994 417.039986 303.835994 416.833019 310.21045 420.558435 310.21045C421.80024 310.21045 422.731594 310.105951 423.249013 309.792453 423.766432 309.478955 424.076883 308.956459 424.283851 308.224964L425.836108 303.208999 437.94371 303.208999 437.840227 303zM218.470396 147C217.952978 149.507983 208.018534 195.592163 208.018534 195.592163 205.845375 204.892598 204.293118 211.580552 199.118929 215.865022 196.117899 218.373004 192.599451 219.522496 188.563583 219.522496 182.044105 219.522496 178.318689 216.283019 177.697786 210.117562L177.594302 208.027576C177.594302 208.027576 179.560494 195.592163 179.560494 195.487663 179.560494 195.487663 189.908872 153.478955 191.771581 147.940493 191.875064 147.626996 191.875064 147.417997 191.875064 147.313498 171.695727 147.522496 168.073794 147.313498 167.866827 147 167.763343 147.417997 167.245924 150.030479 167.245924 150.030479L156.690578 197.36865 155.759224 201.339623 154 214.506531C154 218.373004 154.724386 221.612482 156.276643 224.224964 161.140381 232.793904 174.903724 234.047896 182.665008 234.047896 192.702935 234.047896 202.119959 231.853411 208.43247 227.986938 219.505234 221.403483 222.40278 211.058055 224.886391 201.966618L226.128196 197.264151C226.128196 197.264151 236.787026 153.687954 238.649734 148.044993 238.753218 147.731495 238.753218 147.522496 238.856702 147.417997 224.162004 147.522496 219.919169 147.417997 218.470396 147.104499L218.470396 147zM277.499056 233.622642C270.358675 233.518142 267.771581 233.518142 259.389394 233.936139L259.078943 233.309144C259.803329 230.069666 260.6312 226.934688 261.252102 223.69521L262.28694 219.306241C263.839197 212.513788 265.28797 204.467344 265.494937 202.063861 265.701905 200.600871 266.11584 196.943396 261.976489 196.943396 260.217264 196.943396 258.45804 197.77939 256.595332 198.615385 255.560494 202.272859 253.594302 212.513788 252.559465 217.111756 250.489789 226.934688 250.386305 228.08418 249.454951 232.891147L248.834048 233.518142C241.4867 233.413643 238.899605 233.413643 230.413935 233.83164L230 233.100145C231.448773 227.248186 232.794062 221.396226 234.139351 215.544267 237.6578 199.764877 238.589154 193.703919 239.520508 185.657475L240.244894 185.239478C248.523597 184.089985 250.489789 183.776488 259.492878 182L260.217264 182.835994 258.871975 187.851959C260.424232 186.911466 261.873005 185.970972 263.425262 185.239478 267.668097 183.149492 272.324867 182.522496 274.911962 182.522496 278.844345 182.522496 283.190664 183.671988 284.949888 188.269956 286.605629 192.345428 285.570791 197.361393 283.294148 207.288824L282.155826 212.30479C279.879183 223.381713 279.465248 225.367199 278.223443 232.891147L277.395572 233.518142 277.499056 233.622642zM306.558435 233.650218C302.212116 233.650218 299.418054 233.545718 296.727476 233.650218 294.036897 233.650218 291.449803 233.859216 287.413935 233.963716L287.206968 233.650218 287 233.232221C288.138322 229.05225 288.655741 227.58926 289.276643 226.12627 289.794062 224.66328 290.311481 223.20029 291.346319 218.91582 292.588124 213.377358 293.415995 209.510885 293.933413 206.062409 294.554316 202.822932 294.864767 200.001451 295.278703 196.761974L295.589154 196.552975 295.899605 196.239478C300.245924 195.612482 302.936502 195.194485 305.730565 194.776488 308.524627 194.358491 311.422173 193.835994 315.871975 193L316.078943 193.417997 316.182427 193.835994C315.354556 197.28447 314.526686 200.732946 313.698816 204.181422 312.870946 207.629898 312.043075 211.078374 311.318689 214.526851 309.766432 221.8418 309.042046 224.558781 308.731594 226.544267 308.317659 228.425254 308.214175 229.365747 307.593273 233.127721L307.179338 233.441219 306.765402 233.754717 306.558435 233.650218zM352.499319 207.975327C352.188868 209.856313 350.533127 216.857765 348.359968 219.783745 346.807711 221.978229 345.048487 223.33672 342.978811 223.33672 342.357909 223.33672 338.83946 223.33672 338.735976 218.007257 338.735976 215.394775 339.253395 212.677794 339.874298 209.751814 341.737006 201.287373 344.013649 194.285922 349.705257 194.285922 354.15506 194.285922 354.465511 199.510885 352.499319 207.975327L352.499319 207.975327zM371.229884 208.811321L371.229884 208.811321C373.713495 197.734398 371.747303 192.509434 369.367176 189.374456 365.64176 184.567489 359.018798 183 352.188868 183 348.049517 183 338.322041 183.417997 330.664241 190.523948 325.179601 195.644412 322.592506 202.645864 321.143733 209.333817 319.591476 216.12627 317.832252 228.352685 329.008501 232.950653 332.423466 234.413643 337.390687 234.83164 340.598684 234.83164 348.773903 234.83164 357.156089 232.532656 363.4686 225.844702 368.332338 220.41074 370.505497 212.259797 371.333368 208.811321L371.229884 208.811321zM545.661919 234.891147C536.969281 234.786647 534.48567 234.786647 526.517419 235.204644L526 234.577649C528.173159 226.322206 530.346319 217.962264 532.312511 209.602322 534.796122 198.734398 535.417024 194.13643 536.244894 187.761974L536.865797 187.239478C545.454951 185.985486 547.835078 185.671988 556.838167 184L557.045135 184.731495C555.389394 191.628447 553.837137 198.4209 552.181397 205.213353 548.869916 219.529753 547.731594 226.844702 546.489789 234.36865L545.661919 234.995646 545.661919 234.891147z"/> <path fill="#FEFEFE" d="M533.159909 209.373777C532.745974 211.150265 531.090233 218.256216 528.917074 221.182195 527.468301 223.272181 523.949852 224.630672 521.983661 224.630672 521.362758 224.630672 517.947793 224.630672 517.740826 219.405708 517.740826 216.793226 518.258244 214.076245 518.879147 211.150265 520.741855 202.894822 523.018498 195.893371 528.710106 195.893371 533.159909 195.893371 535.126101 201.013836 533.159909 209.478277L533.159909 209.373777zM550.234733 210.209772L550.234733 210.209772C552.718344 199.132849 542.576933 209.269278 541.024677 205.611804 538.541066 199.864344 540.093322 188.369423 530.158879 184.50295 526.329979 182.935461 517.32689 184.920947 509.66909 192.026898 504.287934 197.042863 501.597355 204.044315 500.148582 210.732268 498.596326 217.420222 496.837101 229.751136 507.909866 234.035606 511.428315 235.603095 514.636312 236.021092 517.844309 235.812094 529.020558 235.185098 537.506228 218.151717 543.818739 211.463763 548.682476 206.1343 549.510347 213.449249 550.234733 210.209772L550.234733 210.209772zM420.292089 233.622642C413.151708 233.518142 410.668097 233.518142 402.28591 233.936139L401.975459 233.309144C402.699846 230.069666 403.527716 226.934688 404.252102 223.69521L405.183456 219.306241C406.735713 212.513788 408.28797 204.467344 408.391454 202.063861 408.598421 200.600871 409.012356 196.943396 404.976489 196.943396 403.217264 196.943396 401.354556 197.77939 399.595332 198.615385 398.663978 202.272859 396.594302 212.513788 395.559465 217.111756 393.593273 226.934688 393.386305 228.08418 392.454951 232.891147L391.834048 233.518142C384.4867 233.413643 381.899605 233.413643 373.413935 233.83164L373 233.100145C374.448773 227.248186 375.794062 221.396226 377.139351 215.544267 380.6578 199.764877 381.48567 193.703919 382.520508 185.657475L383.141411 185.239478C391.420113 184.089985 393.489789 183.776488 402.389394 182L403.113781 182.835994 401.871975 187.851959C403.320748 186.911466 404.873005 185.970972 406.321778 185.239478 410.564613 183.149492 415.221383 182.522496 417.808478 182.522496 421.740862 182.522496 425.983697 183.671988 427.846405 188.269956 429.502145 192.345428 428.363824 197.361393 426.08718 207.288824L424.948859 212.30479C422.568732 223.381713 422.25828 225.367199 421.016475 232.891147L420.188605 233.518142 420.292089 233.622642zM482.293118 147.104499L476.291059 147.208999C460.768492 147.417997 454.559465 147.313498 452.075854 147 451.868886 148.149492 451.454951 150.134978 451.454951 150.134978 451.454951 150.134978 445.866827 176.050798 445.866827 176.155298 445.866827 176.155298 432.620903 231.330914 432 233.943396 445.556375 233.734398 451.041016 233.734398 453.421143 234.047896 453.938562 231.435414 457.043075 216.07402 457.146559 216.07402 457.146559 216.07402 459.837137 204.788099 459.940621 204.370102 459.940621 204.370102 460.768492 203.22061 461.596362 202.698113L462.838167 202.698113C474.531835 202.698113 487.674275 202.698113 498.022653 195.069666 505.05955 189.844702 509.819804 182.007257 511.992964 172.602322 512.510383 170.303338 512.924318 167.586357 512.924318 164.764877 512.924318 161.107402 512.199931 157.554427 510.130256 154.732946 504.852583 147.313498 494.400721 147.208999 482.293118 147.104499L482.293118 147.104499zM490.054402 174.169811L490.054402 174.169811C488.812597 179.917271 485.08718 184.828737 480.326926 187.127721 476.394543 189.113208 471.634289 189.322206 466.667067 189.322206L463.45907 189.322206 463.666037 188.068215C463.666037 188.068215 469.564613 162.152395 469.564613 162.256894L469.771581 160.898403 469.875064 159.853411 472.255191 160.062409C472.255191 160.062409 484.466278 161.107402 484.673245 161.107402 489.433499 162.988389 491.503175 167.795356 490.054402 174.169811L490.054402 174.169811zM617.261369 182.835994L616.536983 182C607.740862 183.776488 606.085121 184.089985 598.013386 185.239478L597.392483 185.866473C597.392483 185.970972 597.288999 186.075472 597.288999 186.28447L597.288999 186.179971C591.28694 200.287373 591.390424 197.256894 586.526686 208.333817 586.526686 207.811321 586.526686 207.497823 586.423202 206.975327L585.181397 182.940493 584.45701 182.104499C575.14347 183.880987 574.936502 184.194485 566.450832 185.343977L565.82993 185.970972C565.726446 186.28447 565.726446 186.597968 565.726446 186.911466L565.82993 187.015965C566.864767 192.554427 566.6578 191.300435 567.692638 199.973875 568.210057 204.258345 568.830959 208.542816 569.348378 212.722787 570.176248 219.828737 570.693667 223.277213 571.728505 234.040639 565.933413 243.654572 564.588124 247.312046 559 255.776488L559.310451 256.612482C567.692638 256.298984 569.555346 256.298984 575.764373 256.298984L577.109662 254.731495C581.766432 244.595065 617.364853 182.940493 617.364853 182.940493L617.261369 182.835994zM314.543608 189.75837C319.303862 186.414394 319.924765 181.816425 315.888897 179.412942 311.85303 177.009459 304.712649 177.740954 299.952395 181.084931 295.192141 184.324408 294.674722 188.922376 298.71059 191.430359 302.642973 193.729343 309.783354 193.102347 314.543608 189.75837L314.543608 189.75837z"/> <path fill="#FEFEFE" d="M575.734683,256.104499 L568.80127,268.121916 C566.628111,272.197388 562.488759,275.332366 556.072765,275.332366 L545,275.123367 L548.207997,264.255443 L550.381157,264.255443 C551.519478,264.255443 552.347349,264.150943 552.968251,263.837446 C553.589154,263.628447 553.899605,263.21045 554.417024,262.583454 L558.556375,256 L575.838167,256 L575.734683,256.104499 Z"/> </g></svg>`; //define the color swap function const swapColor = function (basecolor) { document.querySelectorAll('.lightcolor') .forEach(function (input) { input.setAttribute('class', ''); input.setAttribute('class', 'lightcolor ' + basecolor); }); document.querySelectorAll('.darkcolor') .forEach(function (input) { input.setAttribute('class', ''); input.setAttribute('class', 'darkcolor ' + basecolor + 'dark'); }); }; //pop in the appropriate card icon when detected cardnumber_mask.on("accept", function () { switch (cardnumber_mask.masked.currentMask.cardtype) { case 'american express': ccicon.innerHTML = amex; //ccsingle.innerHTML = amex_single; cctype.value = 'american express'; swapColor('green'); break; case 'visa': ccicon.innerHTML = visa; //ccsingle.innerHTML = visa_single; cctype.value = 'visa'; swapColor('lime'); break; case 'diners': ccicon.innerHTML = diners; //ccsingle.innerHTML = diners_single; cctype.value = 'diners'; swapColor('orange'); break; case 'discover': ccicon.innerHTML = discover; //ccsingle.innerHTML = discover_single; cctype.value = 'discover'; swapColor('purple'); break; case ('jcb' || 'jcb15'): ccicon.innerHTML = jcb; //ccsingle.innerHTML = jcb_single; cctype.value = cardnumber_mask.masked.currentMask.cardtype; swapColor('red'); break; case 'maestro': ccicon.innerHTML = maestro; //ccsingle.innerHTML = maestro_single; cctype.value = 'maestro'; swapColor('yellow'); break; case 'mastercard': ccicon.innerHTML = mastercard; //ccsingle.innerHTML = mastercard_single; cctype.value = 'mastercard'; swapColor('lightblue'); break; case 'unionpay': ccicon.innerHTML = unionpay; //ccsingle.innerHTML = unionpay_single; cctype.value = 'unionpay'; swapColor('cyan'); break; default: ccicon.innerHTML = ''; //ccsingle.innerHTML = ''; cctype.value = ''; swapColor('grey'); break; } }); //Generate random card number from list of known test numbers const randomCard = function () { let testCards = [ '4000056655665556', '5200828282828210', '371449635398431', '6011000990139424', '30569309025904', '3566002020360505', '6200000000000005', '6759649826438453', ]; let randomNumber = Math.floor(Math.random() * testCards.length); cardnumber_mask.unmaskedValue = testCards[randomNumber]; } // CREDIT CARD IMAGE JS // document.querySelector('.preload').classList.remove('preload'); // document.querySelector('.creditcard').addEventListener('click', function () { // if (this.classList.contains('flipped')) { // this.classList.remove('flipped'); // } else { // this.classList.add('flipped'); // } // }) //On Input Change Events // name.addEventListener('input', function () { // if (name.value.length == 0) { // document.getElementById('svgname').innerHTML = 'John Doe'; // document.getElementById('svgnameback').innerHTML = 'John Doe'; // } else { // document.getElementById('svgname').innerHTML = this.value; // document.getElementById('svgnameback').innerHTML = this.value; // } // }); // cardnumber_mask.on('accept', function () { // if (cardnumber_mask.value.length == 0) { // document.getElementById('svgnumber').innerHTML = '0123 4567 8910 1112'; // } else { // document.getElementById('svgnumber').innerHTML = cardnumber_mask.value; // } // }); // expirationdate_mask.on('accept', function () { // if (expirationdate_mask.value.length == 0) { // document.getElementById('svgexpire').innerHTML = '01/23'; // } else { // document.getElementById('svgexpire').innerHTML = expirationdate_mask.value; // } // }); // securitycode_mask.on('accept', function () { // if (securitycode_mask.value.length == 0) { // document.getElementById('svgsecurity').innerHTML = '985'; // } else { // document.getElementById('svgsecurity').innerHTML = securitycode_mask.value; // } // }); // //On Focus Events // name.addEventListener('focus', function () { // document.querySelector('.creditcard').classList.remove('flipped'); // }); // cardnumber.addEventListener('focus', function () { // document.querySelector('.creditcard').classList.remove('flipped'); // }); // expirationdate.addEventListener('focus', function () { // document.querySelector('.creditcard').classList.remove('flipped'); // }); // securitycode.addEventListener('focus', function () { // document.querySelector('.creditcard').classList.add('flipped'); // }); };
0
/content/gmx-projects/gmx-admin/admin/resources/plugins/creditcard
/content/gmx-projects/gmx-admin/admin/resources/plugins/creditcard/card-img/AmericanExpress.svg
<svg class="ccicon" width="750" height="471" viewBox="0 0 750 471" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> <g id="amex" fill-rule="nonzero"> <rect id="Rectangle-1" fill="#2557D6" x="0" y="0" width="750" height="471" rx="40"></rect> <path d="M0.002688,221.18508 L36.026849,221.18508 L44.149579,201.67506 L62.334596,201.67506 L70.436042,221.18508 L141.31637,221.18508 L141.31637,206.26909 L147.64322,221.24866 L184.43894,221.24866 L190.76579,206.04654 L190.76579,221.18508 L366.91701,221.18508 L366.83451,189.15941 L370.2427,189.15941 C372.62924,189.24161 373.3263,189.46144 373.3263,193.38516 L373.3263,221.18508 L464.43232,221.18508 L464.43232,213.72973 C471.78082,217.6508 483.21064,221.18508 498.25086,221.18508 L536.57908,221.18508 L544.78163,201.67506 L562.96664,201.67506 L570.98828,221.18508 L644.84844,221.18508 L644.84844,202.65269 L656.0335,221.18508 L715.22061,221.18508 L715.22061,98.67789 L656.64543,98.67789 L656.64543,113.14614 L648.44288,98.67789 L588.33787,98.67789 L588.33787,113.14614 L580.80579,98.67789 L499.61839,98.67789 C486.02818,98.67789 474.08221,100.5669 464.43232,105.83121 L464.43232,98.67789 L408.40596,98.67789 L408.40596,105.83121 C402.26536,100.40529 393.89786,98.67789 384.59383,98.67789 L179.90796,98.67789 L166.17407,130.3194 L152.07037,98.67789 L87.59937,98.67789 L87.59937,113.14614 L80.516924,98.67789 L25.533518,98.67789 L-2.99999999e-06,156.92445 L-2.99999999e-06,221.18508 L0.002597,221.18508 L0.002688,221.18508 Z M227.39957,203.51436 L205.78472,203.51436 L205.70492,134.72064 L175.13228,203.51436 L156.62,203.51436 L125.96754,134.6597 L125.96754,203.51436 L83.084427,203.51436 L74.982981,183.92222 L31.083524,183.92222 L22.8996,203.51436 L4.7e-05,203.51436 L37.756241,115.67692 L69.08183,115.67692 L104.94103,198.84086 L104.94103,115.67692 L139.35289,115.67692 L166.94569,175.26406 L192.29297,115.67692 L227.39657,115.67692 L227.39657,203.51436 L227.39957,203.51436 Z M67.777214,165.69287 L53.346265,130.67606 L38.997794,165.69287 L67.777214,165.69287 Z M313.41947,203.51436 L242.98611,203.51436 L242.98611,115.67692 L313.41947,115.67692 L313.41947,133.96821 L264.07116,133.96821 L264.07116,149.8009 L312.23551,149.8009 L312.23551,167.80606 L264.07116,167.80606 L264.07116,185.34759 L313.41947,185.34759 L313.41947,203.51436 Z M412.67528,139.33321 C412.67528,153.33782 403.28877,160.57326 397.81863,162.74575 C402.43206,164.49434 406.37237,167.58351 408.24808,170.14281 C411.22525,174.51164 411.73875,178.41416 411.73875,186.25897 L411.73875,203.51436 L390.47278,203.51436 L390.39298,192.43732 C390.39298,187.1518 390.90115,179.55074 387.0646,175.32499 C383.98366,172.23581 379.28774,171.56552 371.69714,171.56552 L349.06363,171.56552 L349.06363,203.51436 L327.98125,203.51436 L327.98125,115.67692 L376.47552,115.67692 C387.25084,115.67692 395.18999,115.9604 402.00639,119.88413 C408.67644,123.80786 412.67529,129.53581 412.67529,139.33321 L412.67528,139.33321 Z M386.02277,152.37632 C383.1254,154.12756 379.69859,154.18584 375.59333,154.18584 L349.97998,154.18584 L349.97998,134.67583 L375.94186,134.67583 C379.61611,134.67583 383.44999,134.8401 385.94029,136.26016 C388.67536,137.53981 390.36749,140.26337 390.36749,144.02548 C390.36749,147.86443 388.75784,150.95361 386.02277,152.37632 Z M446.48908,203.51436 L424.97569,203.51436 L424.97569,115.67692 L446.48908,115.67692 L446.48908,203.51436 Z M696.22856,203.51436 L666.35032,203.51436 L626.38585,137.58727 L626.38585,203.51436 L583.44687,203.51436 L575.24166,183.92222 L531.44331,183.92222 L523.48287,203.51436 L498.81137,203.51436 C488.56284,203.51436 475.58722,201.25709 468.23872,193.79909 C460.82903,186.3411 456.97386,176.23903 456.97386,160.26593 C456.97386,147.23895 459.27791,135.33 468.33983,125.91941 C475.15621,118.90916 485.83044,115.67692 500.35982,115.67692 L520.77174,115.67692 L520.77174,134.49809 L500.78818,134.49809 C493.0938,134.49809 488.74909,135.63733 484.564,139.70147 C480.96957,143.4 478.50322,150.39171 478.50322,159.59829 C478.50322,169.00887 480.38158,175.79393 484.30061,180.22633 C487.5465,183.70232 493.445,184.75677 498.99495,184.75677 L508.46393,184.75677 L538.17987,115.67957 L569.77152,115.67957 L605.46843,198.76138 L605.46843,115.67957 L637.5709,115.67957 L674.6327,176.85368 L674.6327,115.67957 L696.22856,115.67957 L696.22856,203.51436 Z M568.07051,165.69287 L553.47993,130.67606 L538.96916,165.69287 L568.07051,165.69287 Z" id="Path" fill="#FFFFFF"></path> <path d="M749.95644,343.76716 C744.83485,351.22516 734.85504,355.00582 721.34464,355.00582 L680.62723,355.00582 L680.62723,336.1661 L721.17969,336.1661 C725.20248,336.1661 728.01736,335.63887 729.71215,333.99096 C731.18079,332.63183 732.2051,330.65804 732.2051,328.26036 C732.2051,325.70107 731.18079,323.66899 729.62967,322.45028 C728.09984,321.10969 725.87294,320.50033 722.20135,320.50033 C702.40402,319.83005 677.70592,321.10969 677.70592,293.30714 C677.70592,280.56363 685.83131,267.14983 707.95664,267.14983 L749.95379,267.14983 L749.95644,249.66925 L710.93382,249.66925 C699.15812,249.66925 690.60438,252.47759 684.54626,256.84375 L684.54626,249.66925 L626.83044,249.66925 C617.60091,249.66925 606.76706,251.94771 601.64279,256.84375 L601.64279,249.66925 L498.57751,249.66925 L498.57751,256.84375 C490.37496,250.95154 476.53466,249.66925 470.14663,249.66925 L402.16366,249.66925 L402.16366,256.84375 C395.67452,250.58593 381.24357,249.66925 372.44772,249.66925 L296.3633,249.66925 L278.95252,268.43213 L262.64586,249.66925 L148.99149,249.66925 L148.99149,372.26121 L260.50676,372.26121 L278.447,353.20159 L295.34697,372.26121 L364.08554,372.32211 L364.08554,343.48364 L370.84339,343.48364 C379.96384,343.62405 390.72054,343.25845 400.21079,339.17311 L400.21079,372.25852 L456.90762,372.25852 L456.90762,340.30704 L459.64268,340.30704 C463.13336,340.30704 463.47657,340.45011 463.47657,343.92344 L463.47657,372.25587 L635.71144,372.25587 C646.64639,372.25587 658.07621,369.46873 664.40571,364.41107 L664.40571,372.25587 L719.03792,372.25587 C730.40656,372.25587 741.50913,370.66889 749.95644,366.60475 L749.95644,343.76712 L749.95644,343.76716 Z M408.45301,296.61266 C408.45301,321.01872 390.16689,326.05784 371.7371,326.05784 L345.42935,326.05784 L345.42935,355.52685 L304.44855,355.52685 L278.48667,326.44199 L251.5058,355.52685 L167.9904,355.52685 L167.9904,267.66822 L252.79086,267.66822 L278.73144,296.46694 L305.55002,267.66822 L372.92106,267.66822 C389.6534,267.66822 408.45301,272.28078 408.45301,296.61266 Z M240.82781,337.04655 L188.9892,337.04655 L188.9892,319.56596 L235.27785,319.56596 L235.27785,301.64028 L188.9892,301.64028 L188.9892,285.66718 L241.84947,285.66718 L264.91132,311.27077 L240.82781,337.04655 Z M324.3545,347.10668 L291.9833,311.3189 L324.3545,276.6677 L324.3545,347.10668 Z M372.2272,308.04117 L344.98027,308.04117 L344.98027,285.66718 L372.47197,285.66718 C380.08388,285.66718 385.36777,288.75636 385.36777,296.43956 C385.36777,304.03796 380.32865,308.04117 372.2272,308.04117 Z M514.97053,267.66815 L585.34004,267.66815 L585.34004,285.83764 L535.96778,285.83764 L535.96778,301.81074 L584.1348,301.81074 L584.1348,319.73642 L535.96778,319.73642 L535.96778,337.21701 L585.34004,337.29641 L585.34004,355.52678 L514.97053,355.52678 L514.97053,267.66815 Z M487.91724,314.6973 C492.61049,316.42205 496.44703,319.51387 498.24559,322.07317 C501.22276,326.36251 501.65378,330.36571 501.73891,338.10985 L501.73891,355.52685 L480.5714,355.52685 L480.5714,344.53458 C480.5714,339.24908 481.08223,331.42282 477.1632,327.33748 C474.08226,324.19002 469.38635,323.4376 461.69463,323.4376 L439.16223,323.4376 L439.16223,355.52685 L417.97609,355.52685 L417.97609,267.66822 L466.65393,267.66822 C477.32816,267.66822 485.10236,268.13716 492.02251,271.81449 C498.6766,275.8177 502.86168,281.30191 502.86168,291.3245 C502.85868,305.34765 493.46719,312.50362 487.91724,314.6973 Z M475.99899,303.59022 C473.17879,305.25668 469.69077,305.39975 465.58817,305.39975 L439.97483,305.39975 L439.97483,285.66718 L465.9367,285.66718 C469.69077,285.66718 473.4475,285.74658 475.99899,287.25416 C478.7314,288.67687 480.36499,291.39779 480.36499,295.15725 C480.36499,298.91672 478.7314,301.94496 475.99899,303.59022 Z M666.33539,309.1866 C670.44067,313.41766 672.64095,318.7588 672.64095,327.80112 C672.64095,346.70178 660.78278,355.5242 639.51948,355.5242 L598.45353,355.5242 L598.45353,336.68449 L639.35453,336.68449 C643.35337,336.68449 646.18954,336.15726 647.9668,334.50934 C649.41681,333.15021 650.45709,331.17643 650.45709,328.77875 C650.45709,326.21944 649.33167,324.18738 647.88433,322.96866 C646.27201,321.62807 644.04778,321.01872 640.37619,321.01872 C620.65868,320.34843 595.9659,321.62807 595.9659,293.82551 C595.9659,281.08201 604.00615,267.66822 626.11019,267.66822 L668.37872,267.66822 L668.37872,286.36752 L629.70196,286.36752 C625.86809,286.36752 623.37512,286.51059 621.25464,287.9545 C618.94527,289.37721 618.08856,291.48876 618.08856,294.2759 C618.08856,297.59028 620.04941,299.8449 622.702,300.81987 C624.92624,301.59084 627.31543,301.81603 630.9072,301.81603 L642.25722,302.12071 C653.703,302.39889 661.55967,304.37003 666.33539,309.1866 Z M750,285.66718 L711.57335,285.66718 C707.7368,285.66718 705.18797,285.81025 703.04088,287.25416 C700.81665,288.67687 699.95995,290.78843 699.95995,293.57558 C699.95995,296.88994 701.83831,299.14456 704.57071,300.11953 C706.79495,300.8905 709.18415,301.1157 712.6961,301.1157 L724.12327,301.42038 C735.65419,301.70387 743.35123,303.67765 748.04448,308.49157 C748.89852,309.16186 749.41202,309.91428 750,310.6667 L750,285.66718 Z" id="path13" fill="#FFFFFF"></path> </g> </g></svg>
0
/content/gmx-projects/gmx-admin/admin/resources/plugins/creditcard
/content/gmx-projects/gmx-admin/admin/resources/plugins/creditcard/card-img/UnionPay.svg
<?xml version="1.0" encoding="UTF-8"?> <svg width="256px" height="160px" viewBox="0 0 256 160" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" preserveAspectRatio="xMidYMid"> <g> <path d="M50.041631,0.000667563305 L113.820211,0.000667563305 C122.723127,0.000667563305 128.260438,7.25731345 126.183558,16.1897657 L96.4900715,143.675416 C94.3945365,152.576777 85.480739,159.839641 76.571605,159.839641 L12.7992433,159.839641 C3.908764,159.839641 -1.64098444,152.576777 0.435896208,143.675416 L30.1418186,16.1897657 C32.2186993,7.25731345 41.1278333,0.000667563305 50.041631,0.000667563305" fill="#E21836"></path> <path d="M108.513283,0.000667563305 L181.857018,0.000667563305 C190.758378,0.000667563305 186.744527,7.25731345 184.650546,16.1897657 L154.961724,143.675416 C152.878625,152.576777 153.528427,159.839641 144.608411,159.839641 L71.2646775,159.839641 C62.3446615,159.839641 56.8244495,152.576777 58.919985,143.675416 L88.6072525,16.1897657 C90.715224,7.25731345 99.6057035,0.000667563305 108.513283,0.000667563305" fill="#00447C"></path> <path d="M178.94783,0.000667563305 L242.726409,0.000667563305 C251.641762,0.000667563305 257.179074,7.25731345 255.085093,16.1897657 L225.396271,143.675416 C223.300736,152.576777 214.380719,159.839641 205.466922,159.839641 L141.717879,159.839641 C132.797863,159.839641 127.265215,152.576777 129.354532,143.675416 L159.048017,16.1897657 C161.124899,7.25731345 170.027814,0.000667563305 178.94783,0.000667563305" fill="#007B84"></path> <path d="M66.698338,40.8561434 C60.139686,40.9229891 58.202715,40.8561434 57.5840035,40.7100156 C57.346157,41.8401744 52.920349,62.256098 52.9079125,62.273198 C51.9549725,66.403641 51.261643,69.347961 48.9064975,71.2491775 C47.5695833,72.3544635 46.0088137,72.8876745 44.1993159,72.8876745 C41.2907503,72.8876745 39.5962892,71.4434965 39.3118063,68.704377 L39.2573971,67.7638735 C39.2573971,67.7638735 40.1434913,62.231225 40.1434913,62.200134 C40.1434913,62.200134 44.7884909,43.5952629 45.6201759,41.1359627 C45.6637033,40.9960531 45.6761397,40.9229891 45.6870215,40.8561434 C36.6457507,40.9354255 35.0430082,40.8561434 34.9326351,40.7100156 C34.8720075,40.9105527 34.6481522,42.0640298 34.6481522,42.0640298 L29.9052159,63.0333735 L29.4979234,64.8117805 L28.7097659,70.6289115 C28.7097659,72.3544635 29.0486581,73.762887 29.7233334,74.9536735 C31.8841598,78.729679 38.0479561,79.2955355 41.5348148,79.2955355 C46.0274683,79.2955355 50.241857,78.341041 53.089795,76.598389 C58.0332685,73.677387 59.3266555,69.1116695 60.4801325,65.0542905 L61.014898,62.972746 C61.014898,62.972746 65.7998075,43.6496723 66.6128375,41.1359627 C66.643929,40.9960531 66.656365,40.9229891 66.698338,40.8561434 Z M82.9786885,56.444252 C81.825211,56.444252 79.7172395,56.724071 77.823796,57.6521385 C77.1366845,58.0050215 76.486882,58.412314 75.8013245,58.818052 L76.420036,56.5841615 L76.081144,56.20796 C72.0657375,57.0209905 71.167207,57.129809 67.4580475,57.6521385 L67.147137,57.8588935 C66.7165265,61.4296985 66.3341065,64.1144085 64.7375825,71.133208 C64.129753,73.7199815 63.498605,76.331628 62.8659025,78.912183 L63.036903,79.2401935 C66.8377815,79.0396565 67.9912585,79.0396565 71.29468,79.0940655 L71.562063,78.8033645 C71.981792,76.65342 72.036201,76.1497455 72.965823,71.795447 C73.402652,69.7310025 74.313619,65.1948215 74.7628845,63.579643 C75.588351,63.197223 76.402936,62.8210215 77.1802115,62.8210215 C79.0316825,62.8210215 78.8062725,64.4362005 78.734763,65.079785 C78.655481,66.160198 77.9808055,69.68903 77.2890305,72.7188505 L76.8273285,74.674476 C76.5055365,76.1186545 76.152653,77.522414 75.830861,78.954156 L75.9707705,79.2401935 C79.7172395,79.0396565 80.859835,79.0396565 84.0591015,79.0940655 L84.435303,78.8033645 C85.013596,75.4455335 85.183042,74.547003 86.209046,69.6579385 L86.725157,67.411612 C87.727843,63.0153405 88.2315175,60.786114 87.4728965,58.970398 C86.670748,56.93549 84.7462135,56.444252 82.9786885,56.444252 Z M101.165696,61.047123 C99.1743155,61.429543 97.904247,61.684489 96.6419515,61.8492715 C95.3905375,62.049809 94.1702145,62.2316915 92.24568,62.499074 L92.093334,62.637429 L91.9534245,62.7478025 C91.7528875,64.181099 91.6129775,65.420076 91.3471495,66.876691 C91.1217395,68.383051 90.7750745,70.094612 90.2107725,72.5539125 C89.7739435,74.436474 89.5485335,75.092495 89.299805,75.754734 C89.057295,76.4169725 88.7899125,77.060557 88.298674,78.9120275 L88.413711,79.0830285 L88.510093,79.240038 C90.308709,79.1545375 91.4855045,79.09391 92.6949455,79.0830285 C93.902832,79.039501 95.1542455,79.0830285 97.0912165,79.09391 L97.260663,78.955555 L97.4425455,78.803209 C97.7223645,77.133621 97.7643375,76.6843555 97.935338,75.8697705 C98.104784,74.9961125 98.39704,73.786672 99.113688,70.556314 C99.4525805,69.039072 99.8303365,67.5264935 100.181665,65.97816 C100.546985,64.436045 100.929404,62.9172485 101.293169,61.4000065 L101.23876,61.2165695 L101.165696,61.047123 Z M101.208135,54.841043 C99.3986375,53.7730665 96.222689,54.1119585 94.0851805,55.587228 C91.953891,57.0329605 91.711381,59.0849685 93.5146605,60.166936 C95.293067,61.2053765 98.481452,60.896021 100.600305,59.408315 C102.726932,57.9314915 102.99276,55.898138 101.208135,54.841043 Z M112.151399,79.574733 C115.812368,79.574733 119.565055,78.565829 122.389675,75.571763 C124.562938,73.143554 125.559405,69.5307765 125.904516,68.043071 C127.028457,63.112034 126.153244,60.809743 125.054176,59.407538 C123.384588,57.2700295 120.43405,56.5844725 117.373138,56.5844725 C115.532549,56.5844725 111.148714,56.766355 107.724038,59.923649 C105.264737,62.2010665 104.12836,65.291515 103.442803,68.2544895 C102.751028,71.2734285 101.955097,76.70814 106.95298,78.7306115 C108.495095,79.3928505 110.718104,79.574733 112.151399,79.574733 Z M111.865362,68.4798995 C112.709484,64.7458675 113.705951,61.6118915 116.249197,61.6118915 C118.242132,61.6118915 118.386705,63.943719 117.500611,67.6901875 C117.342047,68.5218725 116.614517,71.6138755 115.630486,72.9305805 C114.943374,73.902175 114.130344,74.49135 113.231813,74.49135 C112.96443,74.49135 111.374124,74.49135 111.349251,72.1299865 C111.336815,70.964073 111.574661,69.7732865 111.865362,68.4798995 Z M135.05616,79.094532 L135.342197,78.803831 C135.747935,76.6538865 135.814781,76.148657 136.713312,71.7959135 C137.162577,69.731469 138.092198,65.195288 138.529028,63.580109 C139.356049,63.196135 140.156643,62.8199335 140.958791,62.8199335 C142.797825,62.8199335 142.57397,64.4351125 142.500907,65.0786965 C142.43406,66.1606645 141.759386,69.6879415 141.055173,72.717762 L140.618345,74.673388 C140.284116,76.1191205 139.920351,77.521326 139.598559,78.9546225 L139.738469,79.24066 C143.497374,79.0401225 144.596441,79.0401225 147.814363,79.094532 L148.203001,78.803831 C148.767303,75.4444455 148.919649,74.5459145 149.976744,69.658405 L150.480419,67.410524 C151.487768,63.0142525 151.99766,60.7865805 151.251476,58.9708645 C150.426009,56.9359565 148.489038,56.4447185 146.746386,56.4447185 C145.591354,56.4447185 143.472501,56.722983 141.589939,57.652605 C140.916819,58.005488 140.242143,58.411226 139.579904,58.8185185 L140.156643,56.584628 L139.847287,56.206872 C135.833436,57.021457 134.91625,57.1302755 131.211754,57.652605 L130.927271,57.85936 C130.478006,61.4301645 130.112686,64.1133205 128.516162,71.1336745 C127.908333,73.720448 127.277185,76.332094 126.646037,78.9126495 L126.815483,79.24066 C130.622579,79.0401225 131.758957,79.0401225 135.05616,79.094532 Z M162.673542,79.2398825 C162.909834,78.0864055 164.313594,71.2494885 164.32603,71.2494885 C164.32603,71.2494885 165.52148,66.232951 165.594545,66.0510685 C165.594545,66.0510685 165.970746,65.5287395 166.346947,65.321984 L166.900367,65.321984 C172.122106,65.321984 178.018519,65.321984 182.6402,61.92218 C185.785058,59.590353 187.935002,56.1470215 188.89416,51.9621695 C189.142889,50.9361655 189.326326,49.7158426 189.326326,48.4955199 C189.326326,46.8927774 189.004534,45.3071349 188.074912,44.0681575 C185.718212,40.770954 181.025022,40.7103265 175.60741,40.6854536 C175.59031,40.6854536 172.93669,40.7103265 172.93669,40.7103265 C166.001837,40.7958268 163.220744,40.770954 162.078149,40.6310444 C161.981767,41.1362735 161.799884,42.0348043 161.799884,42.0348043 C161.799884,42.0348043 159.315711,53.547812 159.315711,53.5664665 C159.315711,53.5664665 153.371107,78.0444325 153.091287,79.1979095 C159.146265,79.124846 161.628884,79.124846 162.673542,79.2398825 Z M167.276569,58.7882045 C167.276569,58.7882045 169.917752,47.2985153 169.905316,47.3420427 L169.990815,46.7528678 L170.028125,46.3036024 L171.083665,46.4124209 C171.083665,46.4124209 176.530813,46.8803409 176.658287,46.8927774 C178.808231,47.7244624 179.694325,49.8681887 179.075614,52.666381 C178.511312,55.223618 176.852606,57.373563 174.721316,58.412003 C172.966227,59.291879 170.816282,59.364943 168.601047,59.364943 L167.167751,59.364943 L167.276569,58.7882045 Z M183.721236,68.692718 C183.023242,71.668129 182.221093,77.102841 187.194103,79.039812 C188.779745,79.714487 190.200605,79.915024 191.644784,79.8419605 C193.169799,79.759569 194.582886,78.99473 195.891818,77.8941075 C195.773673,78.346482 195.655527,78.7988565 195.537381,79.2527855 L195.76279,79.5434865 C199.339813,79.392695 200.449763,79.392695 204.325259,79.4222315 L204.676588,79.1548485 C205.242445,75.8281085 205.775656,72.597751 207.246262,66.2334175 C207.962909,63.184942 208.678003,60.1660035 209.413306,57.1299645 L209.29827,56.795736 C205.296854,57.537257 204.227323,57.6958215 200.378253,58.241469 L200.085998,58.479315 C200.047134,58.788671 200.006716,59.08559 199.969406,59.3825095 C199.370904,58.4155785 198.503465,57.590112 197.164996,57.0755555 C195.453434,56.4024345 191.433365,57.269874 187.977597,60.416286 C185.549388,62.662613 184.383475,65.7406245 183.721236,68.692718 Z M192.12514,68.8746005 C192.981698,65.2074135 193.965729,62.104529 196.515194,62.104529 C198.127263,62.104529 198.976048,63.5922345 198.803493,66.1292625 C198.666693,66.761965 198.51901,67.4288675 198.343345,68.182825 C198.0884,69.2725655 197.811689,70.3529785 197.542752,71.4349465 C197.26915,72.174913 196.950468,72.8729065 196.600694,73.3377175 C195.944673,74.267339 194.383904,74.8440775 193.485373,74.8440775 C193.230426,74.8440775 191.65722,74.8440775 191.602811,72.524687 C191.590374,71.3696555 191.828221,70.1804235 192.12514,68.8746005 Z M236.010903,56.766044 L235.701548,56.413161 C231.742105,57.2153095 231.025456,57.3427825 227.387807,57.834021 L227.120423,58.1014035 C227.107988,58.144931 227.097105,58.211777 227.078451,58.2724045 L227.066014,58.211777 C224.357986,64.459519 224.437268,63.111723 222.232914,68.0303235 C222.220477,67.806468 222.220477,67.6665585 222.208042,67.428712 L221.656175,56.766044 L221.30951,56.413161 C217.161968,57.2153095 217.064031,57.3427825 213.233616,57.834021 L212.935143,58.1014035 C212.893169,58.228877 212.893169,58.3687865 212.868297,58.5211325 L212.893169,58.575542 C213.371971,61.022406 213.256934,60.4767585 213.737291,64.338264 C213.961146,66.233262 214.25962,68.139142 214.483475,70.010822 C214.861232,73.143243 215.072651,74.685358 215.534352,79.4656035 C212.947578,83.7344015 212.335085,85.3495805 209.844694,89.0960495 L209.861794,89.1333585 L208.10826,91.906678 C207.907723,92.198934 207.725841,92.399471 207.470894,92.4849715 C207.191075,92.6233265 206.82731,92.648199 206.32208,92.648199 L205.350486,92.648199 L203.906308,97.451763 L208.860663,97.5372635 C211.769228,97.524827 213.597381,96.1645945 214.581412,94.336442 L217.696733,88.9981125 L217.646987,88.9981125 L217.974998,88.621911 C220.070533,84.110603 236.010903,56.766044 236.010903,56.766044 Z M183.72108,119.853625 L181.619326,119.853625 L189.398302,94.1242455 L191.978857,94.1242455 L192.798105,91.4737355 L192.877387,94.421165 C192.781005,96.243099 194.214302,97.858278 197.979425,97.5908955 L202.333723,97.5908955 L203.832311,92.63654 L202.193814,92.63654 C201.251756,92.63654 200.814927,92.3986935 200.869337,91.888801 L200.790054,88.890071 L192.726596,88.890071 L192.726596,88.9056165 C190.119614,88.960026 182.33442,89.1558995 180.758105,89.5756285 C178.850671,90.0668665 176.840635,91.5125995 176.840635,91.5125995 L177.630347,88.85898 L170.087664,88.85898 L168.516013,94.1242455 L160.632883,120.246927 L159.103204,120.246927 L157.603062,125.165528 L172.626247,125.165528 L172.122572,126.805579 L179.525345,126.805579 L180.016584,125.165528 L182.093465,125.165528 L183.72108,119.853625 Z M177.557284,99.352202 C176.349398,99.6864305 174.101516,100.699998 174.101516,100.699998 L176.100669,94.1242455 L182.093465,94.1242455 L180.647732,98.915373 C180.647732,98.915373 178.796261,99.0241915 177.557284,99.352202 Z M177.672321,108.746356 C177.672321,108.746356 175.789759,108.982648 174.550781,109.262467 C173.330458,109.632451 171.042159,110.798364 171.042159,110.798364 L173.106603,103.955229 L179.13049,103.955229 L177.672321,108.746356 Z M174.31449,119.914253 L168.30304,119.914253 L170.045692,114.139095 L176.038487,114.139095 L174.31449,119.914253 Z M188.791404,103.955229 L197.456474,103.955229 L196.211278,107.987735 L187.431173,107.987735 L186.112912,112.396443 L193.795505,112.396443 L187.978375,120.587374 C187.571082,121.188986 187.205762,121.401959 186.800025,121.571405 C186.392732,121.77816 185.857967,122.02067 185.239255,122.02067 L183.107965,122.02067 L181.643577,126.849107 L187.218198,126.849107 C190.115882,126.849107 191.827443,125.530847 193.091294,123.800631 L197.080273,118.341047 L197.936831,123.884578 C198.118713,124.923017 198.864898,125.530847 199.370127,125.767139 C199.928211,126.046958 200.50495,126.527315 201.319535,126.598824 C202.193192,126.636133 202.82434,126.66567 203.244069,126.66567 L205.983189,126.66567 L207.627904,121.262049 L206.547491,121.262049 C205.927224,121.262049 204.859248,121.157894 204.677366,120.963575 C204.495483,120.727283 204.495483,120.363518 204.397546,119.810098 L203.528552,114.254131 L199.970183,114.254131 L201.530954,112.396443 L210.293959,112.396443 L211.641755,107.987735 L203.528552,107.987735 L204.792402,103.955229 L212.880733,103.955229 L214.380875,98.982219 L190.266674,98.982219 L188.791404,103.955229 Z M115.605924,121.037106 L117.628395,114.309008 L125.940582,114.309008 L127.459378,109.304907 L119.139419,109.304907 L120.409488,105.163582 L128.539791,105.163582 L130.046152,100.318045 L109.703292,100.318045 L108.228023,105.163582 L112.849704,105.163582 L111.616945,109.304907 L106.982827,109.304907 L105.446931,114.394508 L110.067057,114.394508 L107.371465,123.295869 C107.0077,124.474219 107.542466,124.923484 107.881358,125.470686 C108.228023,126.003897 108.579352,126.35678 109.369064,126.557317 C110.183649,126.7392 110.741733,126.848018 111.500354,126.848018 L120.87119,126.848018 L122.540778,121.304488 L118.387016,121.875009 C117.584868,121.875009 115.363414,121.778627 115.605924,121.037106 Z M116.55933,88.8286665 L114.452913,92.635763 C114.002093,93.4674475 113.596355,93.983559 113.231036,94.221405 C112.909244,94.4219425 112.271878,94.505888 111.348474,94.505888 L110.249406,94.505888 L108.780355,99.3762975 L112.430442,99.3762975 C114.18553,99.3762975 115.533326,98.7327135 116.176911,98.410921 C116.868686,98.040938 117.050568,98.252357 117.585334,97.736246 L118.818094,96.668269 L130.216064,96.668269 L131.728643,91.5973225 L123.385365,91.5973225 L124.84198,88.8286665 L116.55933,88.8286665 Z M133.386416,121.134887 C133.192097,120.855067 133.332007,120.362275 133.628926,119.336271 L136.744247,109.024932 L147.826644,109.024932 C149.441823,109.001614 150.607736,108.982959 151.366357,108.92855 C152.180942,108.843049 153.067037,108.552348 154.032413,108.030019 C155.028881,107.482817 155.538773,106.906078 155.969384,106.243839 C156.44974,105.583155 157.220798,104.137422 157.883037,101.908196 L161.798952,88.859291 L150.298381,88.926137 C150.298381,88.926137 146.757113,89.448466 145.197898,90.0252045 C143.624692,90.668789 141.37681,92.4658505 141.37681,92.4658505 L142.415251,88.8888275 L135.31095,88.8888275 L125.364931,121.874854 C125.012048,123.155803 124.775756,124.085425 124.721347,124.643509 C124.702692,125.245121 125.479968,125.840514 125.983643,126.289779 C126.579036,126.739045 127.458911,126.665981 128.303033,126.739045 C129.190682,126.805891 130.452978,126.847863 132.195629,126.847863 L137.655214,126.847863 L139.33102,121.189296 L134.443511,121.650998 C133.921182,121.650998 133.543426,121.371178 133.386416,121.134887 Z M138.754282,102.060541 L150.394763,102.060541 L149.654797,104.379932 C149.550642,104.434341 149.301913,104.264895 148.117345,104.404805 L138.037634,104.404805 L138.754282,102.060541 Z M141.086109,94.2815665 L152.824526,94.2815665 L151.980405,97.075095 C151.980405,97.075095 146.447757,97.020686 145.561663,97.1839135 C141.662847,97.858589 139.38543,99.941688 139.38543,99.941688 L141.086109,94.2815665 Z M149.915339,112.146937 C149.818957,112.493602 149.666611,112.705021 149.453638,112.863585 C149.217345,113.015931 148.834926,113.07034 148.264406,113.07034 L146.605699,113.07034 L146.703636,110.245721 L139.804537,110.245721 L139.524718,124.054801 C139.513836,125.051268 139.610218,125.628007 140.339303,126.089709 C141.068387,126.666447 143.314714,126.739511 146.338316,126.739511 L150.661524,126.739511 L152.222294,121.570628 L148.458724,121.777383 L147.207311,121.850447 C147.03631,121.777383 146.873082,121.710537 146.6912,121.528655 C146.532635,121.371645 146.265253,121.468028 146.30878,120.47156 L146.338316,116.931847 L150.285323,116.768619 C152.416613,116.768619 153.32758,116.075288 154.104855,115.414604 C154.846376,114.781902 155.088886,114.054372 155.368706,113.07034 L156.030945,109.936365 L150.607114,109.936365 L149.915339,112.146937 Z" fill="#FEFEFE"></path> </g> </svg>
0
/content/gmx-projects/gmx-admin/admin/resources/plugins/creditcard
/content/gmx-projects/gmx-admin/admin/resources/plugins/creditcard/card-img/MasterCard.svg
<svg id="ccicon" class="ccicon" width="750" height="471" viewBox="0 0 750 471" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> <g id="mastercard" fill-rule="nonzero"> <rect id="Rectangle-1" fill="#000000" x="0" y="0" width="750" height="471" rx="40"></rect> <g id="Group" transform="translate(133.000000, 48.000000)"> <path d="M88.13,373.67 L88.13,348.82 C88.13,339.29 82.33,333.08 72.81,333.08 C67.81,333.08 62.46,334.74 58.73,340.08 C55.83,335.52 51.73,333.08 45.48,333.08 C40.7599149,332.876008 36.2525337,335.054575 33.48,338.88 L33.48,333.88 L25.61,333.88 L25.61,373.64 L33.48,373.64 L33.48,350.89 C33.48,343.89 37.62,340.54 43.42,340.54 C49.22,340.54 52.53,344.27 52.53,350.89 L52.53,373.67 L60.4,373.67 L60.4,350.89 C60.4,343.89 64.54,340.54 70.34,340.54 C76.14,340.54 79.45,344.27 79.45,350.89 L79.45,373.67 L88.13,373.67 Z M217.35,334.32 L202.85,334.32 L202.85,322.32 L195,322.32 L195,334.32 L186.72,334.32 L186.72,341.32 L195,341.32 L195,360 C195,369.11 198.31,374.5 208.25,374.5 C212.015784,374.421483 215.705651,373.426077 219,371.6 L216.51,364.6 C214.275685,365.996557 211.684475,366.715565 209.05,366.67 C204.91,366.67 202.84,364.18 202.84,360.04 L202.84,341 L217.34,341 L217.34,334.37 L217.35,334.32 Z M291.07,333.08 C286.709355,332.982846 282.618836,335.185726 280.3,338.88 L280.3,333.88 L272.43,333.88 L272.43,373.64 L280.3,373.64 L280.3,351.31 C280.3,344.68 283.61,340.54 289,340.54 C290.818809,340.613783 292.62352,340.892205 294.38,341.37 L296.87,333.91 C294.971013,333.43126 293.02704,333.153071 291.07,333.08 Z M179.66,337.22 C175.52,334.32 169.72,333.08 163.51,333.08 C153.57,333.08 147.36,337.64 147.36,345.51 C147.36,352.14 151.92,355.86 160.61,357.11 L164.75,357.52 C169.31,358.35 172.21,360.01 172.21,362.08 C172.21,364.98 168.9,367.08 162.68,367.08 C157.930627,367.177716 153.278889,365.724267 149.43,362.94 L145.29,369.15 C151.09,373.29 158.13,374.15 162.29,374.15 C173.89,374.15 180.1,368.77 180.1,361.31 C180.1,354.31 175.1,350.96 166.43,349.71 L162.29,349.3 C158.56,348.89 155.29,347.64 155.29,345.16 C155.29,342.26 158.6,340.16 163.16,340.16 C168.16,340.16 173.1,342.23 175.59,343.47 L179.66,337.22 Z M299.77,353.79 C299.77,365.79 307.64,374.5 320.48,374.5 C326.28,374.5 330.42,373.26 334.56,369.94 L330.42,363.73 C327.488758,366.10388 323.841703,367.41823 320.07,367.46 C313.07,367.46 307.64,362.08 307.64,354.21 C307.64,346.34 313,341 320.07,341 C323.841703,341.04177 327.488758,342.35612 330.42,344.73 L334.56,338.52 C330.42,335.21 326.28,333.96 320.48,333.96 C308.05,333.13 299.77,341.83 299.77,353.84 L299.77,353.79 Z M244.27,333.08 C232.67,333.08 224.8,341.36 224.8,353.79 C224.8,366.22 233.08,374.5 245.09,374.5 C250.932775,374.623408 256.638486,372.722682 261.24,369.12 L257.1,363.32 C253.772132,365.898743 249.708598,367.349004 245.5,367.46 C240.12,367.46 234.32,364.15 233.5,357.11 L262.91,357.11 L262.91,353.8 C262.91,341.37 255.45,333.09 244.27,333.09 L244.27,333.08 Z M243.86,340.54 C249.66,340.54 253.8,344.27 254.21,350.48 L232.68,350.48 C233.92,344.68 237.68,340.54 243.86,340.54 Z M136.59,353.79 L136.59,333.91 L128.72,333.91 L128.72,338.91 C125.82,335.18 121.72,333.11 115.88,333.11 C104.7,333.11 96.41,341.81 96.41,353.82 C96.41,365.83 104.69,374.53 115.88,374.53 C121.68,374.53 125.82,372.46 128.72,368.73 L128.72,373.73 L136.59,373.73 L136.59,353.79 Z M104.7,353.79 C104.7,346.33 109.26,340.54 117.13,340.54 C124.59,340.54 129.13,346.34 129.13,353.79 C129.13,361.66 124.13,367.04 117.13,367.04 C109.26,367.45 104.7,361.24 104.7,353.79 Z M410.78,333.08 C406.419355,332.982846 402.328836,335.185726 400.01,338.88 L400.01,333.88 L392.14,333.88 L392.14,373.64 L400,373.64 L400,351.31 C400,344.68 403.31,340.54 408.7,340.54 C410.518809,340.613783 412.32352,340.892205 414.08,341.37 L416.57,333.91 C414.671013,333.43126 412.72704,333.153071 410.77,333.08 L410.78,333.08 Z M380.13,353.79 L380.13,333.91 L372.26,333.91 L372.26,338.91 C369.36,335.18 365.26,333.11 359.42,333.11 C348.24,333.11 339.95,341.81 339.95,353.82 C339.95,365.83 348.23,374.53 359.42,374.53 C365.22,374.53 369.36,372.46 372.26,368.73 L372.26,373.73 L380.13,373.73 L380.13,353.79 Z M348.24,353.79 C348.24,346.33 352.8,340.54 360.67,340.54 C368.13,340.54 372.67,346.34 372.67,353.79 C372.67,361.66 367.67,367.04 360.67,367.04 C352.8,367.45 348.24,361.24 348.24,353.79 Z M460.07,353.79 L460.07,318.17 L452.2,318.17 L452.2,338.88 C449.3,335.15 445.2,333.08 439.36,333.08 C428.18,333.08 419.89,341.78 419.89,353.79 C419.89,365.8 428.17,374.5 439.36,374.5 C445.16,374.5 449.3,372.43 452.2,368.7 L452.2,373.7 L460.07,373.7 L460.07,353.79 Z M428.18,353.79 C428.18,346.33 432.74,340.54 440.61,340.54 C448.07,340.54 452.61,346.34 452.61,353.79 C452.61,361.66 447.61,367.04 440.61,367.04 C432.73,367.46 428.17,361.25 428.17,353.79 L428.18,353.79 Z" id="Shape" fill="#FFFFFF"></path> <g> <rect id="Rectangle-path" fill="#FF5F00" x="170.55" y="32.39" width="143.72" height="234.42"></rect> <path d="M185.05,149.6 C185.05997,103.912554 205.96046,60.7376085 241.79,32.39 C180.662018,-15.6713968 92.8620037,-8.68523415 40.103462,48.4380037 C-12.6550796,105.561241 -12.6550796,193.638759 40.103462,250.761996 C92.8620037,307.885234 180.662018,314.871397 241.79,266.81 C205.96046,238.462391 185.05997,195.287446 185.05,149.6 Z" id="Shape" fill="#EB001B"></path> <path d="M483.26,149.6 C483.30134,206.646679 450.756789,258.706022 399.455617,283.656273 C348.154445,308.606523 287.109181,302.064451 242.26,266.81 C278.098424,238.46936 299.001593,195.290092 299.001593,149.6 C299.001593,103.909908 278.098424,60.7306402 242.26,32.39 C287.109181,-2.86445052 348.154445,-9.40652324 399.455617,15.5437274 C450.756789,40.493978 483.30134,92.5533211 483.26,149.6 Z" id="Shape" fill="#F79E1B"></path> </g> </g> </g> </g></svg>
0
/content/gmx-projects/gmx-admin/admin/resources/plugins/creditcard
/content/gmx-projects/gmx-admin/admin/resources/plugins/creditcard/card-img/Unknown.svg
<svg aria-hidden="true" focusable="false" data-prefix="far" data-icon="credit-card" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512" class="svg-inline--fa fa-credit-card fa-w-18 fa-7x"><path fill="currentColor" d="M527.9 32H48.1C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48.1 48h479.8c26.6 0 48.1-21.5 48.1-48V80c0-26.5-21.5-48-48.1-48zM54.1 80h467.8c3.3 0 6 2.7 6 6v42H48.1V86c0-3.3 2.7-6 6-6zm467.8 352H54.1c-3.3 0-6-2.7-6-6V256h479.8v170c0 3.3-2.7 6-6 6zM192 332v40c0 6.6-5.4 12-12 12h-72c-6.6 0-12-5.4-12-12v-40c0-6.6 5.4-12 12-12h72c6.6 0 12 5.4 12 12zm192 0v40c0 6.6-5.4 12-12 12H236c-6.6 0-12-5.4-12-12v-40c0-6.6 5.4-12 12-12h136c6.6 0 12 5.4 12 12z" class=""></path></svg>
0
/content/gmx-projects/gmx-admin/admin/resources/plugins/creditcard
/content/gmx-projects/gmx-admin/admin/resources/plugins/creditcard/card-img/Discover.svg
<svg id="ccicon" class="ccicon" width="750" height="471" viewBox="0 0 750 471" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> <g id="discover" fill-rule="nonzero"> <path d="M52.8771038,0 C23.6793894,0 -4.55476115e-15,23.1545612 0,51.7102589 L0,419.289737 C0,447.850829 23.671801,471 52.8771038,471 L697.122894,471 C726.320615,471 750,447.845433 750,419.289737 L750,252.475404 L750,51.7102589 C750,23.1491677 726.328202,-4.4533018e-15 697.122894,0 L52.8771038,0 Z" id="Shape" fill="#4D4D4D"></path> <path d="M314.569558,152.198414 C323.06625,152.198414 330.192577,153.9309 338.865308,158.110254 L338.865308,180.197198 C330.650269,172.563549 323.523875,169.368926 314.100058,169.368926 C295.577115,169.368926 281.009615,183.944539 281.009615,202.424438 C281.009615,221.911997 295.126279,235.620254 315.018404,235.620254 C323.972798,235.620254 330.967135,232.591128 338.865308,225.080186 L338.865308,247.178497 C329.883538,251.197965 322.604577,252.785079 314.100058,252.785079 C284.025202,252.785079 260.655798,230.849701 260.655798,202.560947 C260.655798,174.577103 284.647269,152.198414 314.569558,152.198414 Z M221.191404,152.807038 C232.293048,152.807038 242.451462,156.418802 250.944635,163.479831 L240.609981,176.340655 C235.465019,170.859895 230.599394,168.547945 224.682615,168.547945 C216.169885,168.547936 209.970327,173.154235 209.970327,179.215049 C209.970327,184.413218 213.450798,187.164422 225.302356,191.332621 C247.768529,199.141028 254.426462,206.064868 254.426462,221.354473 C254.426462,239.986821 240.026981,252.955721 219.503077,252.955721 C204.47426,252.955721 193.548154,247.330452 184.44824,234.636213 L197.205529,222.956624 C201.754702,231.315341 209.342452,235.792799 218.763144,235.792799 C227.573971,235.792799 234.097058,230.014421 234.097058,222.217168 C234.097058,218.175392 232.121269,214.709536 228.175702,212.259183 C226.189231,211.099073 222.254519,209.369382 214.522615,206.777734 C195.973058,200.43062 189.609,193.646221 189.609,180.386799 C189.609,164.636126 203.275981,152.807038 221.191404,152.807038 Z M446.886269,154.485036 L468.460788,154.485036 L495.464615,219.130417 L522.815885,154.485036 L544.22701,154.485036 L500.482644,253.198414 L489.855019,253.198414 L446.886269,154.485036 Z M64.8212135,154.632923 L93.811974,154.632923 C125.842394,154.632923 148.170827,174.418596 148.170827,202.822609 C148.170827,216.985567 141.340038,230.679389 129.788913,239.766893 C120.068962,247.437722 108.994192,250.877669 93.6598558,250.877669 L64.8212135,250.877669 L64.8212135,154.632923 Z M157.25849,154.632923 L177.009462,154.632923 L177.009462,250.877669 L157.25849,250.877669 L157.25849,154.632923 Z M553.156923,154.632923 L609.168423,154.632923 L609.168423,170.940741 L572.892875,170.940741 L572.892875,192.303392 L607.831279,192.303392 L607.831279,208.603619 L572.892875,208.603619 L572.892875,234.583122 L609.168423,234.583122 L609.168423,250.877669 L553.156923,250.877669 L553.156923,154.632923 Z M622.250596,154.632923 L651.534327,154.632923 C674.313452,154.632923 687.366663,165.030007 687.366663,183.048838 C687.366663,197.784414 679.179923,207.454847 664.302885,210.332805 L696.176385,250.877669 L671.888144,250.877669 L644.551904,212.213673 L641.977163,212.213673 L641.977163,250.877669 L622.250596,250.877669 L622.250596,154.632923 Z M641.977163,169.791736 L641.977163,198.939525 L647.748269,198.939525 C660.360308,198.939525 667.044769,193.734406 667.044769,184.05942 C667.044769,174.693052 660.359106,169.791736 648.060019,169.791736 L641.977163,169.791736 Z M84.5571663,170.940741 L84.5571663,234.583122 L89.8568962,234.583122 C102.619538,234.583122 110.679663,232.259105 116.885144,226.934514 C123.71575,221.152572 127.824519,211.920423 127.824519,202.684197 C127.824519,193.462833 123.71575,184.505917 116.885144,178.723975 C110.361615,173.113074 102.619538,170.940741 89.8568962,170.940741 L84.5571663,170.940741 Z" id="Shape" fill="#FFFFFF"></path> <path d="M399.164288,151.559424 C428.914452,151.559424 453.031096,173.727429 453.031096,201.112187 L453.031096,201.143399 C453.031096,228.528147 428.914452,250.727374 399.164288,250.727374 C369.414125,250.727374 345.297481,228.528147 345.297481,201.143399 L345.297481,201.112187 C345.297481,173.727429 369.414125,151.559424 399.164288,151.559424 Z M749.982612,271.093939 C724.934651,288.327133 537.408564,411.490963 212.719237,470.985071 L697.105507,470.985071 C726.303228,470.985071 749.982612,447.830504 749.982612,419.274807 L749.982612,271.093939 Z" id="Shape" fill="#F47216"></path> </g> </g></svg>
0
/content/gmx-projects/gmx-admin/admin/resources/plugins/creditcard
/content/gmx-projects/gmx-admin/admin/resources/plugins/creditcard/card-img/dankort.svg
<?xml version="1.0" ?><!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.1//EN' 'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'><svg height="100%" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:1.41421;" version="1.1" viewBox="0 0 2288 1500" width="100%" xml:space="preserve" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><g transform="matrix(4.16667,0,0,4.16667,0,0)"><path d="M368.5,38.742C332.132,38.742 215.895,38.742 179.527,38.742C101.239,38.742 37.782,102.199 37.782,180.468C37.782,258.764 101.239,322.206 179.527,322.206C215.895,322.206 332.132,322.206 368.5,322.206C446.768,322.206 510.225,258.764 510.225,180.468C510.225,102.199 446.768,38.742 368.5,38.742Z" style="fill:white;fill-rule:nonzero;"/><path d="M401.533,171.9L464.372,246.633C477.386,227.825 485.03,205.025 485.03,180.468C485.03,154.549 476.514,130.578 462.145,111.203L401.533,171.9Z" style="fill:rgb(222,0,0);"/><path d="M223.466,104.895C270.394,104.895 305.751,116.835 309.391,156.373L358.779,104.888L457.12,104.888C435.726,79.85 403.935,63.944 368.5,63.944L179.527,63.944C144.078,63.944 112.281,79.85 90.887,104.895C122.19,104.895 194.892,104.895 223.466,104.895Z" style="fill:rgb(222,0,0);"/><path d="M146.148,154.738L129.39,200.813C129.39,200.813 179,200.813 197.001,200.813C216.988,200.813 223.037,192.538 227.509,176.607C231.937,160.852 220.816,154.738 207.158,154.738C195.692,154.738 146.148,154.738 146.148,154.738Z" style="fill:rgb(222,0,0);"/><path d="M359.189,252.923L306.956,186.913C297.294,231.92 265.68,252.916 206.415,252.916C161.93,252.916 109.937,252.916 88.302,252.916C109.67,279.765 142.62,297.011 179.527,297.011L368.5,297.011C405.394,297.011 438.336,279.772 459.704,252.923L359.189,252.923Z" style="fill:rgb(222,0,0);"/></g></svg>
0
/content/gmx-projects/gmx-admin/admin/resources/plugins/creditcard
/content/gmx-projects/gmx-admin/admin/resources/plugins/creditcard/card-img/JCB.svg
<svg id="ccicon" class="ccicon" width="750" height="471" viewBox="0 0 750 471" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><defs> <linearGradient x1="0.031607858%" y1="49.9998574%" x2="99.9743153%" y2="49.9998574%" id="linearGradient-1"> <stop stop-color="#007B40" offset="0%"></stop> <stop stop-color="#55B330" offset="100%"></stop> </linearGradient> <linearGradient x1="0.471693172%" y1="49.999826%" x2="99.9860086%" y2="49.999826%" id="linearGradient-2"> <stop stop-color="#1D2970" offset="0%"></stop> <stop stop-color="#006DBA" offset="100%"></stop> </linearGradient> <linearGradient x1="0.113880772%" y1="50.0008964%" x2="99.9860003%" y2="50.0008964%" id="linearGradient-3"> <stop stop-color="#6E2B2F" offset="0%"></stop> <stop stop-color="#E30138" offset="100%"></stop> </linearGradient> </defs> <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> <g id="jcb" fill-rule="nonzero"> <rect id="Rectangle-1" fill="#0E4C96" x="0" y="0" width="750" height="471" rx="40"></rect> <path d="M617.243183,346.766281 C617.243183,388.380887 583.514892,422.125974 541.88349,422.125974 L132.756823,422.125974 L132.756823,124.244916 C132.756823,82.6186826 166.489851,48.8744567 208.121683,48.8744567 L617.243183,48.874026 L617.242752,346.766281 L617.243183,346.766281 Z" id="path3494" fill="#FFFFFF"></path> <path d="M483.858874,242.044797 C495.542699,242.298285 507.296188,241.528806 518.936004,242.444883 C530.723244,244.645678 533.563915,262.487874 523.09234,268.332511 C515.950746,272.182115 507.459496,269.764696 499.713328,270.446208 L483.858874,270.446208 L483.858874,242.044797 Z M525.691826,209.900487 C528.288491,219.064679 519.453903,227.292118 510.625917,226.030566 L483.858874,226.030566 C484.043758,217.388441 483.491345,208.008973 484.131053,199.821663 C494.854942,200.123386 505.679576,199.205849 516.340394,200.301853 C520.921799,201.451558 524.753935,205.217712 525.691826,209.900487 Z M590.120412,73.9972254 C590.617872,91.498454 590.191471,109.92365 590.33359,127.780192 C590.299137,200.376358 590.405942,272.974174 590.278896,345.569303 C589.81042,372.776592 565.696524,396.413678 538.678749,396.956694 C511.63292,397.068451 484.584297,396.972628 457.537396,397.004497 L457.537396,287.253291 C487.007,287.099803 516.49604,287.561 545.953521,287.021594 C559.62072,286.162769 574.586027,277.145695 575.22328,262.107374 C576.833661,247.005483 562.592128,236.557185 549.071096,234.905684 C543.872773,234.770542 544.027132,233.390846 549.071096,232.788972 C561.96307,230.002483 572.090675,216.655787 568.296786,203.290229 C565.06052,189.232374 549.523839,183.79142 536.600366,183.817768 C510.248548,183.638612 483.891299,183.792359 457.537396,183.74111 C457.708585,163.252408 457.182916,142.740653 457.82271,122.267364 C459.910361,95.5513766 484.628603,73.5195319 511.269759,73.997656 C537.553166,73.9973692 563.837737,73.9982301 590.120412,73.9972254 Z" id="path3496" fill="url(#linearGradient-1)"></path> <path d="M159.740429,125.040498 C160.413689,97.8766592 184.628619,74.4290299 211.614797,74.0325398 C238.559493,73.9499686 265.506204,74.0209119 292.451671,73.9972254 C292.37764,164.882488 292.599905,255.773672 292.340301,346.655222 C291.302298,373.488802 267.350548,396.488661 240.661356,396.962292 C213.665015,397.060957 186.666275,396.976074 159.669012,397.004497 L159.669012,283.550875 C185.891623,289.745491 213.391138,292.382518 240.142406,288.272242 C256.134509,285.697368 273.629935,277.848026 279.044261,261.257567 C283.030122,247.066267 280.785723,232.131602 281.378027,217.566465 L281.378027,183.741541 L235.081246,183.741541 C234.873106,206.112145 235.507258,228.522447 234.746146,250.867107 C233.49785,264.601214 219.900147,273.326996 206.946428,272.861801 C190.879747,273.030535 159.04755,261.221796 159.04755,261.221796 C158.967492,219.3048 159.514314,166.814385 159.740429,125.040498 Z" id="path3498" fill="url(#linearGradient-2)"></path> <path d="M309.719995,197.390136 C307.285788,197.90738 309.229141,189.089459 308.606298,185.743964 C308.772233,164.593637 308.260045,143.420951 308.889718,122.285827 C310.972541,95.4570827 335.881262,73.3701105 362.628748,73.997656 L441.39456,73.997656 C441.320658,164.882346 441.542493,255.77294 441.283406,346.653934 C440.244412,373.488027 416.291344,396.487102 389.602087,396.962292 C362.604605,397.061991 335.604707,396.976504 308.606298,397.004928 L308.606298,272.707624 C327.04641,287.835846 352.105738,290.192248 375.077953,290.233484 C392.39501,290.227455 409.611861,287.557865 426.428143,283.562934 L426.428143,260.790297 C407.474658,270.236609 385.194808,276.235815 364.184745,270.807966 C349.529051,267.157367 338.89089,252.996683 339.128513,237.872204 C337.43001,222.143684 346.652631,205.536885 362.110237,200.860855 C381.300923,194.852545 402.217787,199.448454 420.206344,207.258795 C424.060526,209.27695 427.97066,211.780342 426.428143,205.338044 L426.428143,187.438358 C396.343581,180.280951 364.326644,177.646405 334.099438,185.433619 C325.351193,187.901774 316.82819,191.644647 309.719995,197.390136 Z" id="path3500" fill="url(#linearGradient-3)"></path> </g> </g></svg>
0
/content/gmx-projects/gmx-admin/admin/resources/plugins/creditcard
/content/gmx-projects/gmx-admin/admin/resources/plugins/creditcard/card-img/AustralianBankCard.svg
<svg id="ccicon" class="ccicon" width="750" height="471" viewBox="0 0 750 471" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> <g id="maestro" fill-rule="nonzero"> <rect id="Rectangle-1" fill="#000000" x="0" y="0" width="750" height="471" rx="40"></rect> <g id="Group" transform="translate(133.000000, 48.000000)"> <path d="M146.8,373.77 L146.8,349 C146.8,339.65 140.8,333.36 131.25,333.28 C126.25,333.2 120.99,334.77 117.35,340.28 C114.62,335.9 110.35,333.28 104.28,333.28 C99.6528149,333.047729 95.2479974,335.280568 92.7,339.15 L92.7,334.27 L84.09,334.27 L84.09,373.82 L92.78,373.82 L92.78,351.85 C92.78,344.98 96.59,341.34 102.46,341.34 C108.17,341.34 111.07,345.06 111.07,351.76 L111.07,373.76 L119.76,373.76 L119.76,351.85 C119.76,344.98 123.76,341.34 129.44,341.34 C135.31,341.34 138.13,345.06 138.13,351.76 L138.13,373.76 L146.8,373.77 Z M195.28,354 L195.28,334.23 L186.67,334.23 L186.67,339 C183.94,335.44 179.8,333.21 174.18,333.21 C163.09,333.21 154.41,341.9 154.41,353.98 C154.41,366.06 163.1,374.75 174.18,374.75 C179.81,374.75 183.94,372.52 186.67,368.96 L186.67,373.76 L195.28,373.76 L195.28,354 Z M163.28,354 C163.28,347.05 167.83,341.34 175.28,341.34 C182.4,341.34 187.19,346.8 187.19,354 C187.19,361.2 182.39,366.66 175.28,366.66 C167.81,366.66 163.26,360.95 163.26,354 L163.28,354 Z M379.4,333.19 C382.306602,333.161358 385.190743,333.701498 387.89,334.78 C390.404719,335.784654 392.697997,337.272736 394.64,339.16 C396.553063,341.035758 398.069744,343.276773 399.1,345.75 C401.246003,351.047587 401.246003,356.972413 399.1,362.27 C398.069744,364.743227 396.553063,366.984242 394.64,368.86 C392.698322,370.747671 390.404958,372.235809 387.89,373.24 C382.423165,375.368264 376.356835,375.368264 370.89,373.24 C368.379501,372.23863 366.092168,370.749994 364.16,368.86 C362.258485,366.978798 360.749319,364.738843 359.72,362.27 C357.573997,356.972413 357.573997,351.047587 359.72,345.75 C360.749788,343.28141 362.258895,341.041542 364.16,339.16 C366.092334,337.270213 368.379623,335.781606 370.89,334.78 C373.595493,333.69893 376.486681,333.158743 379.4,333.19 Z M379.4,341.33 C377.718221,341.315441 376.049964,341.631425 374.49,342.26 C373.019746,342.850363 371.685751,343.735156 370.57,344.86 C369.447092,346.008077 368.563336,347.367702 367.97,348.86 C366.704271,352.169784 366.704271,355.830216 367.97,359.14 C368.562861,360.632544 369.446675,361.992258 370.57,363.14 C371.685751,364.264844 373.019746,365.149637 374.49,365.74 C377.649488,366.979283 381.160512,366.979283 384.32,365.74 C385.794284,365.146098 387.134154,364.26192 388.26,363.14 C389.392829,361.995929 390.283848,360.635594 390.88,359.14 C392.145729,355.830216 392.145729,352.169784 390.88,348.86 C390.283848,347.364406 389.392829,346.004071 388.26,344.86 C387.134154,343.73808 385.794284,342.853902 384.32,342.26 C382.757613,341.626714 381.085807,341.307304 379.4,341.32 L379.4,341.33 Z M242.1,354 C242.02,341.67 234.41,333.23 223.32,333.23 C211.74,333.23 203.63,341.67 203.63,354 C203.63,366.58 212.07,374.77 223.9,374.77 C229.9,374.77 235.32,373.28 240.12,369.23 L235.9,362.86 C232.633262,365.479648 228.586894,366.936341 224.4,367 C218.86,367 213.81,364.44 212.57,357.32 L241.94,357.32 C242,356.23 242.1,355.16 242.1,354 Z M212.65,350.53 C213.56,344.82 217.03,340.93 223.16,340.93 C228.7,340.93 232.26,344.4 233.16,350.53 L212.65,350.53 Z M278.34,344.33 C274.582803,342.165547 270.335565,340.995319 266,340.93 C261.28,340.93 258.47,342.67 258.47,345.56 C258.47,348.21 261.47,348.95 265.17,349.45 L269.22,350.03 C277.83,351.27 283.04,354.91 283.04,361.86 C283.04,369.39 276.42,374.77 265.04,374.77 C258.59,374.77 252.63,373.11 247.91,369.64 L251.96,362.94 C255.757785,365.757702 260.39304,367.215905 265.12,367.08 C270.99,367.08 274.12,365.34 274.12,362.28 C274.12,360.05 271.89,358.81 267.17,358.14 L263.12,357.56 C254.27,356.32 249.47,352.35 249.47,345.89 C249.47,338.03 255.92,333.23 265.93,333.23 C272.22,333.23 277.93,334.64 282.06,337.37 L278.34,344.33 Z M319.69,342.1 L305.62,342.1 L305.62,360 C305.62,364 307.03,366.62 311.33,366.62 C314.014365,366.531754 316.632562,365.76453 318.94,364.39 L321.42,371.75 C318.192475,373.761602 314.463066,374.822196 310.66,374.81 C300.48,374.81 296.93,369.35 296.93,360.16 L296.93,342.16 L288.93,342.16 L288.93,334.3 L296.93,334.3 L296.93,322.3 L305.62,322.3 L305.62,334.3 L319.68,334.3 L319.69,342.1 Z M349.47,333.25 C351.556514,333.260012 353.62609,333.625232 355.59,334.33 L352.94,342.44 C351.229904,341.756022 349.401653,341.416198 347.56,341.44 C341.93,341.44 339.12,345.08 339.12,351.62 L339.12,373.79 L330.52,373.79 L330.52,334.23 L339,334.23 L339,339 C341.149726,335.306198 345.148028,333.084492 349.42,333.21 L349.47,333.25 Z" id="Shape" fill="#FFFFFF"></path> <g id="_Group_"> <rect id="Rectangle-path" fill="#7673C0" x="176.95" y="32.39" width="130.5" height="234.51"></rect> <path d="M185.24,149.64 C185.20514,103.86954 206.225386,60.6268374 242.24,32.38 C181.092968,-15.6818249 93.2777189,-8.68578574 40.5116372,48.4512353 C-12.2544445,105.588256 -12.2544445,193.681744 40.5116372,250.818765 C93.2777189,307.955786 181.092968,314.951825 242.24,266.89 C206.228151,238.645328 185.208215,195.406951 185.24,149.64 Z" id="_Path_" fill="#EB001B"></path> <path d="M483.5,149.64 C483.501034,206.73874 450.90156,258.826356 399.545558,283.782862 C348.189556,308.739368 287.092343,302.183759 242.2,266.9 C278.166584,238.620187 299.164715,195.398065 299.164715,149.645 C299.164715,103.891935 278.166584,60.669813 242.2,32.39 C287.090924,-2.89264477 348.185845,-9.44904288 399.541061,15.5049525 C450.896277,40.4589479 483.497206,92.543064 483.5,149.64 Z" id="Shape" fill="#00A1DF"></path> </g> </g> </g> </g></svg>
0
/content/gmx-projects/gmx-admin/admin/resources/plugins/creditcard
/content/gmx-projects/gmx-admin/admin/resources/plugins/creditcard/card-img/DinersClub.svg
<svg id="ccicon" class="ccicon" width="750" height="471" viewBox="0 0 750 471" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> <g id="diners" fill-rule="nonzero"> <rect id="rectangle" fill="#0079BE" x="0" y="0" width="750" height="471" rx="40"></rect> <path d="M584.933911,237.947339 C584.933911,138.53154 501.952976,69.8140806 411.038924,69.8471464 L332.79674,69.8471464 C240.793699,69.8140806 165.066089,138.552041 165.066089,237.947339 C165.066089,328.877778 240.793699,403.587432 332.79674,403.150963 L411.038924,403.150963 C501.952976,403.586771 584.933911,328.857939 584.933911,237.947339 Z" id="Shape-path" fill="#FFFFFF"></path> <path d="M333.280302,83.9308394 C249.210378,83.9572921 181.085889,152.238282 181.066089,236.510581 C181.085889,320.768331 249.209719,389.042708 333.280302,389.069161 C417.370025,389.042708 485.508375,320.768331 485.520254,236.510581 C485.507715,152.238282 417.370025,83.9572921 333.280302,83.9308394 Z" id="Shape-path" fill="#0079BE"></path> <path d="M237.066089,236.09774 C237.145288,194.917524 262.812421,159.801587 299.006443,145.847134 L299.006443,326.327183 C262.812421,312.380667 237.144628,277.283907 237.066089,236.09774 Z M368.066089,326.372814 L368.066089,145.847134 C404.273312,159.767859 429.980043,194.903637 430.046043,236.103692 C429.980043,277.316312 404.273312,312.425636 368.066089,326.372814 Z" id="Path" fill="#FFFFFF"></path> </g> </g></svg>
0
/content/gmx-projects/gmx-admin/admin/resources/plugins/creditcard
/content/gmx-projects/gmx-admin/admin/resources/plugins/creditcard/card-img/Visa.svg
<svg id="ccicon" class="ccicon" width="750" height="471" viewBox="0 0 750 471" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> <g id="visa" fill-rule="nonzero"> <rect id="Rectangle-1" fill="#0E4595" x="0" y="0" width="750" height="471" rx="40"></rect> <polygon id="Shape" fill="#FFFFFF" points="278.1975 334.2275 311.5585 138.4655 364.9175 138.4655 331.5335 334.2275"></polygon> <path d="M524.3075,142.6875 C513.7355,138.7215 497.1715,134.4655 476.4845,134.4655 C423.7605,134.4655 386.6205,161.0165 386.3045,199.0695 C386.0075,227.1985 412.8185,242.8905 433.0585,252.2545 C453.8275,261.8495 460.8105,267.9695 460.7115,276.5375 C460.5795,289.6595 444.1255,295.6545 428.7885,295.6545 C407.4315,295.6545 396.0855,292.6875 378.5625,285.3785 L371.6865,282.2665 L364.1975,326.0905 C376.6605,331.5545 399.7065,336.2895 423.6355,336.5345 C479.7245,336.5345 516.1365,310.2875 516.5505,269.6525 C516.7515,247.3835 502.5355,230.4355 471.7515,216.4645 C453.1005,207.4085 441.6785,201.3655 441.7995,192.1955 C441.7995,184.0585 451.4675,175.3575 472.3565,175.3575 C489.8055,175.0865 502.4445,178.8915 512.2925,182.8575 L517.0745,185.1165 L524.3075,142.6875" id="path13" fill="#FFFFFF"></path> <path d="M661.6145,138.4655 L620.3835,138.4655 C607.6105,138.4655 598.0525,141.9515 592.4425,154.6995 L513.1975,334.1025 L569.2285,334.1025 C569.2285,334.1025 578.3905,309.9805 580.4625,304.6845 C586.5855,304.6845 641.0165,304.7685 648.7985,304.7685 C650.3945,311.6215 655.2905,334.1025 655.2905,334.1025 L704.8025,334.1025 L661.6145,138.4655 Z M596.1975,264.8725 C600.6105,253.5935 617.4565,210.1495 617.4565,210.1495 C617.1415,210.6705 621.8365,198.8155 624.5315,191.4655 L628.1385,208.3435 C628.1385,208.3435 638.3555,255.0725 640.4905,264.8715 L596.1975,264.8715 L596.1975,264.8725 Z" id="Path" fill="#FFFFFF"></path> <path d="M232.9025,138.4655 L180.6625,271.9605 L175.0965,244.8315 C165.3715,213.5575 135.0715,179.6755 101.1975,162.7125 L148.9645,333.9155 L205.4195,333.8505 L289.4235,138.4655 L232.9025,138.4655" id="path16" fill="#FFFFFF"></path> <path d="M131.9195,138.4655 L45.8785,138.4655 L45.1975,142.5385 C112.1365,158.7425 156.4295,197.9015 174.8155,244.9525 L156.1065,154.9925 C152.8765,142.5965 143.5085,138.8975 131.9195,138.4655" id="path18" fill="#F2AE14"></path> </g> </g></svg>
0
/content/gmx-projects/gmx-admin/admin/resources
/content/gmx-projects/gmx-admin/admin/resources/views/welcome.blade.php
<!DOCTYPE html> <html lang="{{ str_replace('_', '-', app()->getLocale()) }}"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Laravel</title> <!-- Fonts --> <link href="https://fonts.googleapis.com/css2?family=Nunito:wght@200;600&display=swap" rel="stylesheet"> <!-- Styles --> <style> html, body { background-color: #fff; color: #636b6f; font-family: 'Nunito', sans-serif; font-weight: 200; height: 100vh; margin: 0; } .full-height { height: 100vh; } .flex-center { align-items: center; display: flex; justify-content: center; } .position-ref { position: relative; } .top-right { position: absolute; right: 10px; top: 18px; } .content { text-align: center; } .title { font-size: 84px; } .links > a { color: #636b6f; padding: 0 25px; font-size: 13px; font-weight: 600; letter-spacing: .1rem; text-decoration: none; text-transform: uppercase; } .m-b-md { margin-bottom: 30px; } </style> </head> <body> <div class="flex-center position-ref full-height"> @if (Route::has('login')) <div class="top-right links"> @auth <a href="{{ url('/home') }}">Home</a> @else <a href="{{ route('login') }}">Login</a> @if (Route::has('register')) <a href="{{ route('register') }}">Register</a> @endif @endauth </div> @endif <div class="content"> <div class="title m-b-md"> Laravel </div> <div class="links"> <a href="https://laravel.com/docs">Docs</a> <a href="https://laracasts.com">Laracasts</a> <a href="https://laravel-news.com">News</a> <a href="https://blog.laravel.com">Blog</a> <a href="https://nova.laravel.com">Nova</a> <a href="https://forge.laravel.com">Forge</a> <a href="https://vapor.laravel.com">Vapor</a> <a href="https://github.com/laravel/laravel">GitHub</a> </div> </div> </div> </body> </html>
0
/content/gmx-projects/gmx-admin/admin/resources/views
/content/gmx-projects/gmx-admin/admin/resources/views/admin/med_rec.blade.php
@extends('admin.app.index') @section('css') @stop @section('content') @if($view=="add" || $view=="edit") <div class="user-wrap"> @if(isset($data->id)) @php $id = $data->id @endphp @else @php $id = 0 @endphp @endif {!! Form::open(['url'=>url($actionURL.'/action',$view).'/'.$id,'files'=>true,'id'=>'med_recform']) !!} <div class="card bs-4 mb-3 card-dark"> <div class="card-body"> <div class="form-wrap"> <div class="col-lg-12"> <div class="fs-20 color-white fw-600">{{ ucfirst($view) }} {{ ucfirst($singleSection) }}</div> <hr class="mt-1 mb-2"> <div class="row"> <div class="col-lg-12"> <div class="form-group"> <label class="col-form-label fs-14">Title </label> <input type="text" name="title" value="{{ $data->title ?? '' }}" class="form-control fs-14"> </div> </div> <div class="col-lg-12"> <div class="form-group"> <div> <label class="col-form-label fs-14">Status</label> <select class="form-control" id="isActive" name="isActive"> <option value="1" @if( isset($data->isActive) && $data->isActive == '1' ) selected @endif>Active</option> <option value="2" @if( isset($data->isActive) && $data->isActive == '2' ) selected @endif>Inactive</option> </select> </div> </div> </div> </div> <div class="btn btn-rounded-wrap btn-group-left-right d-flex flex-wrap justify-content-between"> <a href="{{ url($actionURL) }}" class="btn btn-rounded btn-outline-danger btn-wh-145-45 mr-2">Cancel</a> <button type="submit" class="btn btn-rounded btn-outline-primary btn-wh-145-45">Save</button> </div> </div> </div> </div> </div> {!! Form::close() !!} </div> @else <div class="user-wrap"> <div class="card bs-4 mb-3 card-dark"> <div class="card-body"> <div class="row align-items-center mb-3"> <div class="col"> <div class="fs-18 fw-600 color-white"> {{ ucfirst($section) }} </div> </div> <div class="col-sm-auto"> <a href="{{ url($actionURL.'/add') }}" class="btn btn-rounded btn-primary btn-wh-190-45 fw-600"><i class="fas fa-plus-circle mr-2"></i> Add {{ ucfirst($singleSection) }}</a> </div> </div> <hr class="mt-2 mb-3"> {!! Form::open(['url'=>url($actionURL),'method'=>'get','id'=>'med_recFilter']) !!} <div class="row justify-content-lg-end"> <div class="col-auto ali pt-2"> <div class="col-form-label fs-14">Filter: </div> </div> <div class="col-12 col-md-4 col-sm-12 col-lg-3 mb-3"> <input type="text" name="filter" value="{{ $data['filter'] ?? '' }}" class="form-control fs-14" placeholder="Search Here"> </div> <div class="col-sm-auto col mb-3"> <div class="form-group"> <button type="submit" data-toggle="tooltip" title="Filter" class="btn btn-primary btn-wh-50-46 br-6"><i class="fas fa-filter"></i></button> @if( isset($data['filter']) && !empty($data['filter']) ) <a href="{{ url('med_rec') }}" data-toggle="tooltip" title="Clear" class="btn btn-secondary1 btn-wh-50-46 br-6"><i class="fas fa-times-circle"></i></a> @endif </div> </div> </div> {!! Form::close() !!} <div class="tbl-rounded"> <div class="tbl-body"> <div class="table-responsive1"> <table class="table fs-14 reflow-tbl"> <thead> <tr class="bg-color-191919"> <th>Title</th> <th>Status</th> <th width="180">Action</th> </tr> </thead> <tbody> @if (isset($med_recs) && count($med_recs) > 0) @foreach ($med_recs as $med_rec) <tr> <td>{{ $med_rec->title ?? '' }}</td> <td>{{ ($med_rec->isActive=='1')?'Active':'Inactive' }}</td> <td> <div class="d-flex text-center"> <a title="Edit" href="{{url($actionURL.'/edit/'.$med_rec->id)}}"><i class="fas fa-edit text-success fs-18"></i> </a> <span class="mx-1">|</span> <a title="Delete" href="javascript:void(0)" onclick="gmx_modal.confirmModal('{{ url($actionURL.'/action/delete/'.$med_rec->id) }}');"><i class="fas fa-trash-alt fs-18 text-danger"></i> </a> </div> </td> </tr> @endforeach @else <tr><td colspan="10" align="center"><div class="alert alert-info text-center my-2" role="alert"> No record found. </div></td></tr> @endif </tbody> </table> </div> </div> </div> <div class="d-flex justify-content-end mt-4"> {{ $med_recs->links() }} </div> </div> </div> </div> @endif @stop @section('js') @stop
0
/content/gmx-projects/gmx-admin/admin/resources/views
/content/gmx-projects/gmx-admin/admin/resources/views/admin/settings.blade.php
@extends('admin.app.index') @section('content') <div class="user-wrap"> <div class="card bs-4 mb-3 card-dark"> <div class="card-body"> <div class="row align-items-center mb-3"> <div class="col"> <div class="fs-18 fw-600 color-white">Settings</div> </div> </div> <hr class="mt-2 mb-3"> <div> {!! Form::open(['url'=>url('/settings/update/admin-detail'),'files'=>true,'id'=>'admindetailForm']) !!} <div class="row"> <div class="col-lg-8"> <div class="form-wrap"> <div class="mb-md-1 fs-18 fw-600 color-white">Update Admin Acount Details</div> <hr class="mt-2 mb-3"> <div class="row"> @php $name = explode(' ',$adminData->name); @endphp <div class="col-lg-6"> <div class="form-group"> <div> <label class="col-form-label fs-14">First Name</label> <input type="text" name="fname" class="form-control" placeholder="Please Enter Admin First Name" value="{{ $name[0] ?? '' }}"> </div> </div> </div> <div class="col-lg-6"> <div class="form-group"> <div> <label class="col-form-label fs-14">Last Name</label> <input type="text" name="lname" class="form-control" placeholder="Please Enter Admin Last Name" value="{{ $name[1] ?? '' }}"> </div> </div> </div> <div class="col-lg-6"> <div class="form-group"> <div> <label class="col-form-label fs-14">Email</label> <input type="text" name="email" class="form-control" placeholder="" value="{{ $adminData->email ?? ""}}"> </div> </div> </div> <div class="col-lg-6"> <div class="form-group"> <div> <label class="col-form-label fs-14">Password</label> <input type="password" name="password" class="form-control" placeholder="" value=""> </div> </div> </div> </div> <div class="btn btn-rounded-wrap btn-right"> <button type="submit" class="btn btn-rounded btn-primary btn-wh-130-50">Update</button> </div> </div> </div> </div> {!! Form::close() !!} <hr> {!! Form::open(['url'=>url('/settings'),'method'=>'post','files'=>true]) !!} <div class="form-wrap"> <div class="mb-md-1 fs-17 fw-600">Update Site Settings Details</div> <hr class="mt-2 mb-3"> <div class="row"> <div class="col-lg-12"> <div class="row"> <div class="col-lg-6"> <div class="form-group"> <div> <label class="col-form-label fs-14">Notification Email address of admin</label> <input type="text" name="info_email" class="form-control" value="{{ _get_setting('info_email') ?? "" }}" placeholder="Pease Enter Email"> </div> </div> </div> <div class="col-lg-6"> <div class="form-group"> <div> <label class="col-form-label fs-14">Contact Number</label> <input type="text" name="contact_number" value="{{ _get_setting('contact_number') ?? "" }}" class="form-control numbersOnly" placeholder="Please Enter Contact Number"/> </div> </div> </div> <div class="col-lg-6"> <div class="form-group"> <div> <label class="col-form-label fs-14">Site Address</label> <textarea cols="3" rows="2" name="site_address" class="form-control" placeholder="Please Ennter Site Address">{!! _get_setting('site_address') !!}</textarea> </div> </div> </div> <div class="col-lg-6"> <div class="form-group"> <div> <label class="col-form-label fs-14">Site Address</label> <input type="text" name="site_name" value="{{ _get_setting('site_name') ?? ""}}" class="form-control" placeholder="Please Enter site name"/> </div> </div> </div> </div> <div class="mb-md-1 fs-18 fw-600 color-white">Social links</div> <div class="row"> <div class="col-lg-6"> <div class="form-group"> <div> <label class="col-form-label fs-14">Facebook</label> <input type="text" name="facebook_link" class="form-control" value="{{ _get_setting('facebook_link') }}" placeholder="Please Enter Social Link"> </div> </div> </div> <div class="col-lg-6"> <div class="form-group"> <div> <label class="col-form-label fs-14">Instagram</label> <input type="text" name="instagram_link" class="form-control" value="{{ _get_setting('instagram_link') }}" placeholder="Please Enter Social Link"> </div> </div> </div> </div> <div class="row"> <div class="col-lg-6"> <div class="form-group"> <div> <label class="col-form-label fs-14">Twitter</label> <input type="text" name="twitter_link" class="form-control" value="{{ _get_setting('twitter_link') }}" placeholder="Please Enter Social Link"> </div> </div> </div> <div class="col-lg-6"> <div class="form-group"> <div> <label class="col-form-label fs-14">LinkedIn</label> <input type="text" name="linkedin_link" class="form-control" value="{{ _get_setting('linkedin_link') }}" placeholder="Please Enter Social Link"> </div> </div> </div> </div> <div class="btn btn-rounded-wrap btn-right"> <button type="submit" class="btn btn-rounded btn-primary btn-wh-130-50">Save</button> </div> </div> {{-- <div class="col-lg-4"> <div> <div class="mb-md-1 fs-18 color-333333 fw-600">Logo</div> <label class="pictureuploadthumb-wrap full"> <input type="file" name="logo" id="logo" style="display:none;"> <figure> <img class="contain uploadimgtag" src="{{ env('ASSETS_URL')._get_setting('logo') }}" id="previewLogo" alt="profile"> </figure> <div class="figure-caption btn btn-primary1"> Change Photo </div> </label> </div> <hr> <div> <div class="mb-md-1 fs-18 color-333333 fw-600">Small Logo</div> <label class="pictureuploadthumb-wrap full"> <input type="file" name="minlogo" id="minlogo" style="display:none;"> <figure class="figure-40"> <img class="contain uploadimgtag" src="{{ env('ASSETS_URL')._get_setting('minlogo') }}" id="previewMinLogo" alt="profile"> </figure> <div class="btn btn-rounded btn-primary1 text-nowrap"> Change Photo </div> </label> </div> <hr> <div> <div class="mb-md-1 fs-18 color-333333 fw-600">Footer Logo</div> <label class="pictureuploadthumb-wrap full"> <input type="file" name="footerlogo" id="footerlogo" style="display:none;"> <figure class="figure-40"> <img class="contain uploadimgtag" src="{{ env('ASSETS_URL')._get_setting('footerlogo') }}" id="previewFooterLogo" alt="profile"> </figure> <div class="btn btn-rounded btn-primary1 text-nowrap"> Change Photo </div> </label> </div> </div> --}} </div> </div> {!! Form::close() !!} </div> </div> </div> </div> @endsection @section('js') <script type="text/javascript"> $("#logo").on('change',function(event){ gmx_app.readURL($(this),$("#previewLogo")); if($(this).val().trim() == ''){ return false; } }); $("#minlogo").on('change',function(event){ gmx_app.readURL($(this),$("#previewMinLogo")); if($(this).val().trim() == ''){ return false; } }); $("#footerlogo").on('change',function(event){ gmx_app.readURL($(this),$("#previewFooterLogo")); if($(this).val().trim() == ''){ return false; } }); $("#sabbath_mode").on('change',function(event){ $("#bookingsettingsForm").submit(); }); </script> @endsection
0
/content/gmx-projects/gmx-admin/admin/resources/views
/content/gmx-projects/gmx-admin/admin/resources/views/admin/cities.blade.php
@extends('admin.app.index') @section('css') @stop @section('content') @if($view=="add" || $view=="edit") <div class="user-wrap"> @if(isset($data->id)) @define $id = $data->id @else @define $id = 0 @endif {!! Form::open(['url'=>url($actionURL.'/action',$view).'/'.$id,'id'=>'cityform']) !!} <div class="card bs-4 mb-3 card-dark"> <div class="card-body"> <div class="form-wrap"> <div class="col-lg-12"> <div class="fs-20 color-white fw-600">{{ ucfirst($view) }} {{ ucfirst($singleSection) }}</div> <hr class="mt-1 mb-2"> <div class="row"> <div class="col-lg-12"> <div class="form-group"> <div> <label class="col-form-label fs-14">Country</label> <select class="form-control" id="country" name="country_id" data-select2init="true" data-placeholder="Select country"> <option value="">Select country</option> @foreach ($countries as $country) <option value="{{$country->id}}" @if( isset($data->country_id) && $data->country_id == $country->id ) selected @endif>{{$country->title}}</option> @endforeach </select> </div> </div> </div> <div class="col-lg-12"> <div class="form-group"> <div> <label class="col-form-label fs-14">State</label> <select class="form-control" id="state" name="state_id" data-select2init="true" data-placeholder="Select state"> <option value="">Select state</option> @if( !empty($data->country_id)) @define $state_names = _get_states($data->country_id) @foreach($state_names as $state_name) <option value="{{$state_name->id}}" @if( isset($data->state_id) && $data->state_id == $state_name->id ) selected @endif>{{ $state_name->title }}</option> @endforeach @endif </select> </div> </div> </div> <div class="col-lg-12"> <div class="form-group"> <label class="col-form-label fs-14">City</label> <input type="text" name="title" value="{{ $data->title ?? '' }}" class="form-control fs-14"> </div> </div> <div class="col-lg-12"> <div class="form-group"> <div> <label class="col-form-label fs-14">Status</label> <select class="form-control" id="status" name="status"> <option value="1" @if( isset($data->status) && $data->status == '1' ) selected @endif>Active</option> <option value="2" @if( isset($data->status) && $data->status == '2' ) selected @endif>Inactive</option> </select> </div> </div> </div> </div> <div class="btn btn-rounded-wrap btn-group-left-right d-flex flex-wrap justify-content-between"> <a href="{{ url($actionURL) }}" class="btn btn-rounded btn-outline-danger btn-wh-145-45 mr-2">Cancel</a> <button type="submit" class="btn btn-rounded btn-outline-primary btn-wh-145-45">Save</button> </div> </div> </div> </div> </div> {!! Form::close() !!} </div> @else <div class="user-wrap"> <div class="card bs-4 mb-3 card-dark"> <div class="card-body"> <div class="row align-items-center mb-3"> <div class="col"> <div class="fs-18 fw-600 color-white"> {{ ucfirst($section) }} </div> </div> <div class="col-sm-auto"> <a href="{{ url($actionURL.'/add') }}" class="btn btn-rounded btn-primary btn-wh-190-45 fw-600"><i class="fas fa-plus-circle mr-2"></i> Add {{ ucfirst($singleSection) }}</a> </div> </div> <hr class="mt-2 mb-3"> <div class="tbl-rounded"> <div class="tbl-body"> <div class="table-responsive1"> <table class="table fs-14 reflow-tbl"> <thead> <tr class="bg-color-191919"> <th>Country</th> <th>State</th> <th>City</th> <th>Status</th> <th width="180">Action</th> </tr> </thead> <tbody> @if (isset($cities) && count($cities) > 0) @foreach ($cities as $city) <tr> <td>{{ $city->country->title ?? ''}}</td> <td>{{ $city->state->title ?? ''}}</td> <td>{{ $city->title ?? '' }}</td> <td>{{ ($city->status=='1')?'Active':'Inactive' }}</td> <td> <div class="d-flex text-center"> @if ($city->status == '1') <a title="Make Inactive" href="{{url($actionURL.'/action/makeInactive/'.$city->id)}}"><i class="fas fa-check fs-18 text-success"></i> </a> @else <a title="Make Active" href="{{url($actionURL.'/action/makeActive/'.$city->id)}}"><i class="fas fa-times-circle fs-18 color-0799c4"></i> </a> @endif <span class="mx-1">|</span> <a title="Edit" href="{{url($actionURL.'/edit/'.$city->id)}}"><i class="fas fa-edit text-success fs-18"></i> </a> <span class="mx-1">|</span> <a title="Delete" href="javascript:void(0)" onclick="mechanech_modal.confirmModal('{{ url($actionURL.'/action/delete/'.$city->id) }}');"><i class="fas fa-trash-alt fs-18 text-danger"></i> </a> </div> </td> </tr> @endforeach @else <tr><td colspan="10" align="center"><div class="alert alert-info text-center my-2" role="alert"> No record found. </div></td></tr> @endif </tbody> </table> </div> </div> </div> <div class="d-flex justify-content-end mt-4"> {{ $cities->links() }} </div> </div> </div> </div> @endif @endsection @section('js') @if($view=="add" || $view=="edit") <script type="text/javascript"> $(document).ready(function(){ $("#country").change(function(){ var country_id = $(this).val(); var $state = $("#state"); $state.empty(); // remove old options $state.append($('<option></option>').attr("value", "").text("Select state")); if(country_id != ""){ gmx_app.ajaxRequest('{{url($getStateURL)}}/'+country_id, '','GET').then(function(res) { if(res.data.length > 0){ $.each(res.data, function(key,value) { $state.append($("<option></option>") .attr("value", value.id).text(value.title)); }); } });} }); }); </script> @endif @endsection
0
/content/gmx-projects/gmx-admin/admin/resources/views
/content/gmx-projects/gmx-admin/admin/resources/views/admin/email-headers.blade.php
@extends('admin.app.index') @section('css') @stop @section('content') @if($view=="add" || $view=="edit") {{--<link href="{{$ADMIN_THEME_PATH}}/plugins/bootstrap-fileinput/bootstrap-fileinput.css" rel="stylesheet" type="text/css" />--}} <div class="user-wrap"> @if(isset($data->id)) @php $id = $data->id @endphp @else @php $id = 0 @endphp @endif {!! Form::open(['url'=>url($actionURL.'/action',$view).'/'.$id,'files'=>true,'id'=>'emailheaderform']) !!} <div class="card bs-4 mb-3 card-dark"> <div class="card-body"> <div class="form-wrap"> <div class="col-lg-12"> <div class="fs-20 color-white fw-600">{{ ucfirst($view) }} {{ ucfirst($singleSection) }}</div> <hr class="mt-1 mb-2"> <div class="row"> <div class="col-lg-6"> <div class="form-group"> <label class="col-form-label fs-14">Title </label> <input type="text" name="title" value="{{ $data->title ?? '' }}" class="form-control fs-14"> </div> </div> <div class="col-lg-12"> <div class="form-group"> <div> <div class="col-form-label fs-14">Description</div> <textarea class="form-control" name="description" id="description">{!! $data->description ?? '' !!}</textarea> </div> </div> </div> <div class="col-lg-12"> <div class="form-group"> <div> <label class="col-form-label fs-14">Status</label> <select class="form-control" id="status" name="status"> <option value="1" @if( isset($data->status) && $data->status == '1' ) selected @endif>Active</option> <option value="2" @if( isset($data->status) && $data->status == '2' ) selected @endif>Inactive</option> </select> </div> </div> </div> </div> <div class="btn btn-rounded-wrap btn-group-left-right d-flex flex-wrap justify-content-between"> <a href="{{ url($actionURL) }}" class="btn btn-rounded btn-outline-danger btn-wh-145-45 mr-2">Cancel</a> <button type="submit" class="btn btn-rounded btn-outline-primary btn-wh-145-45">Save</button> </div> </div> </div> </div> </div> {!! Form::close() !!} </div> {{--<script src="{{$ADMIN_THEME_PATH}}/plugins/bootstrap-fileinput/bootstrap-fileinput.js" type="text/javascript"></script>--}} @else <div class="user-wrap"> <div class="card bs-4 mb-3 card-dark"> <div class="card-body"> <div class="row align-items-center mb-3"> <div class="col"> <div class="fs-18 fw-600 color-white"> {{ ucfirst($section) }} </div> </div> <div class="col-sm-auto"> <a href="{{ url($actionURL.'/add') }}" class="btn btn-rounded btn-primary btn-wh-190-45 fw-600"><i class="fas fa-plus-circle mr-2"></i> Add {{ ucfirst($singleSection) }}</a> </div> </div> <hr class="mt-2 mb-3"> <div class="tbl-rounded"> <div class="tbl-body"> <div class="table-responsive1"> <table id="email_headers_table" class="table fs-14 reflow-tbl"> <thead> <tr class="bg-color-191919"> <th>Title</th> <th>Status</th> <th width="180">Action</th> </tr> </thead> <tbody> @if (isset($emailHeaders) && count($emailHeaders) > 0) @foreach ($emailHeaders as $emailHeader) <tr> <td>{{ $emailHeader->title ?? '' }}</td> <td>{{ ($emailHeader->status=='1')?'Active':'Inactive' }}</td> <td> <div class="d-flex text-center"> @if ($emailHeader->status == '1') <a title="Make Inactive" href="{{url($actionURL.'/action/makeInactive/'.$emailHeader->id)}}"><i class="fas fa-check fs-18 text-success"></i> </a> @else <a title="Make Active" href="{{url($actionURL.'/action/makeActive/'.$emailHeader->id)}}"><i class="fas fa-times-circle fs-18 color-0799c4"></i> </a> @endif <span class="mx-1">|</span> <a title="Edit" href="{{url($actionURL.'/edit/'.$emailHeader->id)}}"><i class="fas fa-edit text-success fs-18"></i> </a> <span class="mx-1">|</span> <a title="Delete" href="javascript:void(0)" onclick="mechanech_modal.confirmModal('{{ url($actionURL.'/action/delete/'.$emailHeader->id) }}');"><i class="fas fa-trash-alt fs-18 text-danger"></i> </a> </div> </td> </tr> @endforeach @else <tr><td colspan="10" align="center"><div class="alert alert-info text-center my-2" role="alert"> No record found. </div></td></tr> @endif </tbody> </table> </div> </div> </div> <div class="d-flex justify-content-end mt-4"> {{ $emailHeaders->links() }} </div> </div> </div> </div> @endif @stop @section('js') <script type="text/javascript" src="{{ url('node_modules/ckeditor/ckeditor.js') }}"></script> <script type="text/javascript"> $(document).ready(function(){ var ck_config = { height:'20em', removeButtons:'Templates,Save,NewPage,ExportPdf,Preview,Print,Cut,Undo,Redo,Copy,Paste,PasteText,PasteFromWord,Find,Replace,SelectAll,Scayt,Form,Checkbox,Radio,TextField,Textarea,Select,Button,ImageButton,HiddenField,About,Maximize,BGColor,ShowBlocks,TextColor,Styles,Format,Font,FontSize,Iframe,Flash,Table,Image,HorizontalRule,Smiley,SpecialChar,PageBreak,Link,Unlink,Anchor,Language,BidiRtl,BidiLtr,JustifyLeft,Blockquote,Outdent,Indent,CreateDiv,JustifyCenter,JustifyRight,JustifyBlock,NumberedList,CopyFormatting,RemoveFormat,Underline,Strike,Superscript,Subscript', removePlugins: 'elementspath' }; gmx_app.getckeditor($('#description'),ck_config); }); </script> @stop
0
/content/gmx-projects/gmx-admin/admin/resources/views
/content/gmx-projects/gmx-admin/admin/resources/views/admin/new-password.blade.php
@extends('admin.app.index-no-head-foot') @section('content') <section class="login-section"> <div class="container"> <div class="mw-431 mx-auto"> <div class="card border-0 card-dark bs-2"> <div class="card-body"> <div class="pt-3 pb-3 text-center"> <a href="{{url('/')}}"><img class="card-logo" src="{{ env('ASSETS_URL')._get_setting('logo') }}" width="160px" alt="image" /></a> </div> <div class="login-form"> {!! Form::open(['url'=>url('confirm-new-password'),'id'=>'confirmnewpasswordform']) !!} <input type="hidden" name="id" value="{{$id ?? '0'}}"> <div class="form-wrap"> <div class="form-group"> <label class="col-form-label fs-14">New Password</label> <input type="password" name="password" id="password" class="form-control fs-14" placeholder="Please Enter New Password" /> </div> <div class="form-group"> <label class="col-form-label fs-14">Confirm Password</label> <input type="password" name="confirmpassword" id="confirmpassword" class="form-control fs-14" placeholder="Please Enter Confirm Password" /> </div> <div class="text-center mb-3 mt-3"> <button type="submit" class="btn btn-rounded btn-primary btn-wh-180-50">Save</button> </div> <div class="text-center"> <a class="btn btn-rounded btn-outline-primary" href="{{ url('admin/login') }}">Login Here!</a> </div> </div> {!! Form::close() !!} </div> </div> </div> </div> </div> </section> @endsection
0
/content/gmx-projects/gmx-admin/admin/resources/views
/content/gmx-projects/gmx-admin/admin/resources/views/admin/forgotpassword.blade.php
@extends('admin.app.index-no-head-foot') @section('content') <section class="login-section"> <div class="container"> <div class="mw-431 mx-auto"> <div class="card border-0 card-dark bs-2"> <div class="card-body"> <div class="pt-3 pb-3 text-center"> <a href="{{url('/')}}"><img class="card-logo" src="{{ env('ASSETS_URL')._get_setting('logo') }}" width="160px" alt="image" /></a> </div> <div class="login-form"> {!! Form::open(['url'=>url('forgotpassword'),'id'=>'forgotpasswordFrom']) !!} <div class="form-wrap"> <div class="form-group"> <label class="col-form-label fs-14">Email address</label> <input type="email" name="email" class="form-control fs-14" placeholder="Please Enter Email address" /> </div> <div class="text-center mb-3 mt-3"> <button type="submit" class="btn btn-rounded btn-primary btn-wh-180-50">Recover Password</button> </div> <div class="text-center"> <a class="btn btn-rounded btn-outline-primary" href="{{ url('login') }}">Login Here!</a> </div> </div> {!! Form::close() !!} </div> </div> </div> </div> </div> </section> @endsection
0
/content/gmx-projects/gmx-admin/admin/resources/views
/content/gmx-projects/gmx-admin/admin/resources/views/admin/dashboard.blade.php
@extends('admin.app.index') @section('content') <section class="dashboard-sec p-0"> <!-- ******************** --> <div class="card bs-4 mb-3 card-dark"> <div class="card-body"> <div class="fs-18 fw-600 color-white"> Dashboard </div> <hr class="mt-2 mb-3"> <div class="row"> <div class="col-xl-4 col-md-4 col-sm-6 mb-3"> <div class="p-3 br-6 bg-color-191919"> <h4 class="fs-18 fw-500 color-white text-capitalize">Total Organizations</h4> <div class="fs-32 fw-600 color-099f00">{{ _nice_digit($organizationCount) ?? 0 }}</div> </div> </div> <div class="col-xl-4 col-md-4 col-sm-6 mb-3"> <div class="p-3 br-6 bg-color-191919"> <h4 class="fs-18 fw-500 color-white text-capitalize">Total Brand Companies</h4> <div class="fs-32 fw-600 color-099f00">{{ _nice_digit($brandCompaniesCount) ?? 0 }}</div> </div> </div> <div class="col-xl-4 col-md-4 col-sm-6 mb-3"> <div class="p-3 br-6 bg-color-191919"> <h4 class="fs-18 fw-500 color-white text-capitalize">Total Brands</h4> <div class="fs-32 fw-600 color-099f00">{{ _nice_digit($brandCount) ?? 0 }}</div> </div> </div> <div class="col-xl-4 col-md-4 col-sm-6 mb-3"> <div class="p-3 br-6 bg-color-191919"> <h4 class="fs-18 fw-500 color-white text-capitalize">Total Retailer</h4> <div class="fs-32 fw-600 color-099f00">{{ _nice_digit($retailerCount) ?? 0 }}</div> </div> </div> <div class="col-xl-4 col-md-4 col-sm-6 mb-3"> <div class="p-3 br-6 bg-color-191919"> <h4 class="fs-18 fw-500 color-white text-capitalize">Total Products</h4> <div class="fs-32 fw-600 color-099f00">{{ _nice_digit($productCount) ?? 0 }}</div> </div> </div> <!-- <div class="col-xl-4 col-md-4 col-sm-6 mb-3"> <div class="p-3 br-6 bg-color-191919"> <h4 class="fs-18 fw-500 color-white text-capitalize">Total Products QTY Sold</h4> <div class="fs-32 fw-600 color-099f00">{{ _nice_digit($productSoldQTYCount) ?? 0 }}</div> </div> </div> --> <div class="col-xl-4 col-md-4 col-sm-6 mb-3"> <div class="p-3 br-6 bg-color-191919"> <h4 class="fs-18 fw-500 color-white text-capitalize">Total Cost Of Order</h4> <div class="fs-32 fw-600 color-099f00">{{ '$ '._nice_amount($totalOrderCost, 2) ?? 0 }}</div> </div> </div> </div> </div> </div> <!-- ******************** --> <!-- <div class="card bs-4 mb-3 card-dark"> <div class="card-body"> <div class="fs-18 fw-600 color-white"> Sessions </div> <hr class="mt-2 mb-3"> <div class="row"> <div class="col-md-4 col-sm-6 mb-3"> <div class="p-3 br-6 bg-color-f3f2f1"> <h4 class="fs-18 fw-500 color-333333 text-capitalize">Online Sessions</h4> <div class="fs-32 fw-500 color-0799c4">42</div> </div> </div> <div class="col-md-4 col-sm-6 mb-3"> <div class="p-3 br-6 bg-color-f3f2f1"> <h4 class="fs-18 fw-500 color-333333 text-capitalize">In-Person Sessions</h4> <div class="fs-32 fw-500 color-e18803">27</div> </div> </div> </div> </div> </div> --> <!-- ******************** --> </section> @endsection
0
/content/gmx-projects/gmx-admin/admin/resources/views
/content/gmx-projects/gmx-admin/admin/resources/views/admin/subscription.blade.php
@extends('admin.app.index') @section('css') @stop @section('content') @if($view=="add" || $view=="edit") <div class="user-wrap"> @if(isset($data->id)) @php $id = $data->id @endphp @else @php $id = 0 @endphp @endif {!! Form::open(['url'=>url($actionURL.'/action',$view).'/'.$id,'files'=>true,'id'=>'subscriptionForm']) !!} <div class="row"> <div class="col-lg-12"> <div class="card bs-4 mb-3 card-dark"> <div class="card-body"> <div class="form-wrap"> <div class="col-lg-12"> <div class="fs-20 color-white fw-600">{{ ucfirst($view) }} {{ ucfirst($singleSection) }}</div> <hr class="mt-1 mb-2"> <div class="row"> <div class="col-lg-12"> <div class="form-group"> <label class="col-form-label fs-14">Title </label> <input type="text" name="title" value="{{ $data->title ?? '' }}" class="form-control fs-14" placeholder="Enter Title"> </div> </div> <div class="col-lg-12"> <div class="form-group"> <label class="col-form-label fs-14">Description </label> <textarea name="description" id="description" class="form-control fs-14" placeholder="Enter Description">{{ $data->description ?? '' }}</textarea> </div> </div> <div class="col-lg-12"> <div class="form-group"> <label class="col-form-label fs-14">Price ($) </label> <input type="text" name="price" value="{{ isset($data->price) ? _nice_amount($data->price) : '' }}" class="form-control fs-14 numbersOnly" placeholder="Enter Subscription Price"> </div> </div> <div class="col-lg-12"> <div class="form-group"> <div> <label class="col-form-label fs-14">Status</label> <select class="form-control" id="isActive" name="isActive"> <option value="1" @if( isset($data->isActive) && $data->isActive == '1' ) selected @endif>Active</option> <option value="2" @if( isset($data->isActive) && $data->isActive == '2' ) selected @endif>Inactive</option> </select> </div> </div> </div> </div> <div class="btn btn-rounded-wrap btn-group-left-right d-flex flex-wrap justify-content-between"> <a href="{{ url($actionURL) }}" class="btn btn-rounded btn-outline-danger btn-wh-145-45 mr-2">Cancel</a> <button type="submit" class="btn btn-rounded btn-outline-primary btn-wh-145-45">Save</button> </div> </div> </div> </div> </div> </div> </div> {!! Form::close() !!} </div> @else <div class="user-wrap"> <div class="card bs-4 mb-3 card-dark"> <div class="card-body"> <div class="row align-items-center mb-3"> <div class="col"> <div class="fs-18 fw-600 color-white"> {{ ucfirst($section) }} </div> </div> </div> <hr class="mt-2 mb-3"> {!! Form::open(['url'=>url($actionURL),'method'=>'get','id'=>'strainFilter']) !!} <div class="row justify-content-lg-end"> <div class="col-auto ali pt-2"> <div class="col-form-label fs-14">Filter: </div> </div> <div class="col-12 col-md-4 col-sm-12 col-lg-3 mb-3"> <input type="text" name="filter" value="{{ $data['filter'] ?? '' }}" class="form-control fs-14" placeholder="Search Here"> </div> <div class="col-sm-auto col mb-3"> <div class="form-group"> <button type="submit" data-toggle="tooltip" title="Filter" class="btn btn-primary btn-wh-50-46 br-6"><i class="fas fa-filter"></i></button> @if( isset($data['filter']) && !empty($data['filter']) ) <a href="{{ url($actionURL) }}" data-toggle="tooltip" title="Clear" class="btn btn-secondary1 btn-wh-50-46 br-6"><i class="fas fa-times-circle"></i></a> @endif </div> </div> </div> {!! Form::close() !!} <div class="tbl-rounded"> <div class="tbl-body"> <div class="table-responsive1"> <table class="table fs-14 reflow-tbl"> <thead> <tr class="bg-color-191919"> <th>Title</th> <th>Price</th> <th>Status</th> <th width="120">Action</th> </tr> </thead> <tbody> @if (isset($strains) && count($strains) > 0) @foreach ($strains as $strain) <tr> <td>{{ $strain->title ?? '' }}</td> <td>{{ _price($strain->price) ?? '$0.00' }}</td> <td>{{ ($strain->isActive=='1')?'Active':'Inactive' }}</td> <td> <div class="d-flex text-center"> @if($strain->isActive=='1') <a title="Make Inactive" href="{{url($actionURL.'/action/makeInactive/'.$strain->id)}}"><i class="fas fa-check fs-18 text-success"></i></a> @else <a title="Make Active" href="{{url($actionURL.'/action/makeActive/'.$strain->id)}}"><i class="fas fa-times-circle fs-18 color-0799c4"></i></a> @endif <span class="mx-1">|</span> <a title="Edit" href="{{url($actionURL.'/edit/'.$strain->id)}}"><i class="fas fa-edit text-success fs-18"></i> </a> </div> </td> </tr> @endforeach @else <tr><td colspan="10" align="center"><div class="alert alert-info text-center my-2" role="alert"> No record found. </div></td></tr> @endif </tbody> </table> </div> </div> </div> <div class="d-flex justify-content-end mt-4"> {{ $strains->links() }} </div> </div> </div> </div> @endif @stop @section('js') @stop
0
/content/gmx-projects/gmx-admin/admin/resources/views
/content/gmx-projects/gmx-admin/admin/resources/views/admin/state.blade.php
@extends('admin.app.index') @section('css') @stop @section('content') @if($view=="add" || $view=="edit") <div class="user-wrap"> @if(isset($data->id)) @php $id = $data->id @endphp @else @php $id = 0 @endphp @endif {!! Form::open(['url'=>url($actionURL.'/action',$view).'/'.$id,'files'=>true,'id'=>'stateform']) !!} <div class="card bs-4 mb-3 card-dark"> <div class="card-body"> <div class="form-wrap"> <div class="col-lg-12"> <div class="fs-20 color-white fw-600">{{ ucfirst($view) }} {{ ucfirst($singleSection) }}</div> <hr class="mt-1 mb-2"> <div class="row"> <div class="col-lg-12"> <div class="form-group"> <label class="col-form-label fs-14">Name </label> <input type="text" name="name" value="{{ $data->name ?? '' }}" class="form-control fs-14"> </div> </div> <div class="col-lg-12"> <div class="form-group"> <div> <label class="col-form-label fs-14">Status</label> <select class="form-control" id="isActive" name="isActive"> <option value="1" @if( isset($data->isActive) && $data->isActive == '1' ) selected @endif>Active</option> <option value="2" @if( isset($data->isActive) && $data->isActive == '2' ) selected @endif>Inactive</option> </select> </div> </div> </div> </div> <div class="btn btn-rounded-wrap btn-group-left-right d-flex flex-wrap justify-content-between"> <a href="{{ url($actionURL) }}" class="btn btn-rounded btn-outline-danger btn-wh-145-45 mr-2">Cancel</a> <button type="submit" class="btn btn-rounded btn-outline-primary btn-wh-145-45">Save</button> </div> </div> </div> </div> </div> {!! Form::close() !!} </div> @else <div class="user-wrap"> <div class="card bs-4 mb-3 card-dark"> <div class="card-body"> <div class="row align-items-center mb-3"> <div class="col"> <div class="fs-18 fw-600 color-white"> {{ ucfirst($section) }} </div> </div> <div class="col-sm-auto"> <a href="{{ url($actionURL.'/add') }}" class="btn btn-rounded btn-primary btn-wh-190-45 fw-600"><i class="fas fa-plus-circle mr-2"></i> Add {{ ucfirst($singleSection) }}</a> </div> </div> <hr class="mt-2 mb-3"> {!! Form::open(['url'=>url($actionURL),'method'=>'get','id'=>'strainFilter']) !!} <div class="row justify-content-lg-end"> <div class="col-auto ali pt-2"> <div class="col-form-label fs-14">Filter: </div> </div> <div class="col-12 col-md-4 col-sm-12 col-lg-3 mb-3"> <input type="text" name="filter" value="{{ $data['filter'] ?? '' }}" class="form-control fs-14" placeholder="Search Here"> </div> <div class="col-sm-auto col mb-3"> <div class="form-group"> <button type="submit" data-toggle="tooltip" title="Filter" class="btn btn-primary btn-wh-50-46 br-6"><i class="fas fa-filter"></i></button> @if( isset($data['filter']) && !empty($data['filter']) ) <a href="{{ url($actionURL) }}" data-toggle="tooltip" title="Clear" class="btn btn-secondary1 btn-wh-50-46 br-6"><i class="fas fa-times-circle"></i></a> @endif </div> </div> </div> {!! Form::close() !!} <div class="tbl-rounded"> <div class="tbl-body"> <div class="table-responsive1"> <table class="table fs-14 reflow-tbl"> <thead> <tr class="bg-color-191919"> <th>Name</th> <th>Status</th> <th width="180">Action</th> </tr> </thead> <tbody> @if (isset($states) && count($states) > 0) @foreach ($states as $state) <tr> <td>{{ $state->name ?? '' }}</td> <td>{{ ($state->isActive=='1')?'Active':'Inactive' }}</td> <td> <div class="d-flex text-center"> <a title="Edit" href="{{url($actionURL.'/edit/'.$state->id)}}"><i class="fas fa-edit text-success fs-18"></i> </a> <span class="mx-1">|</span> <a title="Delete" href="javascript:void(0)" onclick="gmx_modal.confirmModal('{{ url($actionURL.'/action/delete/'.$state->id) }}');"><i class="fas fa-trash-alt fs-18 text-danger"></i> </a> </div> </td> </tr> @endforeach @else <tr><td colspan="10" align="center"><div class="alert alert-info text-center my-2" role="alert"> No record found. </div></td></tr> @endif </tbody> </table> </div> </div> </div> <div class="d-flex justify-content-end mt-4"> {{ $states->links() }} </div> </div> </div> </div> @endif @stop @section('js') @stop
0
/content/gmx-projects/gmx-admin/admin/resources/views
/content/gmx-projects/gmx-admin/admin/resources/views/admin/email-footers.blade.php
@extends('admin.app.index') @section('css') @stop @section('content') @if($view=="add" || $view=="edit") {{--<link href="{{$ADMIN_THEME_PATH}}/plugins/bootstrap-fileinput/bootstrap-fileinput.css" rel="stylesheet" type="text/css" />--}} <div class="user-wrap"> @if(isset($data->id)) @php $id = $data->id @endphp @else @php $id = 0 @endphp @endif {!! Form::open(['url'=>url($actionURL.'/action',$view).'/'.$id,'files'=>true,'id'=>'emailfooterform']) !!} <div class="card bs-4 mb-3 card-dark"> <div class="card-body"> <div class="form-wrap"> <div class="col-lg-12"> <div class="fs-20 color-white fw-600">{{ ucfirst($view) }} {{ ucfirst($singleSection) }}</div> <hr class="mt-1 mb-2"> <div class="row"> <div class="col-lg-6"> <div class="form-group"> <label class="col-form-label fs-14">Title </label> <input type="text" name="title" value="{{ $data->title ?? '' }}" class="form-control fs-14"> </div> </div> <div class="col-lg-12"> <div class="form-group"> <div> <div class="col-form-label fs-14">Description</div> <textarea class="form-control" name="description" id="description">{!! $data->description ?? '' !!}</textarea> </div> </div> </div> <div class="col-lg-12"> <div class="form-group"> <div> <label class="col-form-label fs-14">Status</label> <select class="form-control" id="status" name="status"> <option value="1" @if( isset($data->status) && $data->status == '1' ) selected @endif>Active</option> <option value="2" @if( isset($data->status) && $data->status == '2' ) selected @endif>Inactive</option> </select> </div> </div> </div> </div> <div class="btn btn-rounded-wrap btn-group-left-right d-flex flex-wrap justify-content-between"> <a href="{{ url($actionURL) }}" class="btn btn-rounded btn-outline-danger btn-wh-145-45 mr-2">Cancel</a> <button type="submit" class="btn btn-rounded btn-outline-primary btn-wh-145-45">Save</button> </div> </div> </div> </div> </div> {!! Form::close() !!} </div> {{--<script src="{{$ADMIN_THEME_PATH}}/plugins/bootstrap-fileinput/bootstrap-fileinput.js" type="text/javascript"></script>--}} @else <div class="user-wrap"> <div class="card bs-4 mb-3 card-dark"> <div class="card-body"> <div class="row align-items-center mb-3"> <div class="col"> <div class="fs-18 fw-600 color-white"> {{ ucfirst($section) }} </div> </div> <div class="col-sm-auto"> <a href="{{ url($actionURL.'/add') }}" class="btn btn-rounded btn-primary btn-wh-190-45 fw-600"><i class="fas fa-plus-circle mr-2"></i> Add {{ ucfirst($singleSection) }}</a> </div> </div> <hr class="mt-2 mb-3"> <div class="tbl-rounded"> <div class="tbl-body"> <div class="table-responsive1"> <table id="email_footers_table" class="table fs-14 reflow-tbl"> <thead> <tr class="bg-color-191919"> <th>Title</th> <th>Status</th> <th width="180">Action</th> </tr> </thead> <tbody> @if (isset($emailFooters) && count($emailFooters) > 0) @foreach ($emailFooters as $emailFooter) <tr> <td>{{ $emailFooter->title ?? '' }}</td> <td>{{ ($emailFooter->status=='1')?'Active':'Inactive' }}</td> <td> <div class="d-flex text-center"> @if ($emailFooter->status == '1') <a title="Make Inactive" href="{{url($actionURL.'/action/makeInactive/'.$emailFooter->id)}}"><i class="fas fa-check fs-18 text-success"></i> </a> @else <a title="Make Active" href="{{url($actionURL.'/action/makeActive/'.$emailFooter->id)}}"><i class="far fa-times-circle fs-18 color-0799c4"></i> </a> @endif <span class="mx-1">|</span> <a title="Edit" href="{{url($actionURL.'/edit/'.$emailFooter->id)}}"><i class="fas fa-edit fs-18 text-success"></i> </a> <span class="mx-1">|</span> <a title="Delete" href="javascript:void(0)" onclick="mechanech_modal.confirmModal('{{ url($actionURL.'/action/delete/'.$emailFooter->id) }}');"><i class="far fa-trash-alt fs-18 text-danger"></i> </a> </div> </td> </tr> @endforeach @else <tr><td colspan="10" align="center"><div class="alert alert-info text-center my-2" role="alert"> No record found. </div></td></tr> @endif </tbody> </table> </div> </div> </div> <div class="d-flex justify-content-end mt-4"> {{ $emailFooters->links() }} </div> </div> </div> </div> @endif @stop @section('js') <script type="text/javascript" src="{{ url('node_modules/ckeditor/ckeditor.js') }}"></script> <script type="text/javascript"> $(document).ready(function(){ var ck_config = { height:'20em', removeButtons:'Templates,Save,NewPage,ExportPdf,Preview,Print,Cut,Undo,Redo,Copy,Paste,PasteText,PasteFromWord,Find,Replace,SelectAll,Scayt,Form,Checkbox,Radio,TextField,Textarea,Select,Button,ImageButton,HiddenField,About,Maximize,BGColor,ShowBlocks,TextColor,Styles,Format,Font,FontSize,Iframe,Flash,Table,Image,HorizontalRule,Smiley,SpecialChar,PageBreak,Link,Unlink,Anchor,Language,BidiRtl,BidiLtr,JustifyLeft,Blockquote,Outdent,Indent,CreateDiv,JustifyCenter,JustifyRight,JustifyBlock,NumberedList,CopyFormatting,RemoveFormat,Underline,Strike,Superscript,Subscript', removePlugins: 'elementspath' }; gmx_app.getckeditor($('#description'),ck_config); }); </script> @stop
0
/content/gmx-projects/gmx-admin/admin/resources/views
/content/gmx-projects/gmx-admin/admin/resources/views/admin/review.blade.php
@extends('admin.app.index') @section('css') @stop @section('content') @if($view=="Details") <div class="user-wrap"> @if(isset($data->id)) @php $id = $data->id @endphp @else @php $id = 0 @endphp @endif {!! Form::open(['url'=>url($actionURL.'/action',$view).'/'.$id,'files'=>true,'id'=>'reviewform']) !!} <div class="card bs-4 mb-3 card-dark"> <div class="card-body"> <div class="form-wrap"> <div class="col-lg-12"> <div class="fs-20 color-white fw-600">{{ ucfirst($singleSection) }} {{ ucfirst($view) }}</div> <hr class="mt-1 mb-2"> <div class="row"> {{-- <div class="col-lg-12"> <div class="form-group mb-2"> <div class="d-flex align-items-center"> <label class="col-form-label fs-14 mw-180">User <span class="float-end me-3">:</span></label> <p class="mb-0">{{ $data->Retailer->FullName ?? '' }}</p> </div> </div> </div> --}} <div class="col-lg-12"> <div class="form-group mb-2"> <div class="d-flex align-items-center"> <label class="col-form-label fs-14 mw-180">Product Name <span class="float-end me-3">:</span></label> <p class="mb-0">{{ $data->product->title ?? '' }}</p> </div> </div> </div> <div class="col-lg-12"> <div class="form-group mb-2"> <div class="d-flex align-items-center"> <label class="col-form-label fs-14 mw-180">Brand Name <span class="float-end me-3">:</span></label> <p class="mb-0">{{ $data->Brand->FullName ?? '' }}</p> </div> </div> </div> <div class="col-lg-12"> <div class="form-group mb-2"> <div class="d-flex align-items-center"> <label class="col-form-label fs-14 mw-180">Retailer Name <span class="float-end me-3">:</span></label> <p class="mb-0">{{ $data->Retailer->FullName ?? '' }}</p> </div> </div> </div> <div class="col-lg-12"> <div class="form-group mb-2"> <div class="d-flex align-items-center"> <label class="col-form-label fs-14 mw-180">Type Name <span class="float-end me-3">:</span></label> <p class="mb-0">{{ $data->type ?? '' }}</p> </div> </div> </div> <div class="col-lg-12"> <div class="form-group mb-2"> <div class="d-flex align-items-center"> <label class="col-form-label fs-14 mw-180">Ratings <span class="float-end me-3">:</span></label> <p class="mb-0">{{ $data->ratings}} stars</p> </div> </div> </div> <div class="col-lg-12"> <div class="form-group mb-2"> <div class="d-flex align-items-center"> <label class="col-form-label fs-14 mw-180">Description <span class="float-end me-3">:</span></label> <p class="mb-0">{{ $data->description ?? ''}}</p> </div> </div> </div> <div class="col-lg-12"> <div class="form-group mb-2"> <div class="d-flex align-items-center"> <label class="col-form-label fs-14 mw-180">Rating Date <span class="float-end me-3">:</span></label> <p class="mb-0">{{ _nice_date($data->createdAt) ?? '' }}</p> </div> </div> </div> <div class="col-lg-12"> <div class="form-group"> <div class="d-flex align-items-center"> <label class="col-form-label fs-14 mw-180">Status<span class="float-end me-3">:</span></label> <p class="mb-0"> @if( isset($data->isActive) && $data->isActive == '1' ) Active @else Inactive @endif </p> </div> </div> </div> </div> {{-- <div class="btn btn-rounded-wrap btn-group-left-right d-flex flex-wrap justify-content-between"> <a href="{{ url($actionURL) }}" class="btn btn-rounded btn-outline-danger btn-wh-145-45 mr-2">Cancel</a> <button type="submit" class="btn btn-rounded btn-outline-primary btn-wh-145-45">Save</button> </div> --}} </div> </div> </div> </div> {!! Form::close() !!} </div> @else <div class="user-wrap"> <div class="card bs-4 mb-3 card-dark"> <div class="card-body"> <div class="row align-items-center mb-3"> <div class="col"> <div class="fs-18 fw-600 color-white"> {{ ucfirst($section) }} </div> </div> </div> <hr class="mt-2 mb-3"> {{-- {!! Form::open(['url'=>url($actionURL),'method'=>'get','id'=>'reviewFilter']) !!} <div class="row justify-content-lg-end"> <div class="col-auto ali pt-2"> <div class="col-form-label fs-14">Filter: </div> </div> <div class="col-12 col-md-4 col-sm-12 col-lg-3 mb-3"> <input type="text" name="filter" value="{{ $data['filter'] ?? '' }}" class="form-control fs-14" placeholder="Search Here"> </div> <div class="col-sm-auto col mb-3"> <div class="form-group mb-2"> <button type="submit" data-toggle="tooltip" title="Filter" class="btn btn-primary btn-wh-50-46"><i class="fas fa-filter"></i></button> @if( isset($data['filter']) && !empty($data['filter']) ) <a href="{{ url('review') }}" data-toggle="tooltip" title="Clear" class="btn btn-rounded btn-secondary1 btn-wh-50-46"><i class="fas fa-times-circle"></i></a> @endif </div> </div> </div> {!! Form::close() !!} --}} <div class="tbl-rounded"> <div class="tbl-body"> <div class="table-responsive1"> <table class="table fs-14 reflow-tbl"> <thead> <tr class="bg-color-191919"> <th>Product Name</th> <th>Retailer</th> <th>Brand</th> <th>Type</th> <th>Ratings</th> <th>Rating Date</th> <th>Action</th> </tr> </thead> <tbody> @if (isset($reviews) && count($reviews) > 0) @foreach ($reviews as $review) <tr> <td>{{ $review->product->title ?? '' }}</td> <td>{{ $review->Retailer->FullName ?? '' }}</td> <td>{{ $review->Brand->FullName ?? '' }}</td> <td>{{ $review->type ?? '' }}</td> <td>{{ $review->ratings ?? '' }}</td> <td>{{ _nice_date($review->createdAt) ?? '' }}</td> {{--<td>{{ $review->isActive=='1' ? 'Active' : 'Inactive' }}</td>--}} <td> <div class="d-flex text-center"> @if($review->isActive=='1') <a title="Make Inactive" href="{{url($actionURL.'/action/makeInactive/'.$review->id)}}"><i class="fas fa-check fs-18 text-success"></i></a> @else <a title="Make Active" href="{{url($actionURL.'/action/makeActive/'.$review->id)}}"><i class="fas fa-times-circle fs-18 color-0799c4"></i></a> @endif <span class="mx-1">|</span> <a title="Details" href="{{url($actionURL.'/detail/'.$review->id)}}"><i class="fa fa-eye text-success fs-18"></i> </a> <span class="mx-1">|</span> <a title="Delete" href="javascript:void(0)" onclick="gmx_modal.confirmModal('{{ url($actionURL.'/action/delete/'.$review->id) }}');"><i class="fas fa-trash-alt fs-18 text-danger"></i> </a> </div> </td> </tr> @endforeach @else <tr><td colspan="10" align="center"><div class="alert alert-info text-center my-2" role="alert"> No record found. </div></td></tr> @endif </tbody> </table> </div> </div> </div> <div class="d-flex justify-content-end mt-4"> {{ $reviews->links() }} </div> </div> </div> </div> @endif @stop @section('js') @stop
0
/content/gmx-projects/gmx-admin/admin/resources/views
/content/gmx-projects/gmx-admin/admin/resources/views/admin/login.blade.php
@extends('admin.app.index-no-head-foot') @section('content') <section class="login-section"> <div class="container"> <div class="mw-431 mx-auto"> <div class="card border-0 card-dark bs-2"> <div class="card-body"> <div class="pt-3 pb-3 text-center"> <a href="{{url('/')}}"><img class="card-logo" width="160px" src="{{ env('ASSETS_URL')._get_setting('logo') }}"" alt="image" /></a> </div> <div class="login-form"> {!! Form::open(['url'=>url('/login'),'id'=>'signInForm']) !!} <div class="form-wrap"> <div class="form-group"> <label class="col-form-label fs-14">Email address</label> <input type="text" name="email" class="form-control fs-14" placeholder="Please Enter Email address" /> </div> <div class="form-group"> <label class="col-form-label fs-14">Password</label> <input type="password" name="password" class="form-control fs-14" placeholder="Please Enter Pasword" /> </div> <div class="form-group"> <div class="row"> <div class="col"> <label class="lbl-checkbox cb-sm1 fs-14"><input type="checkbox" name="remember" /><span class="spn-checkbox"></span><text> Remember me</text> </label> </div> <div class="col-md-auto"> <a class="color-0799c3 text-decoration-underline fs-14" href="{{ url('forgotpassword') }}">Forgot Password?</a> </div> </div> </div> <div class="text-center mb-3 mt-3"> <button type="submit" class="btn btn-rounded btn-primary btn-wh-216-50">Sign in</button> </div> </div> {!! Form::close() !!} </div> </div> </div> </div> </div> </section> @endsection
0
/content/gmx-projects/gmx-admin/admin/resources/views
/content/gmx-projects/gmx-admin/admin/resources/views/admin/brands.blade.php
@extends('admin.app.index') @section('css') <link href="{{$ADMIN_THEME_PATH}}/plugins/bootstrap-fileinput/bootstrap-fileinput.css" rel="stylesheet" type="text/css" /> @stop @section('content') @if($view=="add" || $view=="edit") <div class="user-wrap"> @if(isset($data->id)) @php $id = $data->id @endphp @else @php $id = 0 @endphp @endif {!! Form::open(['url'=>url($actionURL.'/action',$view).'/'.$id,'files'=>true,'id'=>'sallerform']) !!} <div class="card bs-4 mb-3 card-dark"> <div class="card-body"> <div class="form-wrap"> <div class="col-lg-12"> <div class="fs-20 color-white fw-600">{{ ucfirst($view) }} {{ ucfirst($singleSection) }}</div> <hr class="mt-1 mb-2"> <div class="row"> <div class="col-lg-4"> <div class="col-form-label">Profile Image</div> @if(isset($data->profilePath) && !empty($data->profilePath) ) @php $imageURL = env('ASSETS_URL').'/'.$data->profilePath @endphp @else @php $imageURL = env('ASSETS_URL').'/'.'image-default.png' @endphp @endif <img src="{{$imageURL}}" style="max-width: 100px" alt= /> </div> <div class="col-lg-8"> <div class="row"> <div class="col-lg-12"> <div class="form-group"> <label class="col-form-label fs-14">Brand Name </label> <input type="text" name="brandName" value="{{ $data->brandName ?? '' }}" class="form-control fs-14"> </div> </div> </div> <div class="row"> <div class="col-lg-6"> <div class="form-group"> <label class="col-form-label fs-14">Brand Establish Year </label> <input type="text" name="year" class="form-control fs-14 numbersOnly" value="{{ $data->year ?? '0' }}"> </div> </div> <div class="col-lg-6"> <div class="form-group"> <label class="col-form-label fs-14">Website </label> <input type="text" name="website" class="form-control fs-14" value="{{ $data->website ?? '' }}"> </div> </div> </div> </div> <div class="col-lg-12"> <div class="form-group"> <label class="col-form-label fs-14">Description </label> <textarea name="description" id="description" class="form-control fs-14">{{ $data->description ?? '' }}</textarea> </div> </div> <div class="btn btn-rounded-wrap btn-group-left-right d-flex flex-wrap justify-content-between"> <a href="{{ url($actionURL) }}" class="btn btn-rounded btn-outline-danger btn-wh-145-45 mr-2">Cancel</a> <button type="submit" class="btn btn-rounded btn-outline-primary btn-wh-145-45">Save</button> </div> </div> </div> </div> </div> {!! Form::close() !!} </div> @else <div class="user-wrap"> <div class="card bs-4 mb-3 card-dark"> <div class="card-body"> <div class="row align-items-center mb-3"> <div class="col"> <div class="fs-18 fw-600 color-white"> {{ ucfirst($section) }} </div> </div> {{--<div class="col-sm-auto"> <a href="{{ url($actionURL.'/add') }}" class="btn btn-rounded btn-primary btn-wh-190-45 fw-600"><i class="fas fa-plus-circle mr-2"></i> Add {{ ucfirst($singleSection) }}</a> </div>--}} </div> <hr class="mt-2 mb-3"> {!! Form::open(['url'=>url($actionURL),'method'=>'get','id'=>'sallerFilter']) !!} <div class="row justify-content-lg-end"> <div class="col-auto ali pt-2"> <div class="col-form-label fs-14">Filter: </div> </div> <div class="col-12 col-md-4 col-sm-12 col-lg-3 mb-3"> <input type="text" name="filter" value="{{ $data['filter'] ?? '' }}" class="form-control fs-14" placeholder="Search Here"> </div> <div class="col-sm-auto col mb-3"> <div class="form-group"> <button type="submit" data-toggle="tooltip" title="Filter" class="btn btn-primary btn-wh-50-46 br-6"><i class="fas fa-filter"></i></button> @if( isset($data['filter']) && !empty($data['filter']) ) <a href="{{ url('brands') }}" data-toggle="tooltip" title="Clear" class="btn btn-secondary1 btn-wh-50-46 br-6"><i class="fas fa-times-circle"></i></a> @endif </div> </div> </div> {!! Form::close() !!} <div class="tbl-rounded"> <div class="tbl-body"> <div class="table-responsive1"> <table class="table fs-14 reflow-tbl"> <thead> <tr class="bg-color-191919"> <th>Brand Name</th> <th>Company Name</th> <!-- <th>Phone Number</th> <th>State</th> --> <th>Status</th> <th width="120">Action</th> </tr> </thead> <tbody> @if (isset($brands) && count($brands) > 0) @foreach ($brands as $brand) <tr> <td>{{ $brand->brandName ?? '' }}</td> <td>{{ $brand->BrandCompany->companyName ?? '' }}</td> <!-- <td>{{ $brand->BrandCompany->phoneNumber ?? '' }}</td> <td>{{ $brand->BrandCompany->State->name ?? '' }}</td> --> <td>{{ ($brand->isActive=='1')?'Active':'Inactive' }}</td> <td> <div class="d-flex text-center"> @if($brand->isActive=='1') <a title="Make Inactive" href="{{url($actionURL.'/action/makeInactive/'.$brand->id)}}"><i class="fas fa-check fs-18 text-success"></i></a> @else <a title="Make Active" href="{{url($actionURL.'/action/makeActive/'.$brand->id)}}"><i class="fas fa-times-circle fs-18 color-0799c4"></i></a> @endif <span class="mx-1">|</span> <a title="Edit" href="{{url($actionURL.'/edit/'.$brand->id)}}"><i class="fas fa-edit text-success fs-18"></i> </a> {{--<span class="mx-1">|</span> <a title="Delete" href="javascript:void(0)" onclick="gmx_modal.confirmModal('{{ url($actionURL.'/action/delete/'.$brand->id) }}');"><i class="fas fa-trash-alt fs-18 text-danger"></i> </a> --}} </div> </td> </tr> @endforeach @else <tr><td colspan="10" align="center"><div class="alert alert-info text-center my-2" role="alert"> No record found. </div></td></tr> @endif </tbody> </table> </div> </div> </div> <div class="d-flex justify-content-end mt-4"> {{ $brands->links() }} </div> </div> </div> </div> @endif @stop @section('js') <script src="{{$ADMIN_THEME_PATH}}/plugins/bootstrap-fileinput/bootstrap-fileinput.js" type="text/javascript"></script> @stop
0
/content/gmx-projects/gmx-admin/admin/resources/views
/content/gmx-projects/gmx-admin/admin/resources/views/admin/sub-categories.blade.php
@extends('admin.app.index') @section('css') @stop @section('content') @if($view=="add" || $view=="edit") <div class="user-wrap"> @if(isset($data->id)) @php $id = $data->id @endphp @else @php $id = 0 @endphp @endif {!! Form::open(['url'=>url($actionURL.'/action',$view).'/'.$id,'files'=>true,'id'=>'categoryform']) !!} <div class="row"> <div class="col-lg-12"> <div class="card bs-4 mb-3 card-dark"> <div class="card-body"> <div class="form-wrap"> <div class="col-lg-12"> <div class="fs-20 color-white fw-600">{{ ucfirst($view) }} {{ ucfirst($singleSection) }}</div> <hr class="mt-1 mb-2"> <div class="row"> <div class="col-lg-12"> <div class="form-group"> <div> <label class="col-form-label fs-14">Category</label> <select class="form-control" id="categoryId" name="categoryId"> <option value="">Select Category</option> @foreach($categories as $category) <option value="{{ $category->id }}" @if( isset($data->categoryId) && $data->categoryId == $category->id ) selected @endif>{{ $category->title }}</option> @endforeach </select> </div> </div> </div> <div class="col-lg-12"> <div class="form-group"> <label class="col-form-label fs-14">Title </label> <input type="text" name="title" value="{{ $data->title ?? '' }}" class="form-control fs-14" required> </div> </div> <div class="col-lg-12"> <div class="form-group"> <div> <label class="col-form-label fs-14">Status</label> <select class="form-control" id="isActive" name="isActive"> <option value="1" @if( isset($data->isActive) && $data->isActive == '1' ) selected @endif>Active</option> <option value="2" @if( isset($data->isActive) && $data->isActive == '2' ) selected @endif>Inactive</option> </select> </div> </div> </div> </div> <div class="btn btn-rounded-wrap btn-group-left-right d-flex flex-wrap justify-content-between"> <a href="{{ url($actionURL) }}" class="btn btn-rounded btn-outline-danger btn-wh-145-45 mr-2">Cancel</a> <button type="submit" class="btn btn-rounded btn-outline-primary btn-wh-145-45">Save</button> </div> </div> </div> </div> </div> </div> </div> {!! Form::close() !!} </div> @else <div class="user-wrap"> <div class="card bs-4 mb-3 card-dark"> <div class="card-body"> <div class="row align-items-center mb-3"> <div class="col"> <div class="fs-18 fw-600 color-white"> {{ ucfirst($section) }} </div> </div> <div class="col-sm-auto"> <a href="{{ url($actionURL.'/add') }}" class="btn btn-rounded btn-primary btn-wh-190-45 fw-600"><i class="fas fa-plus-circle mr-2"></i> Add {{ ucfirst($singleSection) }}</a> </div> </div> <hr class="mt-2 mb-3"> {!! Form::open(['url'=>url($actionURL),'method'=>'get','id'=>'categoryFilter']) !!} <div class="row justify-content-lg-end"> <div class="col-auto ali pt-2"> <div class="col-form-label fs-14">Filter: </div> </div> <div class="col-12 col-md-4 col-sm-12 col-lg-3 mb-3"> <input type="text" name="filter" value="{{ $data['filter'] ?? '' }}" class="form-control fs-14" placeholder="Search Here"> </div> <div class="col-sm-auto col mb-3"> <div class="form-group"> <button type="submit" data-toggle="tooltip" title="Filter" class="btn btn-primary btn-wh-50-46 br-6"><i class="fas fa-filter"></i></button> @if( isset($data['filter']) && !empty($data['filter']) ) <a href="{{ url('categories') }}" data-toggle="tooltip" title="Clear" class="btn btn-secondary1 btn-wh-50-46 br-6"><i class="fas fa-times-circle"></i></a> @endif </div> </div> </div> {!! Form::close() !!} <div class="tbl-rounded"> <div class="tbl-body"> <div class="table-responsive1"> <table class="table fs-14 reflow-tbl"> <thead> <tr class="bg-color-191919"> <th>Category</th> <th>Title</th> <th>Status</th> <th width="180">Action</th> </tr> </thead> <tbody> @if (isset($categories) && count($categories) > 0) @foreach ($categories as $category) <tr> <td>{{ $category->category->title ?? '' }}</td> <td>{{ $category->title ?? '' }}</td> <td>{{ ($category->isActive=='1')?'Active':'Inactive' }}</td> <td> <div class="d-flex text-center"> @if($category->isActive=='1') <a title="Make Inactive" href="{{url($actionURL.'/action/makeInactive/'.$category->id)}}"><i class="fas fa-check fs-18 text-success"></i></a> @else <a title="Make Active" href="{{url($actionURL.'/action/makeActive/'.$category->id)}}"><i class="fas fa-times-circle fs-18 color-0799c4"></i></a> @endif <span class="mx-1">|</span> <a title="Edit" href="{{url($actionURL.'/edit/'.$category->id)}}"><i class="fas fa-edit text-success fs-18"></i> </a> <span class="mx-1">|</span> <a title="Delete" href="javascript:void(0)" onclick="gmx_modal.confirmModal('{{ url($actionURL.'/action/delete/'.$category->id) }}');"><i class="fas fa-trash-alt fs-18 text-danger"></i> </a> </div> </td> </tr> @endforeach @else <tr><td colspan="10" align="center"><div class="alert alert-info text-center my-2" role="alert"> No record found. </div></td></tr> @endif </tbody> </table> </div> </div> </div> <div class="d-flex justify-content-end mt-4"> {{ $categories->links() }} </div> </div> </div> </div> @endif @stop @section('js') @stop
0
/content/gmx-projects/gmx-admin/admin/resources/views
/content/gmx-projects/gmx-admin/admin/resources/views/admin/strain.blade.php
@extends('admin.app.index') @section('css') @stop @section('content') @if($view=="add" || $view=="edit") <div class="user-wrap"> @if(isset($data->id)) @php $id = $data->id @endphp @else @php $id = 0 @endphp @endif {!! Form::open(['url'=>url($actionURL.'/action',$view).'/'.$id,'files'=>true,'id'=>'strainform']) !!} <div class="card bs-4 mb-3 card-dark"> <div class="card-body"> <div class="form-wrap"> <div class="col-lg-12"> <div class="fs-20 color-white fw-600">{{ ucfirst($view) }} {{ ucfirst($singleSection) }}</div> <hr class="mt-1 mb-2"> <div class="row"> <div class="col-lg-12"> <div class="form-group"> <label class="col-form-label fs-14">Title </label> <input type="text" name="title" value="{{ $data->title ?? '' }}" class="form-control fs-14"> </div> </div> <div class="col-lg-12"> <div class="form-group"> <div> <label class="col-form-label fs-14">Status</label> <select class="form-control" id="isActive" name="isActive"> <option value="1" @if( isset($data->isActive) && $data->isActive == '1' ) selected @endif>Active</option> <option value="2" @if( isset($data->isActive) && $data->isActive == '2' ) selected @endif>Inactive</option> </select> </div> </div> </div> </div> <div class="btn btn-rounded-wrap btn-group-left-right d-flex flex-wrap justify-content-between"> <a href="{{ url($actionURL) }}" class="btn btn-rounded btn-outline-danger btn-wh-145-45 mr-2">Cancel</a> <button type="submit" class="btn btn-rounded btn-outline-primary btn-wh-145-45">Save</button> </div> </div> </div> </div> </div> {!! Form::close() !!} </div> @else <div class="user-wrap"> <div class="card bs-4 mb-3 card-dark"> <div class="card-body"> <div class="row align-items-center mb-3"> <div class="col"> <div class="fs-18 fw-600 color-white"> {{ ucfirst($section) }} </div> </div> <div class="col-sm-auto"> <a href="{{ url($actionURL.'/add') }}" class="btn btn-rounded btn-primary btn-wh-190-45 fw-600"><i class="fas fa-plus-circle mr-2"></i> Add {{ ucfirst($singleSection) }}</a> </div> </div> <hr class="mt-2 mb-3"> {!! Form::open(['url'=>url($actionURL),'method'=>'get','id'=>'strainFilter']) !!} <div class="row justify-content-lg-end"> <div class="col-auto ali pt-2"> <div class="col-form-label fs-14">Filter: </div> </div> <div class="col-12 col-md-4 col-sm-12 col-lg-3 mb-3"> <input type="text" name="filter" value="{{ $data['filter'] ?? '' }}" class="form-control fs-14" placeholder="Search Here"> </div> <div class="col-sm-auto col mb-3"> <div class="form-group"> <button type="submit" data-toggle="tooltip" title="Filter" class="btn btn-primary btn-wh-50-46 br-6"><i class="fas fa-filter"></i></button> @if( isset($data['filter']) && !empty($data['filter']) ) <a href="{{ url('strain') }}" data-toggle="tooltip" title="Clear" class="btn btn-secondary1 btn-wh-50-46 br-6"><i class="fas fa-times-circle"></i></a> @endif </div> </div> </div> {!! Form::close() !!} <div class="tbl-rounded"> <div class="tbl-body"> <div class="table-responsive1"> <table class="table fs-14 reflow-tbl"> <thead> <tr class="bg-color-191919"> <th>Title</th> <th>Status</th> <th width="180">Action</th> </tr> </thead> <tbody> @if (isset($strains) && count($strains) > 0) @foreach ($strains as $strain) <tr> <td>{{ $strain->title ?? '' }}</td> <td>{{ ($strain->isActive=='1')?'Active':'Inactive' }}</td> <td> <div class="d-flex text-center"> <a title="Edit" href="{{url($actionURL.'/edit/'.$strain->id)}}"><i class="fas fa-edit text-success fs-18"></i> </a> <span class="mx-1">|</span> <a title="Delete" href="javascript:void(0)" onclick="gmx_modal.confirmModal('{{ url($actionURL.'/action/delete/'.$strain->id) }}');"><i class="fas fa-trash-alt fs-18 text-danger"></i> </a> </div> </td> </tr> @endforeach @else <tr><td colspan="10" align="center"><div class="alert alert-info text-center my-2" role="alert"> No record found. </div></td></tr> @endif </tbody> </table> </div> </div> </div> <div class="d-flex justify-content-end mt-4"> {{ $strains->links() }} </div> </div> </div> </div> @endif @stop @section('js') @stop
0
/content/gmx-projects/gmx-admin/admin/resources/views
/content/gmx-projects/gmx-admin/admin/resources/views/admin/email-templates.blade.php
@extends('admin.app.index') @section('css') @stop @section('content') @if($view=="add" || $view=="edit") {{--<link href="{{$ADMIN_THEME_PATH}}/plugins/bootstrap-fileinput/bootstrap-fileinput.css" rel="stylesheet" type="text/css" />--}} <div class="user-wrap"> @if(isset($data->id)) @php $id = $data->id @endphp @else @php $id = 0 @endphp @endif {!! Form::open(['url'=>url($actionURL.'/action',$view).'/'.$id,'files'=>true,'id'=>'emailtemplateform']) !!} <div class="card bs-4 mb-3 card-dark"> <div class="card-body"> <div class="form-wrap"> <div class="col-lg-12"> <div class="fs-20 color-white fw-600">{{ ucfirst($view) }} {{ ucfirst($singleSection) }}</div> <hr class="mt-1 mb-2"> <div class="row"> <div class="col-lg-6"> <div class="form-group"> <label class="col-form-label fs-14">Title </label> <input type="text" name="title" value="{{ $data->title ?? '' }}" class="form-control fs-14"> </div> </div> <div class="col-lg-6"> <div class="form-group"> <label class="col-form-label fs-14">Subject </label> <input type="text" name="subject" value="{{ $data->subject ?? '' }}" class="form-control fs-14"> </div> </div> <div class="col-lg-6"> <div class="form-group"> <div> <label class="col-form-label fs-14">Email Header</label> <select class="form-control" id="headerId" name="headerId"> <option value="">Select Email Header</option> @foreach($emailHeaders as $header) <option value="{{ $header->id }}" @if( isset($data->headerId) && $data->headerId == $header->id ) selected @endif>{{ $header->title }}</option> @endforeach </select> </div> </div> </div> <div class="col-lg-6"> <div class="form-group"> <div> <label class="col-form-label fs-14">Email Footer</label> <select class="form-control" id="footerId" name="footerId"> <option value="">Select Email Footer</option> @foreach($emailFooters as $footer) <option value="{{ $footer->id }}" @if( isset($data->footerId) && $data->footerId == $footer->id ) selected @endif>{{ $footer->title }}</option> @endforeach </select> </div> </div> </div> <div class="col-lg-12"> <div class="form-group"> <div> <div class="col-form-label fs-14">Description</div> <textarea class="form-control" name="body" id="body">{!! $data->body ?? '' !!}</textarea> </div> </div> </div> <div class="col-lg-12"> <div class="form-group"> <div> <label class="col-form-label fs-14">Status</label> <select class="form-control" id="status" name="status"> <option value="1" @if( isset($data->status) && $data->status == '1' ) selected @endif>Active</option> <option value="2" @if( isset($data->status) && $data->status == '2' ) selected @endif>Inactive</option> </select> </div> </div> </div> </div> <div class="btn btn-rounded-wrap btn-group-left-right d-flex flex-wrap justify-content-between"> <a href="{{ url($actionURL) }}" class="btn btn-rounded btn-outline-danger btn-wh-145-45 mr-2">Cancel</a> <button type="submit" class="btn btn-rounded btn-outline-primary btn-wh-145-45">Save</button> </div> </div> </div> </div> </div> {!! Form::close() !!} </div> {{--<script src="{{$ADMIN_THEME_PATH}}/plugins/bootstrap-fileinput/bootstrap-fileinput.js" type="text/javascript"></script>--}} @else <div class="user-wrap"> <div class="card bs-4 mb-3 card-dark"> <div class="card-body"> <div class="row align-items-center mb-3"> <div class="col"> <div class="fs-18 fw-600 color-white"> {{ ucfirst($section) }} </div> </div> <div class="col-sm-auto"> <a href="{{ url($actionURL.'/add') }}" class="btn btn-rounded btn-primary btn-wh-190-45 fw-600"><i class="fas fa-plus-circle mr-2"></i> Add {{ ucfirst($singleSection) }}</a> </div> </div> <hr class="mt-2 mb-3"> <div class="tbl-rounded"> <div class="tbl-body"> <div class="table-responsive1"> <table id="email_templates_table" class="table fs-14 reflow-tbl"> <thead> <tr class="bg-color-191919"> <th>Title</th> <th>Status</th> <th width="180">Action</th> </tr> </thead> <tbody> @if (isset($emailTemplates) && count($emailTemplates) > 0) @foreach ($emailTemplates as $emailTemplate) <tr> <td>{{ $emailTemplate->title ?? '' }}</td> <td>{{ ($emailTemplate->status=='1')?'Active':'Inactive' }}</td> <td> <div class="d-flex text-center"> @if ($emailTemplate->status == '1') <a title="Make Inactive" href="{{url($actionURL.'/action/makeInactive/'.$emailTemplate->id)}}"><i class="fas fa-check fs-18 text-success"></i> </a> @else <a title="Make Active" href="{{url($actionURL.'/action/makeActive/'.$emailTemplate->id)}}"><i class="far fa-times-circle fs-18 color-0799c4"></i> </a> @endif <span class="mx-1">|</span> <a title="Edit" href="{{url($actionURL.'/edit/'.$emailTemplate->id)}}"><i class="fas fa-edit fs-18 text-success"></i> </a> <span class="mx-1">|</span> <a title="Delete" href="javascript:void(0)" onclick="mechanech_modal.confirmModal('{{ url($actionURL.'/action/delete/'.$emailTemplate->id) }}');"><i class="far fa-trash-alt fs-18 text-danger"></i> </a> </div> </td> </tr> @endforeach @else <tr><td colspan="10" align="center"><div class="alert alert-info text-center my-2" role="alert"> No record found. </div></td></tr> @endif </tbody> </table> </div> </div> </div> <div class="d-flex justify-content-end mt-4"> {{ $emailTemplates->links() }} </div> </div> </div> </div> @endif @stop @section('js') <script type="text/javascript" src="{{ url('node_modules/ckeditor/ckeditor.js') }}"></script> <script type="text/javascript"> $(document).ready(function(){ var ck_config = { height:'20em', removeButtons:'Templates,Save,NewPage,ExportPdf,Preview,Print,Cut,Undo,Redo,Copy,Paste,PasteText,PasteFromWord,Find,Replace,SelectAll,Scayt,Form,Checkbox,Radio,TextField,Textarea,Select,Button,ImageButton,HiddenField,About,Maximize,BGColor,ShowBlocks,TextColor,Styles,Format,Font,FontSize,Iframe,Flash,Table,Image,HorizontalRule,Smiley,SpecialChar,PageBreak,Link,Unlink,Anchor,Language,BidiRtl,BidiLtr,JustifyLeft,Blockquote,Outdent,Indent,CreateDiv,JustifyCenter,JustifyRight,JustifyBlock,NumberedList,CopyFormatting,RemoveFormat,Underline,Strike,Superscript,Subscript', removePlugins: 'elementspath' }; gmx_app.getckeditor($('#body'),ck_config); }); </script> @stop
0
/content/gmx-projects/gmx-admin/admin/resources/views
/content/gmx-projects/gmx-admin/admin/resources/views/admin/order.blade.php
@extends('admin.app.index') @section('css') @stop @section('content') @if($view=="Details") <div class="user-wrap"> @if(isset($data->id)) @php $id = $data->id @endphp @else @php $id = 0 @endphp @endif {!! Form::open(['url'=>url($actionURL.'/action',$view).'/'.$id,'files'=>true,'id'=>'reviewform']) !!} <div class="card bs-4 mb-3 card-dark"> <div class="card-body"> <div class="form-wrap"> <div class="col-lg-12"> <div class="fs-20 color-white fw-600">{{ ucfirst($singleSection) }} {{ ucfirst($view) }}</div> <hr class="mt-1 mb-2"> <div class="row"> <div style="display: inline-block; width: 100%;margin-bottom: 10px;"> <div style="display: inline-block; width: 48%; vertical-align: top;"> <table style="width:100%;"> <tbody> <tr> <th class="text-left"> <p class="text-left mtb-2"> <b>Invoice#:</b> {{ $order->invoiceId ?? '' }} </p> </th> </tr> </tbody> </table> </div> <div style="display: inline-block; width: 48%; vertical-align: top;"> <table style="width:100%;"> <tbody> <tr> <th class="text-left"> <p class="text-left mtb-2"> <b>Order Date:</b> {{ _nice_date($order->createdAt) ?? '' }} </p> </th> </tr> </tbody> </table> </div> </div> <div style="display: inline-block; width: 100%;margin-bottom: 50px;"> @if(isset($order->User->RetailerCompany)) <div style="display: inline-block; width: 48%; vertical-align: top;"> <table style="width:100%;"> <tbody> <tr> <th class="text-left"> <p class="text-left mtb-2"> <b>Buyer @if(isset($order->User->RetailerCompany->Stores))<small>License #{{$order->User->RetailerCompany->Stores->licenseNumber}}@endif</b> </p> </th> </tr> <tr> <th> <p class="text-left">{{ $order->User->RetailerCompany->companyName ?? '' }}</p> @if(isset($order->User->RetailerCompany->Stores)) <p class="text-left"><small>{{$order->User->RetailerCompany->Stores->address}} {{ $order->User->RetailerCompany->Stores->zipCode ?? '' }}</small></p> <p class="text-left">Phone Number: {{ $order->User->RetailerCompany->Stores->phoneNumber ?? '' }}</p> @endif <p class="text-left">Email: {{ $order->User->email ?? '' }}</p> </th> </tr> </tbody> </table> </div> @endif @if(isset($order->Brand->BrandCompany)) <div style="display: inline-block; width: 48%; vertical-align: top;"> <table style="width:100%;"> <tbody> <tr> <th class="text-left"> <p class="text-left mtb-2"> <b>Seller <small>License #{{$order->Brand->BrandCompany->licenseNumber ?? ''}}</b> </p> </th> </tr> <tr> <th> <p class="text-left">{{$order->Brand->brandName ?? ''}}</p> <p class="text-left"><small>{{ $order->Brand->BrandCompany->address ?? '' }} {{ $order->Brand->BrandCompany->zipCode ?? '' }}</small></p> <p class="text-left">Phone Number: {{ $order->Brand->BrandCompany->phoneNumber ?? '' }}</p> <p class="text-left">Email: {{ $order->Brand->BrandUser->email ?? '' }}</p> </th> </tr> </tbody> </table> </div> @endif </div> <table class="custom-table" style="margin-bottom: 30px;"> <thead style="background-color: #4b4b4b"> <tr> <th class="color-000000">Product</th> <th class="color-000000">Brand</th> <th class="color-000000 text-center">Units Per Package</th> <th class="color-000000 text-center">Package Price</th> <th class="color-000000 text-center">Package</th> <th class="color-000000 text-center">Delivery Date</th> <th class="color-000000 text-center">Status</th> <th class="color-000000">Total</th> </tr> </thead> <tbody> @if (isset($order->orderInvoiceItems) && count($order->orderInvoiceItems) > 0) @foreach ($order->orderInvoiceItems as $orderInvoiceItem) <tr> <td class="text-left"> <p>@if($orderInvoiceItem->Product) {{ $orderInvoiceItem->Product->title }} @else - @endif</p> <p>(@if($orderInvoiceItem->Category) {{ $orderInvoiceItem->Category->title }} @else - @endif)</p> </td> <td class="text-left"> @if($orderInvoiceItem->Brand) <p>{{ $orderInvoiceItem->Brand->brandName }}</p>@endif </td> <td class="text-center"> <p>{{$orderInvoiceItem->unitPerPackage}}</p> </td> <td class="text-center"> <p>{{ _price($orderInvoiceItem->price) }}</p> </td> <td class="text-center"> <p>{{$orderInvoiceItem->quantity}}</p> </td> <td class="text-center"> <p>@if($orderInvoiceItem->deliveryDate) {{ _nice_date($orderInvoiceItem->deliveryDate) ?? '-' }} @else - @endif</p> </td> <td class="text-center"> <p>{{$orderInvoiceItem->getStatusTextAttribute()}}</p> </td> <td> <p>{{ _price($orderInvoiceItem->finalTotal) }}</p> <!-- <p>-$50 <small>Discount name (if applicable)</small></p> <hr> <p>$450</p> --> </td> </tr> @endforeach @endif </tbody> <tfoot style="border-top:1px solid #dee2e6"> <tr style="border-bottom:none;"> <td colspan="6"></td> <td class="text-right"> <p><strong>Order Total:</strong></p> <!-- <p><strong>Discounts</strong></p> <p><strong>Adjusted Total</strong></p> --> </td> <td class="text-left"> <p>{{ _price($order->finalTotal) }}</p> </td> </tr> </tfoot> </table> </div> {{-- <div class="btn btn-rounded-wrap btn-group-left-right d-flex flex-wrap justify-content-between"> <a href="{{ url($actionURL) }}" class="btn btn-rounded btn-outline-danger btn-wh-145-45 mr-2">Cancel</a> <button type="submit" class="btn btn-rounded btn-outline-primary btn-wh-145-45">Save</button> </div> --}} </div> </div> </div> </div> {!! Form::close() !!} </div> @else <div class="user-wrap"> <div class="card bs-4 mb-3 card-dark"> <div class="card-body"> <div class="row align-items-center mb-3"> <div class="col"> <div class="fs-18 fw-600 color-white"> {{ ucfirst($section) }} </div> </div> </div> <hr class="mt-2 mb-3"> {!! Form::open(['url'=>url($actionURL),'method'=>'get','id'=>'orderfilter']) !!} <div class="row justify-content-lg-end"> <!-- <div class="col-auto ali pt-2"> <div class="col-form-label fs-14">Filter: </div> </div> --> <!-- <div class="col-12 col-md-4 col-sm-12 col-lg-3 mb-3"> <input type="text" name="filter" value="{{ $data['filter'] ?? '' }}" class="form-control fs-14" placeholder="Search Here"> </div> --> <div class="col-12 col-md-4 col-sm-12 col-lg-3 mb-3"> <input type="text" name="date_filter" id="date_filter" class="form-control datepicker" placeholder="Filter Date" @if(isset($data['date_filter']) && !empty($data['date_filter'])) value="{{ $data['date_filter'] }}" @endif> </div> <div class="col-12 col-md-4 col-sm-12 col-lg-2 mb-3"> <select class="form-control" id="status" name="status" data-select2init="true" data-placeholder="Select Status"> <option value="">Select Status</option> @foreach ($statuses as $key=>$status) <option value="{{$key}}" @if(isset($data['status']) && !empty($data['status']) && $data['status'] == $key) selected @endif>{{$status}}</option> @endforeach </select> </div> <div class="col-12 col-md-4 col-sm-12 col-lg-3 mb-3"> <select class="form-control" id="brand" name="brand" data-select2init="true" data-placeholder="Select Brand"> <option value="">Select Brand</option> @foreach ($brands as $brand) <option value="{{$brand->id}}" @if(isset($data['brand']) && !empty($data['brand']) && $data['brand'] == $brand->userId) selected @endif>{{$brand->brandName}}</option> @endforeach </select> </div> <div class="col-12 col-md-4 col-sm-12 col-lg-3 mb-3"> <select class="form-control" id="retailer" name="retailer" data-select2init="true" data-placeholder="Select Retailer"> <option value="">Select Retailer</option> @foreach ($retailers as $retailer) @if($retailer->RetailerCompany) <option value="{{$retailer->RetailerCompany->userId}}" @if(isset($data['retailer']) && !empty($data['retailer']) && $data['retailer'] == $retailer->RetailerCompany->userId) selected @endif>{{$retailer->RetailerCompany->companyName}}</option> @endif @endforeach </select> </div> <div class="col-sm-auto col mb-3"> <div class="form-group mb-2"> <button type="submit" data-toggle="tooltip" title="Filter" class="btn btn-primary btn-wh-50-46"><i class="fas fa-filter"></i></button> @if((isset($data['date_filter']) && !empty($data['date_filter'])) || (isset($data['status']) && !empty($data['status'])) || (isset($data['brand']) && !empty($data['brand'])) || (isset($data['retailer']) && !empty($data['retailer']))) <a href="{{ url($actionURL) }}" data-toggle="tooltip" title="Clear" class="btn btn-rounded btn-secondary1 btn-wh-50-46"><i class="fas fa-times-circle"></i></a> @endif </div> </div> </div> {!! Form::close() !!} <div class="tbl-rounded"> <div class="tbl-body"> <div class="table-responsive1"> <table class="table fs-14 reflow-tbl"> <thead> <tr class="bg-color-191919"> <th>Order ID</th> <th>Order Date</th> <th>Retailer</th> <th>Order Total</th> </tr> </thead> <tbody> @if (isset($orders) && count($orders) > 0) @foreach ($orders as $order) <tr> <td>#{{ $order->orderId ?? '' }}</td> <td>{{ _nice_date($order->createdAt) ?? '' }}</td> <td> @if(isset($order->User->RetailerCompany->slug)) <a title="Details" href="{{url(env('FRONTEND_BASE_URL').'/customer/'.$order->User->RetailerCompany->slug)}}" target="_blank">{{ $order->User->RetailerCompany->companyName ?? '' }}</a> @else - @endif </td> <td>{{ _price($order->finalTotal) ?? '' }}</td> </tr> <tr> <td colspan="12"> <table class="table fs-14 reflow-tbl"> <thead> <tr class="bg-color-191919"> <th>Invoice #</th> <th>Company</th> <th>Payment Due</th> <th>Payment</th> <th>Action</th> </tr> </thead> <tbody> @if (isset($order->orderInvoices) && count($order->orderInvoices) > 0) @foreach ($order->orderInvoices as $orderInvoice) <tr> <td>{{ $orderInvoice->invoiceId }}</td> <td>@if($orderInvoice->BrandCompany) {{ $orderInvoice->BrandCompany->companyName }} @else - @endif</td> <td>{{ _nice_date($orderInvoice->paymentDue) ?? '' }}</td> <td>@if($orderInvoice->paymentStatus === '1') Paid @else Unpaid @endif</td> <td> <div class="d-flex text-center"> <a title="Details" href="{{url($actionURL.'/detail/'.$orderInvoice->id)}}"><i class="fa fa-eye text-success fs-18"></i> </a> </a> </div> </td> </tr> <tr> <td colspan="12"> <table class="table fs-14 reflow-tbl"> <thead> <tr class="bg-color-191919"> <th>Product</th> <th>Brand</th> <th>Category</th> <th>Units Per Package</th> <th>Package Price</th> <th>Package</th> <th>Delivery Due</th> <th>Status</th> <th>Total</th> </tr> </thead> <tbody> @if (isset($orderInvoice->orderInvoiceItems) && count($orderInvoice->orderInvoiceItems) > 0) @foreach ($orderInvoice->orderInvoiceItems as $orderInvoiceItem) <tr> <td>@if($orderInvoiceItem->Product) {{ $orderInvoiceItem->Product->title }} @else - @endif</td> <td> @if(isset($orderInvoiceItem->Brand)) <a title="Details" href="{{url(env('FRONTEND_BASE_URL').'/brand/'.$orderInvoiceItem->Brand->slug)}}" target="_blank">{{ $orderInvoiceItem->Brand->brandName ?? '' }}</a> @else - @endif </td> <td>@if($orderInvoiceItem->Category) {{ $orderInvoiceItem->Category->title }} @else - @endif</td> <td>{{ $orderInvoiceItem->unitPerPackage }}</td> <td>{{ _price($orderInvoiceItem->price) }}</td> <td>{{ $orderInvoiceItem->quantity }}</td> <td>{{ _nice_date($orderInvoiceItem->paymentDue) ?? '' }}</td> <td>{{ $orderInvoiceItem->getStatusTextAttribute() }}</td> <td>{{ _price($orderInvoiceItem->finalTotal) }}</td> </tr> @endforeach @endif </tbody> </table> </td> </tr> @endforeach @endif </tbody> </table> </td> </tr> @endforeach @else <tr><td colspan="12" align="center"><div class="alert alert-info text-center my-2" role="alert"> No record found. </div></td></tr> @endif </tbody> </table> </div> </div> </div> <div class="d-flex justify-content-end mt-4"> {{ $orders->links() }} </div> </div> </div> </div> @endif @stop @section('js') <script> $(function(){ $("#date_filter").flatpickr({ position:"bottom", mode: "range", dateFormat: "Y-m-d", disableMobile: true }); }); </script> @stop
0
/content/gmx-projects/gmx-admin/admin/resources/views
/content/gmx-projects/gmx-admin/admin/resources/views/admin/product.blade.php
@extends('admin.app.index') @section('css') @stop @section('content') @if($view=="Details") <div class="user-wrap"> @if(isset($data->id)) @php $id = $data->id @endphp @else @php $id = 0 @endphp @endif {!! Form::open(['url'=>url($actionURL.'/action',$view).'/'.$id,'files'=>true,'id'=>'productform']) !!} <div class="row"> <div class="col-xl-12"> <div class="card bs-4 mb-3 card-dark"> <div class="card-body"> <div class="form-wrap"> <div class="col-lg-12"> <div class="fs-20 color-white fw-600">{{ ucfirst($view) }} {{ ucfirst($singleSection) }}</div> <hr class="mt-1 mb-2"> <div class="row"> <div class="col-lg-12"> <div class="form-group mb-2"> <div class="d-flex align-items-center"> <label class="col-form-label fs-14 mw-180">Title <span class="float-end me-3">:</span></label> <p class="mb-0">{{ $data->title ?? '' }}</p> </div> </div> </div> <div class="col-lg-12"> <div class="form-group mb-2"> <div class="d-flex align-items-center"> <label class="col-form-label fs-14 mw-180">User <span class="float-end me-3">:</span></label> <p class="mb-0">{{ $data->user->firstName ?? '' }} {{ $data->user->lastName ?? ''}}</p> </div> </div> </div> <div class="col-lg-12"> <div class="form-group mb-2"> <div class="d-flex align-items-center"> <label class="col-form-label fs-14 mw-180">Title <span class="float-end me-3">:</span></label> <p class="mb-0">{{ $data->title}}</p> </div> </div> </div> <div class="col-lg-12"> <div class="form-group mb-2"> <div class="d-flex align-items-center"> <label class="col-form-label fs-14 mw-180">Category <span class="float-end me-3">:</span></label> <p class="mb-0">{{ $data->category->title ?? ''}}</p> </div> </div> </div> <div class="col-lg-12"> <div class="form-group mb-2"> <div class="d-flex align-items-center"> <label class="col-form-label fs-14 mw-180">Med/Rec <span class="float-end me-3">:</span></label> <p class="mb-0">{{ $data->medRec->title ?? ''}}</p> </div> </div> </div> <div class="col-lg-12"> <div class="form-group mb-2"> <div class="d-flex align-items-center"> <label class="col-form-label fs-14 mw-180">Price <span class="float-end me-3">:</span></label> <p class="mb-0">{{ _price($data->price) ?? ''}}</p> </div> </div> </div> <div class="col-lg-12"> <div class="form-group mb-2"> <div class="d-flex align-items-center"> <label class="col-form-label fs-14 mw-180">Strain <span class="float-end me-3">:</span></label> <p class="mb-0">{{ $data->strain->title ?? ''}}</p> </div> </div> </div> <div class="col-lg-12"> <div class="form-group mb-2"> <div class="d-flex align-items-center"> <label class="col-form-label fs-14 mw-180">Dominant Terpene <span class="float-end me-3">:</span></label> <p class="mb-0">{{ $data->dominant ?? ''}}</p> </div> </div> </div> <div class="col-lg-12"> <div class="form-group mb-2"> <div class="d-flex align-items-center"> <label class="col-form-label fs-14 mw-180">I/O <span class="float-end me-3">:</span></label> <p class="mb-0">{{ $data->ioro->title ?? ''}}</p> </div> </div> </div> <div class="col-lg-12"> <div class="form-group mb-2"> <div class="d-flex align-items-center"> <label class="col-form-label fs-14 mw-180">Harvested <span class="float-end me-3">:</span></label> <p class="mb-0">{{ _nice_date($data->harvested) ?? ''}}</p> </div> </div> </div> <div class="col-lg-12"> <div class="form-group"> <div class="d-flex align-items-center"> <label class="col-form-label fs-14 mw-180">Status<span class="float-end me-3">:</span></label> <p class="mb-0"> @if( isset($data->isActive) && $data->isActive == '1' ) Active @else Inactive @endif </p> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> {!! Form::close() !!} </div> @else <div class="user-wrap"> <div class="card bs-4 mb-3 card-dark"> <div class="card-body"> <div class="row align-items-center mb-3"> <div class="col"> <div class="fs-18 fw-600 color-white"> {{ ucfirst($section) }} </div> </div> </div> <hr class="mt-2 mb-3"> {!! Form::open(['url'=>url($actionURL),'method'=>'get','id'=>'productFilter']) !!} <div class="row justify-content-lg-end"> <div class="col-auto ali pt-2"> <div class="col-form-label fs-14">Filter: </div> </div> <div class="col-12 col-md-4 col-sm-12 col-lg-3 mb-3"> <input type="text" name="filter" value="{{ $data['filter'] ?? '' }}" class="form-control fs-14" placeholder="Search Here"> </div> <div class="col-sm-auto col mb-3"> <div class="form-group mb-2"> <button type="submit" data-toggle="tooltip" title="Filter" class="btn btn-primary btn-wh-50-46 br-6"><i class="fas fa-filter"></i></button> @if( isset($data['filter']) && !empty($data['filter']) ) <a href="{{ url('product') }}" data-toggle="tooltip" title="Clear" class="btn btn-secondary1 btn-wh-50-46 br-6"><i class="fas fa-times-circle"></i></a> @endif </div> </div> </div> {!! Form::close() !!} <div class="tbl-rounded"> <div class="tbl-body"> <div class="table-responsive1"> <table class="table fs-14 reflow-tbl"> <thead> <tr class="bg-color-191919"> <th>Product Name</th> <th>Category</th> <th>Med/Rec</th> <!-- <th>Price Per lbl</th> --> <th>Strain</th> <th>THC%</th> <th>Flavor</th> <th>Dominant Terpene</th> <!-- <th>I/O</th> --> <th>Expiration Date</th> <th width="120">Action</th> </tr> </thead> <tbody> @if (isset($products) && count($products) > 0) @foreach ($products as $product) <tr> <td>{{ $product->title ?? '' }}</td> <td>{{ $product->category->title ?? '' }}</td> <td>{{ $product->medRec->title ?? '' }}</td> <!-- <td>{{ _price($product->price) ?? '' }}</td> --> <td>{{ $product->strain->title ?? '' }}</td> <td>{{ $product->thc ?? '' }}%</td> <td>{{ $product->flavor ?? '' }}</td> <td>{{ $product->dominant ?? '' }}</td> <!-- <td>{{ $product->ioro->title ?? '' }}</td> --> <td>{{ _nice_date($product->harvested) ?? '' }}</td> <td> <div class="d-flex text-center"> <a title="Details" href="{{url(env('FRONTEND_BASE_URL').'/product/'.$product->slug)}}" target="_blank"><i class="fa fa-eye text-success fs-18"></i> </a> <span class="mx-1">|</span> @if($product->isActive=='1') <a title="Make Inactive" href="{{url($actionURL.'/action/makeInactive/'.$product->id)}}"><i class="fas fa-check fs-18 text-success"></i></a> @else <a title="Make Active" href="{{url($actionURL.'/action/makeActive/'.$product->id)}}"><i class="fas fa-times-circle fs-18 color-0799c4"></i></a> @endif </div> </td> </tr> @endforeach @else <tr><td colspan="10" align="center"><div class="alert alert-info text-center my-2" role="alert"> No record found. </div></td></tr> @endif </tbody> </table> </div> </div> </div> <div class="d-flex justify-content-end mt-4"> {{ $products->links() }} </div> </div> </div> </div> @endif @stop @section('js') @stop
0
/content/gmx-projects/gmx-admin/admin/resources/views
/content/gmx-projects/gmx-admin/admin/resources/views/admin/transaction.blade.php
@extends('admin.app.index') @section('css') @stop @section('content') @if($view=="Details") <div class="user-wrap"> @if(isset($data->id)) @php $id = $data->id @endphp @else @php $id = 0 @endphp @endif {!! Form::open(['url'=>url($actionURL.'/action',$view).'/'.$id,'files'=>true,'id'=>'transactionform']) !!} <div class="card bs-4 mb-3 card-dark"> <div class="card-body"> <div class="form-wrap"> <div class="col-lg-12"> <div class="d-flex align-items-center justify-content-between flex-wrap"> <div class="fs-20 color-white fw-600 mb-3">{{ ucfirst($view) }} {{ ucfirst($singleSection) }}</div> <div class="fs-16 fw-300 color-white align-left mb-3"> <a title="Details" href="{{url($actionURL.'/invoice/'.$data['id'])}}" class="color-099f00 fw-500"> <span class="fs-24 me-2 v-align-middle"><i class="fas fa-file-download"></i></span>Download Invoice </a> </div> </div> <hr class="mt-1 mb-2"> <div class="row"> <div class="col-lg-12"> <div class="form-group mb-2"> <div class="d-flex align-items-center"> <label class="col-form-label fs-14 mw-180">User Name <span class="float-end me-3">:</span></label> <p class="mb-0">{{ $data->User->name ?? '' }}</p> </div> </div> </div> <div class="col-lg-12"> <div class="form-group mb-2"> <div class="d-flex align-items-center"> <label class="col-form-label fs-14 mw-180">Subscription <span class="float-end me-3">:</span></label> <p class="mb-0">{{ $data->Plan->title ?? ''}}</p> </div> </div> </div> <div class="col-lg-12"> <div class="form-group mb-2"> <div class="d-flex align-items-center"> <label class="col-form-label fs-14 mw-180">Customer Id <span class="float-end me-3">:</span></label> <p class="mb-0">{{ $data->customerId}}</p> </div> </div> </div> <div class="col-lg-12"> <div class="form-group mb-2"> <div class="d-flex align-items-center"> <label class="col-form-label fs-14 mw-180">Subscription Token <span class="float-end me-3">:</span></label> <p class="mb-0">{{ $data->subscriptionToken ?? ''}}</p> </div> </div> </div> <div class="col-lg-12"> <div class="form-group mb-2"> <div class="d-flex align-items-center"> <label class="col-form-label fs-14 mw-180">Subscription Id <span class="float-end me-3">:</span></label> <p class="mb-0">{{ $data->subscriptionId ?? ''}}</p> </div> </div> </div> <div class="col-lg-12"> <div class="form-group mb-2"> <div class="d-flex align-items-center"> <label class="col-form-label fs-14 mw-180">Price <span class="float-end me-3">:</span></label> <p class="mb-0">{{ _price($data->amount) ?? ''}}</p> </div> </div> </div> <div class="col-lg-12"> <div class="form-group mb-2"> <div class="d-flex align-items-center"> <label class="col-form-label fs-14 mw-180">Status <span class="float-end me-3">:</span></label> <p class="mb-0">{{ $data->status ?? ''}}</p> </div> </div> </div> <div class="col-lg-12"> <div class="form-group mb-2"> <div class="d-flex align-items-center"> <label class="col-form-label fs-14 mw-180">Start Date <span class="float-end me-3">:</span></label> <p class="mb-0">{{ _nice_date($data->startDate) ?? '' }}</p> </div> </div> </div> <div class="col-lg-12"> <div class="form-group mb-2"> <div class="d-flex align-items-center"> <label class="col-form-label fs-14 mw-180">End Date <span class="float-end me-3">:</span></label> <p class="mb-0">{{ _nice_date($data->endDate) ?? '' }}</p> </div> </div> </div> <div class="col-lg-12"> <div class="form-group mb-2"> <div class="d-flex align-items-center"> <label class="col-form-label fs-14 mw-180">Purchased Date <span class="float-end me-3">:</span></label> <p class="mb-0">{{ _nice_date($data->createdAt) ?? ''}}</p> </div> </div> </div> <div class="col-lg-12"> <div class="form-group"> <div class="d-flex align-items-center"> <label class="col-form-label fs-14 mw-180">Status<span class="float-end me-3">:</span></label> <p class="mb-0"> @if( isset($data->isActive) && $data->isActive == '1' ) Active @else Inactive @endif </p> </div> </div> </div> </div> </div> </div> </div> </div> {!! Form::close() !!} </div> @else <div class="user-wrap"> <div class="card bs-4 mb-3 card-dark"> <div class="card-body"> <div class="row align-items-center mb-3"> <div class="col"> <div class="fs-18 fw-600 color-white"> {{ ucfirst($section) }} </div> </div> </div> <hr class="mt-2 mb-3"> {!! Form::open(['url'=>url($actionURL),'method'=>'get','id'=>'transactionFilter']) !!} <div class="row justify-content-lg-end"> <div class="col-auto ali pt-2"> <div class="col-form-label fs-14">Filter: </div> </div> <div class="col-12 col-md-4 col-sm-12 col-lg-3 mb-3"> <input type="text" name="filter" id="filter" class="form-control datepicker" placeholder="Filter Date" @if(isset($data['filter']) && !empty($data['filter'])) value="{{ $data['filter'] }}" @endif> </div> <div class="col-sm-auto col mb-3"> <div class="form-group mb-2"> <button type="submit" data-toggle="tooltip" title="Filter" class="btn btn-primary btn-wh-50-46 br-6"><i class="fas fa-filter"></i></button> @if( isset($data['filter']) && !empty($data['filter']) ) <a href="{{ url('transaction') }}" data-toggle="tooltip" title="Clear" class="btn btn-secondary1 btn-wh-50-46 br-6"><i class="fas fa-times-circle"></i></a> @endif </div> </div> </div> {!! Form::close() !!} <div class="tbl-rounded"> <div class="tbl-body"> <div class="table-responsive1"> <table class="table fs-14 reflow-tbl"> <thead> <tr class="bg-color-191919"> <th>User Name</th> <th>Subscription</th> <th>Subscription ID</th> <th>Status</th> <th>Purchase Date</th> <th>Action</th> </tr> </thead> <tbody> @if (isset($transactions) && count($transactions) > 0) @foreach ($transactions as $transaction) <tr> <td>{{ $transaction->User->name ?? '' }}</td> <td>{{ $transaction->Plan->title ?? '' }}</td> <td>{{ $transaction->subscriptionId ?? '' }}</td> <td>{{ $transaction->status ?? '' }}</td> <td>{{ _nice_date($transaction->createdAt) ?? '' }}</td> <td> <div class="d-flex text-center"> <a title="Details" href="{{url($actionURL.'/detail/'.$transaction->id)}}"><i class="fa fa-eye text-success fs-18"></i> </a> </a> <span class="mx-1">|</span> <a title="Details" href="{{url($actionURL.'/invoice/'.$transaction->id)}}"><i class="fas fa-download text-success fs-18"></i> </a> </a> </div> </td> </tr> @endforeach @else <tr><td colspan="10" align="center"><div class="alert alert-info text-center my-2" role="alert"> No record found. </div></td></tr> @endif </tbody> </table> </div> </div> </div> <div class="d-flex justify-content-end mt-4"> {{ $transactions->links() }} </div> </div> </div> </div> @endif @stop @section('js') <script> $(function(){ $("#filter").flatpickr({ position:"bottom", mode: "range", dateFormat: "Y-m-d", disableMobile: true }); }); </script> @stop
0
/content/gmx-projects/gmx-admin/admin/resources/views
/content/gmx-projects/gmx-admin/admin/resources/views/admin/unverified-retailers.blade.php
@extends('admin.app.index') @section('css') <link href="{{$ADMIN_THEME_PATH}}/plugins/bootstrap-fileinput/bootstrap-fileinput.css" rel="stylesheet" type="text/css" /> @stop @section('content') @if($view=="view") <div class="user-wrap"> {!! Form::open(['url'=>url($actionURL.'/action/approve').'/'.$data->organizationId,'files'=>true,'id'=>'sallerform']) !!} <div class="card bs-4 mb-3 card-dark"> <div class="card-body"> <div class="form-wrap"> <div class="col-lg-12"> <div class="fs-20 color-white fw-600">{{ ucfirst($view) }} {{ ucfirst($singleSection) }}</div> <hr class="mt-1 mb-2"> <div class="row"> @php $retailerCompany = $data->RetailerCompany; @endphp <div class="col-lg-4"> <div class="col-form-label">Profile Image</div> @if(isset($retailerCompany->profilePath) && !empty($retailerCompany->profilePath) ) @php $imageURL = env('ASSETS_URL').'/'.$retailerCompany->profilePath @endphp @else @php $imageURL = env('ASSETS_URL').'/'.'image-default.png' @endphp @endif <img src="{{$imageURL}}" style="max-width: 100px" alt= /> </div> <div class="col-lg-8"> <div class="row"> <div class="col-lg-12"> <div class="form-group"> <label class="col-form-label fs-14"><b>Name: </b> </label> <label> {{ $data->name ?? '' }}</label> </div> </div> </div> <div class="row"> <div class="col-lg-6"> <div class="form-group"> <label class="col-form-label fs-14"><b>Email: </b> </label> <label> {{ $data->email ?? '' }}</label> </div> </div> <div class="col-lg-6"> <div class="form-group"> <label class="col-form-label fs-14"><b>Phone Number: </b> </label> <label> {{ $retailerCompany->Stores->phoneNumber ?? '' }}</label> </div> </div> </div> </div> <div class="fs-20 color-white fw-600">Retailer Details</div> <hr class="mt-1 mb-2"> <div class="col-lg-12"> <div class="form-group"> <label class="col-form-label fs-14"><b>Company Name: </b></label> <label>{{ $retailerCompany->companyName ?? '' }}</label> </div> </div> <div class="col-lg-6"> <div class="form-group"> <label class="col-form-label fs-14"><b>Website: </b></label> <label>{{ $retailerCompany->website ?? '' }}</label> </div> </div> <div class="col-lg-6"> <div class="form-group"> <label class="col-form-label fs-14"><b>State:</b></label> <label>{{ $retailerCompany->Stores->State->name ?? '' }}</label> </div> </div> <div class="col-lg-6"> <div class="form-group"> <label class="col-form-label fs-14"><b>Zip Code: </b> </label> <label>{{ $retailerCompany->Stores->zipCode ?? '' }}</label> </div> </div> <div class="col-lg-6"> <div class="form-group"> <label class="col-form-label fs-14"><b>License Number:</b> </label> <label>{{ $retailerCompany->Stores->licenseNumber ?? '' }}</label> </div> </div> <div class="col-lg-6"> <div class="form-group"> <label class="col-form-label fs-14"><b>License Type:</b> </label> <label>{{ $data->license ? $data->license->title : '' }}</label> </div> </div> <div class="col-lg-6"> <div class="form-group"> <label class="col-form-label fs-14"><b>License Expire Date: </b> </label> <label>{{ _nice_date($retailerCompany->Stores->licenseExpirationDate) ?? '' }}</label> </div> </div> <div class="col-lg-12"> <label class="col-form-label fs-14"><b>License Document :</b></label> @if(isset($retailerCompany->Stores->certificatePath) && !empty($retailerCompany->Stores->certificatePath) ) @php $documentURL = env('ASSETS_URL').''.$retailerCompany->Stores->certificatePath @endphp <a href="{{ $documentURL }}" class="color-f3772c curser-pointer ms-2">Download File</a> @endif {{-- <label class="btn btn-secondary form-label" for="document_upload">Choose File</label> --}} {{-- <input accept="image/*,application/pdf" name="licenseDocument" type="file" id="document_upload" class="form-control"> --}} </div> <div class="col-lg-12"> <div class="form-group"> <div> <label class="col-form-label fs-14"><b>Status:</b></label> {{ isset($data->isApproved) && $data->isApproved == '1' ? 'Approved' : 'Unapproved' }}</option> </select> </div> </div> </div> </div> <div class="btn btn-rounded-wrap btn-group-left-right d-flex flex-wrap justify-content-between"> <a href="{{ url($actionURL) }}" class="btn btn-rounded btn-outline-danger btn-wh-145-45 mr-2">Cancel</a> <button type="submit" class="btn btn-rounded btn-outline-primary btn-wh-145-45">Approve</button> </div> </div> </div> </div> </div> {!! Form::close() !!} </div> @else <div class="user-wrap"> <div class="card bs-4 mb-3 card-dark"> <div class="card-body"> <div class="row align-items-center mb-3"> <div class="col"> <div class="fs-18 fw-600 color-white"> {{ ucfirst($section) }} </div> </div> {{--<div class="col-sm-auto"> <a href="{{ url($actionURL.'/add') }}" class="btn btn-rounded btn-primary btn-wh-190-45 fw-600"><i class="fas fa-plus-circle mr-2"></i> Add {{ ucfirst($singleSection) }}</a> </div>--}} </div> <hr class="mt-2 mb-3"> {!! Form::open(['url'=>url($actionURL),'method'=>'get','id'=>'sallerFilter']) !!} <div class="row justify-content-lg-end"> <div class="col-auto ali pt-2"> <div class="col-form-label fs-14">Filter: </div> </div> <div class="col-12 col-md-4 col-sm-12 col-lg-3 mb-3"> <input type="text" name="filter" value="{{ $data['filter'] ?? '' }}" class="form-control fs-14" placeholder="Search Here"> </div> <div class="col-sm-auto col mb-3"> <div class="form-group"> <button type="submit" data-toggle="tooltip" title="Filter" class="btn btn-primary btn-wh-50-46 br-6"><i class="fas fa-filter"></i></button> @if( isset($data['filter']) && !empty($data['filter']) ) <a href="{{ url('retailers') }}" data-toggle="tooltip" title="Clear" class="btn btn-secondary1 btn-wh-50-46 br-6"><i class="fas fa-times-circle"></i></a> @endif </div> </div> </div> {!! Form::close() !!} <div class="tbl-rounded"> <div class="tbl-body"> <div class="table-responsive1"> <table class="table fs-14 reflow-tbl"> <thead> <tr class="bg-color-191919"> <th>Name</th> <th>Store Name</th> <th>Email</th> <th>Phone Number</th> <th>State</th> <th>MedRec</th> <th>Status</th> <th width="120">Action</th> </tr> </thead> <tbody> @if (isset($retailers) && count($retailers) > 0) @foreach ($retailers as $retailer) <tr> <td>{{ $retailer->User->name ?? '' }}</td> <td>{{ $retailer->User->RetailerCompany->Stores->managerName ?? '' }}</td> <td>{{ $retailer->User->email ?? '' }}</td> <td>{{ $retailer->User->RetailerCompany->Stores->phoneNumber ?? '' }}</td> <td>{{ $retailer->User->RetailerCompany->Stores->State->name ?? '' }}</td> <td>{{ $retailer->User->RetailerCompany->license->title ?? '' }}</td> <td>{{ ($retailer->isApproved=='1')?'Approved':'Unapproved' }}</td> <td> <div class="d-flex text-center"> <a title="Approve" href="{{url($actionURL.'/action/approve/'.$retailer->id)}}"><i class="fas fa-check fs-18 text-success"></i></a> <span class="mx-1">|</span> <a title="View" href="{{url($actionURL.'/view/'.$retailer->User->id)}}"><i class="fas fa-eye text-success fs-18"></i> </a> </div> </td> </tr> @endforeach @else <tr><td colspan="10" align="center"><div class="alert alert-info text-center my-2" role="alert"> No record found. </div></td></tr> @endif </tbody> </table> </div> </div> </div> <div class="d-flex justify-content-end mt-4"> {{ $retailers->links() }} </div> </div> </div> </div> @endif @stop @section('js') <script src="{{$ADMIN_THEME_PATH}}/plugins/bootstrap-fileinput/bootstrap-fileinput.js" type="text/javascript"></script> @stop
0
/content/gmx-projects/gmx-admin/admin/resources/views
/content/gmx-projects/gmx-admin/admin/resources/views/admin/categories.blade.php
@extends('admin.app.index') @section('css') @stop @section('content') @if($view=="add" || $view=="edit") <div class="user-wrap"> @if(isset($data->id)) @php $id = $data->id @endphp @else @php $id = 0 @endphp @endif {!! Form::open(['url'=>url($actionURL.'/action',$view).'/'.$id,'files'=>true,'id'=>'categoryform']) !!} <div class="row"> <div class="col-lg-12"> <div class="card bs-4 mb-3 card-dark"> <div class="card-body"> <div class="form-wrap"> <div class="col-lg-12"> <div class="fs-20 color-white fw-600">{{ ucfirst($view) }} {{ ucfirst($singleSection) }}</div> <hr class="mt-1 mb-2"> <div class="row"> <div class="col-lg-12"> <div class="form-group"> <label class="col-form-label fs-14">Title </label> <input type="text" name="title" value="{{ $data->title ?? '' }}" class="form-control fs-14" required> </div> </div> <div class="col-lg-12"> <div class="form-group"> <div> <label class="col-form-label fs-14">Status</label> <select class="form-control" id="isActive" name="isActive"> <option value="1" @if( isset($data->isActive) && $data->isActive == '1' ) selected @endif>Active</option> <option value="2" @if( isset($data->isActive) && $data->isActive == '2' ) selected @endif>Inactive</option> </select> </div> </div> </div> </div> <div class="btn btn-rounded-wrap btn-group-left-right d-flex flex-wrap justify-content-between"> <a href="{{ url($actionURL) }}" class="btn btn-rounded btn-outline-danger btn-wh-145-45 mr-2">Cancel</a> <button type="submit" class="btn btn-rounded btn-outline-primary btn-wh-145-45">Save</button> </div> </div> </div> </div> </div> </div> </div> {!! Form::close() !!} </div> @else <div class="user-wrap"> <div class="card bs-4 mb-3 card-dark"> <div class="card-body"> <div class="row align-items-center mb-3"> <div class="col"> <div class="fs-18 fw-600 color-white"> {{ ucfirst($section) }} </div> </div> <div class="col-sm-auto"> <a href="{{ url($actionURL.'/add') }}" class="btn btn-rounded btn-primary btn-wh-190-45 fw-600"><i class="fas fa-plus-circle mr-2"></i> Add {{ ucfirst($singleSection) }}</a> </div> </div> <hr class="mt-2 mb-3"> {!! Form::open(['url'=>url($actionURL),'method'=>'get','id'=>'categoryFilter']) !!} <div class="row justify-content-lg-end"> <div class="col-auto ali pt-2"> <div class="col-form-label fs-14">Filter: </div> </div> <div class="col-12 col-md-4 col-sm-12 col-lg-3 mb-3"> <input type="text" name="filter" value="{{ $data['filter'] ?? '' }}" class="form-control fs-14" placeholder="Search Here"> </div> <div class="col-sm-auto col mb-3"> <div class="form-group"> <button type="submit" data-toggle="tooltip" title="Filter" class="btn btn-primary btn-wh-50-46 br-6"><i class="fas fa-filter"></i></button> @if( isset($data['filter']) && !empty($data['filter']) ) <a href="{{ url('categories') }}" data-toggle="tooltip" title="Clear" class="btn btn-secondary1 btn-wh-50-46 br-6"><i class="fas fa-times-circle"></i></a> @endif </div> </div> </div> {!! Form::close() !!} <div class="tbl-rounded"> <div class="tbl-body"> <div class="table-responsive1"> <table class="table fs-14 reflow-tbl"> <thead> <tr class="bg-color-191919"> <th>Title</th> <th>Status</th> <th width="180">Action</th> </tr> </thead> <tbody> @if (isset($categories) && count($categories) > 0) @foreach ($categories as $category) <tr> <td>{{ $category->title ?? '' }}</td> <td>{{ ($category->isActive=='1')?'Active':'Inactive' }}</td> <td> <div class="d-flex text-center"> @if($category->isActive=='1') <a title="Make Inactive" href="{{url($actionURL.'/action/makeInactive/'.$category->id)}}"><i class="fas fa-check fs-18 text-success"></i></a> @else <a title="Make Active" href="{{url($actionURL.'/action/makeActive/'.$category->id)}}"><i class="fas fa-times-circle fs-18 color-0799c4"></i></a> @endif <span class="mx-1">|</span> <a title="Edit" href="{{url($actionURL.'/edit/'.$category->id)}}"><i class="fas fa-edit text-success fs-18"></i> </a> <span class="mx-1">|</span> <a title="Delete" href="javascript:void(0)" onclick="gmx_modal.confirmModal('{{ url($actionURL.'/action/delete/'.$category->id) }}');"><i class="fas fa-trash-alt fs-18 text-danger"></i> </a> </div> </td> </tr> @endforeach @else <tr><td colspan="10" align="center"><div class="alert alert-info text-center my-2" role="alert"> No record found. </div></td></tr> @endif </tbody> </table> </div> </div> </div> <div class="d-flex justify-content-end mt-4"> {{ $categories->links() }} </div> </div> </div> </div> @endif @stop @section('js') @stop
0
/content/gmx-projects/gmx-admin/admin/resources/views
/content/gmx-projects/gmx-admin/admin/resources/views/admin/unverified-companies.blade.php
@extends('admin.app.index') @section('css') <link href="{{$ADMIN_THEME_PATH}}/plugins/bootstrap-fileinput/bootstrap-fileinput.css" rel="stylesheet" type="text/css" /> @stop @section('content') @if($view=="view") <div class="user-wrap"> @if(isset($data->id)) @php $id = $data->id @endphp @else @php $id = 0 @endphp @endif {!! Form::open(['url'=>url($actionURL.'/action/approve').'/'.$id,'files'=>true,'id'=>'sallerform']) !!} <div class="card bs-4 mb-3 card-dark"> <div class="card-body"> <div class="form-wrap"> <div class="col-lg-12"> <div class="fs-20 color-white fw-600">{{ ucfirst($view) }} {{ ucfirst($singleSection) }}</div> <hr class="mt-1 mb-2"> <div class="row"> @php $brandDetails = $data->User->BrandDetails; @endphp <div class="col-lg-4"> <div class="col-form-label">Profile Image</div> @if(isset($brandDetails->profilePath) && !empty($brandDetails->profilePath) ) @php $imageURL = env('ASSETS_URL').'/'.$brandDetails->profilePath @endphp @else @php $imageURL = env('ASSETS_URL').'/'.'image-default.png' @endphp @endif <img src="{{$imageURL}}" style="max-width: 100px" alt= /> </div> <div class="col-lg-8"> <div class="row"> <div class="col-lg-12"> <div class="form-group"> <label class="col-form-label fs-14"><b>Name: </b> </label> <label> {{ $data->User->name ?? '' }}</label> </div> </div> </div> <div class="row"> <div class="col-lg-6"> <div class="form-group"> <label class="col-form-label fs-14"><b>Email: </b> </label> <label> {{ $data->User->email ?? '' }}</label> </div> </div> </div> </div> <div class="fs-20 color-white fw-600">Company Details</div> <hr class="mt-1 mb-2"> <div class="col-lg-6"> <div class="form-group"> <label class="col-form-label fs-14"><b>Company Name: </b></label> <label>{{ $data->companyName ?? '' }}</label> </div> </div> <div class="col-lg-6"> <div class="form-group"> <label class="col-form-label fs-14"><b>License Type:</b> </label> <label>{{ $data->license ? $data->license->title : '' }}</label> </div> </div> <div class="col-lg-6"> <div class="form-group"> <label class="col-form-label fs-14"><b>License Number:</b> </label> <label>{{ $data->licenseNumber ?? '' }}</label> </div> </div> <div class="col-lg-6"> <div class="form-group"> <label class="col-form-label fs-14"><b>License Expire Date: </b> </label> <label>{{ _nice_date($data->licenseExpirationDate) ?? '' }}</label> </div> </div> <div class="col-lg-6"> <label class="col-form-label fs-14"><b>License Document :</b></label> @if(isset($data->certificatePath) && !empty($data->certificatePath) ) @php $documentURL = env('ASSETS_URL').''.$data->certificatePath @endphp <a href="{{ $documentURL }}" download class="color-f3772c curser-pointer ms-2">Download File</a> @endif </div> <div class="col-lg-6"> <label class="col-form-label fs-14"><b>Resale License Document :</b></label> @if(isset($data->resaleLicensePath) && !empty($data->resaleLicensePath) ) @php $documentURL = env('ASSETS_URL').''.$data->resaleLicensePath @endphp <a href="{{ $documentURL }}" download class="color-f3772c curser-pointer ms-2">Download File</a> @endif </div> <div class="col-lg-12"> <div class="form-group"> <label class="col-form-label fs-14"><b>Address: </b> </label> <label>{{ $data->address ?? '' }}</label> </div> </div> <div class="col-lg-6"> <div class="form-group"> <label class="col-form-label fs-14"><b>State:</b></label> <label> {{ $data->State->name ?? '' }} </label> </div> </div> <div class="col-lg-6"> <div class="form-group"> <label class="col-form-label fs-14"><b>Zip Code: </b> </label> <label>{{ $data->zipCode ?? '' }}</label> </div> </div> <div class="col-lg-6"> <div class="form-group"> <label class="col-form-label fs-14"><b>Phone Number: </b> </label> <label> {{ $data->phoneNumber ?? '' }}</label> </div> </div> <div class="fs-20 color-white fw-600">Brand Details</div> <hr class="mt-1 mb-2"> <div class="col-lg-6"> <div class="form-group"> <label class="col-form-label fs-14"><b>Brand Name: </b></label> <label>{{ $brandDetails->brandName ?? '' }}</label> </div> </div> <div class="col-lg-6"> <div class="form-group"> <label class="col-form-label fs-14"><b>Brand Establish Year: </b></label> <label> {{ $brandDetails->year ?? '0' }}</label> </div> </div> <div class="col-lg-6"> <div class="form-group"> <label class="col-form-label fs-14"><b>Website: </b></label> <label>{{ $brandDetails->website ?? '' }}</label> </div> </div> <div class="col-lg-12"> <div class="form-group"> <label class="col-form-label fs-14"><b>Description:</b> </label> <label>{{ $brandDetails->description ?? '' }}</label> </div> </div> <div class="col-lg-12"> <div class="form-group"> <div> <label class="col-form-label fs-14"><b>Status:</b></label> {{ isset($data->isApproved) && $data->isApproved == '1' ? 'Approved' : 'Unapproved' }}</option> </select> </div> </div> </div> </div> <div class="btn btn-rounded-wrap btn-group-left-right d-flex flex-wrap justify-content-between"> <a href="{{ url($actionURL) }}" class="btn btn-rounded btn-outline-danger btn-wh-145-45 mr-2">Cancel</a> <button type="submit" class="btn btn-rounded btn-outline-primary btn-wh-145-45">Approve</button> </div> </div> </div> </div> </div> {!! Form::close() !!} </div> @else <div class="user-wrap"> <div class="card bs-4 mb-3 card-dark"> <div class="card-body"> <div class="row align-items-center mb-3"> <div class="col"> <div class="fs-18 fw-600 color-white"> {{ ucfirst($section) }} </div> </div> {{--<div class="col-sm-auto"> <a href="{{ url($actionURL.'/add') }}" class="btn btn-rounded btn-primary btn-wh-190-45 fw-600"><i class="fas fa-plus-circle mr-2"></i> Add {{ ucfirst($singleSection) }}</a> </div>--}} </div> <hr class="mt-2 mb-3"> {!! Form::open(['url'=>url($actionURL),'method'=>'get','id'=>'companyFilter']) !!} <div class="row justify-content-lg-end"> <div class="col-auto ali pt-2"> <div class="col-form-label fs-14">Filter: </div> </div> <div class="col-12 col-md-4 col-sm-12 col-lg-3 mb-3"> <input type="text" name="filter" value="{{ $data['filter'] ?? '' }}" class="form-control fs-14" placeholder="Search Here"> </div> <div class="col-sm-auto col mb-3"> <div class="form-group"> <button type="submit" data-toggle="tooltip" title="Filter" class="btn btn-primary btn-wh-50-46 br-6"><i class="fas fa-filter"></i></button> @if( isset($data['filter']) && !empty($data['filter']) ) <a href="{{ url('unverified-companies') }}" data-toggle="tooltip" title="Clear" class="btn btn-secondary1 btn-wh-50-46 br-6"><i class="fas fa-times-circle"></i></a> @endif </div> </div> </div> {!! Form::close() !!} <div class="tbl-rounded"> <div class="tbl-body"> <div class="table-responsive1"> <table class="table fs-14 reflow-tbl"> <thead> <tr class="bg-color-191919"> <th>Company Name</th> <th>Brand Name</th> <th>User Name</th> <th>Email</th> <th>Phone Number</th> <th>State</th> <th>MedRec</th> <th>Status</th> <th width="120">Action</th> </tr> </thead> <tbody> @if (isset($companies) && count($companies) > 0) @foreach ($companies as $company) <tr> <td>{{ $company->companyName ?? '' }}</td> <td>{{ $company->User->BrandDetails->brandName ?? '' }}</td> <td>{{ $company->User->name ?? '' }}</td> <td>{{ $company->User->email ?? '' }}</td> <td>{{ $company->phoneNumber ?? '' }}</td> <td>{{ $company->State->name ?? '' }}</td> <td>{{ $company->license->title ?? '' }}</td> <td>{{ ($company->isApproved=='1')?'Approved':'Unapproved' }}</td> <td> <div class="d-flex text-center"> <a title="Approve" href="{{url($actionURL.'/action/approve/'.$company->id)}}"><i class="fas fa-check fs-18 text-success"></i></a> <span class="mx-1">|</span> <a title="View" href="{{url($actionURL.'/view/'.$company->id)}}"><i class="fas fa-eye text-success fs-18"></i> </a> </div> </td> </tr> @endforeach @else <tr><td colspan="10" align="center"><div class="alert alert-info text-center my-2" role="alert"> No record found. </div></td></tr> @endif </tbody> </table> </div> </div> </div> <div class="d-flex justify-content-end mt-4"> {{ $companies->links() }} </div> </div> </div> </div> @endif @stop @section('js') <script src="{{$ADMIN_THEME_PATH}}/plugins/bootstrap-fileinput/bootstrap-fileinput.js" type="text/javascript"></script> @stop
0
/content/gmx-projects/gmx-admin/admin/resources/views
/content/gmx-projects/gmx-admin/admin/resources/views/admin/companies.blade.php
@extends('admin.app.index') @section('css') <link href="{{$ADMIN_THEME_PATH}}/plugins/bootstrap-fileinput/bootstrap-fileinput.css" rel="stylesheet" type="text/css" /> @stop @section('content') @if($view=="add" || $view=="edit") <div class="user-wrap"> @if(isset($data->id)) @php $id = $data->id @endphp @else @php $id = 0 @endphp @endif {!! Form::open(['url'=>url($actionURL.'/action',$view).'/'.$id,'files'=>true,'id'=>'companyform']) !!} <div class="card bs-4 mb-3 card-dark"> <div class="card-body"> <div class="form-wrap"> <div class="col-lg-12"> <div class="fs-20 color-white fw-600">{{ ucfirst($view) }} {{ ucfirst($singleSection) }}</div> <hr class="mt-1 mb-2"> <div class="row"> <div class="col-lg-12"> <div class="row"> <div class="col-lg-6"> <div class="form-group"> <label class="col-form-label fs-14">Name </label> <input type="text" name="name" value="{{ $data->User->name ?? '' }}" class="form-control fs-14"> </div> </div> <div class="col-lg-6"> <div class="form-group"> <label class="col-form-label fs-14">Email </label> <input type="text" name="email" value="{{ $data->User->email ?? '' }}" class="form-control fs-14"> </div> </div> </div> </div> <div class="fs-20 color-white fw-600">Company Details</div> <hr class="mt-1 mb-2"> <div class="col-lg-6"> <div class="form-group"> <label class="col-form-label fs-14">Company Name </label> <input type="text" name="companyName" class="form-control fs-14" value="{{ $data->companyName ?? '' }}"> </div> </div> <div class="col-lg-6"> <div class="form-group"> <label class="col-form-label fs-14">License Type </label> <select class="form-control" id="medRec" name="medRec"> @foreach($medRecs as $key => $medRec) <option value="{{ $medRec->id }}" @if( $data->medRecId == $medRec->id ) selected @endif>{{$medRec->title}}</option> @endforeach </select> </div> </div> <div class="col-lg-6"> <div class="form-group"> <label class="col-form-label fs-14">License Number </label> <input type="text" name="licenseNumber" class="form-control fs-14" value="{{ $data->licenseNumber ?? '' }}"> </div> </div> <div class="col-lg-6"> <div class="form-group"> <label class="col-form-label fs-14">License Expire Date </label> <input type="text" name="licenseExpirationDate" class="form-control fs-14" value="{{ _nice_date($data->licenseExpirationDate) ?? '' }}"> </div> </div> <div class="col-lg-6"> <label class="col-form-label fs-14">License Document :</label> @if(isset($data->certificatePath) && !empty($data->certificatePath) ) @php $documentURL = env('ASSETS_URL').''.$data->certificatePath @endphp <a href="{{ $documentURL }}" download class="color-f3772c curser-pointer ms-2">Download File</a> @endif </div> <div class="col-lg-6"> <label class="col-form-label fs-14">Resale Document :</label> @if(isset($data->resaleLicensePath) && !empty($data->resaleLicensePath) ) @php $documentURL = env('ASSETS_URL').''.$data->resaleLicensePath @endphp <a href="{{ $documentURL }}" download class="color-f3772c curser-pointer ms-2">Download File</a> @endif </div> <div class="col-lg-12"> <div class="form-group"> <label class="col-form-label fs-14">Address </label> <input type="text" name="address" class="form-control fs-14" value="{{ $data->address ?? '' }}"> </div> </div> <div class="col-lg-6"> <div class="form-group"> <label class="col-form-label fs-14">State </label> <select class="form-control" id="state" name="state"> <option value="">Select Anyone</option> @foreach($states as $key => $state) <option value="{{ $state->id ?? '' }}" @if( $data->stateId == $state->id ) selected @endif>{{$state->name}}</option> @endforeach </select> </div> </div> <div class="col-lg-6"> <div class="form-group"> <label class="col-form-label fs-14">Zip Code </label> <input type="text" name="zipCode" class="form-control fs-14 numbersOnly" value="{{ $data->zipCode ?? '' }}"> </div> </div> <div class="col-lg-6"> <div class="form-group"> <label class="col-form-label fs-14">Phone Number </label> <input type="text" name="phoneNumber" class="form-control fs-14 numbersOnly" value="{{ $data->phoneNumber ?? '' }}"> </div> </div> <div class="col-lg-12"> <div class="form-group"> <div> <label class="col-form-label fs-14">Status</label> <select class="form-control" id="isActive" name="isActive"> <option value="1" @if( isset($data->isActive) && $data->isActive == '1' ) selected @endif>Active</option> <option value="2" @if( isset($data->isActive) && $data->isActive == '2' ) selected @endif>Inactive</option> </select> </div> </div> </div> </div> <div class="btn btn-rounded-wrap btn-group-left-right d-flex flex-wrap justify-content-between"> <a href="{{ url($actionURL) }}" class="btn btn-rounded btn-outline-danger btn-wh-145-45 mr-2">Cancel</a> <button type="submit" class="btn btn-rounded btn-outline-primary btn-wh-145-45">Save</button> </div> </div> </div> </div> </div> {!! Form::close() !!} </div> @else <div class="user-wrap"> <div class="card bs-4 mb-3 card-dark"> <div class="card-body"> <div class="row align-items-center mb-3"> <div class="col"> <div class="fs-18 fw-600 color-white"> {{ ucfirst($section) }} </div> </div> {{--<div class="col-sm-auto"> <a href="{{ url($actionURL.'/add') }}" class="btn btn-rounded btn-primary btn-wh-190-45 fw-600"><i class="fas fa-plus-circle mr-2"></i> Add {{ ucfirst($singleSection) }}</a> </div>--}} </div> <hr class="mt-2 mb-3"> {!! Form::open(['url'=>url($actionURL),'method'=>'get','id'=>'sallerFilter']) !!} <div class="row justify-content-lg-end"> <div class="col-auto ali pt-2"> <div class="col-form-label fs-14">Filter: </div> </div> <div class="col-12 col-md-4 col-sm-12 col-lg-3 mb-3"> <input type="text" name="filter" value="{{ $data['filter'] ?? '' }}" class="form-control fs-14" placeholder="Search Here"> </div> <div class="col-sm-auto col mb-3"> <div class="form-group"> <button type="submit" data-toggle="tooltip" title="Filter" class="btn btn-primary btn-wh-50-46 br-6"><i class="fas fa-filter"></i></button> @if( isset($data['filter']) && !empty($data['filter']) ) <a href="{{ url('companies') }}" data-toggle="tooltip" title="Clear" class="btn btn-secondary1 btn-wh-50-46 br-6"><i class="fas fa-times-circle"></i></a> @endif </div> </div> </div> {!! Form::close() !!} <div class="tbl-rounded"> <div class="tbl-body"> <div class="table-responsive1"> <table class="table fs-14 reflow-tbl"> <thead> <tr class="bg-color-191919"> <th>Company Name</th> <th>User Name</th> <th>Email</th> <th>Phone Number</th> <th>State</th> <th>MedRec</th> <th>Status</th> <th width="120">Action</th> </tr> </thead> <tbody> @if (isset($companies) && count($companies) > 0) @foreach ($companies as $company) <tr> <td>{{ $company->companyName ?? '' }}</td> <td>{{ $company->User->name ?? '' }}</td> <td>{{ $company->User->email ?? '' }}</td> <td>{{ $company->phoneNumber ?? '' }}</td> <td>{{ $company->State->name ?? '' }}</td> <td>{{ $company->license->title ?? '' }}</td> <td>{{ ($company->isActive=='1')?'Active':'Inactive' }}</td> <td> <div class="d-flex text-center"> @if($company->isActive=='1') <a title="Make Inactive" href="{{url($actionURL.'/action/makeInactive/'.$company->id)}}"><i class="fas fa-check fs-18 text-success"></i></a> @else <a title="Make Active" href="{{url($actionURL.'/action/makeActive/'.$company->id)}}"><i class="fas fa-times-circle fs-18 color-0799c4"></i></a> @endif <span class="mx-1">|</span> <a title="Edit" href="{{url($actionURL.'/edit/'.$company->id)}}"><i class="fas fa-edit text-success fs-18"></i> </a> {{--<span class="mx-1">|</span> <a title="Delete" href="javascript:void(0)" onclick="gmx_modal.confirmModal('{{ url($actionURL.'/action/delete/'.$company->id) }}');"><i class="fas fa-trash-alt fs-18 text-danger"></i> </a> --}} </div> </td> </tr> @endforeach @else <tr><td colspan="10" align="center"><div class="alert alert-info text-center my-2" role="alert"> No record found. </div></td></tr> @endif </tbody> </table> </div> </div> </div> <div class="d-flex justify-content-end mt-4"> {{ $companies->links() }} </div> </div> </div> </div> @endif @stop @section('js') <script src="{{$ADMIN_THEME_PATH}}/plugins/bootstrap-fileinput/bootstrap-fileinput.js" type="text/javascript"></script> @stop
0
/content/gmx-projects/gmx-admin/admin/resources/views
/content/gmx-projects/gmx-admin/admin/resources/views/admin/retailers.blade.php
@extends('admin.app.index') @section('css') <link href="{{$ADMIN_THEME_PATH}}/plugins/bootstrap-fileinput/bootstrap-fileinput.css" rel="stylesheet" type="text/css" /> @stop @section('content') @if($view=="add" || $view=="edit") <div class="user-wrap"> @if(isset($data->id)) @php $id = $data->id @endphp @else @php $id = 0 @endphp @endif {!! Form::open(['url'=>url($actionURL.'/action',$view).'/'.$id,'files'=>true,'id'=>'buyerform']) !!} <div class="card bs-4 mb-3 card-dark"> <div class="card-body"> <div class="form-wrap"> <div class="col-lg-12"> <div class="fs-20 color-white fw-600">{{ ucfirst($view) }} {{ ucfirst($singleSection) }}</div> <hr class="mt-1 mb-2"> <div class="row"> @php $retailerCompany = $data->RetailerCompany; @endphp <div class="col-lg-4"> @if(isset($retailerCompany->profilePath) && !empty($retailerCompany->profilePath) ) @php $imageURL = env('ASSETS_URL').'/'.$retailerCompany->profilePath @endphp @else @php $imageURL = env('ASSETS_URL').'/'.'image-default.png' @endphp @endif <img src="{{$imageURL}}" style="max-width: 100px" alt= /> </div> <div class="col-lg-8"> <div class="row"> <div class="col-lg-6"> <div class="form-group"> <label class="col-form-label fs-14">Name </label> <input type="text" name="name" value="{{ $data->name ?? '' }}" class="form-control fs-14"> </div> </div> <div class="col-lg-6"> <div class="form-group"> <label class="col-form-label fs-14">Email </label> <input type="text" name="email" value="{{ $data->email ?? '' }}" class="form-control fs-14"> </div> </div> </div> <!-- <div class="row"> <div class="col-lg-6"> <div class="form-group"> <label class="col-form-label fs-14">Phone Number </label> <input disabled type="text" name="phoneNumber" value="{{ $retailerCompany->Stores->phoneNumber ?? '' }}" class="form-control fs-14 numbersOnly"> </div> </div> </div> --> </div> <div class="fs-20 color-white fw-600">Retailer Details</div> <hr class="mt-1 mb-2"> <div class="col-lg-6"> <div class="form-group"> <label class="col-form-label fs-14">Company Name </label> <input type="text" name="companyName" value="{{ $retailerCompany->companyName ?? '' }}" class="form-control fs-14"> </div> </div> <div class="col-lg-6"> <div class="form-group"> <label class="col-form-label fs-14">Website </label> <input type="text" name="website" class="form-control fs-14" value="{{ $retailerCompany->website ?? '' }}"> </div> </div> <div class="col-lg-6"> <div class="form-group"> <label class="col-form-label fs-14">Company Contact Number </label> <input type="text" name="contactNumber" value="{{ $retailerCompany->contactNumber ?? '' }}" class="form-control fs-14"> </div> </div> <div class="col-lg-6"> <div class="form-group"> <label class="col-form-label fs-14">Company Contact Email </label> <input type="text" name="contactEmail" class="form-control fs-14" value="{{ $retailerCompany->contactEmail ?? '' }}"> </div> </div> <!-- <div class="col-lg-6"> <div class="form-group"> <label class="col-form-label fs-14">State </label> <select disabled class="form-control" id="state" name="state"> <option value="">Select Anyone</option> @foreach($states as $key => $state) <option value="{{ $state->id }}" @if( $retailerCompany->Stores->State->id == $state->id ) selected @endif>{{$state->name}}</option> @endforeach </select> </div> </div> <div class="col-lg-6"> <div class="form-group"> <label class="col-form-label fs-14">Zip Code </label> <input disabled type="text" name="zipCode" class="form-control fs-14 numbersOnly" value="{{ $retailerCompany->Stores->zipCode ?? '' }}"> </div> </div> <div class="col-lg-6"> <div class="form-group"> <label class="col-form-label fs-14">License Number </label> <input disabled type="text" name="licenseNumber" class="form-control fs-14" value="{{ $retailerCompany->Stores->licenseNumber ?? '' }}"> </div> </div> --> <div class="col-lg-6"> <div class="form-group"> <label class="col-form-label fs-14">License Type </label> <select disabled class="form-control" id="medRec" name="medRec"> @foreach($medRecs as $key => $medRec) <option value="{{ $medRec->id }}" @if( $data->RetailerCompany->license->id == $medRec->id ) selected @endif>{{$medRec->title}}</option> @endforeach </select> </div> </div> <!-- <div class="col-lg-6"> <div class="form-group"> <label class="col-form-label fs-14">Expiration Date </label> <input disabled type="text" name="expirationDate" class="form-control fs-14" @if(isset($data->expirationDate) && !empty($data->expirationDate)) value="{{ _nice_date($data->expirationDate) ?? '' }}" @endif> </div> </div> <div class="col-lg-6"> <label class="col-form-label fs-14">License Document :</label> @if(isset($retailerCompany->Stores->certificatePath) && !empty($retailerCompany->Stores->certificatePath) ) @php $documentURL = env('ASSETS_URL').''.$retailerCompany->Stores->certificatePath @endphp <a href="{{ $documentURL }}" class="color-f3772c curser-pointer ms-2">Download File</a> @endif {{-- <label class="btn btn-secondary form-label" for="document_upload">Choose File</label> --}} {{-- <input accept="image/*,application/pdf" name="licenseDocument" type="file" id="document_upload" class="form-control"> --}} </div> <div class="col-lg-6"> <label class="col-form-label fs-14">Resale License Document :</label> @if(isset($retailerCompany->Stores->resaleLicensePath) && !empty($retailerCompany->Stores->resaleLicensePath) ) @php $documentURL = env('ASSETS_URL').''.$retailerCompany->Stores->resaleLicensePath @endphp <a href="{{ $documentURL }}" class="color-f3772c curser-pointer ms-2">Download File</a> @endif {{-- <label class="btn btn-secondary form-label" for="document_upload">Choose File</label> --}} {{-- <input accept="image/*,application/pdf" name="licenseDocument" type="file" id="document_upload" class="form-control"> --}} </div> --> <div class="col-lg-12"> <div class="form-group"> <div> <label class="col-form-label fs-14">Status</label> <select class="form-control" id="isActive" name="isActive"> <option value="1" @if( isset($data->isActive) && $data->isActive == '1' ) selected @endif>Active</option> <option value="2" @if( isset($data->isActive) && $data->isActive == '2' ) selected @endif>Inactive</option> </select> </div> </div> </div> </div> <div class="btn btn-rounded-wrap btn-group-left-right d-flex flex-wrap justify-content-between"> <a href="{{ url($actionURL) }}" class="btn btn-rounded btn-outline-danger btn-wh-145-45 mr-2">Cancel</a> <button type="submit" class="btn btn-rounded btn-outline-primary btn-wh-145-45">Save</button> </div> </div> </div> </div> </div> {!! Form::close() !!} </div> @else <div class="user-wrap"> <div class="card bs-4 mb-3 card-dark"> <div class="card-body"> <div class="row align-items-center mb-3"> <div class="col"> <div class="fs-18 fw-600 color-white"> {{ ucfirst($section) }} </div> </div> <div class="col-sm-auto"> {{--<a href="{{ url($actionURL.'/add') }}" class="btn btn-rounded btn-primary btn-wh-190-45 fw-600"><i class="fas fa-plus-circle mr-2"></i> Add {{ ucfirst($singleSection) }}</a>--}} </div> </div> <hr class="mt-2 mb-3"> {!! Form::open(['url'=>url($actionURL),'method'=>'get','id'=>'buyerFilter']) !!} <div class="row justify-content-lg-end"> <div class="col-auto ali pt-2"> <div class="col-form-label fs-14">Filter: </div> </div> <div class="col-12 col-md-4 col-sm-12 col-lg-3 mb-3"> <input type="text" name="filter" value="{{ $data['filter'] ?? '' }}" class="form-control fs-14" placeholder="Search Here"> </div> <div class="col-sm-auto col mb-3"> <div class="form-group"> <button type="submit" data-toggle="tooltip" title="Filter" class="btn btn-primary btn-wh-50-46 br-6"><i class="fas fa-filter"></i></button> @if( isset($data['filter']) && !empty($data['filter']) ) <a href="{{ url('retailers') }}" data-toggle="tooltip" title="Clear" class="btn btn-secondary1 btn-wh-50-46 br-6"><i class="fas fa-times-circle"></i></a> @endif </div> </div> </div> {!! Form::close() !!} <div class="tbl-rounded"> <div class="tbl-body"> <div class="table-responsive1"> <table class="table fs-14 reflow-tbl"> <thead> <tr class="bg-color-191919"> <th>Name</th> <th>Store Name</th> <th>Email</th> <th>Phone Number</th> <th>State</th> <th>MedRec</th> <th>Status</th> <th width="120">Action</th> </tr> </thead> <tbody> @if (isset($retailers) && count($retailers) > 0) @foreach ($retailers as $retailer) <tr> <td>{{ $retailer->User->name ?? '' }}</td> <td>{{ $retailer->User->RetailerCompany->Stores->managerName ?? '' }}</td> <td>{{ $retailer->User->email ?? '' }}</td> <td>{{ $retailer->User->RetailerCompany->Stores->phoneNumber ?? '' }}</td> <td>{{ $retailer->User->RetailerCompany->Stores->State->name ?? '' }}</td> <td>{{ $retailer->User->RetailerCompany->license->title ?? '' }}</td> <td>{{ ($retailer->isActive=='1')?'Active':'Inactive' }}</td> <td> <div class="d-flex text-center"> @if($retailer->isActive=='1') <a title="Make Inactive" href="{{url($actionURL.'/action/makeInactive/'.$retailer->User->id)}}"><i class="fas fa-check fs-18 text-success"></i></a> @else <a title="Make Active" href="{{url($actionURL.'/action/makeActive/'.$retailer->User->id)}}"><i class="fas fa-times-circle fs-18 color-0799c4"></i></a> @endif <span class="mx-1">|</span> <a title="Edit" href="{{url($actionURL.'/edit/'.$retailer->User->id)}}"><i class="fas fa-edit text-success fs-18"></i> </a> {{-- <span class="mx-1">|</span> <a title="Delete" href="javascript:void(0)" onclick="gmx_modal.confirmModal('{{ url($actionURL.'/action/delete/'.$retailer->User->id) }}');"><i class="fas fa-trash-alt fs-18 text-danger"></i> </a> --}} </div> </td> </tr> @endforeach @else <tr><td colspan="10" align="center"><div class="alert alert-info text-center my-2" role="alert"> No record found. </div></td></tr> @endif </tbody> </table> </div> </div> </div> <div class="d-flex justify-content-end mt-4"> {{ $retailers->links() }} </div> </div> </div> </div> @endif @stop @section('js') <script src="{{$ADMIN_THEME_PATH}}/plugins/bootstrap-fileinput/bootstrap-fileinput.js" type="text/javascript"></script> @stop
0
/content/gmx-projects/gmx-admin/admin/resources/views
/content/gmx-projects/gmx-admin/admin/resources/views/admin/invoice.blade.php
<!DOCTYPE html> <html> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <head> <style type="text/css"> @page{margin:50px 25px;} /*---------------*/ @font-face { font-family: 'Iskry Bold'; src: url({{storage_path('fonts/IskryBoldBold.ttf') }}) format('truetype'); font-weight: bold; font-style: normal; font-display: swap; } @font-face { font-family: 'Sharp Grotesk'; src: url({{storage_path('fonts/SharpGroteskLight20.ttf') }}) format('truetype'); font-weight: 300; font-style: normal; font-display: swap; } @font-face { font-family: 'Sharp Grotesk Book'; src: url({{storage_path('fonts/SharpGroteskBook20.ttf')}}) format('truetype'); font-weight: normal; font-style: normal; font-display: swap; } body,p {font-weight:normal;font-family: 'Sharp Grotesk';font-size:16px;color:#0C0F1E;line-height:20px;} th,b,strong{font-family:'Sharp Grotesk Book';font-weight: bold; font-style: normal; font-display: swap;} *{box-sizing:border-box;} .color-white{ color:white;} .color-2b5da7{ color: #2b5da7; } .color-0791bb{ color: #0791bb; } .color-5b9bd5{ color: #5b9bd5; } .color-bb0707 { color: #bb0707; } .color-003E33 { color: #003E33; } .bg-color-2b5da7 { background-color: #2b5da7; } .bg-color-0799c3 { background-color: #0799c3; } .bg-color-5b9bd5 { background-color: #5b9bd5; } img { max-width: 100%; } .text-center{text-align:center;} .text-right{text-align:right;} .text-left{text-align:left;} .mtb-2 {margin: 2px 0 !important;} /************************************ */ .logo-wrap{text-align:center;} table{width:100%;border-collapse:collapse; vertical-align: top;} table tr th, table tr td {padding:5px 10px;text-align:left;} .custom-table th {padding: 5px 10px; font-size: 16px; font-family:'Sharp Grotesk Book';} .custom-table tr {border-bottom: 1px solid #dee2e6;} .custom-table tr td {vertical-align: top;} .custom-table h3 {font-size: 16px; font-family:'Sharp Grotesk Book'; margin-bottom: 0; line-height: 10px;} .table-bordered{border:1px solid #dee2e6;} .table-bordered th, .table-bordered td{padding:3px 10px; border:1px solid #dee2e6;} .card{ position:relative;margin-top:25px;margin-bottom:25px;padding:20px;border-radius:25px;border:2px solid #0C0F1E;} ul,li {list-style: none;} ul.custom-list li {display: inline-block; text-align:center; } </style> </head> <body> <div style="display: inline-block; width: 48%;"> <table style="margin-bottom: 30px;"> <tbody> <tr> <th> <p class="text-left mtb-2"> <b>Date :</b> {{ _nice_date($transaction->createdAt) }} </p> </th> </tr> </tbody> </table> </div> <div style="display: inline-block; width: 48%;"> <div style="display: inline-block; width: 48%; vertical-align: top;"> <table style="width:100%;"> <tbody> <tr> <th class="text-left"> <p class="text-left mtb-2"> Bill From: </p> </th> </tr> <tr> <th> <p class="text-left mtb-2"> <b>{{ _get_setting('site_name') ?? "GMX" }}</b> </p> </th> </tr> <tr> <th> <p class="text-left mtb-2">{!! _get_setting('info_email') !!}</p> </th> </tr> </tbody> </table> </div> @php $userData = $transaction->User; @endphp <div style="display: inline-block; width: 48%; vertical-align: top;"> <table style="width:100%;"> <tbody> <tr> <th class="text-left"> <p class="text-left mtb-2"> Bill To: </p> </th> </tr> <tr> <th> <p class="text-left mtb-2"> <b>{{ $userData->name ?? '' }}</b> </p> </th> </tr> <tr> <th> <p class="text-left mtb-2"></p> </th> </tr> </tbody> </table> </div> </div> <h3 class="color-003E33" style="font-size: 16px;">** Details Of Subscriptions Made **</h3> <table class="custom-table" style="margin-bottom: 30px;"> <thead style="background-color: #FFF"> <tr> <th class="color-003E33">Subscriptions</th> <th></th> <th width="100px" class="text-center color-003E33">Price</th> </tr> </thead> <tbody> @php $planData = $transaction->Plan ?? ""; @endphp @if(isset($planData) && !empty($planData)) <tr> <td width="100%"> <h3 class="">{{ $planData->title }}</h3> </td> <td></td> <td class="text-center"> <p class="mtb-2">{{ _price($transaction->amount) ?? 0 }}</p> </td> </tr> @endif </tbody> <tfoot style="border-top:1px solid #dee2e6"> <tr style="border-bottom:none;"> <td></td> <td class="text-center"> <strong>Total</strong> </td> <td class="text-center"> <strong>{{ _price($transaction->amount) ?? 0 }}</strong> </td> </tr> </tfoot> </table> <div class="text-center" style="margin-top:100px; text-align : center;"> <p style="font-size:14px;">GMX Copyright <?php echo date('Y'); ?> ©</p> </div> </body> </html>
0
/content/gmx-projects/gmx-admin/admin/resources/views/admin
/content/gmx-projects/gmx-admin/admin/resources/views/admin/cms/subscription-policy.blade.php
@extends('admin.app.index') @section('css') <link href="{{$ADMIN_THEME_PATH}}/plugins/bootstrap-fileinput/bootstrap-fileinput.css" rel="stylesheet" type="text/css" /> @stop @section('content') <div class="news-list-page"> <!-- <div class="sec-title divider-left fs-25 color-333333 pb-3 mb-4">Edit {{$cms->page_name}} Page</div> --> {!! Form::open(['url'=>url($actionURL.'/updatesubscriptionpolicy',$cms->slug),'files'=>true]) !!} <div class="card bs-4 mb-3 card-dark"> <div class="card-body"> <div> <div class="form-wrap"> <div class="row"> <div class="col-lg-12"> <div class="fs-20 color-white fw-600">Edit {{$cms->page_name}} Page</div> <hr class="mt-1 mb-2"> <div class="fs-20 color-white fw-600">Main Section</div> <hr class="mt-1 mb-2"> <div class="row"> <div class="col-lg-12"> <div class="form-group"> <div> <label class="col-form-label">Title</label> <input type="text" name="main_title" class="form-control" value="{{ $cms->content['main_title'] ?? '' }}"> </div> </div> </div> <div class="col-lg-12"> <div class="form-group"> <div> <label class="col-form-label">Content</label> <textarea name="main_content" id="main_content" class="form-control" rows="3">{{ $cms->content['main_content'] ?? '' }}</textarea> </div> </div> </div> </div> <div class="fs-20 color-white fw-600">SEO Section</div> <hr class="mt-1 mb-2"> <div class="row"> <div class="col-lg-12"> <div class="form-group"> <div> <label class="col-form-label">Meta Title</label> <input type="text" name="meta_title" class="form-control" value="{{ $cms->content['meta_title'] ?? '' }}"> </div> </div> <div class="form-group"> <div> <label class="col-form-label">Meta Keywords</label> <input type="text" name="meta_keyword" class="form-control" value="{{ $cms->content['meta_keyword'] ?? '' }}"> </div> </div> <div class="form-group"> <div> <label class="col-form-label">Meta Description</label> <textarea name="meta_description" id="meta_description" class="form-control" rows="3">{{ $cms->content['meta_description'] ?? '' }}</textarea> </div> </div> </div> </div> </div> </div> <div class="btn btn-rounded-wrap btn-group-left-right d-flex flex-wrap justify-content-between"> <a href="{{ url($actionURL) }}" class="btn btn-rounded btn-outline-danger btn-wh-145-45 mr-2">Cancel</a> <button type="submit" class="btn btn-rounded btn-outline-primary btn-wh-145-45">Save</button> </div> </div> </div> </div> </div> {!! Form::close() !!} </div> @stop @section('js') <script src="{{$ADMIN_THEME_PATH}}/plugins/bootstrap-fileinput/bootstrap-fileinput.js" type="text/javascript"></script> <script type="text/javascript" src="{{ url('node_modules/ckeditor/ckeditor.js') }}"></script> <script type="text/javascript"> $(document).ready(function(){ var ck_config = { height:'20em', removeButtons:'Templates,Save,NewPage,ExportPdf,Preview,Print,Cut,Undo,Redo,Copy,Paste,PasteText,PasteFromWord,Find,Replace,SelectAll,Scayt,Form,Checkbox,Radio,TextField,Textarea,Select,Button,ImageButton,HiddenField,About,Maximize,BGColor,ShowBlocks,TextColor,Styles,Format,Font,FontSize,Iframe,Flash,Table,Image,HorizontalRule,Smiley,SpecialChar,PageBreak,Link,Unlink,Anchor,Language,BidiRtl,BidiLtr,JustifyLeft,Blockquote,Outdent,Indent,CreateDiv,JustifyCenter,JustifyRight,JustifyBlock,NumberedList,CopyFormatting,RemoveFormat,Underline,Strike,Superscript,Subscript', removePlugins: 'elementspath' }; gmx_app.getckeditor($('#main_content'),ck_config); }); </script> @stop
0
/content/gmx-projects/gmx-admin/admin/resources/views/admin
/content/gmx-projects/gmx-admin/admin/resources/views/admin/cms/terms-of-use.blade.php
@extends('admin.app.index') @section('css') <link href="{{$ADMIN_THEME_PATH}}/plugins/bootstrap-fileinput/bootstrap-fileinput.css" rel="stylesheet" type="text/css" /> @stop @section('content') <div class="news-list-page"> <!-- <div class="sec-title divider-left fs-25 color-333333 pb-3 mb-4">Edit {{$cms->page_name}} Page</div> --> {!! Form::open(['url'=>url($actionURL.'/updatetermsofuse',$cms->slug),'files'=>true]) !!} <div class="card bs-4 mb-3 card-dark"> <div class="card-body"> <div> <div class="form-wrap"> <div class="row"> <div class="col-lg-12"> <div class="fs-20 color-white fw-600">Edit {{$cms->page_name}} Page</div> <hr class="mt-1 mb-2"> <div class="fs-20 color-white fw-600">Main Section</div> <hr class="mt-1 mb-2"> <div class="row"> <div class="col-lg-12"> <div class="form-group"> <div> <label class="col-form-label">Title</label> <input type="text" name="main_title" class="form-control" value="{{ $cms->content['main_title'] ?? '' }}"> </div> </div> </div> <div class="col-lg-12"> <div class="form-group"> <div> <label class="col-form-label">Content</label> <textarea name="main_content" id="main_content" class="form-control" rows="3">{{ $cms->content['main_content'] ?? '' }}</textarea> </div> </div> </div> </div> <div class="fs-20 color-white fw-600">SEO Section</div> <hr class="mt-1 mb-2"> <div class="row"> <div class="col-lg-12"> <div class="form-group"> <div> <label class="col-form-label">Meta Title</label> <input type="text" name="meta_title" class="form-control" value="{{ $cms->content['meta_title'] ?? '' }}"> </div> </div> <div class="form-group"> <div> <label class="col-form-label">Meta Keywords</label> <input type="text" name="meta_keyword" class="form-control" value="{{ $cms->content['meta_keyword'] ?? '' }}"> </div> </div> <div class="form-group"> <div> <label class="col-form-label">Meta Description</label> <textarea name="meta_description" id="meta_description" class="form-control" rows="3">{{ $cms->content['meta_description'] ?? '' }}</textarea> </div> </div> </div> </div> </div> </div> <div class="btn btn-rounded-wrap btn-group-left-right d-flex flex-wrap justify-content-between"> <a href="{{ url($actionURL) }}" class="btn btn-rounded btn-outline-danger btn-wh-145-45 mr-2">Cancel</a> <button type="submit" class="btn btn-rounded btn-outline-primary btn-wh-145-45">Save</button> </div> </div> </div> </div> </div> {!! Form::close() !!} </div> @stop @section('js') <script src="{{$ADMIN_THEME_PATH}}/plugins/bootstrap-fileinput/bootstrap-fileinput.js" type="text/javascript"></script> <script type="text/javascript" src="{{ url('node_modules/ckeditor/ckeditor.js') }}"></script> <script type="text/javascript"> $(document).ready(function(){ var ck_config = { height:'20em', removeButtons:'Templates,Save,NewPage,ExportPdf,Preview,Print,Cut,Undo,Redo,Copy,Paste,PasteText,PasteFromWord,Find,Replace,SelectAll,Scayt,Form,Checkbox,Radio,TextField,Textarea,Select,Button,ImageButton,HiddenField,About,Maximize,BGColor,ShowBlocks,TextColor,Styles,Format,Font,FontSize,Iframe,Flash,Table,Image,HorizontalRule,Smiley,SpecialChar,PageBreak,Link,Unlink,Anchor,Language,BidiRtl,BidiLtr,JustifyLeft,Blockquote,Outdent,Indent,CreateDiv,JustifyCenter,JustifyRight,JustifyBlock,NumberedList,CopyFormatting,RemoveFormat,Underline,Strike,Superscript,Subscript', removePlugins: 'elementspath' }; gmx_app.getckeditor($('#main_content'),ck_config); }); </script> @stop
0
/content/gmx-projects/gmx-admin/admin/resources/views/admin
/content/gmx-projects/gmx-admin/admin/resources/views/admin/cms/privacy-policy.blade.php
@extends('admin.app.index') @section('css') <link href="{{$ADMIN_THEME_PATH}}/plugins/bootstrap-fileinput/bootstrap-fileinput.css" rel="stylesheet" type="text/css" /> @stop @section('content') <div class="news-list-page"> <!-- <div class="sec-title divider-left fs-25 color-333333 pb-3 mb-4">Edit {{$cms->page_name}} Page</div> --> {!! Form::open(['url'=>url($actionURL.'/updatetermsandconditions',$cms->slug),'files'=>true]) !!} <div class="card bs-4 mb-3 card-dark"> <div class="card-body"> <div> <div class="form-wrap"> <div class="row"> <div class="col-lg-12"> <div class="fs-20 color-white fw-600">Edit {{$cms->page_name}} Page</div> <hr class="mt-1 mb-2"> <div class="fs-20 color-white fw-600">Main Section</div> <hr class="mt-1 mb-2"> <div class="row"> <div class="col-lg-12"> <div class="form-group"> <div> <label class="col-form-label">Title</label> <input type="text" name="main_title" class="form-control" value="{{ $cms->content['main_title'] ?? '' }}"> </div> </div> </div> <div class="col-lg-12"> <div class="form-group"> <div> <label class="col-form-label">Content</label> <textarea name="main_content" id="main_content" class="form-control" rows="3">{{ $cms->content['main_content'] ?? '' }}</textarea> </div> </div> </div> </div> <div class="fs-20 color-white fw-600">SEO Section</div> <hr class="mt-1 mb-2"> <div class="row"> <div class="col-lg-12"> <div class="form-group"> <div> <label class="col-form-label">Meta Title</label> <input type="text" name="meta_title" class="form-control" value="{{ $cms->content['meta_title'] ?? '' }}"> </div> </div> <div class="form-group"> <div> <label class="col-form-label">Meta Keywords</label> <input type="text" name="meta_keyword" class="form-control" value="{{ $cms->content['meta_keyword'] ?? '' }}"> </div> </div> <div class="form-group"> <div> <label class="col-form-label">Meta Description</label> <textarea name="meta_description" id="meta_description" class="form-control" rows="3">{{ $cms->content['meta_description'] ?? '' }}</textarea> </div> </div> </div> </div> </div> </div> <div class="btn btn-rounded-wrap btn-group-left-right d-flex flex-wrap justify-content-between"> <a href="{{ url($actionURL) }}" class="btn btn-rounded btn-outline-danger btn-wh-145-45 mr-2">Cancel</a> <button type="submit" class="btn btn-rounded btn-outline-primary btn-wh-145-45">Save</button> </div> </div> </div> </div> </div> {!! Form::close() !!} </div> @stop @section('js') <script src="{{$ADMIN_THEME_PATH}}/plugins/bootstrap-fileinput/bootstrap-fileinput.js" type="text/javascript"></script> <script type="text/javascript" src="{{ url('node_modules/ckeditor/ckeditor.js') }}"></script> <script type="text/javascript"> $(document).ready(function(){ var ck_config = { height:'20em', removeButtons:'Templates,Save,NewPage,ExportPdf,Preview,Print,Cut,Undo,Redo,Copy,Paste,PasteText,PasteFromWord,Find,Replace,SelectAll,Scayt,Form,Checkbox,Radio,TextField,Textarea,Select,Button,ImageButton,HiddenField,About,Maximize,BGColor,ShowBlocks,TextColor,Styles,Format,Font,FontSize,Iframe,Flash,Table,Image,HorizontalRule,Smiley,SpecialChar,PageBreak,Link,Unlink,Anchor,Language,BidiRtl,BidiLtr,JustifyLeft,Blockquote,Outdent,Indent,CreateDiv,JustifyCenter,JustifyRight,JustifyBlock,NumberedList,CopyFormatting,RemoveFormat,Underline,Strike,Superscript,Subscript', removePlugins: 'elementspath' }; gmx_app.getckeditor($('#main_content'),ck_config); }); </script> @stop
0
/content/gmx-projects/gmx-admin/admin/resources/views/admin
/content/gmx-projects/gmx-admin/admin/resources/views/admin/cms/cms.blade.php
@extends('admin.app.index') @section('title') {{$section ?? 'Admin'}} @stop @section('content') <div class="user-wrap"> <div class="card bs-4 mb-3 card-dark"> <div class="card-body"> <div class="row align-items-center mb-3"> <div class="col"> <div class="fs-18 fw-600 color-white"> {{ ucfirst($section) }} </div> </div> </div> <hr class="mt-2 mb-3"> <div class="tbl-rounded"> <div class="tbl-body"> <table id="cms_table" class="table table-bordered fs-14 reflow-tbl"> <thead> <tr class="bg-color-191919"> <th>Page Title</th> <th class="action" width="100">Action</th> </tr> </thead> <tbody> @if(isset($data) && count($data) > 0) @foreach($data as $row) <tr> <td>{{ $row->name }}</td> <td> <div class="td-action"> <a href="{{url($actionURL.'/edit/'.$row->slug)}}" class="ac-remove" title="Edit"><i class="fas fa-edit text-success fs-18"></i></a> </div> </td> </tr> @endforeach @else <tr><td colspan="4" align="center">No record found.</td></tr> @endif </tbody> </table> </div> </div> <div class="d-flex justify-content-end"> {{ $data->links() }} </div> </div> </div> </div> @endsection @section('js') {{--<script type="text/javascript"> gmx_app.getDataTable("cms_table"); </script>--}} @stop
0
/content/gmx-projects/gmx-admin/admin/resources/views/admin
/content/gmx-projects/gmx-admin/admin/resources/views/admin/cms/about-us.blade.php
@extends('admin.app.index') @section('css') <link href="{{$ADMIN_THEME_PATH}}/plugins/bootstrap-fileinput/bootstrap-fileinput.css" rel="stylesheet" type="text/css" /> @endsection @section('content') <div class="news-list-page"> <!-- <div class="sec-title divider-left fs-25 color-333333 pb-3 mb-4">Edit {{$cms->page_name}} Page</div> --> {!! Form::open(['url'=>url($actionURL.'/updateaboutus',$cms->slug),'files'=>true]) !!} <!-- Main Section Start --> <div class="card bs-4 mb-3 card-dark"> <div class="card-body"> <div> <div class="form-wrap"> <div class="row"> <div class="col-lg-12"> <div class="fs-20 color-white fw-600">Main Section</div> <hr class="mt-1 mb-2"> <div class="row"> <div class="col-lg-6 col-md-6"> <div class="form-group"> <div> <label class="col-form-label">Main Title</label> <input type="text" name="section1_main_title" class="form-control" value="{{ $cms->content['section1_main_title'] ?? '' }}" placeholder="Please Enter Title"> </div> </div> </div> <div class="col-lg-6 col-md-6"> <div class="form-group"> <div> <div class="col-form-label">Title</div> <input type="text" name="section1_title" class="form-control" value="{{ $cms->content['section1_title'] ?? '' }}" placeholder="Please Enter Title"> </div> </div> </div> <div class="col-lg-12"> <div class="form-group"> <div> <div class="col-form-label">Description</div> <textarea class="form-control" name="section1_description" id="section1_description" placeholder="Type here...">{!! $cms->content['section1_description'] ?? '' !!}</textarea> </div> </div> </div> <!-- List 1 Content --> <div class="col-lg-3 col-md-3"> <div class="form-group"> <div> <div class="col-form-label">List 1 Title</div> <input type="text" name="section1_list_title1" class="form-control" value="{{ $cms->content['section1_list_title1'] ?? '' }}" placeholder="Please Enter Title"> </div> </div> </div> <div class="col-lg-6 col-md-6"> <div class="form-group"> <div> <div class="col-form-label">List 1 Description</div> <textarea class="form-control" name="section1_list_description1" id="section1_list_description1" placeholder="Type here...">{!! $cms->content['section1_list_description1'] ?? '' !!}</textarea> </div> </div> </div> <div class="col-lg-3 col-md-3"> <div class="form-group"> <div class="col-form-label">List 1 Image</div> <div class="fileinput fileinput-new" data-provides="fileinput"> <div class="fileinput-new thumbnail" style="width: 100px;"> @if(isset($cms->content['section1_list_image1']) && !empty($cms->content['section1_list_image1']) ) @php $imageURL = env('ASSETS_URL').$cms->content['section1_list_image1'] @endphp @else @php $imageURL = env('ASSETS_URL').'/'.'image-default.png' @endphp @endif <img src="{{$imageURL}}" style="max-width: 100px" alt= /> </div> <div class="fileinput-preview fileinput-exists thumbnail" style="max-width: 100px;"> </div> <div> <span class="btn btn-rounded default btn-file"> <span class="fileinput-new btn btn-primary btn-rounded"> Select Image </span> <span class="fileinput-exists btn btn-danger"> Change </span> <input type="file" name="section1_list_image1" class="form-control"> </span> <a href="javascript:;" class="btn btn-rounded btn-outline-danger fileinput-exists" data-dismiss="fileinput"> Remove </a> </div> </div> </div> </div> <!-- List 2 Content --> <div class="col-lg-3 col-md-3"> <div class="form-group"> <div> <div class="col-form-label">List 2 Title</div> <input type="text" name="section1_list_title2" class="form-control" value="{{ $cms->content['section1_list_title2'] ?? '' }}" placeholder="Please Enter Title"> </div> </div> </div> <div class="col-lg-6 col-md-6"> <div class="form-group"> <div> <div class="col-form-label">List 2 Description</div> <textarea class="form-control" name="section1_list_description2" id="section1_list_description2" placeholder="Type here...">{!! $cms->content['section1_list_description2'] ?? '' !!}</textarea> </div> </div> </div> <div class="col-lg-3 col-md-3"> <div class="form-group"> <div class="col-form-label">List 2 Image</div> <div class="fileinput fileinput-new" data-provides="fileinput"> <div class="fileinput-new thumbnail" style="width: 100px;"> @if(isset($cms->content['section1_list_image2']) && !empty($cms->content['section1_list_image2']) ) @php $imageURL = env('ASSETS_URL').$cms->content['section1_list_image2'] @endphp @else @php $imageURL = env('ASSETS_URL').'/'.'image-default.png' @endphp @endif <img src="{{$imageURL}}" style="max-width: 100px" alt= /> </div> <div class="fileinput-preview fileinput-exists thumbnail" style="max-width: 100px;"> </div> <div> <span class="btn btn-rounded default btn-file"> <span class="fileinput-new btn btn-primary btn-rounded"> Select Image </span> <span class="fileinput-exists btn btn-danger"> Change </span> <input type="file" name="section1_list_image2" class="form-control"> </span> <a href="javascript:;" class="btn btn-rounded btn-outline-danger fileinput-exists" data-dismiss="fileinput"> Remove </a> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> <!-- Main Section End --> <!-- About Tagline Section Start --> <div class="card bs-4 mb-3 card-dark"> <div class="card-body"> <div> <div class="form-wrap"> <div class="row"> <div class="col-lg-12"> <div class="fs-20 color-white fw-600">About Tagline Section</div> <hr class="mt-1 mb-2"> <div class="row"> <div class="col-lg-12"> <div class="form-group"> <div> <label class="col-form-label">Title</label> <input type="text" name="section2_main_title" class="form-control" value="{{ $cms->content['section2_main_title'] ?? '' }}" placeholder="Please Enter Title"> </div> </div> </div> <div class="col-lg-12"> <div class="form-group"> <div> <label class="col-form-label">Description</label> <textarea class="form-control" name="section2_description" id="section2_description" placeholder="Type here...">{!! $cms->content['section2_description'] ?? '' !!}</textarea> </div> </div> </div> <div class="col-lg-6 col-md-6"> <div class="form-group"> <div> <label class="col-form-label">Quote Text</label> <textarea class="form-control" name="section2_quote" id="section2_quote" placeholder="Type here...">{!! $cms->content['section2_quote'] ?? '' !!}</textarea> </div> </div> </div> <div class="col-lg-6 col-md-6"> <div class="form-group"> <div> <div class="col-form-label">Image</div> <div class="fileinput fileinput-new" data-provides="fileinput"> <div class="fileinput-new thumbnail" style="width: 100px;"> @if(isset($cms->content['section2_image']) && !empty($cms->content['section2_image']) ) @php $imageURL = env('ASSETS_URL').$cms->content['section2_image'] @endphp @else @php $imageURL = env('ASSETS_URL').'/'.'image-default.png' @endphp @endif <img src="{{$imageURL}}" style="max-width: 100px" alt= /> </div> <div class="fileinput-preview fileinput-exists thumbnail" style="max-width: 100px;"> </div> <div> <span class="btn btn-rounded default btn-file"> <span class="fileinput-new btn btn-primary btn-rounded"> Select Image </span> <span class="fileinput-exists btn btn-danger"> Change </span> <input type="file" name="section2_image" class="form-control"> </span> <a href="javascript:;" class="btn btn-rounded btn-outline-danger fileinput-exists" data-dismiss="fileinput"> Remove </a> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> <!-- About Tagline Section End --> <div class="card bs-4 mb-3 card-dark"> <div class="card-body"> <div class="fs-20 color-white fw-600">SEO Section</div> <hr class="mt-1 mb-2"> <div class="row"> <div class="col-lg-12"> <div class="form-group"> <div> <label class="col-form-label">Meta Title</label> <input type="text" name="meta_title" class="form-control" value="{{ $cms->content['meta_title'] ?? '' }}"> </div> </div> <div class="form-group"> <div> <label class="col-form-label">Meta Keywords</label> <input type="text" name="meta_keyword" class="form-control" value="{{ $cms->content['meta_keyword'] ?? '' }}"> </div> </div> <div class="form-group"> <div> <label class="col-form-label">Meta Description</label> <textarea name="meta_description" id="meta_description" class="form-control" rows="3">{{ $cms->content['meta_description'] ?? '' }}</textarea> </div> </div> </div> </div> </div> </div> </div> <div class="card bs-4 mb-3 card-dark"> <div class="card-body"> <div class="btn btn-rounded-wrap btn-group-left-right d-flex flex-wrap justify-content-between"> <a href="{{ url($actionURL) }}" class="btn btn-rounded btn-outline-danger btn-wh-145-45 mr-2">Cancel</a> <button type="submit" class="btn btn-rounded btn-outline-primary btn-wh-145-45">Save</button> </div> </div> </div> {!! Form::close() !!} </div> @stop @section('js') <script src="{{$ADMIN_THEME_PATH}}/plugins/bootstrap-fileinput/bootstrap-fileinput.js" type="text/javascript"></script> <script type="text/javascript" src="{{ url('node_modules/ckeditor/ckeditor.js') }}"></script> <script type="text/javascript"> $(document).ready(function(){ var ck_config = { height:'20em', removeButtons:'Templates,Save,NewPage,ExportPdf,Preview,Print,Cut,Undo,Redo,Copy,Paste,PasteText,PasteFromWord,Find,Replace,SelectAll,Scayt,Form,Checkbox,Radio,TextField,Textarea,Select,Button,ImageButton,HiddenField,About,Maximize,BGColor,ShowBlocks,TextColor,Styles,Format,Font,FontSize,Iframe,Flash,Table,Image,HorizontalRule,Smiley,SpecialChar,PageBreak,Link,Unlink,Anchor,Language,BidiRtl,BidiLtr,JustifyLeft,Blockquote,Outdent,Indent,CreateDiv,JustifyCenter,JustifyRight,JustifyBlock,NumberedList,CopyFormatting,RemoveFormat,Underline,Strike,Superscript,Subscript', removePlugins: 'elementspath' }; gmx_app.getckeditor($('#section2_description'),ck_config); gmx_app.getckeditor($('#section1_list_description1'),ck_config); gmx_app.getckeditor($('#section1_list_description2'),ck_config); var ck_config2 = { height:'20em', removeButtons:'Templates,Save,NewPage,ExportPdf,Preview,Print,Cut,Undo,Redo,Copy,Paste,PasteText,PasteFromWord,Find,Replace,SelectAll,Scayt,Form,Checkbox,Radio,TextField,Textarea,Select,Button,ImageButton,HiddenField,About,Maximize,BGColor,ShowBlocks,TextColor,Styles,Format,Font,FontSize,Iframe,Flash,Table,HorizontalRule,Smiley,SpecialChar,PageBreak,Link,Unlink,Anchor,Language,BidiRtl,BidiLtr,JustifyLeft,Blockquote,Outdent,Indent,CreateDiv,JustifyCenter,JustifyRight,JustifyBlock,NumberedList,CopyFormatting,RemoveFormat,Underline,Strike,Superscript,Subscript', removePlugins: 'elementspath' }; // gmx_app.getckeditor($('#section2_description'),ck_config2); }); </script> @stop
0
/content/gmx-projects/gmx-admin/admin/resources/views/admin
/content/gmx-projects/gmx-admin/admin/resources/views/admin/cms/home.blade.php
@extends('admin.app.index') @section('css') <link href="{{$ADMIN_THEME_PATH}}/plugins/bootstrap-fileinput/bootstrap-fileinput.css" rel="stylesheet" type="text/css" /> @endsection @section('content') <div class="news-list-page"> <!-- <div class="sec-title divider-left fs-25 color-333333 pb-3 mb-4">Edit {{$cms->page_name}} Page</div> --> {!! Form::open(['url'=>url($actionURL.'/updatehome',$cms->slug),'files'=>true]) !!} <!-- Banner Section Start --> <div class="card bs-4 mb-3 card-dark"> <div class="card-body"> <div class="fs-20 color-white fw-600">Edit {{$cms->page_name}} Page</div> <hr class="mt-1 mb-2"> <div class="fs-20 color-white fw-600">Banner Section</div> <hr class="mt-1 mb-2"> <div id="slider_list"> <input type="hidden" name="remove_slider[]" id="remove_slider" value=""> @if (isset($Banner) && count($Banner)>0) @foreach ($Banner as $key => $item) <input type="hidden" name="section1_edit[]" value="{{ $item->id}}"> <div class="row slider_div"> <div class="col-lg-6 col-md-6"> <div class="form-group mb-3"> <label class="col-form-label">Pre Title</label> <input type="text" name="section1_pre_title[{{ $key }}]" class="form-control" placeholder="Please Enter Accreditation title" value="{{ $item->preTitle ?? '' }}"> </div> </div> <div class="col-lg-6 col-md-6"> <div class="form-group mb-3"> <label class="col-form-label">Title</label> <input type="text" name="section1_title[{{ $key }}]" class="form-control" value="{{ $item->title ?? '' }}"> </div> </div> <div class="col-lg-6 col-md-6"> <div class="form-group mb-3"> <label class="col-form-label">Description</label> <input type="text" name="section1_description[{{ $key }}]" class="form-control" value="{{ $item->description ?? '' }}"> </div> </div> <div class="col-lg-6 col-md-6"> <div class="form-group mb-3"> <label class="col-form-label">Button Text</label> <input type="text" name="section1_button_text[{{ $key }}]" class="form-control" maxlength="110" value="{{ $item->buttonText ?? '' }}"> </div> </div> <div class="col-lg-6 col-md-6"> <div class="form-group mb-3"> <label class="col-form-label">Button Link</label> <input type="text" name="section1_button_link[{{ $key }}]" class="form-control" value="{{ $item->buttonLink ?? '' }}"> </div> </div> <div class="col-lg-6 col-md-6"> <div class="form-group"> <div> <div class="col-form-label">Image</div> <div class="fileinput fileinput-new" data-provides="fileinput"> <div class="fileinput-new thumbnail" style="width: 100px;"> @if(isset($item->image) && !empty($item->image) ) @php $imageURL = env('ASSETS_URL').$item->image @endphp @else @php $imageURL = $UPLOAD_PATH.'/'.'image-default.png' @endphp @endif <img src="{{$imageURL}}" style="max-width: 100px" alt= /> </div> <div class="fileinput-preview fileinput-exists thumbnail" style="max-width: 100px;"> </div> <div> <span class="btn btn-rounded default btn-file"> <span class="fileinput-new btn btn-primary btn-rounded"> Select Image </span> <span class="fileinput-exists btn btn-danger"> Change </span> <input type="file" name="main_image_2[]" class="form-control"> </span> <a href="javascript:;" class="btn btn-rounded btn-outline-danger fileinput-exists" data-dismiss="fileinput"> Remove </a> </div> </div> </div> </div> </div> <hr class="mt-2" /> <div class="col-lg-12"> <a href="javascript:void(0);" class="btn btn-danger remove_slider" delete_id="{{ $item->id ?? ''}}" style="display: {{ count( $Banner ) > 1 ? '' : 'none' }};"><i class="far fa-times"></i></a> </div> </div> @endforeach @else <div class="row slider_div"> <div class="col-lg-12"> <a href="javascript:void(0);" class="btn btn-danger remove_slider" style="display: none;"><i class="far fa-times"></i></a> </div> <div class="col-lg-6 col-md-6"> <div class="form-group mb-3"> <label class="col-form-label">Pre Title</label> <input type="text" name="section1_pre_title[0]" class="form-control" maxlength="110"> </div> </div> <div class="col-lg-6 col-md-6"> <div class="form-group mb-3"> <label class="col-form-label">Title</label> <input type="text" name="section1_title[0]" class="form-control"> </div> </div> <div class="col-lg-6 col-md-6"> <div class="form-group mb-3"> <label class="col-form-label">Description</label> <input type="text" name="section1_description[0]" class="form-control"> </div> </div> <div class="col-lg-6 col-md-6"> <div class="form-group mb-3"> <label class="col-form-label">Button Text</label> <input type="text" name="section1_button_text[0]" class="form-control" maxlength="110"> </div> </div> <div class="col-lg-6"> <div class="form-group mb-3"> <label class="col-form-label">Button Link</label> <input type="text" name="section1_button_link[0]" class="form-control"> </div> </div> <div class="col-lg-6 col-md-6"> <div class="form-group"> <div class="col-form-label">Image</div> <div class="fileinput fileinput-new" data-provides="fileinput"> <div class="fileinput-new thumbnail" style="width: 100px;"> @php $imageURL = env('ASSETS_URL').'/'.'image-default.png' @endphp <img src="{{$imageURL}}" style="max-width: 100px" alt= /> </div> <div class="fileinput-preview fileinput-exists thumbnail" style="max-width: 100px;"> </div> <div> <span class="btn btn-rounded default btn-file"> <span class="fileinput-new btn btn-primary btn-rounded"> Select Image </span> <span class="fileinput-exists btn btn-danger"> Change </span> <input type="file" name="main_image_2[]" class="form-control"> </span> <a href="javascript:;" class="btn btn-rounded btn-outline-danger fileinput-exists" data-dismiss="fileinput"> Remove </a> </div> </div> </div> </div> <hr class="mt-2" /> </div> @endif </div> <div class="col-lg-12"> <div class="col-auto fw-600 pl-0" id="add_more_slider" style="margin: 10px 0px 15px 10px;"> <a href="javascript:void(0)" class="btn btn-outline-primary btn-rounded btn-wh-145-45"><i class="fas fa-plus-circle me-2"></i><span>Add Slider</span> </a> </div> </div> </div> </div> <!-- Banner Section End --> <!-- Vision Section Start --> <div class="card bs-4 mb-3 card-dark"> <div class="card-body"> <div> <div class="form-wrap"> <div class="row"> <div class="col-lg-12"> <div class="fs-20 color-white fw-600">Vision Section</div> <hr class="mt-1 mb-2"> <div class="row"> <div class="col-lg-6 col-md-6"> <div class="form-group"> <div> <label class="col-form-label">Count</label> <input type="text" name="section2_count" class="form-control" value="{{ $cms->content['section2_count'] ?? '' }}" placeholder="Please Enter Count"> </div> </div> </div> <div class="col-lg-6 col-md-6"> <div class="form-group"> <div> <label class="col-form-label">Title</label> <input type="text" name="section2_main_title" class="form-control" value="{{ $cms->content['section2_main_title'] ?? '' }}" placeholder="Please Enter Title"> </div> </div> </div> <div class="col-lg-12"> <div class="form-group"> <div> <div class="col-form-label">Description</div> <textarea class="form-control" name="section2_description" id="section2_description" placeholder="Type here...">{!! $cms->content['section2_description'] ?? '' !!}</textarea> </div> </div> </div> <div class="col-lg-6 col-md-6"> <div class="form-group"> <div> <label class="col-form-label">Button Title</label> <input type="text" name="section2_button_title" class="form-control" value="{{ $cms->content['section2_button_title'] ?? '' }}" placeholder="Please Enter Button Text"> </div> </div> </div> <div class="col-lg-6 col-md-6"> <div class="form-group"> <div> <label class="col-form-label">Button Link</label> <input type="text" name="section2_button_link" class="form-control" value="{{ $cms->content['section2_button_link'] ?? '' }}" placeholder="Please Enter Button Link"> </div> </div> </div> <div class="col-lg-6 col-md-6"> <div class="form-group"> <div> <div class="col-form-label">Image</div> <div class="fileinput fileinput-new" data-provides="fileinput"> <div class="fileinput-new thumbnail" style="width: 100px;"> @if(isset($cms->content['section2_image']) && !empty($cms->content['section2_image']) ) @php $imageURL = env('ASSETS_URL').$cms->content['section2_image'] @endphp @else @php $imageURL = env('ASSETS_URL').'/'.'image-default.png' @endphp @endif <img src="{{$imageURL}}" style="max-width: 100px" alt= /> </div> <div class="fileinput-preview fileinput-exists thumbnail" style="max-width: 100px;"> </div> <div> <span class="btn btn-rounded default btn-file"> <span class="fileinput-new btn btn-primary btn-rounded"> Select Image </span> <span class="fileinput-exists btn btn-danger"> Change </span> <input type="file" name="section2_image" class="form-control"> </span> <a href="javascript:;" class="btn btn-rounded btn-outline-danger fileinput-exists" data-dismiss="fileinput"> Remove </a> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> <!-- Vision Section End --> <!-- Brands Section Start --> <div class="card bs-4 mb-3 card-dark"> <div class="card-body"> <div> <div class="form-wrap"> <div class="row"> <div class="col-lg-12"> <div class="fs-20 color-white fw-600">Brands Section</div> <hr class="mt-1 mb-2"> <div class="row"> <div class="col-lg-6 col-md-6"> <div class="form-group"> <div> <label class="col-form-label">Count</label> <input type="text" name="section3_count" class="form-control" value="{{ $cms->content['section3_count'] ?? '' }}" placeholder="Please Enter Count"> </div> </div> </div> <div class="col-lg-6 col-md-6"> <div class="form-group"> <div> <label class="col-form-label">Title</label> <input type="text" name="section3_main_title" class="form-control" value="{{ $cms->content['section3_main_title'] ?? '' }}" placeholder="Please Enter Title"> </div> </div> </div> <div class="col-lg-3 col-md-3"> <div class="form-group"> <div> <label class="col-form-label">List Icon</label> <input type="text" name="section3_list_icon1" class="form-control" value="{{ $cms->content['section3_list_icon1'] ?? '' }}" placeholder="Please Enter Title"> </div> </div> </div> <div class="col-lg-3 col-md-3"> <div class="form-group"> <div> <label class="col-form-label">List Title</label> <input type="text" name="section3_list_title1" class="form-control" value="{{ $cms->content['section3_list_title1'] ?? '' }}" placeholder="Please Enter Title"> </div> </div> </div> <div class="col-lg-6 col-md-6"> <div class="form-group"> <div> <label class="col-form-label">List Description</label> <input type="text" name="section3_list_description1" class="form-control" value="{{ $cms->content['section3_list_description1'] ?? '' }}" placeholder="Please Enter Title"> </div> </div> </div> <div class="col-lg-3 col-md-3"> <div class="form-group"> <div> <label class="col-form-label">List Icon</label> <input type="text" name="section3_list_icon2" class="form-control" value="{{ $cms->content['section3_list_icon2'] ?? '' }}" placeholder="Please Enter Title"> </div> </div> </div> <div class="col-lg-3 col-md-3"> <div class="form-group"> <div> <label class="col-form-label">List Title</label> <input type="text" name="section3_list_title2" class="form-control" value="{{ $cms->content['section3_list_title2'] ?? '' }}" placeholder="Please Enter Title"> </div> </div> </div> <div class="col-lg-6 col-md-6"> <div class="form-group"> <div> <label class="col-form-label">List Description</label> <input type="text" name="section3_list_description2" class="form-control" value="{{ $cms->content['section3_list_description2'] ?? '' }}" placeholder="Please Enter Title"> </div> </div> </div> <div class="col-lg-6 col-md-6"> <div class="form-group"> <div> <label class="col-form-label">Button Title</label> <input type="text" name="section3_button_title" class="form-control" value="{{ $cms->content['section3_button_title'] ?? '' }}" placeholder="Please Enter Button Text"> </div> </div> </div> <div class="col-lg-6 col-md-6"> <div class="form-group"> <div> <label class="col-form-label">Button Link</label> <input type="text" name="section3_button_link" class="form-control" value="{{ $cms->content['section3_button_link'] ?? '' }}" placeholder="Please Enter Button Link"> </div> </div> </div> <div class="col-lg-6 col-md-6"> <div class="form-group"> <div> <div class="col-form-label">Image</div> <div class="fileinput fileinput-new" data-provides="fileinput"> <div class="fileinput-new thumbnail" style="width: 100px;"> @if(isset($cms->content['section3_image']) && !empty($cms->content['section3_image']) ) @php $imageURL = env('ASSETS_URL').$cms->content['section3_image'] @endphp @else @php $imageURL = env('ASSETS_URL').'/'.'image-default.png' @endphp @endif <img src="{{$imageURL}}" style="max-width: 100px" alt= /> </div> <div class="fileinput-preview fileinput-exists thumbnail" style="max-width: 100px;"> </div> <div> <span class="btn btn-rounded default btn-file"> <span class="fileinput-new btn btn-primary btn-rounded"> Select Image </span> <span class="fileinput-exists btn btn-danger"> Change </span> <input type="file" name="section3_image" class="form-control"> </span> <a href="javascript:;" class="btn btn-rounded btn-outline-danger fileinput-exists" data-dismiss="fileinput"> Remove </a> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> <!-- Brands Section End --> <!-- Retailer Section Start --> <div class="card bs-4 mb-3 card-dark"> <div class="card-body"> <div> <div class="form-wrap"> <div class="row"> <div class="col-lg-12"> <div class="fs-20 color-white fw-600">Retailer Section</div> <hr class="mt-1 mb-2"> <div class="row"> <div class="col-lg-6 col-md-6"> <div class="form-group"> <div> <label class="col-form-label">Count</label> <input type="text" name="section4_count" class="form-control" value="{{ $cms->content['section4_count'] ?? '' }}" placeholder="Please Enter Count"> </div> </div> </div> <div class="col-lg-6 col-md-6"> <div class="form-group"> <div> <label class="col-form-label">Title</label> <input type="text" name="section4_main_title" class="form-control" value="{{ $cms->content['section4_main_title'] ?? '' }}" placeholder="Please Enter Title"> </div> </div> </div> <div class="col-lg-12"> <div class="form-group"> <div> <div class="col-form-label">Description</div> <textarea class="form-control" name="section4_description" id="section4_description" placeholder="Type here...">{!! $cms->content['section4_description'] ?? '' !!}</textarea> </div> </div> </div> <!-- Listing Section --> <div class="col-lg-3 col-md-3"> <div class="form-group"> <div> <label class="col-form-label">List Icon</label> <input type="text" name="section4_list_icon1" class="form-control" value="{{ $cms->content['section4_list_icon1'] ?? '' }}" placeholder="Please Enter Title"> </div> </div> </div> <div class="col-lg-3 col-md-3"> <div class="form-group"> <div> <label class="col-form-label">List Title</label> <input type="text" name="section4_list_title1" class="form-control" value="{{ $cms->content['section4_list_title1'] ?? '' }}" placeholder="Please Enter Title"> </div> </div> </div> <div class="col-lg-6 col-md-6"> <div class="form-group"> <div> <label class="col-form-label">List Description</label> <input type="text" name="section4_list_description1" class="form-control" value="{{ $cms->content['section4_list_description1'] ?? '' }}" placeholder="Please Enter Title"> </div> </div> </div> <div class="col-lg-3 col-md-3"> <div class="form-group"> <div> <label class="col-form-label">List Icon</label> <input type="text" name="section4_list_icon2" class="form-control" value="{{ $cms->content['section4_list_icon2'] ?? '' }}" placeholder="Please Enter Title"> </div> </div> </div> <div class="col-lg-3 col-md-3"> <div class="form-group"> <div> <label class="col-form-label">List Title</label> <input type="text" name="section4_list_title2" class="form-control" value="{{ $cms->content['section4_list_title2'] ?? '' }}" placeholder="Please Enter Title"> </div> </div> </div> <div class="col-lg-6 col-md-6"> <div class="form-group"> <div> <label class="col-form-label">List Description</label> <input type="text" name="section4_list_description2" class="form-control" value="{{ $cms->content['section4_list_description2'] ?? '' }}" placeholder="Please Enter Title"> </div> </div> </div> <div class="col-lg-3 col-md-3"> <div class="form-group"> <div> <label class="col-form-label">List Icon</label> <input type="text" name="section4_list_icon3" class="form-control" value="{{ $cms->content['section4_list_icon3'] ?? '' }}" placeholder="Please Enter Title"> </div> </div> </div> <div class="col-lg-3 col-md-3"> <div class="form-group"> <div> <label class="col-form-label">List Title</label> <input type="text" name="section4_list_title3" class="form-control" value="{{ $cms->content['section4_list_title3'] ?? '' }}" placeholder="Please Enter Title"> </div> </div> </div> <div class="col-lg-6 col-md-6"> <div class="form-group"> <div> <label class="col-form-label">List Description</label> <input type="text" name="section4_list_description3" class="form-control" value="{{ $cms->content['section4_list_description3'] ?? '' }}" placeholder="Please Enter Title"> </div> </div> </div> <!-- Listing Section --> <div class="col-lg-6 col-md-6"> <div class="form-group"> <div> <label class="col-form-label">Button Title</label> <input type="text" name="section4_button_title" class="form-control" value="{{ $cms->content['section4_button_title'] ?? '' }}" placeholder="Please Enter Button Text"> </div> </div> </div> <div class="col-lg-6 col-md-6"> <div class="form-group"> <div> <label class="col-form-label">Button Link</label> <input type="text" name="section4_button_link" class="form-control" value="{{ $cms->content['section4_button_link'] ?? '' }}" placeholder="Please Enter Button Link"> </div> </div> </div> <div class="col-lg-6 col-md-6"> <div class="form-group"> <div> <div class="col-form-label">Image</div> <div class="fileinput fileinput-new" data-provides="fileinput"> <div class="fileinput-new thumbnail" style="width: 100px;"> @if(isset($cms->content['section4_image']) && !empty($cms->content['section4_image']) ) @php $imageURL = env('ASSETS_URL').$cms->content['section4_image'] @endphp @else @php $imageURL = env('ASSETS_URL').'/'.'image-default.png' @endphp @endif <img src="{{$imageURL}}" style="max-width: 100px" alt= /> </div> <div class="fileinput-preview fileinput-exists thumbnail" style="max-width: 100px;"> </div> <div> <span class="btn btn-rounded default btn-file"> <span class="fileinput-new btn btn-primary btn-rounded"> Select Image </span> <span class="fileinput-exists btn btn-danger"> Change </span> <input type="file" name="section4_image" class="form-control"> </span> <a href="javascript:;" class="btn btn-rounded btn-outline-danger fileinput-exists" data-dismiss="fileinput"> Remove </a> </div> </div> </div> </div> </div> <div class="col-lg-6 col-md-6"> <div class="form-group"> <div> <div class="col-form-label">Image</div> <div class="fileinput fileinput-new" data-provides="fileinput"> <div class="fileinput-new thumbnail" style="width: 100px;"> @if(isset($cms->content['section4_small_image']) && !empty($cms->content['section4_small_image']) ) @php $imageURL = env('ASSETS_URL').$cms->content['section4_small_image'] @endphp @else @php $imageURL = env('ASSETS_URL').'/'.'image-default.png' @endphp @endif <img src="{{$imageURL}}" style="max-width: 100px" alt= /> </div> <div class="fileinput-preview fileinput-exists thumbnail" style="max-width: 100px;"> </div> <div> <span class="btn btn-rounded default btn-file"> <span class="fileinput-new btn btn-primary btn-rounded"> Select Image </span> <span class="fileinput-exists btn btn-danger"> Change </span> <input type="file" name="section4_small_image" class="form-control"> </span> <a href="javascript:;" class="btn btn-rounded btn-outline-danger fileinput-exists" data-dismiss="fileinput"> Remove </a> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> <!-- Retailer Section End --> <div class="card bs-4 mb-3 card-dark"> <div class="card-body"> <div class="fs-20 color-white fw-600">SEO Section</div> <hr class="mt-1 mb-2"> <div class="row"> <div class="col-lg-12"> <div class="form-group"> <div> <label class="col-form-label">Meta Title</label> <input type="text" name="meta_title" class="form-control" value="{{ $cms->content['meta_title'] ?? '' }}"> </div> </div> <div class="form-group"> <div> <label class="col-form-label">Meta Keywords</label> <input type="text" name="meta_keyword" class="form-control" value="{{ $cms->content['meta_keyword'] ?? '' }}"> </div> </div> <div class="form-group"> <div> <label class="col-form-label">Meta Description</label> <textarea name="meta_description" id="meta_description" class="form-control" rows="3">{{ $cms->content['meta_description'] ?? '' }}</textarea> </div> </div> </div> </div> </div> </div> </div> <div class="card bs-4 mb-3 card-dark"> <div class="card-body"> <div class="btn btn-rounded-wrap btn-group-left-right d-flex flex-wrap justify-content-between"> <a href="{{ url($actionURL) }}" class="btn btn-rounded btn-outline-danger btn-wh-145-45 mr-2">Cancel</a> <button type="submit" class="btn btn-rounded btn-outline-primary btn-wh-145-45">Save</button> </div> </div> </div> {!! Form::close() !!} </div> @stop @section('js') <script src="{{$ADMIN_THEME_PATH}}/plugins/bootstrap-fileinput/bootstrap-fileinput.js" type="text/javascript"></script> <script type="text/javascript" src="{{ url('node_modules/ckeditor/ckeditor.js') }}"></script> <script type="text/javascript"> $(document).ready(function(){ var ck_config = { height:'20em', skin: 'moono-dark', removeButtons:'Templates,Save,NewPage,ExportPdf,Preview,Print,Cut,Undo,Redo,Copy,Paste,PasteText,PasteFromWord,Find,Replace,SelectAll,Scayt,Form,Checkbox,Radio,TextField,Textarea,Select,Button,ImageButton,HiddenField,About,Maximize,BGColor,ShowBlocks,TextColor,Styles,Format,Font,FontSize,Iframe,Flash,Table,Image,HorizontalRule,Smiley,SpecialChar,PageBreak,Link,Unlink,Anchor,Language,BidiRtl,BidiLtr,JustifyLeft,Blockquote,Outdent,Indent,CreateDiv,JustifyCenter,JustifyRight,JustifyBlock,NumberedList,CopyFormatting,RemoveFormat,Underline,Strike,Superscript,Subscript', removePlugins: 'elementspath' }; gmx_app.getckeditor($('#section2_description'),ck_config); gmx_app.getckeditor($('#section4_description'),ck_config); var ck_config2 = { height:'20em', skin: 'moono-dark', removeButtons:'Templates,Save,NewPage,ExportPdf,Preview,Print,Cut,Undo,Redo,Copy,Paste,PasteText,PasteFromWord,Find,Replace,SelectAll,Scayt,Form,Checkbox,Radio,TextField,Textarea,Select,Button,ImageButton,HiddenField,About,Maximize,BGColor,ShowBlocks,TextColor,Styles,Format,Font,FontSize,Iframe,Flash,Table,Image,HorizontalRule,Smiley,SpecialChar,PageBreak,Link,Unlink,Anchor,Language,BidiRtl,BidiLtr,JustifyLeft,Blockquote,Outdent,Indent,CreateDiv,JustifyCenter,JustifyRight,JustifyBlock,NumberedList,CopyFormatting,RemoveFormat,Underline,Strike,Superscript,Subscript', removePlugins: 'elementspath' }; // gmx_app.getckeditor($('#section2_description'),ck_config2); }); $('#add_more_slider').click(function() { var element = $('.slider_div').first().clone(); var newIndex = $('.slider_div').length; element.find('[name*="section1_pre_title["]').val('').end().find('[name*="section1_pre_title["]').attr('name', 'section1_pre_title[' + newIndex + ']'); element.find('[name*="section1_title"]').val('').end().find('[name*="section1_title"]').attr('name', 'section1_title[' +newIndex + ']'); element.find('[name*="section1_description"]').val('').end().find('[name*="section1_description"]').attr('name', 'section1_description[' +newIndex + ']'); element.find('[name*="section1_button_text"]').val('').end().find('[name*="section1_button_text"]').attr('name', 'section1_button_text[' +newIndex + ']'); element.find('[name*="section1_button_link"]').val('').end().find('[name*="section1_button_link"]').attr('name', 'section1_button_link[' +newIndex + ']'); var temp = element.find('fileinput-preview').end().find('img'); $(temp[0]).attr('src','{{ URL::asset('/public/uploads/') }}/image-default.png '); $(temp[1]).attr('src','{{ URL::asset('/public/uploads/') }}/image-default.png '); $('#slider_list').append(element); if ($('.slider_div').length > 1) { $('.slider_div').find('.remove_slider').show(); } }); $(document).on('click', '.remove_slider', function() { var id = $(this).attr('delete_id'); $("#remove_slider").val(function() { return $("#remove_slider").val() + " " + id; }); $(this).parents('.slider_div').remove(); $.each($("div.slider_div"), function(index, val) { $(this).find('[name*="section1_pre_title"]').attr('name', 'section1_pre_title[' + (index + 1) + ']'); $(this).find('[name*="section1_title"]').attr('name','section1_title[' + (index + 1) + ']'); $(this).find('[name*="section1_description"]').attr('name','section1_description[' + (index + 1) + ']'); $(this).find('[name*="section1_button_text"]').attr('name','section1_button_text[' + (index + 1) + ']'); $(this).find('[name*="section1_button_link"]').attr('name','section1_button_link[' + (index + 1) + ']'); $(this).find('[name*="main_image_2"]').attr('name','section1_button_link[' + (index + 1) + ']'); }); if ($('.slider_div').length == 1) { $('.slider_div').find('.remove_slider').hide(); } }); </script> @stop
0
/content/gmx-projects/gmx-admin/admin/resources/views/admin
/content/gmx-projects/gmx-admin/admin/resources/views/admin/cms/contact-us.blade.php
@extends('admin.app.index') @section('css') <link href="{{$ADMIN_THEME_PATH}}/plugins/bootstrap-fileinput/bootstrap-fileinput.css" rel="stylesheet" type="text/css" /> @endsection @section('content') <div class="news-list-page"> <!-- <div class="sec-title divider-left fs-25 color-333333 pb-3 mb-4">Edit {{$cms->page_name}} Page</div> --> {!! Form::open(['url'=>url($actionURL.'/update-contactus',$cms->slug),'files'=>true]) !!} <!-- Main Section Start --> <div class="card bs-4 mb-3 card-dark"> <div class="card-body"> <div> <div class="form-wrap"> <div class="row"> <div class="col-lg-12"> <div class="fs-20 color-white fw-600">Main Section</div> <hr class="mt-1 mb-2"> <div class="row"> <div class="col-lg-12 col-md-12"> <div class="form-group"> <div> <label class="col-form-label">Main Title</label> <input type="text" name="main_title" class="form-control" value="{{ $cms->content['main_title'] ?? '' }}" placeholder="Please Enter Title"> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> <!-- Main Section End --> <div class="card bs-4 mb-3 card-dark"> <div class="card-body"> <div class="fs-20 color-white fw-600">SEO Section</div> <hr class="mt-1 mb-2"> <div class="row"> <div class="col-lg-12"> <div class="form-group"> <div> <label class="col-form-label">Meta Title</label> <input type="text" name="meta_title" class="form-control" value="{{ $cms->content['meta_title'] ?? '' }}"> </div> </div> <div class="form-group"> <div> <label class="col-form-label">Meta Keywords</label> <input type="text" name="meta_keyword" class="form-control" value="{{ $cms->content['meta_keyword'] ?? '' }}"> </div> </div> <div class="form-group"> <div> <label class="col-form-label">Meta Description</label> <textarea name="meta_description" id="meta_description" class="form-control" rows="3">{{ $cms->content['meta_description'] ?? '' }}</textarea> </div> </div> </div> </div> </div> </div> </div> <div class="card bs-4 mb-3 card-dark"> <div class="card-body"> <div class="btn btn-rounded-wrap btn-group-left-right d-flex flex-wrap justify-content-between"> <a href="{{ url($actionURL) }}" class="btn btn-rounded btn-outline-danger btn-wh-145-45 mr-2">Cancel</a> <button type="submit" class="btn btn-rounded btn-outline-primary btn-wh-145-45">Save</button> </div> </div> </div> {!! Form::close() !!} </div> @stop @section('js') @stop
0
/content/gmx-projects/gmx-admin/admin/resources/views/admin
/content/gmx-projects/gmx-admin/admin/resources/views/admin/app/loaderFilter.blade.php
<div class="loader-filter" style="display: none;"> <div class="loader-img"> <div class="loader-book"> <div class="loader-inner"> <div class="loader-left"></div> <div class="loader-middle"></div> <div class="loader-right"></div> </div> <ul class="ul-loaderbook"><li></li> <li></li> <li></li> <li></li> <li></li> <li></li> <li></li> <li></li> <li></li> <li></li> <li></li> <li></li> <li></li> <li></li> <li></li> <li></li> <li></li> <li></li></ul> </div> <style> .loader-filter{position:fixed;left:0;top:0;right:0;bottom:0;display:flex;justify-content:center;align-items:center;background-color: rgba(255, 255, 255,.98);z-index:1011;} .loader-book{width:32px;height:12px;position:relative;margin:32px 0 0 0;zoom:1.5;} .loader-book .loader-inner{width:32px;height:12px;position:relative;transform-origin:2px 2px;transform:rotateZ(-90deg);animation:loaderbook 6.8s ease infinite;} .loader-book .loader-inner .loader-left, .loader-book .loader-inner .loader-right{width:60px;height:4px;top:0;border-radius:2px;background:#2f519e;position:absolute;} .loader-book .loader-inner .loader-left:before, .loader-book .loader-inner .loader-right:before{content:"";width:48px;height:4px;border-radius:2px;background:inherit;position:absolute;top:-10px;left:6px;} .loader-book .loader-inner .loader-left{right:28px;transform-origin:58px 2px;transform:rotateZ(90deg);animation:loaderleft 6.8s ease infinite;} .loader-book .loader-inner .loader-right{left:28px;transform-origin:2px 2px;transform:rotateZ(-90deg);animation:loaderright 6.8s ease infinite;} .loader-book .loader-inner .loader-middle{width:32px;height:12px;border:4px solid #2f519e;border-top:0;border-radius:0 0 9px 9px;transform:translateY(2px);} .loader-book .ul-loaderbook{margin:0;padding:0;list-style:none;position:absolute;left:50%;top:0;} .loader-book .ul-loaderbook li{height:4px;border-radius:2px;transform-origin:100% 2px;width:48px;right:0;top:-10px;position:absolute;background:#2f519e;transform:rotateZ(0deg) translateX(-18px);animation-duration:6.8s;animation-timing-function:ease;animation-iteration-count:infinite;} .loader-book .ul-loaderbook li:nth-child(0){animation-name:bookpage-0;} .loader-book .ul-loaderbook li:nth-child(1){animation-name:bookpage-1;} .loader-book .ul-loaderbook li:nth-child(2){animation-name:bookpage-2;} .loader-book .ul-loaderbook li:nth-child(3){animation-name:bookpage-3;} .loader-book .ul-loaderbook li:nth-child(4){animation-name:bookpage-4;} .loader-book .ul-loaderbook li:nth-child(5){animation-name:bookpage-5;} .loader-book .ul-loaderbook li:nth-child(6){animation-name:bookpage-6;} .loader-book .ul-loaderbook li:nth-child(7){animation-name:bookpage-7;} .loader-book .ul-loaderbook li:nth-child(8){animation-name:bookpage-8;} .loader-book .ul-loaderbook li:nth-child(9){animation-name:bookpage-9;} .loader-book .ul-loaderbook li:nth-child(10){animation-name:bookpage-10;} .loader-book .ul-loaderbook li:nth-child(11){animation-name:bookpage-11;} .loader-book .ul-loaderbook li:nth-child(12){animation-name:bookpage-12;} .loader-book .ul-loaderbook li:nth-child(13){animation-name:bookpage-13;} .loader-book .ul-loaderbook li:nth-child(14){animation-name:bookpage-14;} .loader-book .ul-loaderbook li:nth-child(15){animation-name:bookpage-15;} .loader-book .ul-loaderbook li:nth-child(16){animation-name:bookpage-16;} .loader-book .ul-loaderbook li:nth-child(17){animation-name:bookpage-17;} .loader-book .ul-loaderbook li:nth-child(18){animation-name:bookpage-18;} @keyframes bookpage-0 { 4%{transform:rotateZ(0deg) translateX(-18px);} 13%,54%{transform:rotateZ(180deg) translateX(-18px);} 63%{transform:rotateZ(0deg) translateX(-18px);} } @keyframes bookpage-1 { 5.86%{transform:rotateZ(0deg) translateX(-18px);} 14.74%,55.86%{transform:rotateZ(180deg) translateX(-18px);} 64.74%{transform:rotateZ(0deg) translateX(-18px);} } @keyframes bookpage-2 { 7.72%{transform:rotateZ(0deg) translateX(-18px);} 16.48%,57.72%{transform:rotateZ(180deg) translateX(-18px);} 66.48%{transform:rotateZ(0deg) translateX(-18px);} } @keyframes bookpage-3 { 9.58%{transform:rotateZ(0deg) translateX(-18px);} 18.22%,59.58%{transform:rotateZ(180deg) translateX(-18px);} 68.22%{transform:rotateZ(0deg) translateX(-18px);} } @keyframes bookpage-4 { 11.44%{transform:rotateZ(0deg) translateX(-18px);} 19.96%,61.44%{transform:rotateZ(180deg) translateX(-18px);} 69.96%{transform:rotateZ(0deg) translateX(-18px);} } @keyframes bookpage-5 { 13.3%{transform:rotateZ(0deg) translateX(-18px);} 21.7%,63.3%{transform:rotateZ(180deg) translateX(-18px);} 71.7%{transform:rotateZ(0deg) translateX(-18px);} } @keyframes bookpage-6 { 15.16%{transform:rotateZ(0deg) translateX(-18px);} 23.44%,65.16%{transform:rotateZ(180deg) translateX(-18px);} 73.44%{transform:rotateZ(0deg) translateX(-18px);} } @keyframes bookpage-7 { 17.02%{transform:rotateZ(0deg) translateX(-18px);} 25.18%,67.02%{transform:rotateZ(180deg) translateX(-18px);} 75.18%{transform:rotateZ(0deg) translateX(-18px);} } @keyframes bookpage-8 { 18.88%{transform:rotateZ(0deg) translateX(-18px);} 26.92%,68.88%{transform:rotateZ(180deg) translateX(-18px);} 76.92%{transform:rotateZ(0deg) translateX(-18px);} } @keyframes bookpage-9 { 20.74%{transform:rotateZ(0deg) translateX(-18px);} 28.66%,70.74%{transform:rotateZ(180deg) translateX(-18px);} 78.66%{transform:rotateZ(0deg) translateX(-18px);} } @keyframes bookpage-10 { 22.6%{transform:rotateZ(0deg) translateX(-18px);} 30.4%,72.6%{transform:rotateZ(180deg) translateX(-18px);} 80.4%{transform:rotateZ(0deg) translateX(-18px);} } @keyframes bookpage-11 { 24.46%{transform:rotateZ(0deg) translateX(-18px);} 32.14%,74.46%{transform:rotateZ(180deg) translateX(-18px);} 82.14%{transform:rotateZ(0deg) translateX(-18px);} } @keyframes bookpage-12 { 26.32%{transform:rotateZ(0deg) translateX(-18px);} 33.88%,76.32%{transform:rotateZ(180deg) translateX(-18px);} 83.88%{transform:rotateZ(0deg) translateX(-18px);} } @keyframes bookpage-13 { 28.18%{transform:rotateZ(0deg) translateX(-18px);} 35.62%,78.18%{transform:rotateZ(180deg) translateX(-18px);} 85.62%{transform:rotateZ(0deg) translateX(-18px);} } @keyframes bookpage-14 { 30.04%{transform:rotateZ(0deg) translateX(-18px);} 37.36%,80.04%{transform:rotateZ(180deg) translateX(-18px);} 87.36%{transform:rotateZ(0deg) translateX(-18px);} } @keyframes bookpage-15 { 31.9%{transform:rotateZ(0deg) translateX(-18px);} 39.1%,81.9%{transform:rotateZ(180deg) translateX(-18px);} 89.1%{transform:rotateZ(0deg) translateX(-18px);} } @keyframes bookpage-16 { 33.76%{transform:rotateZ(0deg) translateX(-18px);} 40.84%,83.76%{transform:rotateZ(180deg) translateX(-18px);} 90.84%{transform:rotateZ(0deg) translateX(-18px);} } @keyframes bookpage-17 { 35.62%{transform:rotateZ(0deg) translateX(-18px);} 42.58%,85.62%{transform:rotateZ(180deg) translateX(-18px);} 92.58%{transform:rotateZ(0deg) translateX(-18px);} } @keyframes bookpage-18 { 37.48%{transform:rotateZ(0deg) translateX(-18px);} 44.32%,87.48%{transform:rotateZ(180deg) translateX(-18px);} 94.32%{transform:rotateZ(0deg) translateX(-18px);} } @keyframes loaderleft { 4%{transform:rotateZ(90deg);} 10%,40%{transform:rotateZ(0deg);} 46%,54%{transform:rotateZ(90deg);} 60%,90%{transform:rotateZ(0deg);} 96%{transform:rotateZ(90deg);} } @keyframes loaderright { 4%{transform:rotateZ(-90deg);} 10%,40%{transform:rotateZ(0deg);} 46%,54%{transform:rotateZ(-90deg);} 60%,90%{transform:rotateZ(0deg);} 96%{transform:rotateZ(-90deg);} } @keyframes loaderbook { 4%{transform:rotateZ(-90deg);} 10%,40%{transform:rotateZ(0deg);transform-origin:2px 2px;} 40.01%,59.99%{transform-origin:30px 2px;} 46%,54%{transform:rotateZ(90deg);} 60%,90%{transform:rotateZ(0deg);transform-origin:2px 2px;} 96%{transform:rotateZ(-90deg);} } </style> </div> </div>
0
/content/gmx-projects/gmx-admin/admin/resources/views/admin
/content/gmx-projects/gmx-admin/admin/resources/views/admin/app/footer.blade.php
<footer class="ste-footer"> <div class="foot-copyright"> <div class="container"> Copyright © @php echo date('Y') @endphp gmx.com </div> </div> </footer> <!-- -------------------- MODAL ----------------------- --> <div class="modal fade" id="defaultModel" tabindex="-1" role="dialog" aria-labelledby="defaultModelTitle" aria-hidden="true"> <div class="modal-dialog modal-dialog-centered" role="document"> <div class="modal-content"> <div class="modal-header"> <h5 class="modal-title" id="modalTitle">Title</h5> <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">X</span></button> </div> <div class="modal-body"> </div> <!-- <div class="modal-footer"> <button type="button" class="btn btn-rounded btn-secondary1btn-wh-118-45" data-dismiss="modal">Close</button> <button type="button" class="btn btn-rounded btn-primary3d btn-wh-118-45">Save changes</button> </div> --> </div> </div> </div> <div class="modal fade" id="largeModel" tabindex="-1" role="dialog" aria-labelledby="largeModelTitle" aria-hidden="true"> <div class="modal-dialog modal-dialog-centered modal-lg" role="document"> <div class="modal-content"> <div class="modal-header"> <h5 class="modal-title" id="modalTitle">Title</h5> <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">X</span></button> </div> <div class="modal-body"> </div> <!-- <div class="modal-footer"> <button type="button" class="btn btn-rounded btn-secondary1btn-wh-118-45" data-dismiss="modal">Close</button> <button type="button" class="btn btn-rounded btn-primary3d btn-wh-118-45">Save changes</button> </div> --> </div> </div> </div>
0
/content/gmx-projects/gmx-admin/admin/resources/views/admin
/content/gmx-projects/gmx-admin/admin/resources/views/admin/app/loaderMain.blade.php
<div class="main-loader"> <div class="loader-img"> {{-- <img src="{{ url('public/images/favicon.png') }}" style="width: 15vh; height: 15vh;"/> --}} <div class="line-scale"><div></div><div></div><div></div><div></div><div></div></div></div></div> <style> .main-loader{position:fixed;left:0;top:0;right:0;bottom:0;display:flex;justify-content:center;align-items:center;background-color: rgba(0, 0, 0,.98);z-index:1050;} /***** Lines loader *****/ @-webkit-keyframes line-scale { 0% { -webkit-transform: scaley(1); transform: scaley(1);} 50% {-webkit-transform: scaley(0.4); transform: scaley(0.4);} 100% {-webkit-transform: scaley(1); transform: scaley(1); } } @keyframes line-scale { 0% { -webkit-transform: scaley(1); transform: scaley(1);} 50% { -webkit-transform: scaley(0.4); transform: scaley(0.4);} 100% { -webkit-transform: scaley(1); transform: scaley(1); } } .line-scale > div:nth-child(1) { -webkit-animation: line-scale 1s -0.4s infinite cubic-bezier(0.2, 0.68, 0.18, 1.08); animation: line-scale 1s -0.4s infinite cubic-bezier(0.2, 0.68, 0.18, 1.08); } .line-scale > div:nth-child(2) { -webkit-animation: line-scale 1s -0.3s infinite cubic-bezier(0.2, 0.68, 0.18, 1.08); animation: line-scale 1s -0.3s infinite cubic-bezier(0.2, 0.68, 0.18, 1.08); } .line-scale > div:nth-child(3) { -webkit-animation: line-scale 1s -0.2s infinite cubic-bezier(0.2, 0.68, 0.18, 1.08); animation: line-scale 1s -0.2s infinite cubic-bezier(0.2, 0.68, 0.18, 1.08); } .line-scale > div:nth-child(4) { -webkit-animation: line-scale 1s -0.1s infinite cubic-bezier(0.2, 0.68, 0.18, 1.08); animation: line-scale 1s -0.1s infinite cubic-bezier(0.2, 0.68, 0.18, 1.08); } .line-scale > div:nth-child(5) { -webkit-animation: line-scale 1s 0s infinite cubic-bezier(0.2, 0.68, 0.18, 1.08); animation: line-scale 1s 0s infinite cubic-bezier(0.2, 0.68, 0.18, 1.08); } .line-scale > div { background-color: #22a612; width: 4px; height: 30px; border-radius: 2px; margin: 2px; display: inline-block; -webkit-animation-fill-mode: both; animation-fill-mode: both; } </style> </div> </div>
0
/content/gmx-projects/gmx-admin/admin/resources/views/admin
/content/gmx-projects/gmx-admin/admin/resources/views/admin/app/loaderMainTrans.blade.php
<div class="main-loader-trans" style="display: none;"> <div class="loader-img"> {{-- <img src="{{ url('public/images/favicon.png') }}" style="width: 15vh; height: 15vh;"/> --}} <div class="line-scale"><div></div><div></div><div></div><div></div><div></div></div></div></div> <style> .main-loader-trans{position:fixed;left:0;top:0;right:0;bottom:0;display:flex;justify-content:center;align-items:center;background-color: rgba(0, 0, 0,.7);z-index:1050;} /***** Lines loader *****/ @-webkit-keyframes line-scale { 0% { -webkit-transform: scaley(1); transform: scaley(1);} 50% {-webkit-transform: scaley(0.4); transform: scaley(0.4);} 100% {-webkit-transform: scaley(1); transform: scaley(1); } } @keyframes line-scale { 0% { -webkit-transform: scaley(1); transform: scaley(1);} 50% { -webkit-transform: scaley(0.4); transform: scaley(0.4);} 100% { -webkit-transform: scaley(1); transform: scaley(1); } } .line-scale > div:nth-child(1) { -webkit-animation: line-scale 1s -0.4s infinite cubic-bezier(0.2, 0.68, 0.18, 1.08); animation: line-scale 1s -0.4s infinite cubic-bezier(0.2, 0.68, 0.18, 1.08); } .line-scale > div:nth-child(2) { -webkit-animation: line-scale 1s -0.3s infinite cubic-bezier(0.2, 0.68, 0.18, 1.08); animation: line-scale 1s -0.3s infinite cubic-bezier(0.2, 0.68, 0.18, 1.08); } .line-scale > div:nth-child(3) { -webkit-animation: line-scale 1s -0.2s infinite cubic-bezier(0.2, 0.68, 0.18, 1.08); animation: line-scale 1s -0.2s infinite cubic-bezier(0.2, 0.68, 0.18, 1.08); } .line-scale > div:nth-child(4) { -webkit-animation: line-scale 1s -0.1s infinite cubic-bezier(0.2, 0.68, 0.18, 1.08); animation: line-scale 1s -0.1s infinite cubic-bezier(0.2, 0.68, 0.18, 1.08); } .line-scale > div:nth-child(5) { -webkit-animation: line-scale 1s 0s infinite cubic-bezier(0.2, 0.68, 0.18, 1.08); animation: line-scale 1s 0s infinite cubic-bezier(0.2, 0.68, 0.18, 1.08); } .line-scale > div { background-color: #22a612; width: 4px; height: 30px; border-radius: 2px; margin: 2px; display: inline-block; -webkit-animation-fill-mode: both; animation-fill-mode: both; } </style> </div> </div>
0
/content/gmx-projects/gmx-admin/admin/resources/views/admin
/content/gmx-projects/gmx-admin/admin/resources/views/admin/app/index.blade.php
<!DOCTYPE html> <html lang="en"> <head> <script type="text/javascript"> // Internet Explorer 6-11 var isIE = /*@cc_on!@*/false || !!document.documentMode; if(isIE){ window.location.href ="browser-not-supported"; } </script> <base href="{{ url('') }}"> <meta charset="UTF-8"> <meta content="ie=edge" http-equiv="x-ua-compatible"> <meta content="IE=edge" http-equiv="X-UA-Compatible"> <meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width" /> <meta name="msapplication-tap-highlight" content="no"/> <meta name="_token" content="{{ csrf_token() }}" /> {{-- <title>@yield('title', $SITE_NAME) :: {{$SITE_NAME}}</title> --}} @if( isset( $_meta_title ) && $_meta_title ) <title>{{$_meta_title}} :: {{$SITE_NAME}}</title> @else <title>@yield('title', $SITE_NAME)</title> @endif @if( isset( $_meta_keyword ) && $_meta_keyword ) <meta name="keywords" content="{{$_meta_keyword}}"> @endif @if( isset( $_meta_desc ) && $_meta_desc ) <meta name="description" content="{{$_meta_desc}}"> @endif <link rel="shortcut icon" href="{{ url('/public/images/favicon.ico') }}"> <link rel="icon" type="image/png" href="{{ url('/public/images/favicon.png') }}"> <link rel="stylesheet" href="{{ url('/public/fonts/fonts.css?v=1.0') }}"> <link rel="stylesheet" href="{{ url('/public/css/admin.css?v=1.0') }}"> <script src="{{ url('/public/js/admin.js?v=1.0') }}"></script> @yield('css') </head> <body> @include('admin.app.loaderMain') @include('admin.app.loaderMainTrans') @include('admin.app.header') <div class="row g-0 admin-layout-row"> <div class="admin-sidebar"> @include('admin.app.sidebar') </div> <div class="col admin-right-content overflow-hidden"> <div class="inner-content pb-5"> @yield('content') </div> @include('admin.app.footer') </div> </div> @yield('js') <script type="text/javascript"> $(window).bind("load",function(){$(".main-loader").fadeOut(400);}); @if ($success = Session::get('success')) gmx_app.notifyWithtEle("{{$success}}",'success'); @endif @if ($warning = Session::get('error')) gmx_app.notifyWithtEle("{{$warning}}",'error'); @endif </script> </body> </html> <!-- Localized -->
0
/content/gmx-projects/gmx-admin/admin/resources/views/admin
/content/gmx-projects/gmx-admin/admin/resources/views/admin/app/header.blade.php
<header class="admin-header"> <div class="container-fluid"> <div class="row align-items-center"> <div class="col"> <div class="navbar-brand-wrap d-flex align-items-center"> <a class="navbar-brand" href="{{url('/')}}"> <img class="max" src="{{ env('ASSETS_URL')._get_setting('logo') }}" alt="Logo"> <img class="min" src="{{ env('ASSETS_URL')._get_setting('minlogo') }}" alt="Logo"> </a> <a href="javascript:void(0)" class="admin-menutoggle my-2"><i class="fal fa-bars"></i></a> </div> </div> <div class="col-auto"> <div class="user-area">Welcome, {{ auth()->guard('admin')->user()->name ?? "" }} <a href="{{ url('logout') }}" class="link-logout"><i class="fas fa-sign-out-alt"></i></a> </div> </div> </div> </div> </header>
0
/content/gmx-projects/gmx-admin/admin/resources/views/admin
/content/gmx-projects/gmx-admin/admin/resources/views/admin/app/sidebar.blade.php
@php global $path; global $currentPath; $path = Route::getFacadeRoot()->current()->uri(); $currentPathTemp = Request::fullUrl(); $currentPathTemp = explode(url('/').'/', $currentPathTemp); $currentPath = ''; if( isset($currentPathTemp[1]) ) { $currentPath = $currentPathTemp[1]; $currentPath = trim($currentPath); } function getActiveRoute( $arrayLinks ) { $selected = false; if( in_array($GLOBALS['path'], $arrayLinks) ) { $selected = true; } elseif ( in_array($GLOBALS['currentPath'], $arrayLinks) ) { $selected = true; } return $selected; } @endphp <ul class="navbar-nav"> @php $links_array = [ 'dashboard', ]; $selected = getActiveRoute($links_array); @endphp <li class="nav-item @if( $selected ) active @endif"> <a class="nav-link" href="{{ url('dashboard') }}"> <i class="fa-fw fas fa-tachometer-alt"></i> <text> Dashboard </text> </a> </li> @php $links_array = [ 'product', 'product/add', 'product/detail/{id}', ]; $selected = getActiveRoute($links_array); @endphp <li class="nav-item @if( $selected ) active @endif"> <a class="nav-link" href="{{ url('product') }}"> <i class="fa-fw fas fa-file-alt"></i> <text> Product </text> </a> </li> @php $links_array = [ 'categories', 'categories/add', 'categories/edit/{id}', 'categories/search', ]; $selected = getActiveRoute($links_array); @endphp <li class="nav-item @if( $selected ) active @endif"> <a class="nav-link" href="{{ url('categories') }}"> <i class="fa-fw fas fa-boxes"></i> <text> Categories </text> </a> </li> @php $links_array = [ 'sub-categories', 'sub-categories/add', 'sub-categories/edit/{id}', 'sub-categories/search', ]; $selected = getActiveRoute($links_array); @endphp <li class="nav-item @if( $selected ) active @endif"> <a class="nav-link" href="{{ url('sub-categories') }}"> <i class="fa-fw fas fa-boxes"></i> <text>Sub Categories </text> </a> </li> @php $links_array = [ 'unverified-companies', 'unverified-companies/view/{id}', 'companies', 'companies/edit/{id}', 'companies/search', 'brands', 'brands/edit/{id}', 'brands/search', 'retailers', 'retailers/edit/{id}', 'retailers/search', 'unverified-retailers', 'unverified-retailers/view/{id}', ]; $selected = getActiveRoute($links_array); @endphp <li class="nav-item dropdown @if( $selected ) show @endif"> <a href="javascript:void(0)" class="dropdown-toggle nav-link @if( $selected ) show @endif" data-bs-toggle="dropdown" data-bs-display="static" > <i class="fa-fw fas fa-user-cog"></i> <text> User Management </text> </a> <ul class="dropdown-menu dropdown-menu-left @if( $selected ) show @endif"> @php $links_array = [ 'unverified-companies', 'unverified-companies/view/{id}', 'unverified-companies/search', ]; $selected = getActiveRoute($links_array); @endphp <li class="nav-item @if( $selected ) active @endif"> <a class="nav-link" href="{{url('unverified-companies')}}"> <i class="fa-fw fad fa-circle"></i> <text>Unverified Companies</text> </a> </li> @php $links_array = [ 'companies', 'companies/edit/{id}', 'companies/search', ]; $selected = getActiveRoute($links_array); @endphp <li class="nav-item @if( $selected ) active @endif"> <a class="nav-link" href="{{url('companies')}}"> <i class="fa-fw fad fa-circle"></i> <text>Companies</text> </a> </li> @php $links_array = [ 'brands', 'brands/edit/{id}', 'brands/search', ]; $selected = getActiveRoute($links_array); @endphp <li class="nav-item @if( $selected ) active @endif"> <a class="nav-link" href="{{url('brands')}}"> <i class="fa-fw fad fa-circle"></i> <text>Brands</text> </a> </li> @php $links_array = [ 'unverified-retailers', 'unverified-retailers/view/{id}', 'unverified-retailers/search', ]; $selected = getActiveRoute($links_array); @endphp <li class="nav-item @if( $selected ) active @endif"> <a class="nav-link" href="{{url('unverified-retailers')}}"> <i class="fa-fw fad fa-circle"></i> <text>Unverified Retailers</text> </a> </li> @php $links_array = [ 'retailers', 'retailers/edit/{id}', 'retailers/search', ]; $selected = getActiveRoute($links_array); @endphp <li class="nav-item @if( $selected ) active @endif"> <a class="nav-link" href="{{url('retailers')}}"> <i class="fa-fw fad fa-circle"></i> <text>Retailers</text> </a> </li> </ul> </li> @php $links_array = [ 'subscription', 'subscription/add', 'subscription/edit/{id}', 'subscription/search', ]; $selected = getActiveRoute($links_array); @endphp <li class="nav-item @if( $selected ) active @endif"> <a class="nav-link" href="{{ url('subscription') }}"> <i class="fa-fw fas fa-file-certificate"></i> <text> Subscriptions </text> </a> </li> @php $links_array = [ 'review', 'review/search', 'review/detail/{id}', ]; $selected = getActiveRoute($links_array); @endphp <li class="nav-item @if( $selected ) active @endif"> <a class="nav-link" href="{{ url('review') }}"> <i class="fa-fw fas fa-sliders-h"></i> <text> Reviews Management </text> </a> </li> @php $links_array = [ 'transaction', 'transaction/detail/{id}', ]; $selected = getActiveRoute($links_array); @endphp <li class="nav-item @if( $selected ) active @endif"> <a class="nav-link" href="{{ url('transaction') }}"> <i class="fa-fw far fa-credit-card"></i> <text> Transaction </text> </a> </li> @php $links_array = [ 'strain', 'strain/add', 'strain/edit/{id}', 'strain/search', ]; $selected = getActiveRoute($links_array); @endphp <li class="nav-item @if( $selected ) active @endif"> <a class="nav-link" href="{{ url('strain') }}"> <i class="fa-fw far fa-money-check-edit"></i> <text> Strains </text> </a> </li> @php $links_array = [ 'state', 'state/add', 'state/edit/{id}', 'state/search', ]; $selected = getActiveRoute($links_array); @endphp <li class="nav-item @if( $selected ) active @endif"> <a class="nav-link" href="{{ url('state') }}"> <i class="fa-fw far fa-money-check-edit"></i> <text> States </text> </a> </li> @php $links_array = [ 'med_rec', 'med_rec/add', 'med_rec/edit/{id}', 'med_rec/search', ]; $selected = getActiveRoute($links_array); @endphp <li class="nav-item @if( $selected ) active @endif"> <a class="nav-link" href="{{ url('med_rec') }}"> <i class="fa-fw fas fa-hand-holding-medical"></i> <text> Med / Rec </text> </a> </li> @php $links_array = [ 'orders', 'orders/detail/{id}', 'orders/search', ]; $selected = getActiveRoute($links_array); @endphp <li class="nav-item @if( $selected ) active @endif"> <a class="nav-link" href="{{ url('orders') }}"> <i class="fa-fw far fa-money-check-edit"></i> <text> Manage Orders </text> </a> </li> @php $links_array = [ 'cms', 'cms/add', 'cms/edit/{slug}' ]; $selected = getActiveRoute($links_array); @endphp <li class="nav-item @if( $selected ) active @endif"> <a class="nav-link" href="{{url('cms')}}"> <i class="fa-fw fal fa-sort-alt"></i> <text>CMS Manage </text> </a> </li> {{-- @php $links_array = [ 'email-headers', 'email-headers/add', 'email-headers/edit/{id}', 'email-templates', 'email-templates/add', 'email-templates/edit/{id}', 'email-footers', 'email-footers/add', 'email-footers/edit/{id}', ]; $selected = getActiveRoute($links_array); @endphp <li class="nav-item dropdown @if( $selected ) show @endif"> <a href="javascript:void(0)" class="dropdown-toggle nav-link @if( $selected ) show @endif" data-bs-toggle="dropdown" data-bs-display="static" > <i class="fa-fw fas fa-envelope"></i> <text> Email Templates </text> </a> <ul class="dropdown-menu dropdown-menu-left @if( $selected ) show @endif"> @php $links_array = [ 'email-headers', 'email-headers/add', 'email-headers/edit/{id}', ]; $selected = getActiveRoute($links_array); @endphp <li class="nav-item @if( $selected ) active @endif"> <a class="nav-link" href="{{url('email-headers')}}"> <i class="fa-fw fad fa-circle"></i> <text>Email Headers</text> </a> </li> @php $links_array = [ 'email-templates', 'email-templates/add', 'email-templates/edit/{id}' ]; $selected = getActiveRoute($links_array); @endphp <li class="nav-item @if( $selected ) active @endif"> <a class="nav-link" href="{{url('email-templates')}}"> <i class="fa-fw fad fa-circle"></i> <text>Email Templates</text> </a> </li> @php $links_array = [ 'email-footers', 'email-footers/add', 'email-footers/edit/{id}' ]; $selected = getActiveRoute($links_array); @endphp <li class="nav-item @if( $selected ) active @endif"> <a class="nav-link" href="{{url('email-footers')}}"> <i class="fa-fw fad fa-circle"></i> <text>Email Footers</text> </a> </li> </ul> </li> --}} @php $links_array = [ 'settings', ]; $selected = getActiveRoute($links_array); @endphp <li class="nav-item @if( $selected ) active @endif"> <a class="nav-link" href="{{ url('settings') }}"> <i class="fa-fw fas fas fa-cog"></i> <text> Settings </text> </a> </li> </ul>
0
/content/gmx-projects/gmx-admin/admin/resources/views/admin
/content/gmx-projects/gmx-admin/admin/resources/views/admin/app/index-no-head-foot.blade.php
<!DOCTYPE html> <html lang="en"> <head> <script type="text/javascript"> // Internet Explorer 6-11 var isIE = /*@cc_on!@*/false || !!document.documentMode; if(isIE){ window.location.href ="browser-not-supported"; } </script> <base href="{{ url('') }}"> <meta charset="UTF-8"> <meta content="ie=edge" http-equiv="x-ua-compatible"> <meta content="IE=edge" http-equiv="X-UA-Compatible"> <meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width" /> <meta name="msapplication-tap-highlight" content="no"/> <meta name="_token" content="{{ csrf_token() }}" /> {{-- <title>@yield('title', $SITE_NAME) :: {{$SITE_NAME}}</title> --}} @if( isset( $_meta_title ) && $_meta_title ) <title>{{$_meta_title}} :: {{$SITE_NAME}}</title> @else <title>@yield('title', $SITE_NAME)</title> @endif @if( isset( $_meta_keyword ) && $_meta_keyword ) <meta name="keywords" content="{{$_meta_keyword}}"> @endif @if( isset( $_meta_desc ) && $_meta_desc ) <meta name="description" content="{{$_meta_desc}}"> @endif <link rel="shortcut icon" href="{{ url('/public/images/favicon.ico') }}"> <link rel="icon" type="image/png" href="{{ url('/public/images/favicon.png') }}"> <link rel="stylesheet" href="{{ url('/public/fonts/fonts.css?v=1.0') }}"> <link rel="stylesheet" href="{{ url('/public/css/admin.css?v=1.0') }}"> <script src="{{ url('/public/js/admin.js?v=1.0') }}"></script> @yield('css') </head> <body> @include('admin.app.loaderMain') @include('admin.app.loaderMainTrans') <div class="admin-login-layout"> @yield('content') </div> @yield('js') <script type="text/javascript"> $(window).bind("load",function(){$(".main-loader").fadeOut(400);}); @if ($success = Session::get('success')) gmx_app.notifyWithtEle("{{$success}}",'success'); @endif @if ($warning = Session::get('error')) gmx_app.notifyWithtEle("{{$warning}}",'error'); @endif </script> </body> </html> <!-- Localized -->
0
/content/gmx-projects/gmx-admin/admin/resources
/content/gmx-projects/gmx-admin/admin/resources/js/bootstrap.js
window._ = require('lodash'); /** * We'll load the axios HTTP library which allows us to easily issue requests * to our Laravel back-end. This library automatically handles sending the * CSRF token as a header based on the value of the "XSRF" token cookie. */ window.axios = require('axios'); window.axios.defaults.headers.common['X-Requested-With'] = 'XMLHttpRequest'; /** * Echo exposes an expressive API for subscribing to channels and listening * for events that are broadcast by Laravel. Echo and event broadcasting * allows your team to easily build robust real-time web applications. */ // import Echo from 'laravel-echo'; // window.Pusher = require('pusher-js'); // window.Echo = new Echo({ // broadcaster: 'pusher', // key: process.env.MIX_PUSHER_APP_KEY, // cluster: process.env.MIX_PUSHER_APP_CLUSTER, // forceTLS: true // });