├── .gitignore ├── LICENSE ├── README.md ├── assets ├── css │ └── style.bundle.css ├── js │ ├── custom │ │ ├── account │ │ │ ├── api-keys │ │ │ │ └── api-keys.js │ │ │ ├── orders │ │ │ │ └── classic.js │ │ │ ├── referrals │ │ │ │ └── referral-program.js │ │ │ ├── security │ │ │ │ ├── license-usage.js │ │ │ │ └── security-summary.js │ │ │ └── settings │ │ │ │ ├── deactivate-account.js │ │ │ │ ├── overview.js │ │ │ │ ├── profile-details.js │ │ │ │ └── signin-methods.js │ │ ├── authentication │ │ │ ├── reset-password │ │ │ │ ├── new-password.js │ │ │ │ └── reset-password.js │ │ │ ├── sign-in │ │ │ │ ├── general.js │ │ │ │ ├── i18n.js │ │ │ │ └── two-steps.js │ │ │ └── sign-up │ │ │ │ ├── coming-soon.js │ │ │ │ ├── free-trial.js │ │ │ │ └── general.js │ │ ├── intro.js │ │ ├── landing.js │ │ └── widgets.js │ ├── scripts.bundle.js │ └── widgets.bundle.js ├── media │ ├── logos │ │ └── logo.png │ ├── product-demos │ │ └── demo1.webp │ └── svg │ │ └── illustrations │ │ └── landing.svg ├── plugins │ ├── custom │ │ ├── fslightbox │ │ │ └── fslightbox.bundle.js │ │ └── typedjs │ │ │ └── typedjs.bundle.js │ └── global │ │ ├── plugins.bundle.css │ │ └── plugins.bundle.js └── team.json ├── package-lock.json ├── package.json ├── public ├── authentication │ ├── sign-in.html │ └── sign-up.html ├── index.html ├── main.js ├── map.html └── output.css ├── src ├── input.css └── team.js └── tailwind.config.js /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2022 Json Map 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Json Map 2 | 3 | JsonMap is designed to make it easier to read JSON files to ensure that projects run smoothly. 4 | 5 | ## Installation 6 | 7 | ```bash 8 | git clone https://github.com/Json-Map/Json_Map.git 9 | ``` 10 | 11 | 12 | 13 | ## Contributing 14 | Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change. 15 | 16 | Please make sure to update tests as appropriate. 17 | 18 | ## License 19 | [MIT](./LICENSE) 20 | -------------------------------------------------------------------------------- /assets/js/custom/account/api-keys/api-keys.js: -------------------------------------------------------------------------------- 1 | "use strict";var KTAccountAPIKeys={init:function(){KTUtil.each(document.querySelectorAll('#kt_api_keys_table [data-action="copy"]'),(function(e){var t=e.closest("tr"),s=KTUtil.find(t,'[data-bs-target="license"]');new ClipboardJS(e,{target:s,text:function(){return s.innerHTML}}).on("success",(function(t){var c=e.querySelector(".svg-icon"),i=e.querySelector(".bi.bi-check");i||((i=document.createElement("i")).classList.add("bi"),i.classList.add("bi-check"),i.classList.add("fs-2x"),e.appendChild(i),s.classList.add("text-success"),c.classList.add("d-none"),setTimeout((function(){c.classList.remove("d-none"),e.removeChild(i),s.classList.remove("text-success")}),3e3))}))}))}};KTUtil.onDOMContentLoaded((function(){KTAccountAPIKeys.init()})); -------------------------------------------------------------------------------- /assets/js/custom/account/orders/classic.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | var KTDatatablesClassic = { 3 | init: function () 4 | { 5 | !function () 6 | { 7 | const t = document.getElementById("kt_orders_classic"); t.querySelectorAll("tbody tr") 8 | .forEach((t => { const e = t.querySelectorAll("td"), a = moment(e[1].innerHTML, "MMM D, YYYY").format("x"); e[1].setAttribute("data-order", a) })); 9 | const e = $(t).DataTable({ info: !1, order: [] }), a = document.getElementById("kt_filter_orders"), r = document.getElementById("kt_filter_year"); 10 | var n, o; a.addEventListener("change", (function (t) { e.column(3).search(t.target.value).draw() })), 11 | r.addEventListener("change", (function (t) 12 | { 13 | switch (t.target.value) 14 | { 15 | case "thisyear": n = moment().startOf("year").format("x"), o = moment().endOf("year").format("x"), 16 | e.draw(); break; case "thismonth": n = moment().startOf("month").format("x"), o = moment().endOf("month").format("x"), 17 | e.draw(); break; case "lastmonth": n = moment().subtract(1, "months").startOf("month").format("x"), o = moment().subtract(1, "months").endOf("month").format("x"), e.draw(); break; case "last90days": n = moment().subtract(30, "days").format("x"), o = moment().format("x"), e.draw(); break; default: n = moment().subtract(100, "years").startOf("month").format("x"), o = moment().add(1, "months").endOf("month").format("x"), e.draw() 18 | } 19 | })), $.fn.dataTable.ext.search.push((function (t, e, a) { var r = n, m = o, s = parseFloat(moment(e[1]).format("x")) || 0; return !!(isNaN(r) && isNaN(m) || isNaN(r) && s <= m || r <= s && isNaN(m) || r <= s && s <= m) })), document.getElementById("kt_filter_search").addEventListener("keyup", (function (t) { e.search(t.target.value).draw() })) 20 | }() 21 | } 22 | }; KTUtil.onDOMContentLoaded((function () { KTDatatablesClassic.init() })); -------------------------------------------------------------------------------- /assets/js/custom/account/referrals/referral-program.js: -------------------------------------------------------------------------------- 1 | "use strict";var KTAccountReferralsReferralProgram={init:function(){var e,r;e=document.querySelector("#kt_referral_program_link_copy_btn"),r=document.querySelector("#kt_referral_link_input"),new ClipboardJS(e).on("success",(function(s){var n=e.innerHTML;r.classList.add("bg-success"),r.classList.add("text-inverse-success"),e.innerHTML="Copied!",setTimeout((function(){e.innerHTML=n,r.classList.remove("bg-success"),r.classList.remove("text-inverse-success")}),3e3),s.clearSelection()}))}};KTUtil.onDOMContentLoaded((function(){KTAccountReferralsReferralProgram.init()})); -------------------------------------------------------------------------------- /assets/js/custom/account/security/license-usage.js: -------------------------------------------------------------------------------- 1 | "use strict";var KTAccountSecurityLicenseUsage={init:function(){KTUtil.each(document.querySelectorAll('#kt_security_license_usage_table [data-action="copy"]'),(function(e){var t=e.closest("tr"),c=KTUtil.find(t,'[data-bs-target="license"]');new ClipboardJS(e,{target:c,text:function(){return c.innerHTML}}).on("success",(function(t){var s=e.querySelector(".svg-icon"),i=e.querySelector(".bi.bi-check");i||((i=document.createElement("i")).classList.add("bi"),i.classList.add("bi-check"),i.classList.add("fs-2x"),e.appendChild(i),c.classList.add("text-success"),s.classList.add("d-none"),setTimeout((function(){s.classList.remove("d-none"),e.removeChild(i),c.classList.remove("text-success")}),3e3))}))}))}};KTUtil.onDOMContentLoaded((function(){KTAccountSecurityLicenseUsage.init()})); -------------------------------------------------------------------------------- /assets/js/custom/account/security/security-summary.js: -------------------------------------------------------------------------------- 1 | "use strict";var KTAccountSecuritySummary=function(){var t=function(t,e,a,r,s){var i=document.querySelector(e),n=parseInt(KTUtil.css(i,"height"));if(i){var o={series:[{name:"Net Profit",data:a},{name:"Revenue",data:r}],chart:{fontFamily:"inherit",type:"bar",height:n,toolbar:{show:!1}},plotOptions:{bar:{horizontal:!1,columnWidth:["35%"],borderRadius:6}},legend:{show:!1},dataLabels:{enabled:!1},stroke:{show:!0,width:2,colors:["transparent"]},xaxis:{categories:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],axisBorder:{show:!1},axisTicks:{show:!1},labels:{style:{colors:KTUtil.getCssVariableValue("--kt-gray-400"),fontSize:"12px"}}},yaxis:{labels:{style:{colors:KTUtil.getCssVariableValue("--kt-gray-400"),fontSize:"12px"}}},fill:{opacity:1},states:{normal:{filter:{type:"none",value:0}},hover:{filter:{type:"none",value:0}},active:{allowMultipleDataPointsSelection:!1,filter:{type:"none",value:0}}},tooltip:{style:{fontSize:"12px"},y:{formatter:function(t){return"$"+t+" thousands"}}},colors:[KTUtil.getCssVariableValue("--kt-primary"),KTUtil.getCssVariableValue("--kt-gray-200")],grid:{borderColor:KTUtil.getCssVariableValue("--kt-gray-200"),strokeDashArray:4,yaxis:{lines:{show:!0}}}},u=new ApexCharts(i,o),l=!1,_=document.querySelector(t);!0===s&&setTimeout((function(){u.render(),l=!0}),500),_.addEventListener("shown.bs.tab",(function(t){0==l&&(u.render(),l=!0)}))}};return{init:function(){t("#kt_security_summary_tab_hours_agents","#kt_security_summary_chart_hours_agents",[50,70,90,117,80,65,80,90,115,95,70,84],[50,70,90,117,80,65,70,90,115,95,70,84],!0),t("#kt_security_summary_tab_hours_clients","#kt_security_summary_chart_hours_clients",[50,70,90,117,80,65,80,90,115,95,70,84],[50,70,90,117,80,65,80,90,115,95,70,84],!1),t("#kt_security_summary_tab_day","#kt_security_summary_chart_day_agents",[50,70,80,100,90,65,80,90,115,95,70,84],[50,70,90,117,60,65,80,90,100,95,70,84],!1),t("#kt_security_summary_tab_day_clients","#kt_security_summary_chart_day_clients",[50,70,100,90,80,65,80,90,115,95,70,84],[50,70,90,115,80,65,80,90,115,95,70,84],!1),t("#kt_security_summary_tab_week","#kt_security_summary_chart_week_agents",[50,70,75,117,80,65,80,90,115,95,50,84],[50,60,90,117,80,65,80,90,115,95,70,84],!1),t("#kt_security_summary_tab_week_clients","#kt_security_summary_chart_week_clients",[50,70,90,117,80,65,80,90,100,80,70,84],[50,70,90,117,80,65,80,90,100,95,70,84],!1)}}}();KTUtil.onDOMContentLoaded((function(){KTAccountSecuritySummary.init()})); -------------------------------------------------------------------------------- /assets/js/custom/account/settings/deactivate-account.js: -------------------------------------------------------------------------------- 1 | "use strict";var KTAccountSettingsDeactivateAccount=function(){var t,n,e;return{init:function(){(t=document.querySelector("#kt_account_deactivate_form"))&&(e=document.querySelector("#kt_account_deactivate_account_submit"),n=FormValidation.formValidation(t,{fields:{deactivate:{validators:{notEmpty:{message:"Please check the box to deactivate your account"}}}},plugins:{trigger:new FormValidation.plugins.Trigger,submitButton:new FormValidation.plugins.SubmitButton,bootstrap:new FormValidation.plugins.Bootstrap5({rowSelector:".fv-row",eleInvalidClass:"",eleValidClass:""})}}),e.addEventListener("click",(function(t){t.preventDefault(),n.validate().then((function(t){"Valid"==t?swal.fire({text:"Are you sure you would like to deactivate your account?",icon:"warning",buttonsStyling:!1,showDenyButton:!0,confirmButtonText:"Yes",denyButtonText:"No",customClass:{confirmButton:"btn btn-light-primary",denyButton:"btn btn-danger"}}).then((t=>{t.isConfirmed?Swal.fire({text:"Your account has been deactivated.",icon:"success",confirmButtonText:"Ok",buttonsStyling:!1,customClass:{confirmButton:"btn btn-light-primary"}}):t.isDenied&&Swal.fire({text:"Account not deactivated.",icon:"info",confirmButtonText:"Ok",buttonsStyling:!1,customClass:{confirmButton:"btn btn-light-primary"}})})):swal.fire({text:"Sorry, looks like there are some errors detected, please try again.",icon:"error",buttonsStyling:!1,confirmButtonText:"Ok, got it!",customClass:{confirmButton:"btn btn-light-primary"}})}))})))}}}();KTUtil.onDOMContentLoaded((function(){KTAccountSettingsDeactivateAccount.init()})); -------------------------------------------------------------------------------- /assets/js/custom/account/settings/overview.js: -------------------------------------------------------------------------------- 1 | "use strict";var KTAccountSettingsOverview={init:function(){}};KTUtil.onDOMContentLoaded((function(){KTAccountSettingsOverview.init()})); -------------------------------------------------------------------------------- /assets/js/custom/account/settings/profile-details.js: -------------------------------------------------------------------------------- 1 | "use strict";var KTAccountSettingsProfileDetails=function(){var e,t;return{init:function(){(e=document.getElementById("kt_account_profile_details_form"))&&(e.querySelector("#kt_account_profile_details_submit"),t=FormValidation.formValidation(e,{fields:{fname:{validators:{notEmpty:{message:"First name is required"}}},lname:{validators:{notEmpty:{message:"Last name is required"}}},company:{validators:{notEmpty:{message:"Company name is required"}}},phone:{validators:{notEmpty:{message:"Contact phone number is required"}}},country:{validators:{notEmpty:{message:"Please select a country"}}},timezone:{validators:{notEmpty:{message:"Please select a timezone"}}},"communication[]":{validators:{notEmpty:{message:"Please select at least one communication method"}}},language:{validators:{notEmpty:{message:"Please select a language"}}}},plugins:{trigger:new FormValidation.plugins.Trigger,submitButton:new FormValidation.plugins.SubmitButton,bootstrap:new FormValidation.plugins.Bootstrap5({rowSelector:".fv-row",eleInvalidClass:"",eleValidClass:""})}}),$(e.querySelector('[name="country"]')).on("change",(function(){t.revalidateField("country")})),$(e.querySelector('[name="language"]')).on("change",(function(){t.revalidateField("language")})),$(e.querySelector('[name="timezone"]')).on("change",(function(){t.revalidateField("timezone")})))}}}();KTUtil.onDOMContentLoaded((function(){KTAccountSettingsProfileDetails.init()})); -------------------------------------------------------------------------------- /assets/js/custom/account/settings/signin-methods.js: -------------------------------------------------------------------------------- 1 | "use strict";var KTAccountSettingsSigninMethods={init:function(){var t,e;!function(){var t=document.getElementById("kt_signin_email");if(t){var e=document.getElementById("kt_signin_email_edit"),n=document.getElementById("kt_signin_password"),o=document.getElementById("kt_signin_password_edit"),i=document.getElementById("kt_signin_email_button"),s=document.getElementById("kt_signin_cancel"),r=document.getElementById("kt_signin_password_button"),a=document.getElementById("kt_password_cancel");i.querySelector("button").addEventListener("click",(function(){l()})),s.addEventListener("click",(function(){l()})),r.querySelector("button").addEventListener("click",(function(){d()})),a.addEventListener("click",(function(){d()}));var l=function(){t.classList.toggle("d-none"),i.classList.toggle("d-none"),e.classList.toggle("d-none")},d=function(){n.classList.toggle("d-none"),r.classList.toggle("d-none"),o.classList.toggle("d-none")}}}(),(e=document.getElementById("kt_signin_change_email"))&&(t=FormValidation.formValidation(e,{fields:{emailaddress:{validators:{notEmpty:{message:"Email is required"},emailAddress:{message:"The value is not a valid email address"}}},confirmemailpassword:{validators:{notEmpty:{message:"Password is required"}}}},plugins:{trigger:new FormValidation.plugins.Trigger,bootstrap:new FormValidation.plugins.Bootstrap5({rowSelector:".fv-row"})}}),e.querySelector("#kt_signin_submit").addEventListener("click",(function(n){n.preventDefault(),console.log("click"),t.validate().then((function(n){"Valid"==n?swal.fire({text:"Sent password reset. Please check your email",icon:"success",buttonsStyling:!1,confirmButtonText:"Ok, got it!",customClass:{confirmButton:"btn font-weight-bold btn-light-primary"}}).then((function(){e.reset(),t.resetForm()})):swal.fire({text:"Sorry, looks like there are some errors detected, please try again.",icon:"error",buttonsStyling:!1,confirmButtonText:"Ok, got it!",customClass:{confirmButton:"btn font-weight-bold btn-light-primary"}})}))}))),function(t){var e,n=document.getElementById("kt_signin_change_password");n&&(e=FormValidation.formValidation(n,{fields:{currentpassword:{validators:{notEmpty:{message:"Current Password is required"}}},newpassword:{validators:{notEmpty:{message:"New Password is required"}}},confirmpassword:{validators:{notEmpty:{message:"Confirm Password is required"},identical:{compare:function(){return n.querySelector('[name="newpassword"]').value},message:"The password and its confirm are not the same"}}}},plugins:{trigger:new FormValidation.plugins.Trigger,bootstrap:new FormValidation.plugins.Bootstrap5({rowSelector:".fv-row"})}}),n.querySelector("#kt_password_submit").addEventListener("click",(function(t){t.preventDefault(),console.log("click"),e.validate().then((function(t){"Valid"==t?swal.fire({text:"Sent password reset. Please check your email",icon:"success",buttonsStyling:!1,confirmButtonText:"Ok, got it!",customClass:{confirmButton:"btn font-weight-bold btn-light-primary"}}).then((function(){n.reset(),e.resetForm()})):swal.fire({text:"Sorry, looks like there are some errors detected, please try again.",icon:"error",buttonsStyling:!1,confirmButtonText:"Ok, got it!",customClass:{confirmButton:"btn font-weight-bold btn-light-primary"}})}))})))}()}};KTUtil.onDOMContentLoaded((function(){KTAccountSettingsSigninMethods.init()})); -------------------------------------------------------------------------------- /assets/js/custom/authentication/reset-password/new-password.js: -------------------------------------------------------------------------------- 1 | "use strict";var KTAuthNewPassword=function(){var t,e,r,o,a=function(){return 100===o.getScore()};return{init:function(){t=document.querySelector("#kt_new_password_form"),e=document.querySelector("#kt_new_password_submit"),o=KTPasswordMeter.getInstance(t.querySelector('[data-kt-password-meter="true"]')),r=FormValidation.formValidation(t,{fields:{password:{validators:{notEmpty:{message:"The password is required"},callback:{message:"Please enter valid password",callback:function(t){if(t.value.length>0)return a()}}}},"confirm-password":{validators:{notEmpty:{message:"The password confirmation is required"},identical:{compare:function(){return t.querySelector('[name="password"]').value},message:"The password and its confirm are not the same"}}},toc:{validators:{notEmpty:{message:"You must accept the terms and conditions"}}}},plugins:{trigger:new FormValidation.plugins.Trigger({event:{password:!1}}),bootstrap:new FormValidation.plugins.Bootstrap5({rowSelector:".fv-row",eleInvalidClass:"",eleValidClass:""})}}),e.addEventListener("click",(function(a){a.preventDefault(),r.revalidateField("password"),r.validate().then((function(r){"Valid"==r?(e.setAttribute("data-kt-indicator","on"),e.disabled=!0,setTimeout((function(){e.removeAttribute("data-kt-indicator"),e.disabled=!1,Swal.fire({text:"You have successfully reset your password!",icon:"success",buttonsStyling:!1,confirmButtonText:"Ok, got it!",customClass:{confirmButton:"btn btn-primary"}}).then((function(e){if(e.isConfirmed){t.querySelector('[name="password"]').value="",t.querySelector('[name="confirm-password"]').value="",o.reset();var r=t.getAttribute("data-kt-redirect-url");r&&(location.href=r)}}))}),1500)):Swal.fire({text:"Sorry, looks like there are some errors detected, please try again.",icon:"error",buttonsStyling:!1,confirmButtonText:"Ok, got it!",customClass:{confirmButton:"btn btn-primary"}})}))})),t.querySelector('input[name="password"]').addEventListener("input",(function(){this.value.length>0&&r.updateFieldStatus("password","NotValidated")}))}}}();KTUtil.onDOMContentLoaded((function(){KTAuthNewPassword.init()})); -------------------------------------------------------------------------------- /assets/js/custom/authentication/reset-password/reset-password.js: -------------------------------------------------------------------------------- 1 | "use strict";var KTAuthResetPassword=function(){var t,e,i;return{init:function(){t=document.querySelector("#kt_password_reset_form"),e=document.querySelector("#kt_password_reset_submit"),i=FormValidation.formValidation(t,{fields:{email:{validators:{regexp:{regexp:/^[^\s@]+@[^\s@]+\.[^\s@]+$/,message:"The value is not a valid email address"},notEmpty:{message:"Email address is required"}}}},plugins:{trigger:new FormValidation.plugins.Trigger,bootstrap:new FormValidation.plugins.Bootstrap5({rowSelector:".fv-row",eleInvalidClass:"",eleValidClass:""})}}),e.addEventListener("click",(function(r){r.preventDefault(),i.validate().then((function(i){"Valid"==i?(e.setAttribute("data-kt-indicator","on"),e.disabled=!0,setTimeout((function(){e.removeAttribute("data-kt-indicator"),e.disabled=!1,Swal.fire({text:"We have send a password reset link to your email.",icon:"success",buttonsStyling:!1,confirmButtonText:"Ok, got it!",customClass:{confirmButton:"btn btn-primary"}}).then((function(e){if(e.isConfirmed){t.querySelector('[name="email"]').value="";var i=t.getAttribute("data-kt-redirect-url");i&&(location.href=i)}}))}),1500)):Swal.fire({text:"Sorry, looks like there are some errors detected, please try again.",icon:"error",buttonsStyling:!1,confirmButtonText:"Ok, got it!",customClass:{confirmButton:"btn btn-primary"}})}))}))}}}();KTUtil.onDOMContentLoaded((function(){KTAuthResetPassword.init()})); -------------------------------------------------------------------------------- /assets/js/custom/authentication/sign-in/general.js: -------------------------------------------------------------------------------- 1 | "use strict";var KTSigninGeneral=function(){var e,t,i;return{init:function(){e=document.querySelector("#kt_sign_in_form"),t=document.querySelector("#kt_sign_in_submit"),i=FormValidation.formValidation(e,{fields:{email:{validators:{regexp:{regexp:/^[^\s@]+@[^\s@]+\.[^\s@]+$/,message:"The value is not a valid email address"},notEmpty:{message:"Email address is required"}}},password:{validators:{notEmpty:{message:"The password is required"}}}},plugins:{trigger:new FormValidation.plugins.Trigger,bootstrap:new FormValidation.plugins.Bootstrap5({rowSelector:".fv-row",eleInvalidClass:"",eleValidClass:""})}}),t.addEventListener("click",(function(n){n.preventDefault(),i.validate().then((function(i){"Valid"==i?(t.setAttribute("data-kt-indicator","on"),t.disabled=!0,setTimeout((function(){t.removeAttribute("data-kt-indicator"),t.disabled=!1,Swal.fire({text:"You have successfully logged in!",icon:"success",buttonsStyling:!1,confirmButtonText:"Ok, got it!",customClass:{confirmButton:"btn btn-primary"}}).then((function(t){if(t.isConfirmed){e.querySelector('[name="email"]').value="",e.querySelector('[name="password"]').value="";var i=e.getAttribute("data-kt-redirect-url");i&&(location.href=i)}}))}),2e3)):Swal.fire({text:"Sorry, looks like there are some errors detected, please try again.",icon:"error",buttonsStyling:!1,confirmButtonText:"Ok, got it!",customClass:{confirmButton:"btn btn-primary"}})}))}))}}}();KTUtil.onDOMContentLoaded((function(){KTSigninGeneral.init()})); -------------------------------------------------------------------------------- /assets/js/custom/authentication/sign-in/i18n.js: -------------------------------------------------------------------------------- 1 | "use strict";var KTAuthI18nDemo=function(){var e,n,a={"general-progress":{English:"Please wait...",Spanish:"Iniciar Sesión",German:"Registrarse",Japanese:"ログイン",French:"S'identifier"},"general-desc":{English:"Get unlimited access & earn money",Spanish:"Obtenga acceso ilimitado y gane dinero",German:"Erhalten Sie unbegrenzten Zugriff und verdienen Sie Geld",Japanese:"無制限のアクセスを取得してお金を稼ぐ",French:"Obtenez un accès illimité et gagnez de l'argent"},"general-or":{English:"Or",Spanish:"O",German:"Oder",Japanese:"または",French:"Ou"},"sign-in-head-desc":{English:"Not a Member yet?",Spanish:"¿No eres miembro todavía?",German:"Noch kein Mitglied?",Japanese:"まだメンバーではありませんか?",French:"Pas encore membre?"},"sign-in-head-link":{English:"Sign Up",Spanish:"Inscribirse",German:"Anmeldung",Japanese:"サインアップ",French:"S'S'inscrire"},"sign-in-title":{English:"Sign In",Spanish:"Iniciar Sesión",German:"Registrarse",Japanese:"ログイン",French:"S'identifier"},"sign-in-input-email":{English:"Email",Spanish:"Correo electrónico",German:"Email",Japanese:"Eメール",French:"E-mail"},"sign-in-input-password":{English:"Password",Spanish:"Clave",German:"Passwort",Japanese:"パスワード",French:"Mot de passe"},"sign-in-forgot-password":{English:"Forgot Password ?",Spanish:"Has olvidado tu contraseña ?",German:"Passwort vergessen ?",Japanese:"パスワードをお忘れですか ?",French:"Mot de passe oublié ?"},"sign-in-submit":{English:"Sign In",Spanish:"Iniciar Sesión",German:"Registrarse",Japanese:"ログイン",French:"S'identifier"},"sign-up-head-desc":{English:"Already a member ?",Spanish:"Ya eres usuario ?",German:"Schon ein Mitglied ?",Japanese:"すでにメンバーですか?",French:"Déjà membre ?"},"sign-up-head-link":{English:"Sign In",Spanish:"Iniciar Sesión",German:"Registrarse",Japanese:"ログイン",French:"S'identifier"},"sign-up-title":{English:"Sign Up",Spanish:"Inscribirse",German:"Anmeldung",Japanese:"サインアップ",French:"S'S'inscrire"},"sign-up-input-first-name":{English:"First Name",Spanish:"Primer nombre",German:"Vorname",Japanese:"ファーストネーム",French:"Prénom"},"sign-up-input-last-name":{English:"Last Name",Spanish:"Apellido",German:"Nachname",Japanese:"苗字",French:"Nom de famille"},"sign-up-input-email":{English:"Email",Spanish:"Correo electrónico",German:"Email",Japanese:"Eメール",French:"E-mail"},"sign-up-input-password":{English:"Password",Spanish:"Clave",German:"Passwort",Japanese:"パスワード",French:"Mot de passe"},"sign-up-input-confirm-password":{English:"Password",Spanish:"Clave",German:"Passwort",Japanese:"パスワード",French:"Mot de passe"},"sign-up-submit":{English:"Submit",Spanish:"Iniciar Sesión",German:"Registrarse",Japanese:"ログイン",French:"S'identifier"},"sign-up-hint":{English:"Use 8 or more characters with a mix of letters, numbers & symbols.",Spanish:"Utilice 8 o más caracteres con una combinación de letras, números y símbolos.",German:"Verwenden Sie 8 oder mehr Zeichen mit einer Mischung aus Buchstaben, Zahlen und Symbolen.",Japanese:"文字、数字、記号を組み合わせた8文字以上を使用してください。",French:"Utilisez 8 caractères ou plus avec un mélange de lettres, de chiffres et de symboles."},"new-password-head-desc":{English:"Already a member ?",Spanish:"Ya eres usuario ?",German:"Schon ein Mitglied ?",Japanese:"すでにメンバーですか?",French:"Déjà membre ?"},"new-password-head-link":{English:"Sign In",Spanish:"Iniciar Sesión",German:"Registrarse",Japanese:"ログイン",French:"S'identifier"},"new-password-title":{English:"Setup New Password",Spanish:"Configurar nueva contraseña",German:"Neues Passwort einrichten",Japanese:"新しいパスワードを設定する",French:"Configurer un nouveau mot de passe"},"new-password-desc":{English:"Have you already reset the password ?",Spanish:"¿Ya has restablecido la contraseña?",German:"Hast du das Passwort schon zurückgesetzt?",Japanese:"すでにパスワードをリセットしましたか?",French:"Avez-vous déjà réinitialisé le mot de passe ?"},"new-password-input-password":{English:"Password",Spanish:"Clave",German:"Passwort",Japanese:"パスワード",French:"Mot de passe"},"new-password-hint":{English:"Use 8 or more characters with a mix of letters, numbers & symbols.",Spanish:"Utilice 8 o más caracteres con una combinación de letras, números y símbolos.",German:"Verwenden Sie 8 oder mehr Zeichen mit einer Mischung aus Buchstaben, Zahlen und Symbolen.",Japanese:"文字、数字、記号を組み合わせた8文字以上を使用してください。",French:"Utilisez 8 caractères ou plus avec un mélange de lettres, de chiffres et de symboles."},"new-password-confirm-password":{English:"Confirm Password",Spanish:"Confirmar contraseña",German:"Passwort bestätigen",Japanese:"パスワードを認証する",French:"Confirmez le mot de passe"},"new-password-submit":{English:"Submit",Spanish:"Iniciar Sesión",German:"Registrarse",Japanese:"ログイン",French:"S'identifier"},"password-reset-head-desc":{English:"Already a member ?",Spanish:"Ya eres usuario ?",German:"Schon ein Mitglied ?",Japanese:"すでにメンバーですか?",French:"Déjà membre ?"},"password-reset-head-link":{English:"Sign In",Spanish:"Iniciar Sesión",German:"Registrarse",Japanese:"ログイン",French:"S'identifier"},"password-reset-title":{English:"Forgot Password ?",Spanish:"Has olvidado tu contraseña ?",German:"Passwort vergessen ?",Japanese:"パスワードをお忘れですか ?",French:"Mot de passe oublié ?"},"password-reset-desc":{English:"Enter your email to reset your password.",Spanish:"Ingrese su correo electrónico para restablecer su contraseña.",German:"Geben Sie Ihre E-Mail-Adresse ein, um Ihr Passwort zurückzusetzen.",Japanese:"メールアドレスを入力してパスワードをリセットしてください。",French:"Entrez votre e-mail pour réinitialiser votre mot de passe."},"password-reset-input-email":{English:"Email",Spanish:"Correo electrónico",German:"Email",Japanese:"Eメール",French:"E-mail"},"password-reset-submit":{English:"Submit",Spanish:"Iniciar Sesión",German:"Registrarse",Japanese:"ログイン",French:"S'identifier"},"password-reset-cancel":{English:"Cancel",Spanish:"Cancelar",German:"Absagen",Japanese:"キャンセル",French:"Annuler"},"two-step-head-desc":{English:"Didn’t get the code ?",Spanish:"¿No recibiste el código?",German:"Code nicht erhalten?",Japanese:"コードを取得できませんでしたか?",French:"Vous n'avez pas reçu le code ?"},"two-step-head-resend":{English:"Resend",Spanish:"Reenviar",German:"Erneut senden",Japanese:"再送",French:"Renvoyer"},"two-step-head-or":{English:"Or",Spanish:"O",German:"Oder",Japanese:"または",French:"Ou"},"two-step-head-call-us":{English:"Call Us",Spanish:"Llámenos",German:"Rufen Sie uns an",Japanese:"お電話ください",French:"Appelez-nous"},"two-step-submit":{English:"Submit",Spanish:"Iniciar Sesión",German:"Registrarse",Japanese:"ログイン",French:"S'identifier"},"two-step-title":{English:"Two Step Verification",Spanish:"Verificación de dos pasos",German:"Verifizierung in zwei Schritten",Japanese:"2段階認証",French:"Vérification en deux étapes"},"two-step-deck":{English:"Enter the verification code we sent to",Spanish:"Ingresa el código de verificación que enviamos a",German:"Geben Sie den von uns gesendeten Bestätigungscode ein",Japanese:"送信した確認コードを入力してください",French:"Entrez le code de vérification que nous avons envoyé à"},"two-step-label":{English:"Type your 6 digit security code",Spanish:"Escriba su código de seguridad de 6 dígitos",German:"Geben Sie Ihren 6-stelligen Sicherheitscode ein",Japanese:"6桁のセキュリティコードを入力します",French:"Tapez votre code de sécurité à 6 chiffres"}},s=function(e){for(var n in a)if(a.hasOwnProperty(n)&&a[n][e]){let s=document.querySelector("[data-kt-translate="+n+"]");null!==s&&("INPUT"===s.tagName?s.setAttribute("placeholder",a[n][e]):s.innerHTML=a[n][e])}},i=function(n){const a=e.querySelector('[data-kt-lang="'+n+'"]');if(null!==a){const e=document.querySelector('[data-kt-element="current-lang-name"]'),s=document.querySelector('[data-kt-element="current-lang-flag"]'),i=a.querySelector('[data-kt-element="lang-name"]'),r=a.querySelector('[data-kt-element="lang-flag"]');e.innerText=i.innerText,s.setAttribute("src",r.getAttribute("src")),localStorage.setItem("kt_auth_lang",n)}};return{init:function(){null!==(e=document.querySelector("#kt_auth_lang_menu"))&&(n=KTMenu.getInstance(e),function(){if(null!==localStorage.getItem("kt_auth_lang")){let e=localStorage.getItem("kt_auth_lang");i(e),s(e)}n.on("kt.menu.link.click",(function(e){let n=e.getAttribute("data-kt-lang");i(n),s(n)}))}())}}}();KTUtil.onDOMContentLoaded((function(){KTAuthI18nDemo.init()})); -------------------------------------------------------------------------------- /assets/js/custom/authentication/sign-in/two-steps.js: -------------------------------------------------------------------------------- 1 | "use strict";var KTSigninTwoSteps=function(){var e,t;return{init:function(){var n,i,o,u,r,c;e=document.querySelector("#kt_sing_in_two_steps_form"),(t=document.querySelector("#kt_sing_in_two_steps_submit")).addEventListener("click",(function(n){n.preventDefault();var i=!0,o=[].slice.call(e.querySelectorAll('input[maxlength="1"]'));o.map((function(e){""!==e.value&&0!==e.value.length||(i=!1)})),!0===i?(t.setAttribute("data-kt-indicator","on"),t.disabled=!0,setTimeout((function(){t.removeAttribute("data-kt-indicator"),t.disabled=!1,Swal.fire({text:"You have been successfully verified!",icon:"success",buttonsStyling:!1,confirmButtonText:"Ok, got it!",customClass:{confirmButton:"btn btn-primary"}}).then((function(t){if(t.isConfirmed){o.map((function(e){e.value=""}));var n=e.getAttribute("data-kt-redirect-url");n&&(location.href=n)}}))}),1e3)):swal.fire({text:"Please enter valid securtiy code and try again.",icon:"error",buttonsStyling:!1,confirmButtonText:"Ok, got it!",customClass:{confirmButton:"btn fw-bold btn-light-primary"}}).then((function(){KTUtil.scrollTop()}))})),n=e.querySelector("[name=code_1]"),i=e.querySelector("[name=code_2]"),o=e.querySelector("[name=code_3]"),u=e.querySelector("[name=code_4]"),r=e.querySelector("[name=code_5]"),c=e.querySelector("[name=code_6]"),n.focus(),n.addEventListener("keyup",(function(){1===this.value.length&&i.focus()})),i.addEventListener("keyup",(function(){1===this.value.length&&o.focus()})),o.addEventListener("keyup",(function(){1===this.value.length&&u.focus()})),u.addEventListener("keyup",(function(){1===this.value.length&&r.focus()})),r.addEventListener("keyup",(function(){1===this.value.length&&c.focus()})),c.addEventListener("keyup",(function(){1===this.value.length&&c.blur()}))}}}();KTUtil.onDOMContentLoaded((function(){KTSigninTwoSteps.init()})); -------------------------------------------------------------------------------- /assets/js/custom/authentication/sign-up/coming-soon.js: -------------------------------------------------------------------------------- 1 | "use strict";var KTSignupComingSoon=function(){var e,t,i;return{init:function(){e=document.querySelector("#kt_coming_soon_form"),t=document.querySelector("#kt_coming_soon_submit"),e&&(i=FormValidation.formValidation(e,{fields:{email:{validators:{regexp:{regexp:/^[^\s@]+@[^\s@]+\.[^\s@]+$/,message:"The value is not a valid email address"},notEmpty:{message:"Email address is required"}}}},plugins:{trigger:new FormValidation.plugins.Trigger,bootstrap:new FormValidation.plugins.Bootstrap5({rowSelector:".fv-row",eleInvalidClass:"",eleValidClass:""})}}),t.addEventListener("click",(function(o){o.preventDefault(),i.validate().then((function(i){"Valid"==i?(t.setAttribute("data-kt-indicator","on"),t.disabled=!0,setTimeout((function(){t.removeAttribute("data-kt-indicator"),t.disabled=!1,Swal.fire({text:"We have received your request. You will be notified once we go live.",icon:"success",buttonsStyling:!1,confirmButtonText:"Ok, got it!",customClass:{confirmButton:"btn btn-primary"}}).then((function(t){t.isConfirmed&&(e.querySelector('[name="email"]').value="")}))}),2e3)):Swal.fire({text:"Sorry, looks like there are some errors detected, please try again.",icon:"error",buttonsStyling:!1,confirmButtonText:"Ok, got it!",customClass:{confirmButton:"btn btn-primary"}})}))})))}}}();KTUtil.onDOMContentLoaded((function(){KTSignupComingSoon.init()})); -------------------------------------------------------------------------------- /assets/js/custom/authentication/sign-up/free-trial.js: -------------------------------------------------------------------------------- 1 | "use strict";var KTSignupFreeTrial=function(){var e,t,r,a,i=function(){return 100===a.getScore()};return{init:function(){e=document.querySelector("#kt_free_trial_form"),t=document.querySelector("#kt_free_trial_submit"),a=KTPasswordMeter.getInstance(e.querySelector('[data-kt-password-meter="true"]')),r=FormValidation.formValidation(e,{fields:{email:{validators:{regexp:{regexp:/^[^\s@]+@[^\s@]+\.[^\s@]+$/,message:"The value is not a valid email address"},notEmpty:{message:"Email address is required"}}},password:{validators:{notEmpty:{message:"The password is required"},callback:{message:"Please enter valid password",callback:function(e){if(e.value.length>0)return i()}}}},"confirm-password":{validators:{notEmpty:{message:"The password confirmation is required"},identical:{compare:function(){return e.querySelector('[name="password"]').value},message:"The password and its confirm are not the same"}}},toc:{validators:{notEmpty:{message:"You must accept the terms and conditions"}}}},plugins:{trigger:new FormValidation.plugins.Trigger({event:{password:!1}}),bootstrap:new FormValidation.plugins.Bootstrap5({rowSelector:".fv-row",eleInvalidClass:"",eleValidClass:""})}}),t.addEventListener("click",(function(i){i.preventDefault(),r.revalidateField("password"),r.validate().then((function(r){"Valid"==r?(t.setAttribute("data-kt-indicator","on"),t.disabled=!0,setTimeout((function(){t.removeAttribute("data-kt-indicator"),t.disabled=!1,Swal.fire({text:"You have successfully registered!",icon:"success",buttonsStyling:!1,confirmButtonText:"Ok, got it!",customClass:{confirmButton:"btn btn-primary"}}).then((function(t){t.isConfirmed&&(e.reset(),a.reset())}))}),1500)):Swal.fire({text:"Sorry, looks like there are some errors detected, please try again.",icon:"error",buttonsStyling:!1,confirmButtonText:"Ok, got it!",customClass:{confirmButton:"btn btn-primary"}})}))})),e.querySelector('input[name="password"]').addEventListener("input",(function(){this.value.length>0&&r.updateFieldStatus("password","NotValidated")}))}}}();KTUtil.onDOMContentLoaded((function(){KTSignupFreeTrial.init()})); -------------------------------------------------------------------------------- /assets/js/custom/authentication/sign-up/general.js: -------------------------------------------------------------------------------- 1 | "use strict";var KTSignupGeneral=function(){var e,t,a,r,s=function(){return 100===r.getScore()};return{init:function(){e=document.querySelector("#kt_sign_up_form"),t=document.querySelector("#kt_sign_up_submit"),r=KTPasswordMeter.getInstance(e.querySelector('[data-kt-password-meter="true"]')),a=FormValidation.formValidation(e,{fields:{"first-name":{validators:{notEmpty:{message:"First Name is required"}}},"last-name":{validators:{notEmpty:{message:"Last Name is required"}}},email:{validators:{regexp:{regexp:/^[^\s@]+@[^\s@]+\.[^\s@]+$/,message:"The value is not a valid email address"},notEmpty:{message:"Email address is required"}}},password:{validators:{notEmpty:{message:"The password is required"},callback:{message:"Please enter valid password",callback:function(e){if(e.value.length>0)return s()}}}},"confirm-password":{validators:{notEmpty:{message:"The password confirmation is required"},identical:{compare:function(){return e.querySelector('[name="password"]').value},message:"The password and its confirm are not the same"}}},toc:{validators:{notEmpty:{message:"You must accept the terms and conditions"}}}},plugins:{trigger:new FormValidation.plugins.Trigger({event:{password:!1}}),bootstrap:new FormValidation.plugins.Bootstrap5({rowSelector:".fv-row",eleInvalidClass:"",eleValidClass:""})}}),t.addEventListener("click",(function(s){s.preventDefault(),a.revalidateField("password"),a.validate().then((function(a){"Valid"==a?(t.setAttribute("data-kt-indicator","on"),t.disabled=!0,setTimeout((function(){t.removeAttribute("data-kt-indicator"),t.disabled=!1,Swal.fire({text:"You have successfully reset your password!",icon:"success",buttonsStyling:!1,confirmButtonText:"Ok, got it!",customClass:{confirmButton:"btn btn-primary"}}).then((function(t){if(t.isConfirmed){e.reset(),r.reset();var a=e.getAttribute("data-kt-redirect-url");a&&(location.href=a)}}))}),1500)):Swal.fire({text:"Sorry, looks like there are some errors detected, please try again.",icon:"error",buttonsStyling:!1,confirmButtonText:"Ok, got it!",customClass:{confirmButton:"btn btn-primary"}})}))})),e.querySelector('input[name="password"]').addEventListener("input",(function(){this.value.length>0&&a.updateFieldStatus("password","NotValidated")}))}}}();KTUtil.onDOMContentLoaded((function(){KTSignupGeneral.init()})); -------------------------------------------------------------------------------- /assets/js/custom/intro.js: -------------------------------------------------------------------------------- 1 | "use strict";var KTIntro=function(){var e=function(e,t,o){var i=new Date,n=(i.getTime(),1296e6);if(!KTCookie.get(e+"_counter")||parseInt(KTCookie.get(e+"_counter"))<3)return KTCookie.get(e+"_counter")?"1"!=KTCookie.get(e+"_counter")||KTCookie.get(e+"_show_1")?"2"==KTCookie.get(e+"_counter")&&!KTCookie.get(e+"_show_2")&&(setTimeout(t,o),KTCookie.set(e+"_show_3","1",{expires:new Date(i.getTime()+n)}),KTCookie.set(e+"_counter","3",{expires:new Date(i.getTime()+n)}),!0):(setTimeout(t,o),KTCookie.set(e+"_show_2","1",{expires:new Date(i.getTime()+6048e5)}),KTCookie.set(e+"_counter","2",{expires:new Date(i.getTime()+18144e5)}),!0):(setTimeout(t,o),KTCookie.set(e+"_show_1","1",{expires:new Date(i.getTime()+1728e5)}),KTCookie.set(e+"_counter","1",{expires:new Date(i.getTime()+2592e6)}),!0)},t=function(){var e=document.querySelector("#kt_header_search_toggle");if(e){var t=KTApp.initBootstrapPopover(e,{customClass:"popover-dark",container:"body",trigger:"manual",boundary:"window",placement:"left",dismiss:!0,html:!0,title:"Quick Search",content:"Fully functional search with advance options and preferences setup"});t.show(),setTimeout((function(){t&&t.dispose()}),1e4),e.addEventListener("click",(function(e){t.dispose()}))}},o=function(){var e=document.querySelector("#kt_toolbar_primary_button");if(e){var t=KTApp.initBootstrapPopover(e,{customClass:"popover-dark",container:"body",boundary:"window",trigger:"manual",placement:"left",dismiss:!0,html:!0,title:"Quick Notifications",content:"Seamless access to updates and notifications in various formats"});t.show(),setTimeout((function(){t&&t.dispose()}),1e4),e.addEventListener("click",(function(e){t.dispose()}))}},i=function(){var e=document.querySelector("#kt_header_user_menu_toggle");if(e){var t=KTApp.initBootstrapPopover(e,{customClass:"popover-dark",container:"body",boundary:"window",placement:"left",trigger:"manual",dismiss:!0,html:!0,title:"Advanced User Menu",content:"With quick links to user profile and account settings pages"});t.show(),setTimeout((function(){t&&t.dispose()}),1e4),e.addEventListener("click",(function(e){t.dispose()}))}};return{init:function(){var n;n="metronic",!1===KTUtil.inIframe()&&(e("kt_"+n+"_intro_1",t,5e3)||e("kt_"+n+"_intro_2",o,5e3)||e("kt_"+n+"_intro_3",i,5e3))}}}();"undefined"!=typeof module&&(module.exports=KTIntro),KTUtil.onDOMContentLoaded((function(){KTIntro.init()})); -------------------------------------------------------------------------------- /assets/js/custom/landing.js: -------------------------------------------------------------------------------- 1 | "use strict";var KTLandingPage={init:function(){}};"undefined"!=typeof module&&(module.exports=KTLandingPage),KTUtil.onDOMContentLoaded((function(){KTLandingPage.init()})); -------------------------------------------------------------------------------- /assets/js/custom/widgets.js: -------------------------------------------------------------------------------- 1 | "use strict";var KTWidgets={init:function(){var e,t,a,o,r,s;!function(){if(document.querySelector("#kt_dashboard_daterangepicker")){var e=$("#kt_dashboard_daterangepicker"),t=moment(),a=moment();e.daterangepicker({direction:KTUtil.isRTL(),startDate:t,endDate:a,opens:"left",applyClass:"btn-primary",cancelClass:"btn-light-primary",ranges:{Today:[moment(),moment()],Yesterday:[moment().subtract(1,"days"),moment().subtract(1,"days")],"Last 7 Days":[moment().subtract(6,"days"),moment()],"Last 30 Days":[moment().subtract(29,"days"),moment()],"This Month":[moment().startOf("month"),moment().endOf("month")],"Last Month":[moment().subtract(1,"month").startOf("month"),moment().subtract(1,"month").endOf("month")]}},o),o(t,a,"")}function o(e,t,a){var o="",r="";t-e<100||"Today"==a?(o="Today:",r=e.format("MMM D")):"Yesterday"==a?(o="Yesterday:",r=e.format("MMM D")):r=e.format("MMM D")+" - "+t.format("MMM D"),$("#kt_dashboard_daterangepicker_date").html(r),$("#kt_dashboard_daterangepicker_title").html(o)}}(),(e=document.querySelector("#kt_user_menu_dark_mode_toggle"))&&e.addEventListener("click",(function(){window.location.href=this.getAttribute("data-kt-url")})),t=document.querySelectorAll(".statistics-widget-3-chart"),[].slice.call(t).map((function(e){var t=parseInt(KTUtil.css(e,"height"));if(e){var a=e.getAttribute("data-kt-chart-color"),o=KTUtil.getCssVariableValue("--kt-gray-800"),r=KTUtil.getCssVariableValue("--kt-"+a),s=KTUtil.getCssVariableValue("--kt-"+a+"-light");new ApexCharts(e,{series:[{name:"Net Profit",data:[30,45,32,70,40]}],chart:{fontFamily:"inherit",type:"area",height:t,toolbar:{show:!1},zoom:{enabled:!1},sparkline:{enabled:!0}},plotOptions:{},legend:{show:!1},dataLabels:{enabled:!1},fill:{type:"solid",opacity:.3},stroke:{curve:"smooth",show:!0,width:3,colors:[r]},xaxis:{categories:["Feb","Mar","Apr","May","Jun","Jul"],axisBorder:{show:!1},axisTicks:{show:!1},labels:{show:!1,style:{colors:o,fontSize:"12px"}},crosshairs:{show:!1,position:"front",stroke:{color:"#E4E6EF",width:1,dashArray:3}},tooltip:{enabled:!0,formatter:void 0,offsetY:0,style:{fontSize:"12px"}}},yaxis:{min:0,max:80,labels:{show:!1,style:{colors:o,fontSize:"12px"}}},states:{normal:{filter:{type:"none",value:0}},hover:{filter:{type:"none",value:0}},active:{allowMultipleDataPointsSelection:!1,filter:{type:"none",value:0}}},tooltip:{style:{fontSize:"12px"},y:{formatter:function(e){return"$"+e+" thousands"}}},colors:[r],markers:{colors:[r],strokeColor:[s],strokeWidth:3}}).render()}})),function(){var e=document.querySelectorAll(".statistics-widget-4-chart");[].slice.call(e).map((function(e){var t=parseInt(KTUtil.css(e,"height"));if(e){var a=e.getAttribute("data-kt-chart-color"),o=KTUtil.getCssVariableValue("--kt-gray-800"),r=KTUtil.getCssVariableValue("--kt-"+a),s=KTUtil.getCssVariableValue("--kt-"+a+"-light");new ApexCharts(e,{series:[{name:"Net Profit",data:[40,40,30,30,35,35,50]}],chart:{fontFamily:"inherit",type:"area",height:t,toolbar:{show:!1},zoom:{enabled:!1},sparkline:{enabled:!0}},plotOptions:{},legend:{show:!1},dataLabels:{enabled:!1},fill:{type:"solid",opacity:.3},stroke:{curve:"smooth",show:!0,width:3,colors:[r]},xaxis:{categories:["Feb","Mar","Apr","May","Jun","Jul","Aug"],axisBorder:{show:!1},axisTicks:{show:!1},labels:{show:!1,style:{colors:o,fontSize:"12px"}},crosshairs:{show:!1,position:"front",stroke:{color:"#E4E6EF",width:1,dashArray:3}},tooltip:{enabled:!0,formatter:void 0,offsetY:0,style:{fontSize:"12px"}}},yaxis:{min:0,max:60,labels:{show:!1,style:{colors:o,fontSize:"12px"}}},states:{normal:{filter:{type:"none",value:0}},hover:{filter:{type:"none",value:0}},active:{allowMultipleDataPointsSelection:!1,filter:{type:"none",value:0}}},tooltip:{style:{fontSize:"12px"},y:{formatter:function(e){return"$"+e+" thousands"}}},colors:[r],markers:{colors:[r],strokeColor:[s],strokeWidth:3}}).render()}}))}(),function(){var e=document.getElementById("kt_charts_widget_1_chart");if(e){var t={self:null,rendered:!1},a=function(){var a=parseInt(KTUtil.css(e,"height")),o=KTUtil.getCssVariableValue("--kt-gray-500"),r=KTUtil.getCssVariableValue("--kt-gray-200"),s={series:[{name:"Net Profit",data:[44,55,57,56,61,58]},{name:"Revenue",data:[76,85,101,98,87,105]}],chart:{fontFamily:"inherit",type:"bar",height:a,toolbar:{show:!1}},plotOptions:{bar:{horizontal:!1,columnWidth:["30%"],borderRadius:4}},legend:{show:!1},dataLabels:{enabled:!1},stroke:{show:!0,width:2,colors:["transparent"]},xaxis:{categories:["Feb","Mar","Apr","May","Jun","Jul"],axisBorder:{show:!1},axisTicks:{show:!1},labels:{style:{colors:o,fontSize:"12px"}}},yaxis:{labels:{style:{colors:o,fontSize:"12px"}}},fill:{opacity:1},states:{normal:{filter:{type:"none",value:0}},hover:{filter:{type:"none",value:0}},active:{allowMultipleDataPointsSelection:!1,filter:{type:"none",value:0}}},tooltip:{style:{fontSize:"12px"},y:{formatter:function(e){return"$"+e+" thousands"}}},colors:[KTUtil.getCssVariableValue("--kt-primary"),KTUtil.getCssVariableValue("--kt-gray-300")],grid:{borderColor:r,strokeDashArray:4,yaxis:{lines:{show:!0}}}};t.self=new ApexCharts(e,s),t.self.render(),t.rendered=!0};a(),KTThemeMode.on("kt.thememode.change",(function(){t.rendered&&t.self.destroy(),a()}))}}(),function(){var e=document.getElementById("kt_charts_widget_2_chart");if(e){var t={self:null,rendered:!1},a=function(){var a=parseInt(KTUtil.css(e,"height")),o=KTUtil.getCssVariableValue("--kt-gray-500"),r=KTUtil.getCssVariableValue("--kt-gray-200"),s={series:[{name:"Net Profit",data:[44,55,57,56,61,58]},{name:"Revenue",data:[76,85,101,98,87,105]}],chart:{fontFamily:"inherit",type:"bar",height:a,toolbar:{show:!1}},plotOptions:{bar:{horizontal:!1,columnWidth:["30%"],borderRadius:4}},legend:{show:!1},dataLabels:{enabled:!1},stroke:{show:!0,width:2,colors:["transparent"]},xaxis:{categories:["Feb","Mar","Apr","May","Jun","Jul"],axisBorder:{show:!1},axisTicks:{show:!1},labels:{style:{colors:o,fontSize:"12px"}}},yaxis:{labels:{style:{colors:o,fontSize:"12px"}}},fill:{opacity:1},states:{normal:{filter:{type:"none",value:0}},hover:{filter:{type:"none",value:0}},active:{allowMultipleDataPointsSelection:!1,filter:{type:"none",value:0}}},tooltip:{style:{fontSize:"12px"},y:{formatter:function(e){return"$"+e+" thousands"}}},colors:[KTUtil.getCssVariableValue("--kt-warning"),KTUtil.getCssVariableValue("--kt-gray-300")],grid:{borderColor:r,strokeDashArray:4,yaxis:{lines:{show:!0}}}};t.self=new ApexCharts(e,s),t.self.render(),t.rendered=!0};a(),KTThemeMode.on("kt.thememode.change",(function(){t.rendered&&t.self.destroy(),a()}))}}(),function(){var e=document.getElementById("kt_charts_widget_3_chart");if(e){var t={self:null,rendered:!1},a=function(){parseInt(KTUtil.css(e,"height"));var a=KTUtil.getCssVariableValue("--kt-gray-500"),o=KTUtil.getCssVariableValue("--kt-gray-200"),r=KTUtil.getCssVariableValue("--kt-info"),s={series:[{name:"Net Profit",data:[30,40,40,90,90,70,70]}],chart:{fontFamily:"inherit",type:"area",height:350,toolbar:{show:!1}},plotOptions:{},legend:{show:!1},dataLabels:{enabled:!1},fill:{type:"solid",opacity:1},stroke:{curve:"smooth",show:!0,width:3,colors:[r]},xaxis:{categories:["Feb","Mar","Apr","May","Jun","Jul","Aug"],axisBorder:{show:!1},axisTicks:{show:!1},labels:{style:{colors:a,fontSize:"12px"}},crosshairs:{position:"front",stroke:{color:r,width:1,dashArray:3}},tooltip:{enabled:!0,formatter:void 0,offsetY:0,style:{fontSize:"12px"}}},yaxis:{labels:{style:{colors:a,fontSize:"12px"}}},states:{normal:{filter:{type:"none",value:0}},hover:{filter:{type:"none",value:0}},active:{allowMultipleDataPointsSelection:!1,filter:{type:"none",value:0}}},tooltip:{style:{fontSize:"12px"},y:{formatter:function(e){return"$"+e+" thousands"}}},colors:[KTUtil.getCssVariableValue("--kt-info-light")],grid:{borderColor:o,strokeDashArray:4,yaxis:{lines:{show:!0}}},markers:{strokeColor:r,strokeWidth:3}};t.self=new ApexCharts(e,s),t.self.render(),t.rendered=!0};a(),KTThemeMode.on("kt.thememode.change",(function(){t.rendered&&t.self.destroy(),a()}))}}(),function(){var e=document.getElementById("kt_charts_widget_4_chart");if(e){var t={self:null,rendered:!1},a=function(){parseInt(KTUtil.css(e,"height"));var a=KTUtil.getCssVariableValue("--kt-gray-500"),o=KTUtil.getCssVariableValue("--kt-gray-200"),r=KTUtil.getCssVariableValue("--kt-success"),s=KTUtil.getCssVariableValue("--kt-success-light"),l=KTUtil.getCssVariableValue("--kt-warning"),i=KTUtil.getCssVariableValue("--kt-warning-light"),n={series:[{name:"Net Profit",data:[60,50,80,40,100,60]},{name:"Revenue",data:[70,60,110,40,50,70]}],chart:{fontFamily:"inherit",type:"area",height:350,toolbar:{show:!1}},plotOptions:{},legend:{show:!1},dataLabels:{enabled:!1},fill:{type:"solid",opacity:1},stroke:{curve:"smooth"},xaxis:{categories:["Feb","Mar","Apr","May","Jun","Jul"],axisBorder:{show:!1},axisTicks:{show:!1},labels:{style:{colors:a,fontSize:"12px"}},crosshairs:{position:"front",stroke:{color:a,width:1,dashArray:3}},tooltip:{enabled:!0,formatter:void 0,offsetY:0,style:{fontSize:"12px"}}},yaxis:{labels:{style:{colors:a,fontSize:"12px"}}},states:{normal:{filter:{type:"none",value:0}},hover:{filter:{type:"none",value:0}},active:{allowMultipleDataPointsSelection:!1,filter:{type:"none",value:0}}},tooltip:{style:{fontSize:"12px"},y:{formatter:function(e){return"$"+e+" thousands"}}},colors:[r,l],grid:{borderColor:o,strokeDashArray:4,yaxis:{lines:{show:!0}}},markers:{colors:[s,i],strokeColor:[s,i],strokeWidth:3}};t.self=new ApexCharts(e,n),t.self.render(),t.rendered=!0};a(),KTThemeMode.on("kt.thememode.change",(function(){t.rendered&&t.self.destroy(),a()}))}}(),function(){var e=document.getElementById("kt_charts_widget_5_chart");if(e){var t={self:null,rendered:!1},a=function(){parseInt(KTUtil.css(e,"height"));var a=KTUtil.getCssVariableValue("--kt-gray-500"),o=KTUtil.getCssVariableValue("--kt-gray-200"),r={series:[{name:"Net Profit",data:[40,50,65,70,50,30]},{name:"Revenue",data:[-30,-40,-55,-60,-40,-20]}],chart:{fontFamily:"inherit",type:"bar",stacked:!0,height:350,toolbar:{show:!1}},plotOptions:{bar:{horizontal:!1,columnWidth:["12%"],borderRadius:[6,6]}},legend:{show:!1},dataLabels:{enabled:!1},stroke:{show:!0,width:2,colors:["transparent"]},xaxis:{categories:["Feb","Mar","Apr","May","Jun","Jul"],axisBorder:{show:!1},axisTicks:{show:!1},labels:{style:{colors:a,fontSize:"12px"}}},yaxis:{min:-80,max:80,labels:{style:{colors:a,fontSize:"12px"}}},fill:{opacity:1},states:{normal:{filter:{type:"none",value:0}},hover:{filter:{type:"none",value:0}},active:{allowMultipleDataPointsSelection:!1,filter:{type:"none",value:0}}},tooltip:{style:{fontSize:"12px"},y:{formatter:function(e){return"$"+e+" thousands"}}},colors:[KTUtil.getCssVariableValue("--kt-primary"),KTUtil.getCssVariableValue("--kt-info")],grid:{borderColor:o,strokeDashArray:4,yaxis:{lines:{show:!0}}}};t.self=new ApexCharts(e,r),t.self.render(),t.rendered=!0};a(),KTThemeMode.on("kt.thememode.change",(function(){t.rendered&&t.self.destroy(),a()}))}}(),function(){var e=document.getElementById("kt_charts_widget_6_chart");if(e){var t={self:null,rendered:!1},a=function(){parseInt(KTUtil.css(e,"height"));var a=KTUtil.getCssVariableValue("--kt-gray-500"),o=KTUtil.getCssVariableValue("--kt-gray-200"),r=KTUtil.getCssVariableValue("--kt-primary"),s=KTUtil.getCssVariableValue("--kt-primary-light"),l={series:[{name:"Net Profit",type:"bar",stacked:!0,data:[40,50,65,70,50,30]},{name:"Revenue",type:"bar",stacked:!0,data:[20,20,25,30,30,20]},{name:"Expenses",type:"area",data:[50,80,60,90,50,70]}],chart:{fontFamily:"inherit",stacked:!0,height:350,toolbar:{show:!1}},plotOptions:{bar:{stacked:!0,horizontal:!1,borderRadius:4,columnWidth:["12%"]}},legend:{show:!1},dataLabels:{enabled:!1},stroke:{curve:"smooth",show:!0,width:2,colors:["transparent"]},xaxis:{categories:["Feb","Mar","Apr","May","Jun","Jul"],axisBorder:{show:!1},axisTicks:{show:!1},labels:{style:{colors:a,fontSize:"12px"}}},yaxis:{max:120,labels:{style:{colors:a,fontSize:"12px"}}},fill:{opacity:1},states:{normal:{filter:{type:"none",value:0}},hover:{filter:{type:"none",value:0}},active:{allowMultipleDataPointsSelection:!1,filter:{type:"none",value:0}}},tooltip:{style:{fontSize:"12px"},y:{formatter:function(e){return"$"+e+" thousands"}}},colors:[r,KTUtil.getCssVariableValue("--kt-info"),s],grid:{borderColor:o,strokeDashArray:4,yaxis:{lines:{show:!0}},padding:{top:0,right:0,bottom:0,left:0}}};t.self=new ApexCharts(e,l),t.self.render(),t.rendered=!0};a(),KTThemeMode.on("kt.thememode.change",(function(){t.rendered&&t.self.destroy(),a()}))}}(),function(){var e=document.getElementById("kt_charts_widget_7_chart");if(e){var t={self:null,rendered:!1},a=function(){var a=parseInt(KTUtil.css(e,"height")),o=KTUtil.getCssVariableValue("--kt-gray-500"),r=KTUtil.getCssVariableValue("--kt-gray-200"),s=KTUtil.getCssVariableValue("--kt-gray-300"),l=KTUtil.getCssVariableValue("--kt-warning"),i=KTUtil.getCssVariableValue("--kt-warning-light"),n=KTUtil.getCssVariableValue("--kt-success"),d=KTUtil.getCssVariableValue("--kt-success-light"),c=KTUtil.getCssVariableValue("--kt-primary"),h={series:[{name:"Net Profit",data:[30,30,50,50,35,35]},{name:"Revenue",data:[55,20,20,20,70,70]},{name:"Expenses",data:[60,60,40,40,30,30]}],chart:{fontFamily:"inherit",type:"area",height:a,toolbar:{show:!1},zoom:{enabled:!1},sparkline:{enabled:!0}},plotOptions:{},legend:{show:!1},dataLabels:{enabled:!1},fill:{type:"solid",opacity:1},stroke:{curve:"smooth",show:!0,width:2,colors:[l,"transparent","transparent"]},xaxis:{categories:["Feb","Mar","Apr","May","Jun","Jul"],axisBorder:{show:!1},axisTicks:{show:!1},labels:{show:!1,style:{colors:o,fontSize:"12px"}},crosshairs:{show:!1,position:"front",stroke:{color:s,width:1,dashArray:3}},tooltip:{enabled:!0,formatter:void 0,offsetY:0,style:{fontSize:"12px"}}},yaxis:{labels:{show:!1,style:{colors:o,fontSize:"12px"}}},states:{normal:{filter:{type:"none",value:0}},hover:{filter:{type:"none",value:0}},active:{allowMultipleDataPointsSelection:!1,filter:{type:"none",value:0}}},tooltip:{style:{fontSize:"12px"},y:{formatter:function(e){return"$"+e+" thousands"}}},colors:[l,n,c],grid:{borderColor:r,strokeDashArray:4,yaxis:{lines:{show:!0}}},markers:{colors:[i,d,KTUtil.getCssVariableValue("--kt-primary-light")],strokeColor:[l,n,c],strokeWidth:3}};t.self=new ApexCharts(e,h),t.self.render(),t.rendered=!0};a(),KTThemeMode.on("kt.thememode.change",(function(){t.rendered&&t.self.destroy(),a()}))}}(),function(){var e=document.getElementById("kt_charts_widget_8_chart");if(e){var t={self:null,rendered:!1},a=function(){var a=parseInt(KTUtil.css(e,"height")),o=KTUtil.getCssVariableValue("--kt-gray-500"),r=KTUtil.getCssVariableValue("--kt-gray-200"),s=KTUtil.getCssVariableValue("--kt-gray-300"),l=KTUtil.getCssVariableValue("--kt-warning"),i=KTUtil.getCssVariableValue("--kt-warning-light"),n=KTUtil.getCssVariableValue("--kt-success"),d=KTUtil.getCssVariableValue("--kt-success-light"),c=KTUtil.getCssVariableValue("--kt-primary"),h={series:[{name:"Net Profit",data:[30,30,50,50,35,35]},{name:"Revenue",data:[55,20,20,20,70,70]},{name:"Expenses",data:[60,60,40,40,30,30]}],chart:{fontFamily:"inherit",type:"area",height:a,toolbar:{show:!1},zoom:{enabled:!1},sparkline:{enabled:!0}},plotOptions:{},legend:{show:!1},dataLabels:{enabled:!1},fill:{type:"solid",opacity:1},stroke:{curve:"smooth",show:!0,width:2,colors:[l,n,c]},xaxis:{x:0,offsetX:0,offsetY:0,padding:{left:0,right:0,top:0},categories:["Feb","Mar","Apr","May","Jun","Jul"],axisBorder:{show:!1},axisTicks:{show:!1},labels:{show:!1,style:{colors:o,fontSize:"12px"}},crosshairs:{show:!1,position:"front",stroke:{color:s,width:1,dashArray:3}},tooltip:{enabled:!0,formatter:void 0,offsetY:0,style:{fontSize:"12px"}}},yaxis:{y:0,offsetX:0,offsetY:0,padding:{left:0,right:0},labels:{show:!1,style:{colors:o,fontSize:"12px"}}},states:{normal:{filter:{type:"none",value:0}},hover:{filter:{type:"none",value:0}},active:{allowMultipleDataPointsSelection:!1,filter:{type:"none",value:0}}},tooltip:{style:{fontSize:"12px"},y:{formatter:function(e){return"$"+e+" thousands"}}},colors:[i,d,KTUtil.getCssVariableValue("--kt-primary-light")],grid:{borderColor:r,strokeDashArray:4,padding:{top:0,bottom:0,left:0,right:0}},markers:{colors:[l,n,c],strokeColor:[l,n,c],strokeWidth:3}};t.self=new ApexCharts(e,h),t.self.render(),t.rendered=!0};a(),KTThemeMode.on("kt.thememode.change",(function(){t.rendered&&t.self.destroy(),a()}))}}(),function(){var e,t,a,o=document.querySelectorAll(".mixed-widget-2-chart"),r=KTUtil.getCssVariableValue("--kt-gray-500"),s=KTUtil.getCssVariableValue("--kt-gray-200");[].slice.call(o).map((function(o){a=parseInt(KTUtil.css(o,"height")),e=KTUtil.getCssVariableValue("--kt-"+o.getAttribute("data-kt-color")),t=KTUtil.colorDarken(e,15),new ApexCharts(o,{series:[{name:"Net Profit",data:[30,45,32,70,40,40,40]}],chart:{fontFamily:"inherit",type:"area",height:a,toolbar:{show:!1},zoom:{enabled:!1},sparkline:{enabled:!0},dropShadow:{enabled:!0,enabledOnSeries:void 0,top:5,left:0,blur:3,color:t,opacity:.5}},plotOptions:{},legend:{show:!1},dataLabels:{enabled:!1},fill:{type:"solid",opacity:0},stroke:{curve:"smooth",show:!0,width:3,colors:[t]},xaxis:{categories:["Feb","Mar","Apr","May","Jun","Jul","Aug"],axisBorder:{show:!1},axisTicks:{show:!1},labels:{show:!1,style:{colors:r,fontSize:"12px"}},crosshairs:{show:!1,position:"front",stroke:{color:s,width:1,dashArray:3}}},yaxis:{min:0,max:80,labels:{show:!1,style:{colors:r,fontSize:"12px"}}},states:{normal:{filter:{type:"none",value:0}},hover:{filter:{type:"none",value:0}},active:{allowMultipleDataPointsSelection:!1,filter:{type:"none",value:0}}},tooltip:{style:{fontSize:"12px"},y:{formatter:function(e){return"$"+e+" thousands"}},marker:{show:!1}},colors:["transparent"],markers:{colors:[e],strokeColor:[t],strokeWidth:3}}).render()}))}(),function(){var e=document.querySelectorAll(".mixed-widget-3-chart");[].slice.call(e).map((function(e){var t=parseInt(KTUtil.css(e,"height"));if(e){var a=e.getAttribute("data-kt-chart-color"),o=KTUtil.getCssVariableValue("--kt-gray-800"),r=KTUtil.getCssVariableValue("--kt-gray-300"),s=KTUtil.getCssVariableValue("--kt-"+a),l=KTUtil.getCssVariableValue("--kt-"+a+"-light");new ApexCharts(e,{series:[{name:"Net Profit",data:[30,25,45,30,55,55]}],chart:{fontFamily:"inherit",type:"area",height:t,toolbar:{show:!1},zoom:{enabled:!1},sparkline:{enabled:!0}},plotOptions:{},legend:{show:!1},dataLabels:{enabled:!1},fill:{type:"solid",opacity:1},stroke:{curve:"smooth",show:!0,width:3,colors:[s]},xaxis:{categories:["Feb","Mar","Apr","May","Jun","Jul"],axisBorder:{show:!1},axisTicks:{show:!1},labels:{show:!1,style:{colors:o,fontSize:"12px"}},crosshairs:{show:!1,position:"front",stroke:{color:r,width:1,dashArray:3}},tooltip:{enabled:!0,formatter:void 0,offsetY:0,style:{fontSize:"12px"}}},yaxis:{min:0,max:60,labels:{show:!1,style:{colors:o,fontSize:"12px"}}},states:{normal:{filter:{type:"none",value:0}},hover:{filter:{type:"none",value:0}},active:{allowMultipleDataPointsSelection:!1,filter:{type:"none",value:0}}},tooltip:{style:{fontSize:"12px"},y:{formatter:function(e){return"$"+e+" thousands"}}},colors:[l],markers:{colors:[l],strokeColor:[s],strokeWidth:3}}).render()}}))}(),function(){var e=document.querySelectorAll(".mixed-widget-4-chart");[].slice.call(e).map((function(e){var t=parseInt(KTUtil.css(e,"height"));if(e){var a=e.getAttribute("data-kt-chart-color"),o=KTUtil.getCssVariableValue("--kt-"+a),r=KTUtil.getCssVariableValue("--kt-"+a+"-light"),s=KTUtil.getCssVariableValue("--kt-gray-700");new ApexCharts(e,{series:[74],chart:{fontFamily:"inherit",height:t,type:"radialBar"},plotOptions:{radialBar:{hollow:{margin:0,size:"65%"},dataLabels:{showOn:"always",name:{show:!1,fontWeight:"700"},value:{color:s,fontSize:"30px",fontWeight:"700",offsetY:12,show:!0,formatter:function(e){return e+"%"}}},track:{background:r,strokeWidth:"100%"}}},colors:[o],stroke:{lineCap:"round"},labels:["Progress"]}).render()}}))}(),function(){var e=document.querySelectorAll(".mixed-widget-5-chart");[].slice.call(e).map((function(e){var t=parseInt(KTUtil.css(e,"height"));if(e){var a=e.getAttribute("data-kt-chart-color"),o=KTUtil.getCssVariableValue("--kt-gray-800"),r=KTUtil.getCssVariableValue("--kt-gray-300"),s=KTUtil.getCssVariableValue("--kt-"+a),l=KTUtil.getCssVariableValue("--kt-"+a+"-light");new ApexCharts(e,{series:[{name:"Net Profit",data:[30,30,60,25,25,40]}],chart:{fontFamily:"inherit",type:"area",height:t,toolbar:{show:!1},zoom:{enabled:!1},sparkline:{enabled:!0}},plotOptions:{},legend:{show:!1},dataLabels:{enabled:!1},fill:{type:"solid",opacity:1},fill1:{type:"gradient",opacity:1,gradient:{type:"vertical",shadeIntensity:.5,gradientToColors:void 0,inverseColors:!0,opacityFrom:1,opacityTo:.375,stops:[25,50,100],colorStops:[]}},stroke:{curve:"smooth",show:!0,width:3,colors:[s]},xaxis:{categories:["Feb","Mar","Apr","May","Jun","Jul"],axisBorder:{show:!1},axisTicks:{show:!1},labels:{show:!1,style:{colors:o,fontSize:"12px"}},crosshairs:{show:!1,position:"front",stroke:{color:r,width:1,dashArray:3}},tooltip:{enabled:!0,formatter:void 0,offsetY:0,style:{fontSize:"12px"}}},yaxis:{min:0,max:65,labels:{show:!1,style:{colors:o,fontSize:"12px"}}},states:{normal:{filter:{type:"none",value:0}},hover:{filter:{type:"none",value:0}},active:{allowMultipleDataPointsSelection:!1,filter:{type:"none",value:0}}},tooltip:{style:{fontSize:"12px"},y:{formatter:function(e){return"$"+e+" thousands"}}},colors:[l],markers:{colors:[l],strokeColor:[s],strokeWidth:3}}).render()}}))}(),function(){var e=document.querySelectorAll(".mixed-widget-6-chart");[].slice.call(e).map((function(e){var t=parseInt(KTUtil.css(e,"height"));if(e){var a=e.getAttribute("data-kt-chart-color"),o=KTUtil.getCssVariableValue("--kt-gray-800"),r=KTUtil.getCssVariableValue("--kt-gray-300"),s=KTUtil.getCssVariableValue("--kt-"+a),l=KTUtil.getCssVariableValue("--kt-"+a+"-light");new ApexCharts(e,{series:[{name:"Net Profit",data:[30,25,45,30,55,55]}],chart:{fontFamily:"inherit",type:"area",height:t,toolbar:{show:!1},zoom:{enabled:!1},sparkline:{enabled:!0}},plotOptions:{},legend:{show:!1},dataLabels:{enabled:!1},fill:{type:"solid",opacity:1},stroke:{curve:"smooth",show:!0,width:3,colors:[s]},xaxis:{categories:["Feb","Mar","Apr","May","Jun","Jul"],axisBorder:{show:!1},axisTicks:{show:!1},labels:{show:!1,style:{colors:o,fontSize:"12px"}},crosshairs:{show:!1,position:"front",stroke:{color:r,width:1,dashArray:3}},tooltip:{enabled:!0,formatter:void 0,offsetY:0,style:{fontSize:"12px"}}},yaxis:{min:0,max:60,labels:{show:!1,style:{colors:o,fontSize:"12px"}}},states:{normal:{filter:{type:"none",value:0}},hover:{filter:{type:"none",value:0}},active:{allowMultipleDataPointsSelection:!1,filter:{type:"none",value:0}}},tooltip:{style:{fontSize:"12px"},y:{formatter:function(e){return"$"+e+" thousands"}}},colors:[l],markers:{colors:[l],strokeColor:[s],strokeWidth:3}}).render()}}))}(),function(){var e=document.querySelectorAll(".mixed-widget-7-chart");[].slice.call(e).map((function(e){var t=parseInt(KTUtil.css(e,"height"));if(e){var a=e.getAttribute("data-kt-chart-color"),o=KTUtil.getCssVariableValue("--kt-gray-800"),r=KTUtil.getCssVariableValue("--kt-gray-300"),s=KTUtil.getCssVariableValue("--kt-"+a),l=KTUtil.getCssVariableValue("--kt-"+a+"-light");new ApexCharts(e,{series:[{name:"Net Profit",data:[15,25,15,40,20,50]}],chart:{fontFamily:"inherit",type:"area",height:t,toolbar:{show:!1},zoom:{enabled:!1},sparkline:{enabled:!0}},plotOptions:{},legend:{show:!1},dataLabels:{enabled:!1},fill:{type:"solid",opacity:1},stroke:{curve:"smooth",show:!0,width:3,colors:[s]},xaxis:{categories:["Feb","Mar","Apr","May","Jun","Jul"],axisBorder:{show:!1},axisTicks:{show:!1},labels:{show:!1,style:{colors:o,fontSize:"12px"}},crosshairs:{show:!1,position:"front",stroke:{color:r,width:1,dashArray:3}},tooltip:{enabled:!0,formatter:void 0,offsetY:0,style:{fontSize:"12px"}}},yaxis:{min:0,max:60,labels:{show:!1,style:{colors:o,fontSize:"12px"}}},states:{normal:{filter:{type:"none",value:0}},hover:{filter:{type:"none",value:0}},active:{allowMultipleDataPointsSelection:!1,filter:{type:"none",value:0}}},tooltip:{style:{fontSize:"12px"},y:{formatter:function(e){return"$"+e+" thousands"}}},colors:[l],markers:{colors:[l],strokeColor:[s],strokeWidth:3}}).render()}}))}(),function(){var e,t,a,o=document.querySelectorAll(".mixed-widget-10-chart"),r=KTUtil.getCssVariableValue("--kt-gray-500"),s=KTUtil.getCssVariableValue("--kt-gray-200"),l=KTUtil.getCssVariableValue("--kt-gray-300");[].slice.call(o).map((function(o){e=o.getAttribute("data-kt-color"),t=parseInt(KTUtil.css(o,"height")),a=KTUtil.getCssVariableValue("--kt-"+e),new ApexCharts(o,{series:[{name:"Net Profit",data:[50,60,70,80,60,50,70,60]},{name:"Revenue",data:[50,60,70,80,60,50,70,60]}],chart:{fontFamily:"inherit",type:"bar",height:t,toolbar:{show:!1}},plotOptions:{bar:{horizontal:!1,columnWidth:["50%"],borderRadius:4}},legend:{show:!1},dataLabels:{enabled:!1},stroke:{show:!0,width:2,colors:["transparent"]},xaxis:{categories:["Feb","Mar","Apr","May","Jun","Jul","Aug","Sep"],axisBorder:{show:!1},axisTicks:{show:!1},labels:{style:{colors:r,fontSize:"12px"}}},yaxis:{y:0,offsetX:0,offsetY:0,labels:{style:{colors:r,fontSize:"12px"}}},fill:{type:"solid"},states:{normal:{filter:{type:"none",value:0}},hover:{filter:{type:"none",value:0}},active:{allowMultipleDataPointsSelection:!1,filter:{type:"none",value:0}}},tooltip:{style:{fontSize:"12px"},y:{formatter:function(e){return"$"+e+" revenue"}}},colors:[a,l],grid:{padding:{top:10},borderColor:s,strokeDashArray:4,yaxis:{lines:{show:!0}}}}).render()}))}(),function(){var e,t=document.querySelectorAll(".mixed-widget-12-chart"),a=KTUtil.getCssVariableValue("--kt-gray-500"),o=KTUtil.getCssVariableValue("--kt-gray-200");[].slice.call(t).map((function(t){e=parseInt(KTUtil.css(t,"height")),new ApexCharts(t,{series:[{name:"Net Profit",data:[35,65,75,55,45,60,55]},{name:"Revenue",data:[40,70,80,60,50,65,60]}],chart:{fontFamily:"inherit",type:"bar",height:e,toolbar:{show:!1},sparkline:{enabled:!0}},plotOptions:{bar:{horizontal:!1,columnWidth:["30%"],borderRadius:2}},legend:{show:!1},dataLabels:{enabled:!1},stroke:{show:!0,width:1,colors:["transparent"]},xaxis:{categories:["Feb","Mar","Apr","May","Jun","Jul"],axisBorder:{show:!1},axisTicks:{show:!1},labels:{style:{colors:a,fontSize:"12px"}}},yaxis:{min:0,max:100,labels:{style:{colors:a,fontSize:"12px"}}},fill:{type:["solid","solid"],opacity:[.25,1]},states:{normal:{filter:{type:"none",value:0}},hover:{filter:{type:"none",value:0}},active:{allowMultipleDataPointsSelection:!1,filter:{type:"none",value:0}}},tooltip:{style:{fontSize:"12px"},y:{formatter:function(e){return"$"+e+" thousands"}},marker:{show:!1}},colors:["#ffffff","#ffffff"],grid:{borderColor:o,strokeDashArray:4,yaxis:{lines:{show:!0}},padding:{left:20,right:20}}}).render()}))}(),function(){var e,t=document.querySelectorAll(".mixed-widget-13-chart");[].slice.call(t).map((function(t){if(e=parseInt(KTUtil.css(t,"height")),t){var a=KTUtil.getCssVariableValue("--kt-gray-800"),o=KTUtil.getCssVariableValue("--kt-gray-300");new ApexCharts(t,{series:[{name:"Net Profit",data:[15,25,15,40,20,50]}],grid:{show:!1,padding:{top:0,bottom:0,left:0,right:0}},chart:{fontFamily:"inherit",type:"area",height:e,toolbar:{show:!1},zoom:{enabled:!1},sparkline:{enabled:!0}},plotOptions:{},legend:{show:!1},dataLabels:{enabled:!1},fill:{type:"gradient",gradient:{opacityFrom:.4,opacityTo:0,stops:[20,120,120,120]}},stroke:{curve:"smooth",show:!0,width:3,colors:["#FFFFFF"]},xaxis:{categories:["Feb","Mar","Apr","May","Jun","Jul"],axisBorder:{show:!1},axisTicks:{show:!1},labels:{show:!1,style:{colors:a,fontSize:"12px"}},crosshairs:{show:!1,position:"front",stroke:{color:o,width:1,dashArray:3}},tooltip:{enabled:!0,formatter:void 0,offsetY:0,style:{fontSize:"12px"}}},yaxis:{min:0,max:60,labels:{show:!1,style:{colors:a,fontSize:"12px"}}},states:{normal:{filter:{type:"none",value:0}},hover:{filter:{type:"none",value:0}},active:{allowMultipleDataPointsSelection:!1,filter:{type:"none",value:0}}},tooltip:{style:{fontSize:"12px"},y:{formatter:function(e){return"$"+e+" thousands"}}},colors:["#ffffff"],markers:{colors:[a],strokeColor:[o],strokeWidth:3}}).render()}}))}(),function(){var e,t=document.querySelectorAll(".mixed-widget-14-chart");[].slice.call(t).map((function(t){e=parseInt(KTUtil.css(t,"height"));var a=KTUtil.getCssVariableValue("--kt-gray-800");new ApexCharts(t,{series:[{name:"Inflation",data:[1,2.1,1,2.1,4.1,6.1,4.1,4.1,2.1,4.1,2.1,3.1,1,1,2.1]}],chart:{fontFamily:"inherit",height:e,type:"bar",toolbar:{show:!1}},grid:{show:!1,padding:{top:0,bottom:0,left:0,right:0}},colors:["#ffffff"],plotOptions:{bar:{borderRadius:2.5,dataLabels:{position:"top"},columnWidth:"20%"}},dataLabels:{enabled:!1,formatter:function(e){return e+"%"},offsetY:-20,style:{fontSize:"12px",colors:["#304758"]}},xaxis:{labels:{show:!1},categories:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec","Jan","Feb","Mar"],position:"top",axisBorder:{show:!1},axisTicks:{show:!1},crosshairs:{show:!1},tooltip:{enabled:!1}},yaxis:{show:!1,axisBorder:{show:!1},axisTicks:{show:!1,background:a},labels:{show:!1,formatter:function(e){return e+"%"}}}}).render()}))}(),function(){var e=document.getElementById("kt_charts_mixed_widget_16_chart"),t=parseInt(KTUtil.css(e,"height"));if(e){var a={labels:["Total Members"],series:[74],chart:{fontFamily:"inherit",height:t,type:"radialBar",offsetY:0},plotOptions:{radialBar:{startAngle:-90,endAngle:90,hollow:{margin:0,size:"70%"},dataLabels:{showOn:"always",name:{show:!0,fontSize:"13px",fontWeight:"700",offsetY:-5,color:KTUtil.getCssVariableValue("--kt-gray-500")},value:{color:KTUtil.getCssVariableValue("--kt-gray-700"),fontSize:"30px",fontWeight:"700",offsetY:-40,show:!0}},track:{background:KTUtil.getCssVariableValue("--kt-primary-light"),strokeWidth:"100%"}}},colors:[KTUtil.getCssVariableValue("--kt-primary")],stroke:{lineCap:"round"}};new ApexCharts(e,a).render()}}(),function(){var e=document.querySelectorAll(".mixed-widget-17-chart");[].slice.call(e).map((function(e){var t=parseInt(KTUtil.css(e,"height"));if(e){var a=e.getAttribute("data-kt-chart-color"),o={labels:["Total Orders"],series:[75],chart:{fontFamily:"inherit",height:t,type:"radialBar",offsetY:0},plotOptions:{radialBar:{startAngle:-90,endAngle:90,hollow:{margin:0,size:"55%"},dataLabels:{showOn:"always",name:{show:!0,fontSize:"12px",fontWeight:"700",offsetY:-5,color:KTUtil.getCssVariableValue("--kt-gray-500")},value:{color:KTUtil.getCssVariableValue("--kt-gray-900"),fontSize:"24px",fontWeight:"600",offsetY:-40,show:!0,formatter:function(e){return"8,346"}}},track:{background:KTUtil.getCssVariableValue("--kt-gray-300"),strokeWidth:"100%"}}},colors:[KTUtil.getCssVariableValue("--kt-"+a)],stroke:{lineCap:"round"}};new ApexCharts(e,o).render()}}))}(),function(){var e=document.getElementById("kt_charts_mixed_widget_18_chart"),t=parseInt(KTUtil.css(e,"height"));if(e){var a=KTUtil.getCssVariableValue("--kt-gray-800"),o=KTUtil.getCssVariableValue("--kt-gray-800"),r="dark"===KTThemeMode.getMode()?KTUtil.getCssVariableValue("--kt-gray-200"):"#D6D6E0";new ApexCharts(e,{series:[{name:"Net Profit",data:[30,25,45,30,55,55]}],chart:{fontFamily:"inherit",type:"area",height:t,toolbar:{show:!1},zoom:{enabled:!1},sparkline:{enabled:!0}},plotOptions:{},legend:{show:!1},dataLabels:{enabled:!1},fill:{type:"solid",opacity:1},stroke:{curve:"smooth",show:!0,width:3,colors:[o]},xaxis:{categories:["Feb","Mar","Apr","May","Jun","Jul"],axisBorder:{show:!1},axisTicks:{show:!1},labels:{show:!1,style:{colors:a,fontSize:"12px"}},crosshairs:{show:!1,position:"front",stroke:{color:o,width:1,dashArray:3}},tooltip:{enabled:!0,formatter:void 0,offsetY:0,style:{fontSize:"12px"}}},yaxis:{min:0,max:60,labels:{show:!1,style:{colors:a,fontSize:"12px"}}},states:{normal:{filter:{type:"none",value:0}},hover:{filter:{type:"none",value:0}},active:{allowMultipleDataPointsSelection:!1,filter:{type:"none",value:0}}},tooltip:{style:{fontSize:"12px"},y:{formatter:function(e){return"$"+e+" thousands"}}},colors:[r],markers:{colors:[r],strokeColor:[o],strokeWidth:3}}).render()}}(),function(){var e=document.getElementById("kt_charts_mixed_widget_19_chart"),t=parseInt(KTUtil.css(e,"height"));if(e){var a=KTUtil.getCssVariableValue("--kt-gray-800"),o=KTUtil.getCssVariableValue("--kt-info"),r=KTUtil.getCssVariableValue("--kt-info-light");new ApexCharts(e,{series:[{name:"Net Profit",data:[30,25,45,30,55,55]}],chart:{fontFamily:"inherit",type:"area",height:t,toolbar:{show:!1},zoom:{enabled:!1},sparkline:{enabled:!0}},plotOptions:{},legend:{show:!1},dataLabels:{enabled:!1},fill:{type:"solid",opacity:1},stroke:{curve:"smooth",show:!0,width:3,colors:[o]},xaxis:{categories:["Feb","Mar","Apr","May","Jun","Jul"],axisBorder:{show:!1},axisTicks:{show:!1},labels:{show:!1,style:{colors:a,fontSize:"12px"}},crosshairs:{show:!1,position:"front",stroke:{color:o,width:1,dashArray:3}},tooltip:{enabled:!0,formatter:void 0,offsetY:0,style:{fontSize:"12px"}}},yaxis:{min:0,max:60,labels:{show:!1,style:{colors:a,fontSize:"12px"}}},states:{normal:{filter:{type:"none",value:0}},hover:{filter:{type:"none",value:0}},active:{allowMultipleDataPointsSelection:!1,filter:{type:"none",value:0}}},tooltip:{style:{fontSize:"12px"},y:{formatter:function(e){return"$"+e+" thousands"}}},colors:[r],markers:{colors:[r],strokeColor:[o],strokeWidth:3}}).render()}}(),(a=document.querySelector("#kt_forms_widget_1_form"))&&a&&new Quill("#kt_forms_widget_1_editor",{modules:{toolbar:{container:"#kt_forms_widget_1_editor_toolbar"}},placeholder:"What is on your mind ?",theme:"snow"}),o=document.querySelector("#kt_widget_5_load_more_btn"),r=document.querySelector("#kt_widget_5"),o&&o.addEventListener("click",(function(e){e.preventDefault(),o.setAttribute("data-kt-indicator","on"),setTimeout((function(){o.removeAttribute("data-kt-indicator"),r.classList.remove("d-none"),o.classList.add("d-none"),KTUtil.scrollTo(r,200)}),2e3)})),(s=document.querySelector("#kt_user_follow_button"))&&s.addEventListener("click",(function(e){e.preventDefault(),s.setAttribute("data-kt-indicator","on"),s.disabled=!0,s.classList.contains("btn-success")?setTimeout((function(){s.removeAttribute("data-kt-indicator"),s.classList.remove("btn-success"),s.classList.add("btn-light"),s.querySelector(".svg-icon").classList.add("d-none"),s.querySelector(".indicator-label").innerHTML="Follow",s.disabled=!1}),1500):setTimeout((function(){s.removeAttribute("data-kt-indicator"),s.classList.add("btn-success"),s.classList.remove("btn-light"),s.querySelector(".svg-icon").classList.remove("d-none"),s.querySelector(".indicator-label").innerHTML="Following",s.disabled=!1}),1e3)})),function(){if("undefined"!=typeof FullCalendar&&document.querySelector("#kt_calendar_widget_1")){var e=moment().startOf("day"),t=e.format("YYYY-MM"),a=e.clone().subtract(1,"day").format("YYYY-MM-DD"),o=e.format("YYYY-MM-DD"),r=e.clone().add(1,"day").format("YYYY-MM-DD"),s=document.getElementById("kt_calendar_widget_1");new FullCalendar.Calendar(s,{headerToolbar:{left:"prev,next today",center:"title",right:"dayGridMonth,timeGridWeek,timeGridDay,listMonth"},height:800,contentHeight:780,aspectRatio:3,nowIndicator:!0,now:o+"T09:25:00",views:{dayGridMonth:{buttonText:"month"},timeGridWeek:{buttonText:"week"},timeGridDay:{buttonText:"day"}},initialView:"dayGridMonth",initialDate:o,editable:!0,dayMaxEvents:!0,navLinks:!0,events:[{title:"All Day Event",start:t+"-01",description:"Toto lorem ipsum dolor sit incid idunt ut",className:"fc-event-danger fc-event-solid-warning"},{title:"Reporting",start:t+"-14T13:30:00",description:"Lorem ipsum dolor incid idunt ut labore",end:t+"-14",className:"fc-event-success"},{title:"Company Trip",start:t+"-02",description:"Lorem ipsum dolor sit tempor incid",end:t+"-03",className:"fc-event-primary"},{title:"ICT Expo 2017 - Product Release",start:t+"-03",description:"Lorem ipsum dolor sit tempor inci",end:t+"-05",className:"fc-event-light fc-event-solid-primary"},{title:"Dinner",start:t+"-12",description:"Lorem ipsum dolor sit amet, conse ctetur",end:t+"-10"},{id:999,title:"Repeating Event",start:t+"-09T16:00:00",description:"Lorem ipsum dolor sit ncididunt ut labore",className:"fc-event-danger"},{id:1e3,title:"Repeating Event",description:"Lorem ipsum dolor sit amet, labore",start:t+"-16T16:00:00"},{title:"Conference",start:a,end:r,description:"Lorem ipsum dolor eius mod tempor labore",className:"fc-event-primary"},{title:"Meeting",start:o+"T10:30:00",end:o+"T12:30:00",description:"Lorem ipsum dolor eiu idunt ut labore"},{title:"Lunch",start:o+"T12:00:00",className:"fc-event-info",description:"Lorem ipsum dolor sit amet, ut labore"},{title:"Meeting",start:o+"T14:30:00",className:"fc-event-warning",description:"Lorem ipsum conse ctetur adipi scing"},{title:"Happy Hour",start:o+"T17:30:00",className:"fc-event-info",description:"Lorem ipsum dolor sit amet, conse ctetur"},{title:"Dinner",start:r+"T05:00:00",className:"fc-event-solid-danger fc-event-light",description:"Lorem ipsum dolor sit ctetur adipi scing"},{title:"Birthday Party",start:r+"T07:00:00",className:"fc-event-primary",description:"Lorem ipsum dolor sit amet, scing"},{title:"Click for Google",url:"http://google.com/",start:t+"-28",className:"fc-event-solid-info fc-event-light",description:"Lorem ipsum dolor sit amet, labore"}]}).render()}}()}};"undefined"!=typeof module&&void 0!==module.exports&&(module.exports=KTWidgets),KTUtil.onDOMContentLoaded((function(){KTWidgets.init()})); -------------------------------------------------------------------------------- /assets/media/logos/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Json-Map/Json_Map/fbc9937ec9bb4f86905959de02e055b99ad92cf8/assets/media/logos/logo.png -------------------------------------------------------------------------------- /assets/media/product-demos/demo1.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Json-Map/Json_Map/fbc9937ec9bb4f86905959de02e055b99ad92cf8/assets/media/product-demos/demo1.webp -------------------------------------------------------------------------------- /assets/media/svg/illustrations/landing.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | -------------------------------------------------------------------------------- /assets/plugins/custom/fslightbox/fslightbox.bundle.js: -------------------------------------------------------------------------------- 1 | !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 o in n)("object"==typeof exports?exports:e)[o]=n[o]}}(window,(function(){return function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}([function(e,t,n){"use strict";n.r(t);var o,r="fslightbox-",i="".concat(r,"styles"),s="".concat(r,"cursor-grabbing"),c="".concat(r,"full-dimension"),a="".concat(r,"flex-centered"),l="".concat(r,"open"),u="".concat(r,"transform-transition"),d="".concat(r,"absoluted"),p="".concat(r,"slide-btn"),f="".concat(p,"-container"),h="".concat(r,"fade-in"),m="".concat(r,"fade-out"),g=h+"-strong",v=m+"-strong",b="".concat(r,"opacity-"),x="".concat(b,"1"),y="".concat(r,"source");function S(e){return(S="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function w(e){var t,n=e.props,o=0,r={};this.getSourceTypeFromLocalStorageByUrl=function(e){return t[e]?t[e]:i(e)},this.handleReceivedSourceTypeForUrl=function(e,n){!1===r[n]&&(o--,"invalid"!==e?r[n]=e:delete r[n],0===o&&(function(e,t){for(var n in t)e[n]=t[n]}(t,r),localStorage.setItem("fslightbox-types",JSON.stringify(t))))};var i=function(e){o++,r[e]=!1};n.disableLocalStorage?(this.getSourceTypeFromLocalStorageByUrl=function(){},this.handleReceivedSourceTypeForUrl=function(){}):(t=JSON.parse(localStorage.getItem("fslightbox-types")))||(t={},this.getSourceTypeFromLocalStorageByUrl=i)}function L(e,t,n,o){var r=e.data,i=e.elements.sources,s=n/o,c=0;this.adjustSize=function(){if((c=r.maxSourceWidth/s)r.maxSourceHeight?r.maxSourceHeight:o,a()};var a=function(){i[t].style.width=c*s+"px",i[t].style.height=c+"px"}}function C(e,t){var n=this,o=e.collections.sourceSizers,r=e.elements,i=r.sourceAnimationWrappers,s=r.sourceMainWrappers,c=r.sources,a=e.resolve;function l(e,n){o[t]=a(L,[t,e,n]),o[t].adjustSize()}this.runActions=function(e,o){c[t].classList.add(x),i[t].classList.add(g),s[t].removeChild(s[t].firstChild),l(e,o),n.runActions=l}}function F(e,t){var n,o=this,r=e.elements.sources,i=e.props,s=(0,e.resolve)(C,[t]);this.handleImageLoad=function(e){var t=e.target,n=t.naturalWidth,o=t.naturalHeight;s.runActions(n,o)},this.handleVideoLoad=function(e){var t=e.target,o=t.videoWidth,r=t.videoHeight;n=!0,s.runActions(o,r)},this.handleNotMetaDatedVideoLoad=function(){n||o.handleYoutubeLoad()},this.handleYoutubeLoad=function(){var e=1920,t=1080;i.maxYoutubeDimensions&&(e=i.maxYoutubeDimensions.width,t=i.maxYoutubeDimensions.height),s.runActions(e,t)},this.handleCustomLoad=function(){setTimeout((function(){var e=r[t];s.runActions(e.offsetWidth,e.offsetHeight)}))}}function A(e,t,n){var o=e.elements.sources,r=e.props.customClasses,i=r[t]?r[t]:"";o[t].className=n+" "+i}function I(e,t){var n=e.elements.sources,o=e.props.customAttributes;for(var r in o[t])n[t].setAttribute(r,o[t][r])}function E(e,t){var n=e.collections.sourceLoadHandlers,o=e.elements,r=o.sources,i=o.sourceAnimationWrappers,s=e.props.sources;r[t]=document.createElement("img"),A(e,t,y),r[t].src=s[t],r[t].onload=n[t].handleImageLoad,I(e,t),i[t].appendChild(r[t])}function T(e,t){var n=e.collections.sourceLoadHandlers,o=e.elements,r=o.sources,i=o.sourceAnimationWrappers,s=e.props,c=s.sources,a=s.videosPosters;r[t]=document.createElement("video"),A(e,t,y),r[t].src=c[t],r[t].onloadedmetadata=function(e){n[t].handleVideoLoad(e)},r[t].controls=!0,I(e,t),a[t]&&(r[t].poster=a[t]);var l=document.createElement("source");l.src=c[t],r[t].appendChild(l),setTimeout(n[t].handleNotMetaDatedVideoLoad,3e3),i[t].appendChild(r[t])}function N(e,t){var n=e.collections.sourceLoadHandlers,o=e.elements,i=o.sources,s=o.sourceAnimationWrappers,c=e.props.sources;i[t]=document.createElement("iframe"),A(e,t,"".concat(y," ").concat(r,"youtube-iframe")),i[t].src="https://www.youtube.com/embed/".concat(c[t].match(/^.*(youtu.be\/|v\/|u\/\w\/|embed\/|watch\?v=|\&v=)([^#\&\?]*).*/)[2],"?enablejsapi=1"),i[t].allowFullscreen=!0,I(e,t),s[t].appendChild(i[t]),n[t].handleYoutubeLoad()}function W(e,t){var n=e.collections.sourceLoadHandlers,o=e.elements,r=o.sources,i=o.sourceAnimationWrappers,s=e.props.sources;r[t]=s[t],A(e,t,"".concat(r[t].className," ").concat(y)),i[t].appendChild(r[t]),n[t].handleCustomLoad()}function z(e,t){var n=e.elements,o=n.sources,i=n.sourceAnimationWrappers,s=n.sourceMainWrappers;e.props.sources,o[t]=document.createElement("div"),o[t].className="".concat(r,"invalid-file-wrapper ").concat(a),o[t].innerHTML="Invalid source",i[t].classList.add(g),i[t].appendChild(o[t]),s[t].removeChild(s[t].firstChild)}function M(e){var t=e.collections,n=t.sourceLoadHandlers,o=t.sourcesRenderFunctions,r=e.core.sourceDisplayFacade,i=e.resolve;this.runActionsForSourceTypeAndIndex=function(t,s){var c;switch("invalid"!==t&&(n[s]=i(F,[s])),t){case"image":c=E;break;case"video":c=T;break;case"youtube":c=N;break;case"custom":c=W;break;default:c=z}o[s]=function(){return c(e,s)},r.displaySourcesWhichShouldBeDisplayed()}}function P(){var e,t,n,o=function(e){var t=document.createElement("a");return t.href=e,"www.youtube.com"===t.hostname},r=function(e){return e.slice(0,e.indexOf("/"))};function i(){if(4!==n.readyState){if(2===n.readyState){var e;switch(r(n.getResponseHeader("content-type"))){case"image":e="image";break;case"video":e="video";break;default:e="invalid"}n.onreadystatechange=null,n.abort(),t(e)}}else t("invalid")}this.setUrlToCheck=function(t){e=t},this.getSourceType=function(r){if(o(e))return r("youtube");t=r,(n=new XMLHttpRequest).onreadystatechange=i,n.open("GET",e,!0),n.send()}}function H(e,t,n){var o=e.props,r=o.types,i=o.type,s=o.sources,c=e.resolve;this.getTypeSetByClientForIndex=function(e){var t;return r&&r[e]?t=r[e]:i&&(t=i),t},this.retrieveTypeWithXhrForIndex=function(e){var o=c(P);o.setUrlToCheck(s[e]),o.getSourceType((function(o){t.handleReceivedSourceTypeForUrl(o,s[e]),n.runActionsForSourceTypeAndIndex(o,e)}))}}function k(e,t){var n=e.componentsServices.hideSourceLoaderIfNotYetCollection,o=e.elements,r=o.sourceWrappersContainer,i=o.sourceMainWrappers;i[t]=document.createElement("div"),i[t].className="".concat(d," ").concat(c," ").concat(a),i[t].innerHTML='
';var s=i[t].firstChild;n[t]=function(){i[t].contains(s)&&i[t].removeChild(s)},r.appendChild(i[t]),function(e,t){var n=e.elements,o=n.sourceMainWrappers,r=n.sourceAnimationWrappers;r[t]=document.createElement("div"),o[t].appendChild(r[t])}(e,t)}function D(e,t,n,o){var i=document.createElementNS("http://www.w3.org/2000/svg","svg");i.setAttributeNS(null,"width",t),i.setAttributeNS(null,"height",t),i.setAttributeNS(null,"viewBox",n);var s=document.createElementNS("http://www.w3.org/2000/svg","path");return s.setAttributeNS(null,"class","".concat(r,"svg-path")),s.setAttributeNS(null,"d",o),i.appendChild(s),e.appendChild(i),i}function O(e,t){var n=document.createElement("div");return n.className="".concat(r,"toolbar-button ").concat(a),n.title=t,e.appendChild(n),n}function R(e){var t=e.props.sources,n=e.elements.container,o=document.createElement("div");o.className="".concat(r,"nav"),n.appendChild(o),function(e,t){var n=document.createElement("div");n.className="".concat(r,"toolbar"),t.appendChild(n),function(e,t){var n=e.componentsServices,o=e.core.fullscreenToggler,r=e.data,i="M4.5 11H3v4h4v-1.5H4.5V11zM3 7h1.5V4.5H7V3H3v4zm10.5 6.5H11V15h4v-4h-1.5v2.5zM11 3v1.5h2.5V7H15V3h-4z",s=O(t);s.title="Enter fullscreen";var c=D(s,"20px","0 0 18 18",i);n.enterFullscreen=function(){r.isFullscreenOpen=!0,s.title="Exit fullscreen",c.setAttributeNS(null,"width","24px"),c.setAttributeNS(null,"height","24px"),c.setAttributeNS(null,"viewBox","0 0 950 1024"),c.firstChild.setAttributeNS(null,"d","M682 342h128v84h-212v-212h84v128zM598 810v-212h212v84h-128v128h-84zM342 342v-128h84v212h-212v-84h128zM214 682v-84h212v212h-84v-128h-128z")},n.exitFullscreen=function(){r.isFullscreenOpen=!1,s.title="Enter fullscreen",c.setAttributeNS(null,"width","20px"),c.setAttributeNS(null,"height","20px"),c.setAttributeNS(null,"viewBox","0 0 18 18"),c.firstChild.setAttributeNS(null,"d",i)},s.onclick=function(){r.isFullscreenOpen?o.exitFullscreen():o.enterFullscreen()}}(e,n),function(e,t){var n=O(t,"Close");n.onclick=e.core.lightboxCloser.closeLightbox,D(n,"20px","0 0 24 24","M 4.7070312 3.2929688 L 3.2929688 4.7070312 L 10.585938 12 L 3.2929688 19.292969 L 4.7070312 20.707031 L 12 13.414062 L 19.292969 20.707031 L 20.707031 19.292969 L 13.414062 12 L 20.707031 4.7070312 L 19.292969 3.2929688 L 12 10.585938 L 4.7070312 3.2929688 z")}(e,n)}(e,o),t.length>1&&function(e,t){var n=e.componentsServices,o=e.props.sources,i=(e.stageIndexes,document.createElement("div"));i.className="".concat(r,"slide-number-container");var s=document.createElement("div");s.className=a;var c=document.createElement("span");n.setSlideNumber=function(e){return c.innerHTML=e};var l=document.createElement("span");l.className="".concat(r,"slash");var u=document.createElement("div");u.innerHTML=o.length,i.appendChild(s),s.appendChild(c),s.appendChild(l),s.appendChild(u),t.appendChild(i),setTimeout((function(){s.offsetWidth>55&&(i.style.justifyContent="flex-start")}))}(e,o)}function j(e,t){var n=this,o=e.elements.sourceMainWrappers,r=e.props,i=0;this.byValue=function(e){return i=e,n},this.negative=function(){s(-c())},this.zero=function(){s(0)},this.positive=function(){s(c())};var s=function(e){o[t].style.transform="translateX(".concat(e+i,"px)"),i=0},c=function(){return(1+r.slideDistance)*innerWidth}}function X(e,t,n,o){var r=e.elements.container,i=n.charAt(0).toUpperCase()+n.slice(1),s=document.createElement("div");s.className="".concat(f," ").concat(f,"-").concat(n),s.title="".concat(i," slide"),s.onclick=t,function(e,t){var n=document.createElement("div");n.className="".concat(p," ").concat(a),D(n,"20px","0 0 20 20",t),e.appendChild(n)}(s,o),r.appendChild(s)}function B(e,t){var n=e.classList;n.contains(t)&&n.remove(t)}function V(e){var t=this,n=e.core,o=n.eventsDispatcher,r=n.fullscreenToggler,i=n.globalEventsController,s=n.scrollbarRecompensor,c=e.data,a=e.elements,u=e.props,d=e.sourcePointerProps;this.isLightboxFadingOut=!1,this.runActions=function(){t.isLightboxFadingOut=!0,a.container.classList.add(v),i.removeListeners(),u.exitFullscreenOnClose&&c.isFullscreenOpen&&r.exitFullscreen(),setTimeout((function(){t.isLightboxFadingOut=!1,d.isPointering=!1,a.container.classList.remove(v),document.documentElement.classList.remove(l),s.removeRecompense(),document.body.removeChild(a.container),o.dispatch("onClose")}),270)}}function U(e){var t=e.core,n=t.lightboxCloser,o=t.fullscreenToggler,r=t.slideChangeFacade;this.listener=function(e){switch(e.key){case"Escape":n.closeLightbox();break;case"ArrowLeft":r.changeToPrevious();break;case"ArrowRight":r.changeToNext();break;case"F11":e.preventDefault(),o.enterFullscreen()}}}function _(e){var t=e.collections.sourceMainWrappersTransformers,n=e.elements,o=e.sourcePointerProps,r=e.stageIndexes;function i(e,n){t[e].byValue(o.swipedX)[n]()}this.runActionsForEvent=function(e){var t,c,a;n.container.contains(n.slideSwipingHoverer)||n.container.appendChild(n.slideSwipingHoverer),t=n.container,c=s,(a=t.classList).contains(c)||a.add(c),o.swipedX=e.screenX-o.downScreenX,i(r.current,"zero"),void 0!==r.previous&&o.swipedX>0?i(r.previous,"negative"):void 0!==r.next&&o.swipedX<0&&i(r.next,"positive")}}function q(e){var t=e.props.sources,n=e.resolve,o=e.sourcePointerProps,r=n(_);1===t.length?this.listener=function(){o.swipedX=1}:this.listener=function(e){o.isPointering&&r.runActionsForEvent(e)}}function Y(e){var t=e.collections.sourceMainWrappersTransformers,n=e.core.slideIndexChanger,o=e.elements.sourceMainWrappers,r=e.stageIndexes;this.runPositiveSwipedXActions=function(){void 0===r.previous||(i("positive"),n.changeTo(r.previous)),i("zero")},this.runNegativeSwipedXActions=function(){void 0===r.next||(i("negative"),n.changeTo(r.next)),i("zero")};var i=function(e){o[r.current].classList.add(u),t[r.current][e]()}}function J(e,t){e.contains(t)&&e.removeChild(t)}function G(e){var t=e.core.lightboxCloser,n=e.elements,o=e.resolve,r=e.sourcePointerProps,i=o(Y);this.runNoSwipeActions=function(){J(n.container,n.slideSwipingHoverer),r.isSourceDownEventTarget||t.closeLightbox(),r.isPointering=!1},this.runActions=function(){r.swipedX>0?i.runPositiveSwipedXActions():i.runNegativeSwipedXActions(),J(n.container,n.slideSwipingHoverer),n.container.classList.remove(s),r.isPointering=!1}}function $(e){var t=e.resolve,n=e.sourcePointerProps,o=t(G);this.listener=function(){n.isPointering&&(n.swipedX?o.runActions():o.runNoSwipeActions())}}function K(e){var t,n,o;n=(t=e).core.classFacade,o=t.elements,n.removeFromEachElementClassIfContains=function(e,t){for(var n=0;ninnerHeight&&(document.body.style.marginRight=t.scrollbarWidth+"px")}n.addRecompense=function(){"complete"===document.readyState?o():addEventListener("load",(function(){o(),n.addRecompense=o}))},n.removeRecompense=function(){document.body.style.removeProperty("margin-right")}}(e),function(e){var t=e.core,n=t.slideChangeFacade,o=t.slideIndexChanger,r=t.stageManager;e.props.sources.length>1?(n.changeToPrevious=function(){o.jumpTo(r.getPreviousSlideIndex())},n.changeToNext=function(){o.jumpTo(r.getNextSlideIndex())}):(n.changeToPrevious=function(){},n.changeToNext=function(){})}(e),function(e){var t,n,o=e.collections.sourceMainWrappersTransformers,r=e.componentsServices,i=e.core,s=i.classFacade,c=i.slideIndexChanger,a=i.sourceDisplayFacade,l=i.stageManager,d=e.elements.sourceAnimationWrappers,p=e.stageIndexes,f=(t=function(){s.removeFromEachElementClassIfContains("sourceAnimationWrappers",m)},n=[],function(){n.push(!0),setTimeout((function(){n.pop(),n.length||t()}),300)});c.changeTo=function(e){p.current=e,l.updateStageIndexes(),r.setSlideNumber(e+1),a.displaySourcesWhichShouldBeDisplayed()},c.jumpTo=function(e){var t=p.current;c.changeTo(e),s.removeFromEachElementClassIfContains("sourceMainWrappers",u),B(d[t],g),B(d[t],h),d[t].classList.add(m),B(d[e],g),B(d[e],m),d[e].classList.add(h),f(),o[e].zero(),setTimeout((function(){t!==p.current&&o[t].negative()}),270)}}(e),function(e){var t=e.core,n=t.classFacade,o=t.sourcesPointerDown,r=e.elements.sources,i=e.sourcePointerProps,s=e.stageIndexes;o.listener=function(e){"VIDEO"!==e.target.tagName&&e.preventDefault(),i.isPointering=!0,i.downScreenX=e.screenX,i.swipedX=0;var t=r[s.current];t&&t.contains(e.target)?i.isSourceDownEventTarget=!0:i.isSourceDownEventTarget=!1,n.removeFromEachElementClassIfContains("sourceMainWrappers",u)}}(e),function(e){var t=e.collections.sourcesRenderFunctions,n=e.core.sourceDisplayFacade,o=e.props,r=e.stageIndexes;function i(e){t[e]&&(t[e](),delete t[e])}n.displaySourcesWhichShouldBeDisplayed=function(){if(o.loadOnlyCurrentSource)i(r.current);else for(var e in r)i(r[e])}}(e),function(e){var t=e.stageIndexes,n=e.core.stageManager,o=e.props.sources.length-1;n.getPreviousSlideIndex=function(){return 0===t.current?o:t.current-1},n.getNextSlideIndex=function(){return t.current===o?0:t.current+1},n.updateStageIndexes=0===o?function(){}:1===o?function(){0===t.current?(t.next=1,delete t.previous):(t.previous=0,delete t.next)}:function(){t.previous=n.getPreviousSlideIndex(),t.next=n.getNextSlideIndex()},n.isSourceInStage=o<=2?function(){return!0}:function(e){var n=t.current;if(0===n&&e===o||n===o&&0===e)return!0;var r=n-e;return-1===r||0===r||1===r}}(e),function(e){var t=e.collections,n=t.sourceMainWrappersTransformers,o=t.sourceSizers,r=e.core.windowResizeActioner,i=e.data,s=e.elements.sourceMainWrappers,c=e.props,a=e.stageIndexes;r.runActions=function(){innerWidth<992?i.maxSourceWidth=innerWidth:i.maxSourceWidth=.9*innerWidth,i.maxSourceHeight=.9*innerHeight;for(var e=0;e1&&function(e){var t=e.core.slideChangeFacade;X(e,t.changeToPrevious,"previous","M18.271,9.212H3.615l4.184-4.184c0.306-0.306,0.306-0.801,0-1.107c-0.306-0.306-0.801-0.306-1.107,0L1.21,9.403C1.194,9.417,1.174,9.421,1.158,9.437c-0.181,0.181-0.242,0.425-0.209,0.66c0.005,0.038,0.012,0.071,0.022,0.109c0.028,0.098,0.075,0.188,0.142,0.271c0.021,0.026,0.021,0.061,0.045,0.085c0.015,0.016,0.034,0.02,0.05,0.033l5.484,5.483c0.306,0.307,0.801,0.307,1.107,0c0.306-0.305,0.306-0.801,0-1.105l-4.184-4.185h14.656c0.436,0,0.788-0.353,0.788-0.788S18.707,9.212,18.271,9.212z"),X(e,t.changeToNext,"next","M1.729,9.212h14.656l-4.184-4.184c-0.307-0.306-0.307-0.801,0-1.107c0.305-0.306,0.801-0.306,1.106,0l5.481,5.482c0.018,0.014,0.037,0.019,0.053,0.034c0.181,0.181,0.242,0.425,0.209,0.66c-0.004,0.038-0.012,0.071-0.021,0.109c-0.028,0.098-0.075,0.188-0.143,0.271c-0.021,0.026-0.021,0.061-0.045,0.085c-0.015,0.016-0.034,0.02-0.051,0.033l-5.483,5.483c-0.306,0.307-0.802,0.307-1.106,0c-0.307-0.305-0.307-0.801,0-1.105l4.184-4.185H1.729c-0.436,0-0.788-0.353-0.788-0.788S1.293,9.212,1.729,9.212z")}(e),function(e){for(var t=e.props.sources,n=e.resolve,o=n(w),r=n(M),i=n(H,[o,r]),s=0;s0&&void 0!==arguments[0]?arguments[0]:0;h.current=o,p.isInitialized?r.dispatch("onShow"):Q(e),u.updateStageIndexes(),a.displaySourcesWhichShouldBeDisplayed(),n.setSlideNumber(o+1),document.body.appendChild(f.container),document.documentElement.classList.add(l),c.addRecompense(),s.attachListeners(),d.runActions(),t[h.current].zero(),r.dispatch("onOpen")}}function ee(e,t,n){return(ee=te()?Reflect.construct:function(e,t,n){var o=[null];o.push.apply(o,t);var r=new(Function.bind.apply(e,o));return n&&ne(r,n.prototype),r}).apply(null,arguments)}function te(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function ne(e,t){return(ne=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function oe(e){return function(e){if(Array.isArray(e))return re(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return re(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?re(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function re(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n1&&void 0!==arguments[1]?arguments[1]:[];return n.unshift(e),ee(t,oe(n))},this.collections={sourceMainWrappersTransformers:[],sourceLoadHandlers:[],sourcesRenderFunctions:[],sourceSizers:[]},this.core={classFacade:{},eventsDispatcher:{},fullscreenToggler:{},globalEventsController:{},lightboxCloser:{},lightboxOpener:{},lightboxUpdater:{},scrollbarRecompensor:{},slideChangeFacade:{},slideIndexChanger:{},sourcesPointerDown:{},sourceDisplayFacade:{},stageManager:{},windowResizeActioner:{}},Z(this),this.open=function(t){return e.core.lightboxOpener.open(t)},this.close=function(){return e.core.lightboxCloser.closeLightbox()}},window.fsLightboxInstances={},ie(),window.refreshFsLightbox=function(){for(var e in fsLightboxInstances){var t=fsLightboxInstances[e].props;fsLightboxInstances[e]=new FsLightbox,fsLightboxInstances[e].props=t,fsLightboxInstances[e].props.sources=[],fsLightboxInstances[e].elements.a=[]}ie()}}])})); -------------------------------------------------------------------------------- /assets/plugins/custom/typedjs/typedjs.bundle.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * 3 | * typed.js - A JavaScript Typing Animation Library 4 | * Author: Matt Boldt 5 | * Version: v2.0.12 6 | * Url: https://github.com/mattboldt/typed.js 7 | * License(s): MIT 8 | * 9 | */ 10 | !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.Typed=e():t.Typed=e()}(this,(function(){return function(t){var e={};function s(n){if(e[n])return e[n].exports;var i=e[n]={exports:{},id:n,loaded:!1};return t[n].call(i.exports,i,i.exports,s),i.loaded=!0,i.exports}return s.m=t,s.c=e,s.p="",s(0)}([function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var s=0;st.length)););var u=t.substring(0,e),l=t.substring(u.length+1,e+i),c=t.substring(e+i+1);t=u+l+c,i--}s.timeout=setTimeout((function(){s.toggleBlinking(!1),e>=t.length?s.doneTyping(t,e):s.keepTyping(t,e,i),s.temporaryPause&&(s.temporaryPause=!1,s.options.onTypingResumed(s.arrayPos,s))}),n)}),n):this.setPauseStatus(t,e,!0)}},{key:"keepTyping",value:function(t,e,s){0===e&&(this.toggleBlinking(!1),this.options.preStringTyped(this.arrayPos,this)),e+=s;var n=t.substr(0,e);this.replaceText(n),this.typewrite(t,e)}},{key:"doneTyping",value:function(t,e){var s=this;this.options.onStringTyped(this.arrayPos,this),this.toggleBlinking(!0),this.arrayPos===this.strings.length-1&&(this.complete(),!1===this.loop||this.curLoop===this.loopCount)||(this.timeout=setTimeout((function(){s.backspace(t,e)}),this.backDelay))}},{key:"backspace",value:function(t,e){var s=this;if(!0!==this.pause.status){if(this.fadeOut)return this.initFadeOut();this.toggleBlinking(!1);var n=this.humanizer(this.backSpeed);this.timeout=setTimeout((function(){e=r.htmlParser.backSpaceHtmlChars(t,e,s);var n=t.substr(0,e);if(s.replaceText(n),s.smartBackspace){var i=s.strings[s.arrayPos+1];i&&n===i.substr(0,e)?s.stopNum=e:s.stopNum=0}e>s.stopNum?(e--,s.backspace(t,e)):e<=s.stopNum&&(s.arrayPos++,s.arrayPos===s.strings.length?(s.arrayPos=0,s.options.onLastStringBackspaced(),s.shuffleStringsIfNeeded(),s.begin()):s.typewrite(s.strings[s.sequence[s.arrayPos]],e))}),n)}else this.setPauseStatus(t,e,!1)}},{key:"complete",value:function(){this.options.onComplete(this),this.loop?this.curLoop++:this.typingComplete=!0}},{key:"setPauseStatus",value:function(t,e,s){this.pause.typewrite=s,this.pause.curString=t,this.pause.curStrPos=e}},{key:"toggleBlinking",value:function(t){this.cursor&&(this.pause.status||this.cursorBlinking!==t&&(this.cursorBlinking=t,t?this.cursor.classList.add("typed-cursor--blink"):this.cursor.classList.remove("typed-cursor--blink")))}},{key:"humanizer",value:function(t){return Math.round(Math.random()*t/2)+t}},{key:"shuffleStringsIfNeeded",value:function(){this.shuffle&&(this.sequence=this.sequence.sort((function(){return Math.random()-.5})))}},{key:"initFadeOut",value:function(){var t=this;return this.el.className+=" "+this.fadeOutClass,this.cursor&&(this.cursor.className+=" "+this.fadeOutClass),setTimeout((function(){t.arrayPos++,t.replaceText(""),t.strings.length>t.arrayPos?t.typewrite(t.strings[t.sequence[t.arrayPos]],0):(t.typewrite(t.strings[0],0),t.arrayPos=0)}),this.fadeOutDelay)}},{key:"replaceText",value:function(t){this.attr?this.el.setAttribute(this.attr,t):this.isInput?this.el.value=t:"html"===this.contentType?this.el.innerHTML=t:this.el.textContent=t}},{key:"bindFocusEvents",value:function(){var t=this;this.isInput&&(this.el.addEventListener("focus",(function(e){t.stop()})),this.el.addEventListener("blur",(function(e){t.el.value&&0!==t.el.value.length||t.start()})))}},{key:"insertCursor",value:function(){this.showCursor&&(this.cursor||(this.cursor=document.createElement("span"),this.cursor.className="typed-cursor",this.cursor.setAttribute("aria-hidden",!0),this.cursor.innerHTML=this.cursorChar,this.el.parentNode&&this.el.parentNode.insertBefore(this.cursor,this.el.nextSibling)))}}]),t}();e.default=o,t.exports=e.default},function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=Object.assign||function(t){for(var e=1;e":";";t.substr(e+1).charAt(0)!==i&&!(++e+1>t.length););e++}return e}},{key:"backSpaceHtmlChars",value:function(t,e,s){if("html"!==s.contentType)return e;var n=t.substr(e).charAt(0);if(">"===n||";"===n){var i="";for(i=">"===n?"<":"&";t.substr(e-1).charAt(0)!==i&&!(--e<0););e--}return e}}]),t}();e.default=n;var i=new n;e.htmlParser=i}])})); -------------------------------------------------------------------------------- /assets/team.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Json-Map/Json_Map/fbc9937ec9bb4f86905959de02e055b99ad92cf8/assets/team.json -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "json-crack", 3 | "version": "1.0.0", 4 | "description": "Visualisez de manière transparente vos données JSON instantanément .", 5 | "main": "index.js", 6 | "scripts": { 7 | "build-css": "npx tailwindcss -i ./src/input.css -o ./public/output.css --watch" 8 | }, 9 | "keywords": [], 10 | "author": "", 11 | "license": "ISC", 12 | "devDependencies": { 13 | "tailwindcss": "^3.1.8" 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /public/authentication/sign-in.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Json Visualizer 5 | 6 | 7 | 11 | 16 | 21 | 22 | 23 | 24 |
25 |
26 | 27 |
30 |
31 | 32 |
33 | 34 |
41 | 42 |
43 |

Sign In

44 |
45 |
46 | 47 | 54 | 55 |
56 | 57 |
58 | 59 | 66 | 67 |
68 |
71 |
72 | 73 | Forgot Password ? 78 | 79 |
80 |
81 | 93 |
94 | 95 | 96 |
97 | Not a Member yet? 98 | Sign up 99 |
100 | 101 |
102 | 103 |
104 | 105 |
106 | 107 |
108 |
109 | 110 |
111 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | -------------------------------------------------------------------------------- /public/authentication/sign-up.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Json Visualizer 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 |
24 | 25 |
26 | 27 |
28 | 29 |
30 | 31 |
33 | 34 |
35 |

Sign Up

36 |
37 |
38 |
39 |
40 | Or with email 41 |
42 | 43 | 44 |
45 | 46 | 48 | 49 |
50 | 51 |
52 | 53 |
54 | 55 |
56 | 58 | 61 | 62 | 63 | 64 |
65 | 66 | 67 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 | 78 |
79 | 80 | 81 |
Use 8 or more characters with a mix of letters, numbers & 82 | symbols.
83 | 84 |
85 | 86 | 87 |
88 | 89 | 91 | 92 |
93 | 94 | 95 |
96 | 101 |
102 | 103 | 104 |
105 | 112 |
113 |
Already have an Account? 114 | Sign in 115 |
116 | 117 |
118 |
119 | 120 |
121 |
122 |
123 | 124 |
125 | 126 | 127 | 128 | 129 | 130 | 131 | 132 | 133 | -------------------------------------------------------------------------------- /public/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Json Map 7 | 8 | 9 | 10 | 11 | 12 | 13 | 15 |
16 | 17 |
18 | 19 |
21 | 22 |
24 | 25 |
26 | 27 |
28 | 29 |
30 | 31 | 44 | 45 | Logo 47 | Logo 49 | 50 | 51 |
52 |
53 |
60 | 61 | 84 | 85 |
86 |
87 | 88 | 89 |
90 | Sign In 92 |
93 | 94 |
95 | 96 |
97 | 98 |
99 | 100 | 101 |
102 | 103 |
104 | 105 |

Seamlessly visualize your JSON data
instantly into graphs. 106 | 108 | Json Map 109 | 110 |

111 | Json Map 112 | 113 |
114 |
115 |
116 |
117 | 118 | 121 | 122 |
123 |
124 |
125 | 126 |
127 |
128 | 129 |
133 | 134 |
135 | 136 |
137 |
138 | 139 |
140 |
141 | 152 | 163 | 164 |
165 | 166 |
167 | 168 |
169 |
170 | 171 |
172 | 173 |
174 | 175 |

Our Great Team

176 |
It’s no doubt that when a development takes longer to complete, 177 | additional costs to 178 |
integrate and test each extra feature creeps up and haunts most of us. 179 |
180 | 181 |
182 |
183 | 184 |
189 | 190 | 191 |
192 | 203 | 215 | 216 |
217 | 218 |
219 | 220 |
221 |
222 | 223 |
224 | 225 | 228 | 229 |
230 |
231 | 232 |
233 |
234 |
235 | 236 | 237 |
238 | 239 |
240 | 241 |
242 | 243 | 244 | Logo 245 | 246 | © 2022 Json Map 247 | 248 |
249 | 260 | 261 |
262 | 263 |
264 | 265 |
266 |
267 |
268 | 269 | 270 | 272 | 274 | 275 | 276 |
277 |
278 | 279 | 280 | 281 | 282 | 283 | 284 | 285 | 286 | 287 | 309 | 310 | 311 | -------------------------------------------------------------------------------- /public/main.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | // dom elements 3 | const validJson = document.getElementById("valid_json"); 4 | const invalidJson = document.getElementById("invalid_json"); 5 | const jsonInput = document.getElementById("json_input"); 6 | const mainElement = document.getElementById("mainEl"); 7 | 8 | jsonInput.addEventListener("keyup", function() { 9 | //check if there is data first 10 | if (this.value.trim() !== "") { 11 | //check if json is valid json 12 | try { 13 | JSON.parse(this.value); 14 | } catch (error) { 15 | validJson.classList.add("hidden"); 16 | invalidJson.classList.remove("hidden"); 17 | return; 18 | } 19 | ///////////////////////solve the problem//////////////////////////////// 20 | const tree = JSONCracker(JSON.parse(this.value)); 21 | treeTOhtml(tree); 22 | } else { 23 | mainElement.innerHTML = ""; 24 | } 25 | //make json valid otherwise 26 | invalidJson.classList.add("hidden"); 27 | validJson.classList.remove("hidden"); 28 | }); 29 | 30 | function JSONCracker(object) { 31 | // get the element type 32 | function typeOfElement(element, strictComparison = false) { 33 | if (strictComparison && Array.isArray(element)) return "array"; 34 | if (typeof element === "object" && element !== null) return "object"; 35 | else return "primitive"; 36 | } 37 | // get the chosen data type or filter object 38 | function getDataType(object, type, strict) { 39 | const result = {}; 40 | for (const key in object) { 41 | const element = object[key]; 42 | const exceptions = key !== "parent" && key !== "type" && key !== "title"; 43 | if (typeOfElement(element, strict) === type && exceptions) { 44 | result[key] = element; 45 | } 46 | } 47 | if (!Object.keys(result).length) return false; 48 | return result; 49 | } 50 | // set infos (give childs name of parent) 51 | function setInfos(object, parent) { 52 | for (const key in object) { 53 | const element = object[key]; 54 | if (typeOfElement(element) === "object") { 55 | element["parent"] = parent; 56 | element["type"] = typeOfElement(element, true); 57 | // element["title"] = key; 58 | } 59 | } 60 | } 61 | // insialize empty tree and depth counters 62 | const tree = {}; 63 | let i = 1; 64 | let j = 1; 65 | //main function to build tree object 66 | function main(object) { 67 | // happend at the first time 68 | if (i === 1) { 69 | setInfos(object, "1.1"); 70 | tree["1"] = { 71 | 1.1: { 72 | values: getDataType(object, "primitive"), 73 | }, 74 | }; 75 | i++; 76 | object = getDataType(object, "object"); 77 | } 78 | if (object) { 79 | let obj2 = {}; 80 | tree[i] = {}; 81 | for (const key in object) { 82 | const ij = i + "." + j; 83 | const element = object[key]; 84 | if (getDataType(element, "object")) { 85 | const helper = getDataType(element, "object"); 86 | for (const key1 in helper) { 87 | [obj2[key1]] = Object.values(helper); 88 | } 89 | } 90 | let values = getDataType(element, "primitive"); 91 | setInfos(element, ij); 92 | tree[i][ij] = { 93 | parent: element.parent, 94 | title: key, 95 | values: values, 96 | type: element.type, 97 | }; 98 | j++; 99 | } 100 | j = 1; 101 | i++; 102 | if (Object.values(obj2).length) main(obj2); 103 | } 104 | } 105 | //invoke main 106 | main(object); 107 | console.log(tree); 108 | return tree; 109 | } 110 | 111 | function treeTOhtml(tree) { 112 | // create layers: 5 113 | mainElement.innerHTML = ""; 114 | for (const key1 in tree) { 115 | const element = tree[key1]; 116 | mainElement.insertAdjacentHTML( 117 | "beforeend", 118 | `
` 119 | ); 120 | const layer = document.getElementById(key1); 121 | for (const key2 in element) { 122 | const ele = element[key2]; 123 | layer.insertAdjacentHTML( 124 | "beforeend", 125 | `
` 126 | ); 127 | const subLayer = document.getElementById(key2); 128 | if (key1 > 1) { 129 | subLayer.insertAdjacentHTML( 130 | "beforeend", 131 | `
${ele.title}
` 132 | ); 133 | } 134 | subLayer.insertAdjacentHTML( 135 | "beforeend", 136 | `
` 137 | ); 138 | const valuesList = document.querySelectorAll(`.values`); 139 | const values = valuesList[valuesList.length - 1]; 140 | //check if box is empty and make it circul 141 | if (ele.values) values.classList.remove("circle"); 142 | for (const key3 in ele.values) { 143 | const el = ele.values[key3]; 144 | // color data based of types 145 | let valueColor = ""; 146 | if (typeof el === "string" || el === null) 147 | valueColor = "text-[#dcddde]"; 148 | if (typeof el === "boolean") valueColor = "text-purple-900"; 149 | if (typeof el === "number") valueColor = "text-[#fd0079]"; 150 | if (el === true) valueColor = "text-[#46c46e]"; 151 | if (el === false) valueColor = "text-[#db662e]"; 152 | values.insertAdjacentHTML( 153 | "beforeend", 154 | `

${key3} : ${el}

` 155 | ); 156 | } 157 | } 158 | } 159 | } 160 | 161 | async function newFile(){ 162 | const input = document.createElement('input'); 163 | input.style.visibility = 'hidden'; 164 | input.type = 'file'; 165 | input.onchange = e => { 166 | // getting a hold of the file reference 167 | const file = e.target.files[0]; 168 | // setting up the reader 169 | const reader = new FileReader(); 170 | reader.readAsText(file,'UTF-8'); 171 | // here we tell the reader what to do when it's done reading... 172 | reader.onload = readerEvent => { 173 | let content = readerEvent.target.result; // this is the content! 174 | document.getElementById('json_input').value = content; 175 | try { 176 | JSON.parse(content); 177 | } catch (error) { 178 | validJson.classList.add("hidden"); 179 | invalidJson.classList.remove("hidden"); 180 | return; 181 | } 182 | const tree = JSONCracker(JSON.parse(content)); 183 | treeTOhtml(tree); 184 | invalidJson.classList.add("hidden"); 185 | validJson.classList.remove("hidden"); 186 | } 187 | 188 | } 189 | input.click(); 190 | } 191 | 192 | function deleteJsonContent() 193 | { 194 | document.getElementById('json_input').value = ''; 195 | invalidJson.classList.add("hidden"); 196 | validJson.classList.remove("hidden"); 197 | } 198 | -------------------------------------------------------------------------------- /public/map.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | Json Map 9 | 10 | 11 | 176 | 232 |
233 |
234 |
238 |
239 | 240 | 241 | 242 | -------------------------------------------------------------------------------- /public/output.css: -------------------------------------------------------------------------------- 1 | @import url('https://fonts.googleapis.com/css2?family=Catamaran:wght@100;200;300;400;500;600;700;800;900&display=swap'); 2 | 3 | /* 4 | ! tailwindcss v3.1.8 | MIT License | https://tailwindcss.com 5 | */ 6 | 7 | /* 8 | 1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4) 9 | 2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116) 10 | */ 11 | 12 | *, 13 | ::before, 14 | ::after { 15 | box-sizing: border-box; 16 | /* 1 */ 17 | border-width: 0; 18 | /* 2 */ 19 | border-style: solid; 20 | /* 2 */ 21 | border-color: #e5e7eb; 22 | /* 2 */ 23 | } 24 | 25 | ::before, 26 | ::after { 27 | --tw-content: ''; 28 | } 29 | 30 | /* 31 | 1. Use a consistent sensible line-height in all browsers. 32 | 2. Prevent adjustments of font size after orientation changes in iOS. 33 | 3. Use a more readable tab size. 34 | 4. Use the user's configured `sans` font-family by default. 35 | */ 36 | 37 | html { 38 | line-height: 1.5; 39 | /* 1 */ 40 | -webkit-text-size-adjust: 100%; 41 | /* 2 */ 42 | -moz-tab-size: 4; 43 | /* 3 */ 44 | -o-tab-size: 4; 45 | tab-size: 4; 46 | /* 3 */ 47 | font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; 48 | /* 4 */ 49 | } 50 | 51 | /* 52 | 1. Remove the margin in all browsers. 53 | 2. Inherit line-height from `html` so users can set them as a class directly on the `html` element. 54 | */ 55 | 56 | body { 57 | margin: 0; 58 | /* 1 */ 59 | line-height: inherit; 60 | /* 2 */ 61 | } 62 | 63 | /* 64 | 1. Add the correct height in Firefox. 65 | 2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655) 66 | 3. Ensure horizontal rules are visible by default. 67 | */ 68 | 69 | hr { 70 | height: 0; 71 | /* 1 */ 72 | color: inherit; 73 | /* 2 */ 74 | border-top-width: 1px; 75 | /* 3 */ 76 | } 77 | 78 | /* 79 | Add the correct text decoration in Chrome, Edge, and Safari. 80 | */ 81 | 82 | abbr:where([title]) { 83 | -webkit-text-decoration: underline dotted; 84 | text-decoration: underline dotted; 85 | } 86 | 87 | /* 88 | Remove the default font size and weight for headings. 89 | */ 90 | 91 | h1, 92 | h2, 93 | h3, 94 | h4, 95 | h5, 96 | h6 { 97 | font-size: inherit; 98 | font-weight: inherit; 99 | } 100 | 101 | /* 102 | Reset links to optimize for opt-in styling instead of opt-out. 103 | */ 104 | 105 | a { 106 | color: inherit; 107 | text-decoration: inherit; 108 | } 109 | 110 | /* 111 | Add the correct font weight in Edge and Safari. 112 | */ 113 | 114 | b, 115 | strong { 116 | font-weight: bolder; 117 | } 118 | 119 | /* 120 | 1. Use the user's configured `mono` font family by default. 121 | 2. Correct the odd `em` font sizing in all browsers. 122 | */ 123 | 124 | code, 125 | kbd, 126 | samp, 127 | pre { 128 | font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; 129 | /* 1 */ 130 | font-size: 1em; 131 | /* 2 */ 132 | } 133 | 134 | /* 135 | Add the correct font size in all browsers. 136 | */ 137 | 138 | small { 139 | font-size: 80%; 140 | } 141 | 142 | /* 143 | Prevent `sub` and `sup` elements from affecting the line height in all browsers. 144 | */ 145 | 146 | sub, 147 | sup { 148 | font-size: 75%; 149 | line-height: 0; 150 | position: relative; 151 | vertical-align: baseline; 152 | } 153 | 154 | sub { 155 | bottom: -0.25em; 156 | } 157 | 158 | sup { 159 | top: -0.5em; 160 | } 161 | 162 | /* 163 | 1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297) 164 | 2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016) 165 | 3. Remove gaps between table borders by default. 166 | */ 167 | 168 | table { 169 | text-indent: 0; 170 | /* 1 */ 171 | border-color: inherit; 172 | /* 2 */ 173 | border-collapse: collapse; 174 | /* 3 */ 175 | } 176 | 177 | /* 178 | 1. Change the font styles in all browsers. 179 | 2. Remove the margin in Firefox and Safari. 180 | 3. Remove default padding in all browsers. 181 | */ 182 | 183 | button, 184 | input, 185 | optgroup, 186 | select, 187 | textarea { 188 | font-family: inherit; 189 | /* 1 */ 190 | font-size: 100%; 191 | /* 1 */ 192 | font-weight: inherit; 193 | /* 1 */ 194 | line-height: inherit; 195 | /* 1 */ 196 | color: inherit; 197 | /* 1 */ 198 | margin: 0; 199 | /* 2 */ 200 | padding: 0; 201 | /* 3 */ 202 | } 203 | 204 | /* 205 | Remove the inheritance of text transform in Edge and Firefox. 206 | */ 207 | 208 | button, 209 | select { 210 | text-transform: none; 211 | } 212 | 213 | /* 214 | 1. Correct the inability to style clickable types in iOS and Safari. 215 | 2. Remove default button styles. 216 | */ 217 | 218 | button, 219 | [type='button'], 220 | [type='reset'], 221 | [type='submit'] { 222 | -webkit-appearance: button; 223 | /* 1 */ 224 | background-color: transparent; 225 | /* 2 */ 226 | background-image: none; 227 | /* 2 */ 228 | } 229 | 230 | /* 231 | Use the modern Firefox focus style for all focusable elements. 232 | */ 233 | 234 | :-moz-focusring { 235 | outline: auto; 236 | } 237 | 238 | /* 239 | Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737) 240 | */ 241 | 242 | :-moz-ui-invalid { 243 | box-shadow: none; 244 | } 245 | 246 | /* 247 | Add the correct vertical alignment in Chrome and Firefox. 248 | */ 249 | 250 | progress { 251 | vertical-align: baseline; 252 | } 253 | 254 | /* 255 | Correct the cursor style of increment and decrement buttons in Safari. 256 | */ 257 | 258 | ::-webkit-inner-spin-button, 259 | ::-webkit-outer-spin-button { 260 | height: auto; 261 | } 262 | 263 | /* 264 | 1. Correct the odd appearance in Chrome and Safari. 265 | 2. Correct the outline style in Safari. 266 | */ 267 | 268 | [type='search'] { 269 | -webkit-appearance: textfield; 270 | /* 1 */ 271 | outline-offset: -2px; 272 | /* 2 */ 273 | } 274 | 275 | /* 276 | Remove the inner padding in Chrome and Safari on macOS. 277 | */ 278 | 279 | ::-webkit-search-decoration { 280 | -webkit-appearance: none; 281 | } 282 | 283 | /* 284 | 1. Correct the inability to style clickable types in iOS and Safari. 285 | 2. Change font properties to `inherit` in Safari. 286 | */ 287 | 288 | ::-webkit-file-upload-button { 289 | -webkit-appearance: button; 290 | /* 1 */ 291 | font: inherit; 292 | /* 2 */ 293 | } 294 | 295 | /* 296 | Add the correct display in Chrome and Safari. 297 | */ 298 | 299 | summary { 300 | display: list-item; 301 | } 302 | 303 | /* 304 | Removes the default spacing and border for appropriate elements. 305 | */ 306 | 307 | blockquote, 308 | dl, 309 | dd, 310 | h1, 311 | h2, 312 | h3, 313 | h4, 314 | h5, 315 | h6, 316 | hr, 317 | figure, 318 | p, 319 | pre { 320 | margin: 0; 321 | } 322 | 323 | fieldset { 324 | margin: 0; 325 | padding: 0; 326 | } 327 | 328 | legend { 329 | padding: 0; 330 | } 331 | 332 | ol, 333 | ul, 334 | menu { 335 | list-style: none; 336 | margin: 0; 337 | padding: 0; 338 | } 339 | 340 | /* 341 | Prevent resizing textareas horizontally by default. 342 | */ 343 | 344 | textarea { 345 | resize: vertical; 346 | } 347 | 348 | /* 349 | 1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300) 350 | 2. Set the default placeholder color to the user's configured gray 400 color. 351 | */ 352 | 353 | input::-moz-placeholder, textarea::-moz-placeholder { 354 | opacity: 1; 355 | /* 1 */ 356 | color: #9ca3af; 357 | /* 2 */ 358 | } 359 | 360 | input:-ms-input-placeholder, textarea:-ms-input-placeholder { 361 | opacity: 1; 362 | /* 1 */ 363 | color: #9ca3af; 364 | /* 2 */ 365 | } 366 | 367 | input::placeholder, 368 | textarea::placeholder { 369 | opacity: 1; 370 | /* 1 */ 371 | color: #9ca3af; 372 | /* 2 */ 373 | } 374 | 375 | /* 376 | Set the default cursor for buttons. 377 | */ 378 | 379 | button, 380 | [role="button"] { 381 | cursor: pointer; 382 | } 383 | 384 | /* 385 | Make sure disabled buttons don't get the pointer cursor. 386 | */ 387 | 388 | :disabled { 389 | cursor: default; 390 | } 391 | 392 | /* 393 | 1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14) 394 | 2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210) 395 | This can trigger a poorly considered lint error in some tools but is included by design. 396 | */ 397 | 398 | img, 399 | svg, 400 | video, 401 | canvas, 402 | audio, 403 | iframe, 404 | embed, 405 | object { 406 | display: block; 407 | /* 1 */ 408 | vertical-align: middle; 409 | /* 2 */ 410 | } 411 | 412 | /* 413 | Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14) 414 | */ 415 | 416 | img, 417 | video { 418 | max-width: 100%; 419 | height: auto; 420 | } 421 | 422 | *, ::before, ::after{ 423 | --tw-border-spacing-x: 0; 424 | --tw-border-spacing-y: 0; 425 | --tw-translate-x: 0; 426 | --tw-translate-y: 0; 427 | --tw-rotate: 0; 428 | --tw-skew-x: 0; 429 | --tw-skew-y: 0; 430 | --tw-scale-x: 1; 431 | --tw-scale-y: 1; 432 | --tw-pan-x: ; 433 | --tw-pan-y: ; 434 | --tw-pinch-zoom: ; 435 | --tw-scroll-snap-strictness: proximity; 436 | --tw-ordinal: ; 437 | --tw-slashed-zero: ; 438 | --tw-numeric-figure: ; 439 | --tw-numeric-spacing: ; 440 | --tw-numeric-fraction: ; 441 | --tw-ring-inset: ; 442 | --tw-ring-offset-width: 0px; 443 | --tw-ring-offset-color: #fff; 444 | --tw-ring-color: rgb(59 130 246 / 0.5); 445 | --tw-ring-offset-shadow: 0 0 #0000; 446 | --tw-ring-shadow: 0 0 #0000; 447 | --tw-shadow: 0 0 #0000; 448 | --tw-shadow-colored: 0 0 #0000; 449 | --tw-blur: ; 450 | --tw-brightness: ; 451 | --tw-contrast: ; 452 | --tw-grayscale: ; 453 | --tw-hue-rotate: ; 454 | --tw-invert: ; 455 | --tw-saturate: ; 456 | --tw-sepia: ; 457 | --tw-drop-shadow: ; 458 | --tw-backdrop-blur: ; 459 | --tw-backdrop-brightness: ; 460 | --tw-backdrop-contrast: ; 461 | --tw-backdrop-grayscale: ; 462 | --tw-backdrop-hue-rotate: ; 463 | --tw-backdrop-invert: ; 464 | --tw-backdrop-opacity: ; 465 | --tw-backdrop-saturate: ; 466 | --tw-backdrop-sepia: ; 467 | } 468 | 469 | ::-webkit-backdrop{ 470 | --tw-border-spacing-x: 0; 471 | --tw-border-spacing-y: 0; 472 | --tw-translate-x: 0; 473 | --tw-translate-y: 0; 474 | --tw-rotate: 0; 475 | --tw-skew-x: 0; 476 | --tw-skew-y: 0; 477 | --tw-scale-x: 1; 478 | --tw-scale-y: 1; 479 | --tw-pan-x: ; 480 | --tw-pan-y: ; 481 | --tw-pinch-zoom: ; 482 | --tw-scroll-snap-strictness: proximity; 483 | --tw-ordinal: ; 484 | --tw-slashed-zero: ; 485 | --tw-numeric-figure: ; 486 | --tw-numeric-spacing: ; 487 | --tw-numeric-fraction: ; 488 | --tw-ring-inset: ; 489 | --tw-ring-offset-width: 0px; 490 | --tw-ring-offset-color: #fff; 491 | --tw-ring-color: rgb(59 130 246 / 0.5); 492 | --tw-ring-offset-shadow: 0 0 #0000; 493 | --tw-ring-shadow: 0 0 #0000; 494 | --tw-shadow: 0 0 #0000; 495 | --tw-shadow-colored: 0 0 #0000; 496 | --tw-blur: ; 497 | --tw-brightness: ; 498 | --tw-contrast: ; 499 | --tw-grayscale: ; 500 | --tw-hue-rotate: ; 501 | --tw-invert: ; 502 | --tw-saturate: ; 503 | --tw-sepia: ; 504 | --tw-drop-shadow: ; 505 | --tw-backdrop-blur: ; 506 | --tw-backdrop-brightness: ; 507 | --tw-backdrop-contrast: ; 508 | --tw-backdrop-grayscale: ; 509 | --tw-backdrop-hue-rotate: ; 510 | --tw-backdrop-invert: ; 511 | --tw-backdrop-opacity: ; 512 | --tw-backdrop-saturate: ; 513 | --tw-backdrop-sepia: ; 514 | } 515 | 516 | ::backdrop{ 517 | --tw-border-spacing-x: 0; 518 | --tw-border-spacing-y: 0; 519 | --tw-translate-x: 0; 520 | --tw-translate-y: 0; 521 | --tw-rotate: 0; 522 | --tw-skew-x: 0; 523 | --tw-skew-y: 0; 524 | --tw-scale-x: 1; 525 | --tw-scale-y: 1; 526 | --tw-pan-x: ; 527 | --tw-pan-y: ; 528 | --tw-pinch-zoom: ; 529 | --tw-scroll-snap-strictness: proximity; 530 | --tw-ordinal: ; 531 | --tw-slashed-zero: ; 532 | --tw-numeric-figure: ; 533 | --tw-numeric-spacing: ; 534 | --tw-numeric-fraction: ; 535 | --tw-ring-inset: ; 536 | --tw-ring-offset-width: 0px; 537 | --tw-ring-offset-color: #fff; 538 | --tw-ring-color: rgb(59 130 246 / 0.5); 539 | --tw-ring-offset-shadow: 0 0 #0000; 540 | --tw-ring-shadow: 0 0 #0000; 541 | --tw-shadow: 0 0 #0000; 542 | --tw-shadow-colored: 0 0 #0000; 543 | --tw-blur: ; 544 | --tw-brightness: ; 545 | --tw-contrast: ; 546 | --tw-grayscale: ; 547 | --tw-hue-rotate: ; 548 | --tw-invert: ; 549 | --tw-saturate: ; 550 | --tw-sepia: ; 551 | --tw-drop-shadow: ; 552 | --tw-backdrop-blur: ; 553 | --tw-backdrop-brightness: ; 554 | --tw-backdrop-contrast: ; 555 | --tw-backdrop-grayscale: ; 556 | --tw-backdrop-hue-rotate: ; 557 | --tw-backdrop-invert: ; 558 | --tw-backdrop-opacity: ; 559 | --tw-backdrop-saturate: ; 560 | --tw-backdrop-sepia: ; 561 | } 562 | 563 | .my-3{ 564 | margin-top: 0.75rem; 565 | margin-bottom: 0.75rem; 566 | } 567 | 568 | .mt-\[1px\]{ 569 | margin-top: 1px; 570 | } 571 | 572 | .mt-\[2px\]{ 573 | margin-top: 2px; 574 | } 575 | 576 | .flex{ 577 | display: flex; 578 | } 579 | 580 | .hidden{ 581 | display: none; 582 | } 583 | 584 | .h-screen{ 585 | height: 100vh; 586 | } 587 | 588 | .h-full{ 589 | height: 100%; 590 | } 591 | 592 | .h-\[7\%\]{ 593 | height: 7%; 594 | } 595 | 596 | .h-\[93\%\]{ 597 | height: 93%; 598 | } 599 | 600 | .w-14{ 601 | width: 3.5rem; 602 | } 603 | 604 | .w-full{ 605 | width: 100%; 606 | } 607 | 608 | .w-4\/12{ 609 | width: 33.333333%; 610 | } 611 | 612 | .w-8\/12{ 613 | width: 66.666667%; 614 | } 615 | 616 | .resize-none{ 617 | resize: none; 618 | } 619 | 620 | .flex-col{ 621 | flex-direction: column; 622 | } 623 | 624 | .items-center{ 625 | align-items: center; 626 | } 627 | 628 | .justify-center{ 629 | justify-content: center; 630 | } 631 | 632 | .justify-between{ 633 | justify-content: space-between; 634 | } 635 | 636 | .gap-1{ 637 | gap: 0.25rem; 638 | } 639 | 640 | .gap-7{ 641 | gap: 1.75rem; 642 | } 643 | 644 | .overflow-auto{ 645 | overflow: auto; 646 | } 647 | 648 | .overflow-hidden{ 649 | overflow: hidden; 650 | } 651 | 652 | .border-x{ 653 | border-left-width: 1px; 654 | border-right-width: 1px; 655 | } 656 | 657 | .border-b{ 658 | border-bottom-width: 1px; 659 | } 660 | 661 | .border-gray-500{ 662 | --tw-border-opacity: 1; 663 | border-color: rgb(107 114 128 / var(--tw-border-opacity)); 664 | } 665 | 666 | .border-gray-700{ 667 | --tw-border-opacity: 1; 668 | border-color: rgb(55 65 81 / var(--tw-border-opacity)); 669 | } 670 | 671 | .bg-\[\#202225\]{ 672 | --tw-bg-opacity: 1; 673 | background-color: rgb(32 34 37 / var(--tw-bg-opacity)); 674 | } 675 | 676 | .bg-primary-400{ 677 | --tw-bg-opacity: 1; 678 | background-color: rgb(54 57 63 / var(--tw-bg-opacity)); 679 | } 680 | 681 | .bg-primary-700{ 682 | --tw-bg-opacity: 1; 683 | background-color: rgb(32 34 37 / var(--tw-bg-opacity)); 684 | } 685 | 686 | .bg-primary-600{ 687 | --tw-bg-opacity: 1; 688 | background-color: rgb(32 34 37 / var(--tw-bg-opacity)); 689 | } 690 | 691 | .p-1{ 692 | padding: 0.25rem; 693 | } 694 | 695 | .p-4{ 696 | padding: 1rem; 697 | } 698 | 699 | .px-1{ 700 | padding-left: 0.25rem; 701 | padding-right: 0.25rem; 702 | } 703 | 704 | .px-3{ 705 | padding-left: 0.75rem; 706 | padding-right: 0.75rem; 707 | } 708 | 709 | .pb-2{ 710 | padding-bottom: 0.5rem; 711 | } 712 | 713 | .pt-2{ 714 | padding-top: 0.5rem; 715 | } 716 | 717 | .text-center{ 718 | text-align: center; 719 | } 720 | 721 | .font-Catamaran{ 722 | font-family: Catamaran, sans-serif; 723 | } 724 | 725 | .text-4xl{ 726 | font-size: 2.25rem; 727 | line-height: 2.5rem; 728 | } 729 | 730 | .text-sm{ 731 | font-size: 0.875rem; 732 | line-height: 1.25rem; 733 | } 734 | 735 | .font-bold{ 736 | font-weight: 700; 737 | } 738 | 739 | .font-semibold{ 740 | font-weight: 600; 741 | } 742 | 743 | .tracking-tighter{ 744 | letter-spacing: -0.05em; 745 | } 746 | 747 | .tracking-wider{ 748 | letter-spacing: 0.05em; 749 | } 750 | 751 | .text-\[\#faa81a\]{ 752 | --tw-text-opacity: 1; 753 | color: rgb(250 168 26 / var(--tw-text-opacity)); 754 | } 755 | 756 | .text-\[\#dcddde\]{ 757 | --tw-text-opacity: 1; 758 | color: rgb(220 221 222 / var(--tw-text-opacity)); 759 | } 760 | 761 | .text-gray-500{ 762 | --tw-text-opacity: 1; 763 | color: rgb(107 114 128 / var(--tw-text-opacity)); 764 | } 765 | 766 | .text-green-600{ 767 | --tw-text-opacity: 1; 768 | color: rgb(22 163 74 / var(--tw-text-opacity)); 769 | } 770 | 771 | .text-red-600{ 772 | --tw-text-opacity: 1; 773 | color: rgb(220 38 38 / var(--tw-text-opacity)); 774 | } 775 | 776 | .text-white{ 777 | --tw-text-opacity: 1; 778 | color: rgb(255 255 255 / var(--tw-text-opacity)); 779 | } 780 | 781 | .text-purple-900{ 782 | --tw-text-opacity: 1; 783 | color: rgb(88 28 135 / var(--tw-text-opacity)); 784 | } 785 | 786 | .text-\[\#fd0079\]{ 787 | --tw-text-opacity: 1; 788 | color: rgb(253 0 121 / var(--tw-text-opacity)); 789 | } 790 | 791 | .text-\[\#46c46e\]{ 792 | --tw-text-opacity: 1; 793 | color: rgb(70 196 110 / var(--tw-text-opacity)); 794 | } 795 | 796 | .text-\[\#db662e\]{ 797 | --tw-text-opacity: 1; 798 | color: rgb(219 102 46 / var(--tw-text-opacity)); 799 | } 800 | 801 | .text-\[\#59b8ff\]{ 802 | --tw-text-opacity: 1; 803 | color: rgb(89 184 255 / var(--tw-text-opacity)); 804 | } 805 | 806 | .outline-none{ 807 | outline: 2px solid transparent; 808 | outline-offset: 2px; 809 | } 810 | 811 | .transition-all{ 812 | transition-property: all; 813 | transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); 814 | transition-duration: 150ms; 815 | } 816 | 817 | .duration-75{ 818 | transition-duration: 75ms; 819 | } 820 | 821 | .object-parent-circle{ 822 | display: inline-block; 823 | height: 3rem; 824 | width: 3rem; 825 | border-radius: 9999px; 826 | border-width: 1px; 827 | --tw-border-opacity: 1; 828 | border-color: rgb(243 244 246 / var(--tw-border-opacity)); 829 | --tw-bg-opacity: 1; 830 | background-color: rgb(226 232 240 / var(--tw-bg-opacity)); 831 | } 832 | 833 | .Layer-element{ 834 | display: flex; 835 | flex-direction: column; 836 | } 837 | 838 | .subLayer-element{ 839 | margin-bottom: 0.5rem; 840 | display: flex; 841 | width: 100%; 842 | flex-grow: 1; 843 | align-items: center; 844 | gap: 1rem; 845 | } 846 | 847 | .title{ 848 | margin: 0.75rem; 849 | display: flex; 850 | cursor: pointer; 851 | align-items: center; 852 | justify-content: center; 853 | border-radius: 0.25rem; 854 | border-width: 1px; 855 | --tw-border-opacity: 1; 856 | border-color: rgb(75 85 99 / var(--tw-border-opacity)); 857 | --tw-bg-opacity: 1; 858 | background-color: rgb(43 44 62 / var(--tw-bg-opacity)); 859 | padding-left: 0.75rem; 860 | padding-right: 0.75rem; 861 | padding-top: 0.5rem; 862 | padding-bottom: 0.5rem; 863 | text-align: center; 864 | --tw-text-opacity: 1; 865 | color: rgb(250 168 26 / var(--tw-text-opacity)); 866 | transition-property: all; 867 | transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); 868 | transition-duration: 150ms; 869 | } 870 | 871 | .title:hover{ 872 | --tw-border-opacity: 1; 873 | border-color: rgb(156 163 175 / var(--tw-border-opacity)); 874 | } 875 | 876 | #mainEl { 877 | font-size: max(12px, 1.2vw); 878 | } 879 | 880 | .values{ 881 | display: inline-block; 882 | cursor: pointer; 883 | border-radius: 0.25rem; 884 | border-width: 1px; 885 | --tw-border-opacity: 1; 886 | border-color: rgb(75 85 99 / var(--tw-border-opacity)); 887 | --tw-bg-opacity: 1; 888 | background-color: rgb(43 44 62 / var(--tw-bg-opacity)); 889 | padding-left: 1rem; 890 | padding-right: 1rem; 891 | padding-top: 0.5rem; 892 | padding-bottom: 0.5rem; 893 | transition-property: all; 894 | transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); 895 | transition-duration: 150ms; 896 | } 897 | 898 | .values:hover{ 899 | --tw-border-opacity: 1; 900 | border-color: rgb(156 163 175 / var(--tw-border-opacity)); 901 | } 902 | 903 | .circle{ 904 | display: inline-block; 905 | height: 2.5rem; 906 | width: 2.5rem; 907 | border-radius: 9999px; 908 | border-width: 1px; 909 | --tw-border-opacity: 1; 910 | border-color: rgb(75 85 99 / var(--tw-border-opacity)); 911 | --tw-bg-opacity: 1; 912 | background-color: rgb(43 44 62 / var(--tw-bg-opacity)); 913 | } 914 | 915 | .circle:hover{ 916 | --tw-border-opacity: 1; 917 | border-color: rgb(156 163 175 / var(--tw-border-opacity)); 918 | } 919 | 920 | .hover\:text-gray-400:hover{ 921 | --tw-text-opacity: 1; 922 | color: rgb(156 163 175 / var(--tw-text-opacity)); 923 | } 924 | 925 | @media (min-width: 640px){ 926 | .sm\:flex{ 927 | display: flex; 928 | } 929 | } 930 | 931 | @media (min-width: 1024px){ 932 | .lg\:w-3\/12{ 933 | width: 25%; 934 | } 935 | 936 | .lg\:w-9\/12{ 937 | width: 75%; 938 | } 939 | } 940 | 941 | .div-content-btn{ 942 | position: relative; 943 | } 944 | .btn-submit-textarea { 945 | position: absolute; 946 | top: 9%; 947 | right: 5%; 948 | border: solid 2px #6b7280; 949 | color: #6b7280; 950 | border-radius: 5px; 951 | font-size: 13px; 952 | text-align: center; 953 | padding: 1px 4px; 954 | font-weight: bold; 955 | } 956 | button.btn-submit-textarea:hover { 957 | background: #6b7280; 958 | color: #202225; 959 | } -------------------------------------------------------------------------------- /src/input.css: -------------------------------------------------------------------------------- 1 | @import url('https://fonts.googleapis.com/css2?family=Catamaran:wght@100;200;300;400;500;600;700;800;900&display=swap'); 2 | 3 | @tailwind base; 4 | @tailwind components; 5 | @tailwind utilities; 6 | 7 | .object-parent-circle { 8 | @apply w-12 h-12 bg-slate-200 rounded-full inline-block border border-gray-100; 9 | } 10 | .Layer-element { 11 | @apply flex flex-col; 12 | } 13 | .subLayer-element { 14 | @apply flex items-center gap-4 w-full mb-2 grow; 15 | } 16 | .title { 17 | @apply flex items-center justify-center text-center border border-gray-600 hover:border-gray-400 transition-all bg-[#2b2c3e] cursor-pointer text-[#faa81a] rounded m-3 px-3 py-2; 18 | } 19 | #mainEl { 20 | font-size: max(12px, 1.2vw); 21 | } 22 | .values { 23 | @apply px-4 py-2 rounded inline-block border border-gray-600 hover:border-gray-400 transition-all bg-[#2b2c3e] cursor-pointer; 24 | } 25 | .circle { 26 | @apply w-10 h-10 rounded-full bg-[#2b2c3e] inline-block border border-gray-600 hover:border-gray-400; 27 | } -------------------------------------------------------------------------------- /src/team.js: -------------------------------------------------------------------------------- 1 | let data = [{"name" : "Ashwin", "age" : "20"},{"name" : "Abhinandan", "age" : "20"}]; -------------------------------------------------------------------------------- /tailwind.config.js: -------------------------------------------------------------------------------- 1 | /** @type {import('tailwindcss').Config} */ 2 | module.exports = { 3 | content: ["./public/**/*.{html,js}"], 4 | theme: { 5 | extend: { 6 | colors: { 7 | primary: { 8 | 400: "#36393f", 9 | 500: "#2f3136", 10 | 600: "#202225", 11 | 700: "#202225" 12 | } 13 | }, 14 | fontFamily: { 15 | Catamaran: ['Catamaran', 'sans-serif'] 16 | } 17 | }, 18 | }, 19 | plugins: [], 20 | } 21 | --------------------------------------------------------------------------------