first commit

This commit is contained in:
2024-04-04 13:08:00 +05:45
commit c969cdabcc
967 changed files with 44905 additions and 0 deletions

View File

@ -0,0 +1 @@
AOS.init({easing:"ease-out-back",duration:1e3});

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
function getChartColorsArray(t){if(null!==document.getElementById(t))return t=document.getElementById(t).getAttribute("data-colors"),(t=JSON.parse(t)).map(function(t){var o=t.replace(" ","");return-1===o.indexOf(",")?getComputedStyle(document.documentElement).getPropertyValue(o)||o:2==(t=t.split(",")).length?"rgba("+getComputedStyle(document.documentElement).getPropertyValue(t[0])+","+t[1]+")":o})}var options,chart,chartBoxBasicColors=getChartColorsArray("basic_box"),chartBoxPlotColors=(chartBoxBasicColors&&(options={series:[{type:"boxPlot",data:[{x:"Jan 2015",y:[54,66,69,75,88]},{x:"Jan 2016",y:[43,65,69,76,81]},{x:"Jan 2017",y:[31,39,45,51,59]},{x:"Jan 2018",y:[39,46,55,65,71]},{x:"Jan 2019",y:[29,31,35,39,44]},{x:"Jan 2020",y:[41,49,58,61,67]},{x:"Jan 2021",y:[54,59,66,71,88]}]}],chart:{type:"boxPlot",height:350,toolbar:{show:!1}},title:{text:"Basic BoxPlot Chart",align:"left",style:{fontWeight:500}},plotOptions:{boxPlot:{colors:{upper:chartBoxBasicColors[0],lower:chartBoxBasicColors[1]}}},stroke:{colors:[chartBoxBasicColors[2]]}},(chart=new ApexCharts(document.querySelector("#basic_box"),options)).render()),getChartColorsArray("box_plot")),chartBoxPlotHoriColors=(chartBoxPlotColors&&(options={series:[{name:"Box",type:"boxPlot",data:[{x:new Date("2017-01-01").getTime(),y:[54,66,69,75,88]},{x:new Date("2018-01-01").getTime(),y:[43,65,69,76,81]},{x:new Date("2019-01-01").getTime(),y:[31,39,45,51,59]},{x:new Date("2020-01-01").getTime(),y:[39,46,55,65,71]},{x:new Date("2021-01-01").getTime(),y:[29,31,35,39,44]}]},{name:"Outliers",type:"scatter",data:[{x:new Date("2017-01-01").getTime(),y:32},{x:new Date("2018-01-01").getTime(),y:25},{x:new Date("2019-01-01").getTime(),y:64},{x:new Date("2020-01-01").getTime(),y:27},{x:new Date("2020-01-01").getTime(),y:78},{x:new Date("2021-01-01").getTime(),y:15}]}],chart:{type:"boxPlot",height:350,toolbar:{show:!1}},colors:[chartBoxPlotColors[0],chartBoxPlotColors[1]],title:{text:"BoxPlot - Scatter Chart",align:"left",style:{fontWeight:500}},xaxis:{type:"datetime",tooltip:{formatter:function(t){return new Date(t).getFullYear()}}},plotOptions:{boxPlot:{colors:{upper:chartBoxPlotColors[2],lower:chartBoxPlotColors[3]}}},stroke:{colors:[chartBoxPlotColors[4]]},tooltip:{shared:!1,intersect:!0}},(chart=new ApexCharts(document.querySelector("#box_plot"),options)).render()),getChartColorsArray("box_plot_hori"));chartBoxPlotHoriColors&&(options={series:[{data:[{x:"Category A",y:[54,66,69,75,88]},{x:"Category B",y:[43,65,69,76,81]},{x:"Category C",y:[31,39,45,51,59]},{x:"Category D",y:[39,46,55,65,71]},{x:"Category E",y:[29,31,35,39,44]},{x:"Category F",y:[41,49,58,61,67]},{x:"Category G",y:[54,59,66,71,88]}]}],chart:{type:"boxPlot",height:350,toolbar:{show:!1}},plotOptions:{bar:{horizontal:!0,barHeight:"50%"},boxPlot:{colors:{upper:chartBoxPlotHoriColors[0],lower:chartBoxPlotHoriColors[1]}}},stroke:{colors:[chartBoxPlotHoriColors[2]]}},(chart=new ApexCharts(document.querySelector("#box_plot_hori"),options)).render());

View File

@ -0,0 +1 @@
function getChartColorsArray(e){if(null!==document.getElementById(e)){e=document.getElementById(e).getAttribute("data-colors");if(e)return(e=JSON.parse(e)).map(function(e){var t=e.replace(" ","");return-1===t.indexOf(",")?getComputedStyle(document.documentElement).getPropertyValue(t)||t:2==(e=e.split(",")).length?"rgba("+getComputedStyle(document.documentElement).getPropertyValue(e[0])+","+e[1]+")":t})}}function generateData(e,t,a){for(var r=0,n=[];r<t;){var o=Math.floor(750*Math.random())+1,l=Math.floor(Math.random()*(a.max-a.min+1))+a.min,m=Math.floor(61*Math.random())+15;n.push([o,l,m]),r++}return n}var options,chart,chartBubbleSimpleColors=getChartColorsArray("simple_bubble"),chartBubbleColors=(chartBubbleSimpleColors&&(options={series:[{name:"Bubble1",data:generateData(new Date("11 Feb 2017 GMT").getTime(),20,{min:10,max:60})},{name:"Bubble2",data:generateData(new Date("12 Feb 2017 GMT").getTime(),20,{min:10,max:60})},{name:"Bubble3",data:generateData(new Date("13 Feb 2017 GMT").getTime(),20,{min:10,max:60})},{name:"Bubble4",data:generateData(new Date("14 Feb 2017 GMT").getTime(),20,{min:10,max:60})}],chart:{height:350,type:"bubble",toolbar:{show:!1}},dataLabels:{enabled:!1},fill:{opacity:.8},title:{text:"Simple Bubble Chart",style:{fontWeight:500}},xaxis:{tickAmount:12,type:"category"},yaxis:{max:70},colors:chartBubbleSimpleColors},(chart=new ApexCharts(document.querySelector("#simple_bubble"),options)).render()),getChartColorsArray("bubble_chart"));chartBubbleColors&&(options={series:[{name:"Product1",data:generateData(new Date("11 Feb 2017 GMT").getTime(),20,{min:10,max:60})},{name:"Product2",data:generateData(new Date("11 Feb 2017 GMT").getTime(),20,{min:10,max:60})},{name:"Product3",data:generateData(new Date("11 Feb 2017 GMT").getTime(),20,{min:10,max:60})},{name:"Product4",data:generateData(new Date("11 Feb 2017 GMT").getTime(),20,{min:10,max:60})}],chart:{height:350,type:"bubble",toolbar:{show:!1}},dataLabels:{enabled:!1},fill:{type:"gradient"},title:{text:"3D Bubble Chart",style:{fontWeight:500}},xaxis:{tickAmount:12,type:"datetime",labels:{rotate:0}},yaxis:{max:70},theme:{palette:"palette2"},colors:chartBubbleColors},(chart=new ApexCharts(document.querySelector("#bubble_chart"),options)).render());

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
function getChartColorsArray(e){if(null!==document.getElementById(e))return e=document.getElementById(e).getAttribute("data-colors"),(e=JSON.parse(e)).map(function(e){var t=e.replace(" ","");return-1===t.indexOf(",")?getComputedStyle(document.documentElement).getPropertyValue(t)||t:2==(e=e.split(",")).length?"rgba("+getComputedStyle(document.documentElement).getPropertyValue(e[0])+","+e[1]+")":t})}var options,chart,funnelChartColors=getChartColorsArray("funnel_chart"),pyramidChartColors=(funnelChartColors&&(options={series:[{name:"Funnel Series",data:[1380,1100,990,880,740,548,330,200]}],chart:{type:"bar",height:350},colors:funnelChartColors,plotOptions:{bar:{borderRadius:0,horizontal:!0,barHeight:"80%",isFunnel:!0}},dataLabels:{enabled:!0,formatter:function(e,t){return t.w.globals.labels[t.dataPointIndex]+": "+e},dropShadow:{enabled:!0}},title:{text:"Recruitment Funnel",align:"middle"},xaxis:{categories:["Sourced","Screened","Assessed","HR Interview","Technical","Verify","Offered","Hired"]},legend:{show:!1}},(chart=new ApexCharts(document.querySelector("#funnel_chart"),options)).render()),getChartColorsArray("pyramid_chart"));pyramidChartColors&&(options={series:[{name:"",data:[200,330,548,740,880,990,1100,1380]}],chart:{type:"bar",height:350},plotOptions:{bar:{borderRadius:0,horizontal:!0,distributed:!0,barHeight:"80%",isFunnel:!0}},colors:pyramidChartColors,dataLabels:{enabled:!0,formatter:function(e,t){return t.w.globals.labels[t.dataPointIndex]},dropShadow:{enabled:!0}},title:{text:"Pyramid Chart",align:"middle"},xaxis:{categories:["Sweets","Processed Foods","Healthy Fats","Meat","Beans & Legumes","Dairy","Fruits & Vegetables","Grains"]},legend:{show:!1}},(chart=new ApexCharts(document.querySelector("#pyramid_chart"),options)).render());

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
function getChartColorsArray(e){if(null!==document.getElementById(e))return e=document.getElementById(e).getAttribute("data-colors"),(e=JSON.parse(e)).map(function(e){var t=e.replace(" ","");return-1===t.indexOf(",")?getComputedStyle(document.documentElement).getPropertyValue(t)||t:2==(e=e.split(",")).length?"rgba("+getComputedStyle(document.documentElement).getPropertyValue(e[0])+","+e[1]+")":t})}var options,chart,chartLineColumnColors=getChartColorsArray("line_column_chart"),chartMultiColors=(chartLineColumnColors&&(options={series:[{name:"Website Blog",type:"column",data:[440,505,414,671,227,413,201,352,752,320,257,160]},{name:"Social Media",type:"line",data:[23,42,35,27,43,22,17,31,22,22,12,16]}],chart:{height:350,type:"line",toolbar:{show:!1}},stroke:{width:[0,4]},title:{text:"Traffic Sources",style:{fontWeight:500}},dataLabels:{enabled:!0,enabledOnSeries:[1]},labels:["01 Jan 2001","02 Jan 2001","03 Jan 2001","04 Jan 2001","05 Jan 2001","06 Jan 2001","07 Jan 2001","08 Jan 2001","09 Jan 2001","10 Jan 2001","11 Jan 2001","12 Jan 2001"],xaxis:{type:"datetime"},yaxis:[{title:{text:"Website Blog",style:{fontWeight:500}}},{opposite:!0,title:{text:"Social Media",style:{fontWeight:500}}}],colors:chartLineColumnColors},(chart=new ApexCharts(document.querySelector("#line_column_chart"),options)).render()),getChartColorsArray("multi_chart")),chartLineAreaColors=(chartMultiColors&&(options={series:[{name:"Income",type:"column",data:[1.4,2,2.5,1.5,2.5,2.8,3.8,4.6]},{name:"Cashflow",type:"column",data:[1.1,3,3.1,4,4.1,4.9,6.5,8.5]},{name:"Revenue",type:"line",data:[20,29,37,36,44,45,50,58]}],chart:{height:350,type:"line",stacked:!1,toolbar:{show:!1}},dataLabels:{enabled:!1},stroke:{width:[1,1,4]},title:{text:"XYZ - Stock Analysis (2009 - 2016)",align:"left",offsetX:110,style:{fontWeight:500}},xaxis:{categories:[2009,2010,2011,2012,2013,2014,2015,2016]},yaxis:[{axisTicks:{show:!0},axisBorder:{show:!0,color:"#038edc"},labels:{style:{colors:"#038edc"}},title:{text:"Income (thousand crores)",style:{color:"#038edc",fontWeight:600}},tooltip:{enabled:!0}},{seriesName:"Income",opposite:!0,axisTicks:{show:!0},axisBorder:{show:!0,color:"#038edc"},labels:{style:{colors:"#038edc"}},title:{text:"Operating Cashflow (thousand crores)",style:{color:"#038edc",fontWeight:600}}},{seriesName:"Revenue",opposite:!0,axisTicks:{show:!0},axisBorder:{show:!0,color:"#51d28c"},labels:{style:{colors:"#51d28c"}},title:{text:"Revenue (thousand crores)",style:{color:"#51d28c",fontWeight:600}}}],tooltip:{fixed:{enabled:!0,position:"topLeft",offsetY:30,offsetX:60}},legend:{horizontalAlign:"left",offsetX:40},colors:chartMultiColors},(chart=new ApexCharts(document.querySelector("#multi_chart"),options)).render()),getChartColorsArray("line_area_chart")),chartLineAreaMultiColors=(chartLineAreaColors&&(options={series:[{name:"TEAM A",type:"area",data:[44,55,31,47,31,43,26,41,31,47,33]},{name:"TEAM B",type:"line",data:[55,69,45,61,43,54,37,52,44,61,43]}],chart:{height:350,type:"line",toolbar:{show:!1}},stroke:{curve:"smooth"},fill:{type:"solid",opacity:[.35,1]},labels:["Dec 01","Dec 02","Dec 03","Dec 04","Dec 05","Dec 06","Dec 07","Dec 08","Dec 09 ","Dec 10","Dec 11"],markers:{size:0},yaxis:[{title:{text:"Series A"}},{opposite:!0,title:{text:"Series B"}}],tooltip:{shared:!0,intersect:!1,y:{formatter:function(e){return void 0!==e?e.toFixed(0)+" points":e}}},colors:chartLineAreaColors},(chart=new ApexCharts(document.querySelector("#line_area_chart"),options)).render()),getChartColorsArray("line_area_charts"));chartLineAreaMultiColors&&(options={series:[{name:"TEAM A",type:"column",data:[23,11,22,27,13,22,37,21,44,22,30]},{name:"TEAM B",type:"area",data:[44,55,41,67,22,43,21,41,56,27,43]},{name:"TEAM C",type:"line",data:[30,25,36,30,45,35,64,52,59,36,39]}],chart:{height:350,type:"line",stacked:!1,toolbar:{show:!1}},stroke:{width:[0,2,5],curve:"smooth"},plotOptions:{bar:{columnWidth:"50%"}},fill:{opacity:[.85,.25,1],gradient:{inverseColors:!1,shade:"light",type:"vertical",opacityFrom:.85,opacityTo:.55,stops:[0,100,100,100]}},labels:["01/01/2003","02/01/2003","03/01/2003","04/01/2003","05/01/2003","06/01/2003","07/01/2003","08/01/2003","09/01/2003","10/01/2003","11/01/2003"],markers:{size:0},xaxis:{type:"datetime"},yaxis:{title:{text:"Points"},min:0},tooltip:{shared:!0,intersect:!1,y:{formatter:function(e){return void 0!==e?e.toFixed(0)+" points":e}}},colors:chartLineAreaMultiColors},(chart=new ApexCharts(document.querySelector("#line_area_charts"),options)).render());

View File

@ -0,0 +1 @@
function getChartColorsArray(e){if(null!==document.getElementById(e))return e=document.getElementById(e).getAttribute("data-colors"),(e=JSON.parse(e)).map(function(e){var t=e.replace(" ","");return-1===t.indexOf(",")?getComputedStyle(document.documentElement).getPropertyValue(t)||t:2==(e=e.split(",")).length?"rgba("+getComputedStyle(document.documentElement).getPropertyValue(e[0])+","+e[1]+")":t})}var upadatedonutchart,chartPieBasicColors=getChartColorsArray("simple_pie_chart"),chartDonutBasicColors=(chartPieBasicColors&&(options={series:[44,55,13,43,22],chart:{height:300,type:"pie"},labels:["Team A","Team B","Team C","Team D","Team E"],legend:{position:"bottom"},dataLabels:{dropShadow:{enabled:!1}},colors:chartPieBasicColors},(chart=new ApexCharts(document.querySelector("#simple_pie_chart"),options)).render()),getChartColorsArray("simple_dount_chart")),chartDonutupdatingColors=(chartDonutBasicColors&&(options={series:[44,55,41,17,15],chart:{height:300,type:"donut"},legend:{position:"bottom"},dataLabels:{dropShadow:{enabled:!1}},colors:chartDonutBasicColors},(chart=new ApexCharts(document.querySelector("#simple_dount_chart"),options)).render()),getChartColorsArray("updating_donut_chart"));function appendData(){var e=upadatedonutchart.w.globals.series.slice();return e.push(Math.floor(100*Math.random())+1),e}function removeData(){var e=upadatedonutchart.w.globals.series.slice();return e.pop(),e}function randomize(){return upadatedonutchart.w.globals.series.map(function(){return Math.floor(100*Math.random())+1})}function reset(){return options.series}chartDonutupdatingColors&&(options={series:[44,55,13,33],chart:{height:280,type:"donut"},dataLabels:{enabled:!1},legend:{position:"bottom"},colors:chartDonutupdatingColors},(upadatedonutchart=new ApexCharts(document.querySelector("#updating_donut_chart"),options)).render(),document.querySelector("#randomize").addEventListener("click",function(){upadatedonutchart.updateSeries(randomize())}),document.querySelector("#add").addEventListener("click",function(){upadatedonutchart.updateSeries(appendData())}),document.querySelector("#remove").addEventListener("click",function(){upadatedonutchart.updateSeries(removeData())}),document.querySelector("#reset").addEventListener("click",function(){upadatedonutchart.updateSeries(reset())}));var chart,chartPieGradientColors=getChartColorsArray("gradient_chart"),chartPiePatternColors=(chartPieGradientColors&&(options={series:[44,55,41,17,15],chart:{height:300,type:"donut"},plotOptions:{pie:{startAngle:-90,endAngle:270}},dataLabels:{enabled:!1},fill:{type:"gradient"},legend:{position:"bottom"},title:{text:"Gradient Donut with custom Start-angle",style:{fontWeight:500}},colors:chartPieGradientColors},(chart=new ApexCharts(document.querySelector("#gradient_chart"),options)).render()),getChartColorsArray("pattern_chart")),chartPieImageColors=(chartPiePatternColors&&(options={series:[44,55,41,17,15],chart:{height:300,type:"donut",dropShadow:{enabled:!0,color:"#111",top:-1,left:3,blur:3,opacity:.2}},stroke:{width:0},plotOptions:{pie:{donut:{labels:{show:!0,total:{showAlways:!0,show:!0}}}}},labels:["Comedy","Action","SciFi","Drama","Horror"],dataLabels:{dropShadow:{blur:3,opacity:.8}},fill:{type:"pattern",opacity:1,pattern:{enabled:!0,style:["verticalLines","squares","horizontalLines","circles","slantedLines"]}},states:{hover:{filter:"none"}},theme:{palette:"palette2"},title:{text:"Favourite Movie Type",style:{fontWeight:500}},legend:{position:"bottom"},colors:chartPiePatternColors},(chart=new ApexCharts(document.querySelector("#pattern_chart"),options)).render()),getChartColorsArray("image_pie_chart")),options=(chartPieImageColors&&(options={series:[44,33,54,45],chart:{height:300,type:"pie"},colors:["#93C3EE","#E5C6A0","#669DB5","#94A74A"],fill:{type:"image",opacity:.85,image:{src:["./assets/images/small/img-1.jpg","./assets/images/small/img-2.jpg","./assets/images/small/img-3.jpg","./assets/images/small/img-4.jpg"],width:25,imagedHeight:25}},stroke:{width:4},dataLabels:{enabled:!0,style:{colors:["#111"]},background:{enabled:!0,foreColor:"#fff",borderWidth:0}},legend:{position:"bottom"}},(chart=new ApexCharts(document.querySelector("#image_pie_chart"),options)).render()),{series:[25,15,44,55,41,17],chart:{height:300,type:"pie"},labels:["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],theme:{monochrome:{enabled:!0,color:"#405189",shadeTo:"light",shadeIntensity:.6}},plotOptions:{pie:{dataLabels:{offset:-5}}},title:{text:"Monochrome Pie",style:{fontWeight:500}},dataLabels:{formatter:function(e,t){return[t.w.globals.labels[t.seriesIndex],e.toFixed(1)+"%"]},dropShadow:{enabled:!1}},legend:{show:!1}});document.querySelector("#monochrome_pie_chart")&&(chart=new ApexCharts(document.querySelector("#monochrome_pie_chart"),options)).render();

View File

@ -0,0 +1 @@
function getChartColorsArray(e){if(null!==document.getElementById(e))return e=document.getElementById(e).getAttribute("data-colors"),(e=JSON.parse(e)).map(function(e){var o=e.replace(" ","");return-1===o.indexOf(",")?getComputedStyle(document.documentElement).getPropertyValue(o)||o:2==(e=e.split(",")).length?"rgba("+getComputedStyle(document.documentElement).getPropertyValue(e[0])+","+e[1]+")":o})}var chart,chartPolarareaBasicColors=getChartColorsArray("basic_polar_area"),options=(chartPolarareaBasicColors&&(options={series:[14,23,21,17,15,10,12,17,21],chart:{type:"polarArea",width:400},labels:["Series A","Series B","Series C","Series D","Series E","Series F","Series G","Series H","Series I"],stroke:{colors:["#fff"]},fill:{opacity:.8},legend:{position:"bottom"},colors:chartPolarareaBasicColors},(chart=new ApexCharts(document.querySelector("#basic_polar_area"),options)).render()),{series:[42,47,52,58,65],chart:{width:400,type:"polarArea"},labels:["Rose A","Rose B","Rose C","Rose D","Rose E"],fill:{opacity:1},stroke:{width:1,colors:void 0},yaxis:{show:!1},legend:{position:"bottom"},plotOptions:{polarArea:{rings:{strokeWidth:0},spokes:{strokeWidth:0}}},theme:{mode:"light",palette:"palette1",monochrome:{enabled:!0,shadeTo:"light",color:"#405189",shadeIntensity:.6}}});document.querySelector("#monochrome_polar_area")&&(chart=new ApexCharts(document.querySelector("#monochrome_polar_area"),options)).render();

View File

@ -0,0 +1 @@
function getChartColorsArray(r){if(null!==document.getElementById(r))return r=document.getElementById(r).getAttribute("data-colors"),(r=JSON.parse(r)).map(function(r){var a=r.replace(" ","");return-1===a.indexOf(",")?getComputedStyle(document.documentElement).getPropertyValue(a)||a:2==(r=r.split(",")).length?"rgba("+getComputedStyle(document.documentElement).getPropertyValue(r[0])+","+r[1]+")":a})}var options,chart,chartRadarBasicColors=getChartColorsArray("basic_radar"),chartRadarMultiColors=(chartRadarBasicColors&&(options={series:[{name:"Series 1",data:[80,50,30,40,100,20]}],chart:{height:350,type:"radar",toolbar:{show:!1}},colors:chartRadarBasicColors,xaxis:{categories:["January","February","March","April","May","June"]}},(chart=new ApexCharts(document.querySelector("#basic_radar"),options)).render()),getChartColorsArray("multi_radar")),chartRadarPolyradarColors=(chartRadarMultiColors&&(options={series:[{name:"Series 1",data:[80,50,30,40,100,20]},{name:"Series 2",data:[20,30,40,80,20,80]},{name:"Series 3",data:[44,76,78,13,43,10]}],chart:{height:350,type:"radar",dropShadow:{enabled:!0,blur:1,left:1,top:1},toolbar:{show:!1}},stroke:{width:2},fill:{opacity:.2},markers:{size:0},colors:chartRadarMultiColors,xaxis:{categories:["2014","2015","2016","2017","2018","2019"]}},(chart=new ApexCharts(document.querySelector("#multi_radar"),options)).render()),getChartColorsArray("polygon_radar"));chartRadarPolyradarColors&&(options={series:[{name:"Series 1",data:[20,100,40,30,50,80,33]}],chart:{height:350,type:"radar",toolbar:{show:!1}},dataLabels:{enabled:!0},plotOptions:{radar:{size:140}},title:{text:"Radar with Polygon Fill",style:{fontWeight:500}},colors:chartRadarPolyradarColors,markers:{size:4,colors:["#fff"],strokeColor:"#f34e4e",strokeWidth:2},tooltip:{y:{formatter:function(r){return r}}},xaxis:{categories:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},yaxis:{tickAmount:7,labels:{formatter:function(r,a){return a%2==0?r:""}}}},(chart=new ApexCharts(document.querySelector("#polygon_radar"),options)).render());

View File

@ -0,0 +1 @@
function getChartColorsArray(a){if(null!==document.getElementById(a))return a=document.getElementById(a).getAttribute("data-colors"),(a=JSON.parse(a)).map(function(a){var r=a.replace(" ","");return-1===r.indexOf(",")?getComputedStyle(document.documentElement).getPropertyValue(r)||r:2==(a=a.split(",")).length?"rgba("+getComputedStyle(document.documentElement).getPropertyValue(a[0])+","+a[1]+")":r})}var chartRadialbarBasicColors=getChartColorsArray("basic_radialbar"),chartRadialbarMultipleColors=(chartRadialbarBasicColors&&(options={series:[70],chart:{height:350,type:"radialBar"},plotOptions:{radialBar:{hollow:{size:"70%"}}},labels:["Cricket"],colors:chartRadialbarBasicColors},(chart=new ApexCharts(document.querySelector("#basic_radialbar"),options)).render()),getChartColorsArray("multiple_radialbar")),chartRadialbarCircleColors=(chartRadialbarMultipleColors&&(options={series:[44,55,67,83],chart:{height:350,type:"radialBar"},plotOptions:{radialBar:{dataLabels:{name:{fontSize:"22px"},value:{fontSize:"16px"},total:{show:!0,label:"Total",formatter:function(a){return 249}}}}},labels:["Apples","Oranges","Bananas","Berries"],colors:chartRadialbarMultipleColors},(chart=new ApexCharts(document.querySelector("#multiple_radialbar"),options)).render()),getChartColorsArray("circle_radialbar")),chartRadialbarGradientColors=(chartRadialbarCircleColors&&(options={series:[76,67,61,55],chart:{height:350,type:"radialBar"},plotOptions:{radialBar:{offsetY:0,startAngle:0,endAngle:270,hollow:{margin:5,size:"30%",background:"transparent",image:void 0},dataLabels:{name:{show:!1},value:{show:!1}}}},colors:chartRadialbarCircleColors,labels:["Vimeo","Messenger","Facebook","LinkedIn"],legend:{show:!0,floating:!0,fontSize:"16px",position:"left",offsetX:160,offsetY:15,labels:{useSeriesColors:!0},markers:{size:0},formatter:function(a,r){return a+": "+r.w.globals.series[r.seriesIndex]},itemMargin:{vertical:3}},responsive:[{breakpoint:480,options:{legend:{show:!1}}}]},(chart=new ApexCharts(document.querySelector("#circle_radialbar"),options)).render()),getChartColorsArray("gradient_radialbar")),chartStorkeRadialbarColors=(chartRadialbarGradientColors&&(options={series:[75],chart:{height:350,type:"radialBar",toolbar:{show:!1}},plotOptions:{radialBar:{startAngle:-135,endAngle:225,hollow:{margin:0,size:"70%",image:void 0,imageOffsetX:0,imageOffsetY:0,position:"front"},track:{strokeWidth:"67%",margin:0},dataLabels:{show:!0,name:{offsetY:-10,show:!0,color:"#888",fontSize:"17px"},value:{formatter:function(a){return parseInt(a)},color:"#111",fontSize:"36px",show:!0}}}},fill:{type:"gradient",gradient:{shade:"dark",type:"horizontal",shadeIntensity:.5,gradientToColors:chartRadialbarGradientColors,inverseColors:!0,opacityFrom:1,opacityTo:1,stops:[0,100]}},stroke:{lineCap:"round"},labels:["Percent"]},(chart=new ApexCharts(document.querySelector("#gradient_radialbar"),options)).render()),getChartColorsArray("stroked_radialbar"));chartStorkeRadialbarColors&&(options={series:[67],chart:{height:326,type:"radialBar",offsetY:-10},plotOptions:{radialBar:{startAngle:-135,endAngle:135,dataLabels:{name:{fontSize:"16px",color:void 0,offsetY:120},value:{offsetY:76,fontSize:"22px",color:void 0,formatter:function(a){return a+"%"}}}}},fill:{type:"gradient",gradient:{shade:"dark",shadeIntensity:.15,inverseColors:!1,opacityFrom:1,opacityTo:1,stops:[0,50,65,91]}},stroke:{dashArray:4},labels:["Median Ratio"],colors:chartStorkeRadialbarColors},(chart=new ApexCharts(document.querySelector("#stroked_radialbar"),options)).render());(chartStorkeRadialbarColors=getChartColorsArray("stroked_radialbar"))&&(options={series:[67],chart:{height:315,type:"radialBar"},plotOptions:{radialBar:{hollow:{margin:15,size:"65%",image:"./assets/images/comingsoon.png",imageWidth:56,imageHeight:56,imageClipped:!1},dataLabels:{name:{show:!1,color:"#fff"},value:{show:!0,color:"#333",offsetY:65,fontSize:"22px"}}}},fill:{type:"image",image:{src:["./assets/images/small/img-4.jpg"]}},stroke:{lineCap:"round"},labels:["Volatility"]},(chart=new ApexCharts(document.querySelector("#radialbar_with_img"),options)).render());var options,chart,chartSemiRadialbarColors=getChartColorsArray("semi_radialbar");chartSemiRadialbarColors&&(options={series:[76],chart:{type:"radialBar",height:350,offsetY:-20,sparkline:{enabled:!0}},plotOptions:{radialBar:{startAngle:-90,endAngle:90,track:{background:"#e7e7e7",strokeWidth:"97%",margin:5,dropShadow:{enabled:!0,top:2,left:0,color:"#999",opacity:1,blur:2}},dataLabels:{name:{show:!1},value:{offsetY:-2,fontSize:"22px"}}}},grid:{padding:{top:-10}},fill:{type:"gradient",gradient:{shade:"light",shadeIntensity:.4,inverseColors:!1,opacityFrom:1,opacityTo:1,stops:[0,50,53,91]}},labels:["Average Results"],colors:chartSemiRadialbarColors},(chart=new ApexCharts(document.querySelector("#semi_radialbar"),options)).render());

View File

@ -0,0 +1 @@
function getChartColorsArray(e){if(null!==document.getElementById(e))return e=document.getElementById(e).getAttribute("data-colors"),(e=JSON.parse(e)).map(function(e){var a=e.replace(" ","");return-1===a.indexOf(",")?getComputedStyle(document.documentElement).getPropertyValue(a)||a:2==(e=e.split(",")).length?"rgba("+getComputedStyle(document.documentElement).getPropertyValue(e[0])+","+e[1]+")":a})}var options,chart,rangeAreaBasicColors=getChartColorsArray("basic_range_area");rangeAreaBasicColors&&(options={series:[{name:"New York Temperature",data:[{x:"Jan",y:[-2,4]},{x:"Feb",y:[-1,6]},{x:"Mar",y:[3,10]},{x:"Apr",y:[8,16]},{x:"May",y:[13,22]},{x:"Jun",y:[18,26]},{x:"Jul",y:[21,29]},{x:"Aug",y:[21,28]},{x:"Sep",y:[17,24]},{x:"Oct",y:[11,18]},{x:"Nov",y:[6,12]},{x:"Dec",y:[1,7]}]}],chart:{height:350,type:"rangeArea"},stroke:{curve:"straight"},colors:rangeAreaBasicColors,title:{text:"New York Temperature (all year round)"},markers:{hover:{sizeOffset:5}},dataLabels:{enabled:!1},yaxis:{labels:{formatter:e=>e+"°C"}}},(chart=new ApexCharts(document.querySelector("#basic_range_area"),options)).render()),(rangeAreaBasicColors=getChartColorsArray("combo_range_area"))&&(options={series:[{type:"rangeArea",name:"Team B Range",data:[{x:"Jan",y:[1100,1900]},{x:"Feb",y:[1200,1800]},{x:"Mar",y:[900,2900]},{x:"Apr",y:[1400,2700]},{x:"May",y:[2600,3900]},{x:"Jun",y:[500,1700]},{x:"Jul",y:[1900,2300]},{x:"Aug",y:[1e3,1500]}]},{type:"rangeArea",name:"Team A Range",data:[{x:"Jan",y:[3100,3400]},{x:"Feb",y:[4200,5200]},{x:"Mar",y:[3900,4900]},{x:"Apr",y:[3400,3900]},{x:"May",y:[5100,5900]},{x:"Jun",y:[5400,6700]},{x:"Jul",y:[4300,4600]},{x:"Aug",y:[2100,2900]}]},{type:"line",name:"Team B Median",data:[{x:"Jan",y:1500},{x:"Feb",y:1700},{x:"Mar",y:1900},{x:"Apr",y:2200},{x:"May",y:3e3},{x:"Jun",y:1e3},{x:"Jul",y:2100},{x:"Aug",y:1200},{x:"Sep",y:1800},{x:"Oct",y:2e3}]},{type:"line",name:"Team A Median",data:[{x:"Jan",y:3300},{x:"Feb",y:4900},{x:"Mar",y:4300},{x:"Apr",y:3700},{x:"May",y:5500},{x:"Jun",y:5900},{x:"Jul",y:4500},{x:"Aug",y:2400},{x:"Sep",y:2100},{x:"Oct",y:1500}]}],chart:{height:350,type:"rangeArea",animations:{speed:500}},colors:["#d4526e","#33b2df","#d4526e","#33b2df"],dataLabels:{enabled:!1},fill:{opacity:[.24,.24,1,1]},forecastDataPoints:{count:2},stroke:{curve:"straight",width:[0,0,2,2]},legend:{show:!0,customLegendItems:["Team B","Team A"],inverseOrder:!0},title:{text:"Range Area with Forecast Line (Combo)"},markers:{hover:{sizeOffset:5}}},(chart=new ApexCharts(document.querySelector("#combo_range_area"),options)).render());

View File

@ -0,0 +1 @@
function getChartColorsArray(e){if(null!==document.getElementById(e))return e=document.getElementById(e).getAttribute("data-colors"),(e=JSON.parse(e)).map(function(e){var t=e.replace(" ","");return-1===t.indexOf(",")?getComputedStyle(document.documentElement).getPropertyValue(t)||t:2==(e=e.split(",")).length?"rgba("+getComputedStyle(document.documentElement).getPropertyValue(e[0])+","+e[1]+")":t})}var chartScatterBasicColors=getChartColorsArray("basic_scatter");function generateDayWiseTimeSeries(e,t,a){for(var r=0,s=[];r<t;){var o=Math.floor(Math.random()*(a.max-a.min+1))+a.min;s.push([e,o]),e+=864e5,r++}return s}chartScatterBasicColors&&(options={series:[{name:"SAMPLE A",data:[[16.4,5.4],[21.7,2],[25.4,3],[19,2],[10.9,1],[13.6,3.2],[10.9,7.4],[10.9,0],[10.9,8.2],[16.4,0],[16.4,1.8],[13.6,.3],[13.6,0],[29.9,0],[27.1,2.3],[16.4,0],[13.6,3.7],[10.9,5.2],[16.4,6.5],[10.9,0],[24.5,7.1],[10.9,0],[8.1,4.7],[19,0],[21.7,1.8],[27.1,0],[24.5,0],[27.1,0],[29.9,1.5],[27.1,.8],[22.1,2]]},{name:"SAMPLE B",data:[[36.4,13.4],[1.7,11],[5.4,8],[9,17],[1.9,4],[3.6,12.2],[1.9,14.4],[1.9,9],[1.9,13.2],[1.4,7],[6.4,8.8],[3.6,4.3],[1.6,10],[9.9,2],[7.1,15],[1.4,0],[3.6,13.7],[1.9,15.2],[6.4,16.5],[.9,10],[4.5,17.1],[10.9,10],[.1,14.7],[9,10],[12.7,11.8],[2.1,10],[2.5,10],[27.1,10],[2.9,11.5],[7.1,10.8],[2.1,12]]},{name:"SAMPLE C",data:[[21.7,3],[23.6,3.5],[24.6,3],[29.9,3],[21.7,20],[23,2],[10.9,3],[28,4],[27.1,.3],[16.4,4],[13.6,0],[19,5],[22.4,3],[24.5,3],[32.6,3],[27.1,4],[29.6,6],[31.6,8],[21.6,5],[20.9,4],[22.4,0],[32.6,10.3],[29.7,20.8],[24.5,.8],[21.4,0],[21.7,6.9],[28.6,7.7],[15.4,0],[18.1,0],[33.4,0],[16.4,0]]}],chart:{height:350,type:"scatter",zoom:{enabled:!0,type:"xy"},toolbar:{show:!1}},xaxis:{tickAmount:10,labels:{formatter:function(e){return parseFloat(e).toFixed(1)}}},yaxis:{tickAmount:7},colors:chartScatterBasicColors},(chart=new ApexCharts(document.querySelector("#basic_scatter"),options)).render());var options,chart,chartScatterDateTimeColors=getChartColorsArray("datetime_scatter"),chartScatterImagesColors=(chartScatterDateTimeColors&&(options={series:[{name:"TEAM 1",data:generateDayWiseTimeSeries(new Date("11 Feb 2017 GMT").getTime(),20,{min:10,max:60})},{name:"TEAM 2",data:generateDayWiseTimeSeries(new Date("11 Feb 2017 GMT").getTime(),20,{min:10,max:60})},{name:"TEAM 3",data:generateDayWiseTimeSeries(new Date("11 Feb 2017 GMT").getTime(),30,{min:10,max:60})},{name:"TEAM 4",data:generateDayWiseTimeSeries(new Date("11 Feb 2017 GMT").getTime(),10,{min:10,max:60})},{name:"TEAM 5",data:generateDayWiseTimeSeries(new Date("11 Feb 2017 GMT").getTime(),30,{min:10,max:60})}],chart:{height:350,type:"scatter",zoom:{type:"xy"},toolbar:{show:!1}},dataLabels:{enabled:!1},grid:{xaxis:{lines:{show:!0}},yaxis:{lines:{show:!0}}},xaxis:{type:"datetime"},yaxis:{max:70},colors:chartScatterDateTimeColors},(chart=new ApexCharts(document.querySelector("#datetime_scatter"),options)).render()),getChartColorsArray("images_scatter"));chartScatterImagesColors&&(options={series:[{name:"User A",data:[[16.4,5.4],[21.7,4],[25.4,3],[19,2],[10.9,1],[13.6,3.2],[10.9,7],[10.9,8.2],[16.4,4],[13.6,4.3],[13.6,12],[29.9,3],[10.9,5.2],[16.4,6.5],[10.9,8],[24.5,7.1],[10.9,7],[8.1,4.7]]},{name:"User B",data:[[6.4,5.4],[11.7,4],[15.4,3],[9,2],[10.9,11],[20.9,7],[12.9,8.2],[6.4,14],[11.6,12]]}],chart:{height:350,type:"scatter",animations:{enabled:!1},zoom:{enabled:!1},toolbar:{show:!1}},colors:chartScatterImagesColors,xaxis:{tickAmount:10,min:0,max:40},yaxis:{tickAmount:7},markers:{size:20},fill:{type:"image",opacity:1,image:{src:["./assets/images/users/avatar-1.jpg","./assets/images/users/avatar-2.jpg"],width:40,height:40}},legend:{labels:{useSeriesColors:!0},markers:{customHTML:[function(){return""},function(){return""}]}}},(chart=new ApexCharts(document.querySelector("#images_scatter"),options)).render());

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
function getChartColorsArray(e){if(null!==document.getElementById(e))return e=document.getElementById(e).getAttribute("data-colors"),(e=JSON.parse(e)).map(function(e){var t=e.replace(" ","");return-1===t.indexOf(",")?getComputedStyle(document.documentElement).getPropertyValue(t)||t:2==(e=e.split(",")).length?"rgba("+getComputedStyle(document.documentElement).getPropertyValue(e[0])+","+e[1]+")":t})}var options,chart,chartTreemapBasicColors=getChartColorsArray("basic_treemap"),chartTreemapMultiColors=(chartTreemapBasicColors&&(options={series:[{data:[{x:"New Delhi",y:218},{x:"Kolkata",y:149},{x:"Mumbai",y:184},{x:"Ahmedabad",y:55},{x:"Bangaluru",y:84},{x:"Pune",y:31},{x:"Chennai",y:70},{x:"Jaipur",y:30},{x:"Surat",y:44},{x:"Hyderabad",y:68},{x:"Lucknow",y:28},{x:"Indore",y:19},{x:"Kanpur",y:29}]}],legend:{show:!1},chart:{height:350,type:"treemap",toolbar:{show:!1}},colors:chartTreemapBasicColors,title:{text:"Basic Treemap",style:{fontWeight:500}}},(chart=new ApexCharts(document.querySelector("#basic_treemap"),options)).render()),getChartColorsArray("multi_treemap")),chartTreemapDistributedColors=(chartTreemapMultiColors&&(options={series:[{name:"Desktops",data:[{x:"ABC",y:10},{x:"DEF",y:60},{x:"XYZ",y:41}]},{name:"Mobile",data:[{x:"ABCD",y:10},{x:"DEFG",y:20},{x:"WXYZ",y:51},{x:"PQR",y:30},{x:"MNO",y:20},{x:"CDE",y:30}]}],legend:{show:!1},chart:{height:350,type:"treemap",toolbar:{show:!1}},title:{text:"Multi-dimensional Treemap",align:"center",style:{fontWeight:500}},colors:chartTreemapMultiColors},(chart=new ApexCharts(document.querySelector("#multi_treemap"),options)).render()),getChartColorsArray("distributed_treemap")),chartTreemapRangeColors=(chartTreemapDistributedColors&&(options={series:[{data:[{x:"New Delhi",y:218},{x:"Kolkata",y:149},{x:"Mumbai",y:184},{x:"Ahmedabad",y:55},{x:"Bangaluru",y:84},{x:"Pune",y:31},{x:"Chennai",y:70},{x:"Jaipur",y:30},{x:"Surat",y:44},{x:"Hyderabad",y:68},{x:"Lucknow",y:28},{x:"Indore",y:19},{x:"Kanpur",y:29}]}],legend:{show:!1},chart:{height:350,type:"treemap",toolbar:{show:!1}},title:{text:"Distibuted Treemap (different color for each cell)",align:"center",style:{fontWeight:500}},colors:chartTreemapDistributedColors,plotOptions:{treemap:{distributed:!0,enableShades:!1}}},(chart=new ApexCharts(document.querySelector("#distributed_treemap"),options)).render()),getChartColorsArray("color_range_treemap"));chartTreemapRangeColors&&(options={series:[{data:[{x:"INTC",y:1.2},{x:"GS",y:.4},{x:"CVX",y:-1.4},{x:"GE",y:2.7},{x:"CAT",y:-.3},{x:"RTX",y:5.1},{x:"CSCO",y:-2.3},{x:"JNJ",y:2.1},{x:"PG",y:.3},{x:"TRV",y:.12},{x:"MMM",y:-2.31},{x:"NKE",y:3.98},{x:"IYT",y:1.67}]}],legend:{show:!1},chart:{height:350,type:"treemap",toolbar:{show:!1}},title:{text:"Treemap with Color scale",style:{fontWeight:500}},dataLabels:{enabled:!0,style:{fontSize:"12px"},formatter:function(e,t){return[e,t.value]},offsetY:-4},plotOptions:{treemap:{enableShades:!0,shadeIntensity:.5,reverseNegativeShade:!0,colorScale:{ranges:[{from:-6,to:0,color:chartTreemapRangeColors[0]},{from:.001,to:6,color:chartTreemapRangeColors[1]}]}}}},(chart=new ApexCharts(document.querySelector("#color_range_treemap"),options)).render());

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
try{var setEndDate1="March 19, 2024 6:0:0",setEndDate2="April 16, 2024 5:3:1",setEndDate3="Dec 01, 2024 1:0:1",setEndDate4="Nov 26, 2024 1:2:1",setEndDate5="May 27, 2024 1:6:6",setEndDate6="May 20, 2024 2:5:5",setEndDate7="June 10, 2024 5:1:4",setEndDate8="June 25, 2024 1:6:3",setEndDate9="July 08, 2024 1:5:2";function startCountDownDate(t){return new Date(t).getTime()}function countDownTimer(t,e){var t=t-(new Date).getTime(),n=(n=Math.floor(t/864e5))<10?"0"+n:n,o=(o=Math.floor(t%864e5/36e5))<10?"0"+o:o,a=(a=Math.floor(t%36e5/6e4))<10?"0"+a:a,c=(c=Math.floor(t%6e4/1e3))<10?"0"+c:c;document.querySelector("#"+e).textContent=n+" : "+o+" : "+a+" : "+c,t<0&&(document.querySelector("#"+e).textContent="00 : 00 : 00 : 00")}var cdd1=startCountDownDate(setEndDate1),cdd2=startCountDownDate(setEndDate2),cdd3=startCountDownDate(setEndDate3),cdd4=startCountDownDate(setEndDate4),cdd5=startCountDownDate(setEndDate5),cdd6=startCountDownDate(setEndDate6),cdd7=startCountDownDate(setEndDate7),cdd8=startCountDownDate(setEndDate8),cdd9=startCountDownDate(setEndDate9);document.getElementById("auction-time-1")&&setInterval(function(){countDownTimer(cdd1,"auction-time-1")},1e3),document.getElementById("auction-time-2")&&setInterval(function(){countDownTimer(cdd2,"auction-time-2")},1e3),document.getElementById("auction-time-3")&&setInterval(function(){countDownTimer(cdd3,"auction-time-3")},1e3),document.getElementById("auction-time-4")&&setInterval(function(){countDownTimer(cdd4,"auction-time-4")},1e3),document.getElementById("auction-time-5")&&setInterval(function(){countDownTimer(cdd5,"auction-time-5")},1e3),document.getElementById("auction-time-6")&&setInterval(function(){countDownTimer(cdd6,"auction-time-6")},1e3),document.getElementById("auction-time-7")&&setInterval(function(){countDownTimer(cdd7,"auction-time-7")},1e3),document.getElementById("auction-time-8")&&setInterval(function(){countDownTimer(cdd8,"auction-time-8")},1e3),document.getElementById("auction-time-9")&&setInterval(function(){countDownTimer(cdd9,"auction-time-9")},1e3)}catch(t){}var filterBtns=document.querySelectorAll(".filter-btns .nav-link"),productItems=document.querySelectorAll(".product-item");Array.from(filterBtns).forEach(function(t){t.addEventListener("click",function(t){t.preventDefault();for(var e=0;e<filterBtns.length;e++)filterBtns[e].classList.remove("active");this.classList.add("active");var n=t.target.dataset.filter;Array.from(productItems).forEach(function(t){"all"===n||t.classList.contains(n)?t.style.display="block":t.style.display="none"})})});

View File

@ -0,0 +1 @@
FilePond.registerPlugin(FilePondPluginFileEncode,FilePondPluginFileValidateSize,FilePondPluginImageExifOrientation,FilePondPluginImagePreview);var inputMultipleElements=document.querySelectorAll("input.filepond-input-multiple");inputMultipleElements&&(Array.from(inputMultipleElements).forEach(function(e){FilePond.create(e)}),FilePond.create(document.querySelector(".filepond-input-circle"),{labelIdle:'Drag & Drop your picture or <span class="filepond--label-action">Browse</span>',imagePreviewHeight:170,imageCropAspectRatio:"1:1",imageResizeTargetWidth:200,imageResizeTargetHeight:200,stylePanelLayout:"compact circle",styleLoadIndicatorPosition:"center bottom",styleProgressIndicatorPosition:"right bottom",styleButtonRemoveItemPosition:"left bottom",styleButtonProcessItemPosition:"right bottom"}));

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
try{var setEndDate1="March 19, 2024 6:0:0",setEndDate2="April 16, 2023 5:3:1",setEndDate3="Dec 01, 2023 1:0:1",setEndDate4="Nov 26, 2024 1:2:1",setEndDate5="May 27, 2023 1:6:6",setEndDate6="May 20, 2023 2:5:5",setEndDate7="June 10, 2023 5:1:4",setEndDate8="June 25, 2023 1:6:3",setEndDate9="July 08, 2023 1:5:2";function startCountDownDate(t){return new Date(t).getTime()}function countDownTimer(t,e){var t=t-(new Date).getTime(),n=(n=Math.floor(t/864e5))<10?"0"+n:n,o=(o=Math.floor(t%864e5/36e5))<10?"0"+o:o,a=(a=Math.floor(t%36e5/6e4))<10?"0"+a:a,c=(c=Math.floor(t%6e4/1e3))<10?"0"+c:c;document.querySelector("#"+e).textContent=n+" : "+o+" : "+a+" : "+c,t<0&&(document.querySelector("#"+e).textContent="00 : 00 : 00 : 00")}var cdd1=startCountDownDate(setEndDate1),cdd2=startCountDownDate(setEndDate2),cdd3=startCountDownDate(setEndDate3),cdd4=startCountDownDate(setEndDate4),cdd5=startCountDownDate(setEndDate5),cdd6=startCountDownDate(setEndDate6),cdd7=startCountDownDate(setEndDate7),cdd8=startCountDownDate(setEndDate8),cdd9=startCountDownDate(setEndDate9);document.getElementById("auction-time-1")&&setInterval(function(){countDownTimer(cdd1,"auction-time-1")},1e3),document.getElementById("auction-time-2")&&setInterval(function(){countDownTimer(cdd2,"auction-time-2")},1e3),document.getElementById("auction-time-3")&&setInterval(function(){countDownTimer(cdd3,"auction-time-3")},1e3),document.getElementById("auction-time-4")&&setInterval(function(){countDownTimer(cdd4,"auction-time-4")},1e3),document.getElementById("auction-time-5")&&setInterval(function(){countDownTimer(cdd5,"auction-time-5")},1e3),document.getElementById("auction-time-6")&&setInterval(function(){countDownTimer(cdd6,"auction-time-6")},1e3),document.getElementById("auction-time-7")&&setInterval(function(){countDownTimer(cdd7,"auction-time-7")},1e3),document.getElementById("auction-time-8")&&setInterval(function(){countDownTimer(cdd8,"auction-time-8")},1e3),document.getElementById("auction-time-9")&&setInterval(function(){countDownTimer(cdd9,"auction-time-9")},1e3)}catch(t){}var filterBtns=document.querySelectorAll(".filter-btns .nav-link"),productItems=document.querySelectorAll(".product-item");Array.from(filterBtns).forEach(function(t){t.addEventListener("click",function(t){t.preventDefault();for(var e=0;e<filterBtns.length;e++)filterBtns[e].classList.remove("active");this.classList.add("active");var n=t.target.dataset.filter;Array.from(productItems).forEach(function(t){"all"===n||t.classList.contains(n)?t.style.display="block":t.style.display="none"})})});

View File

@ -0,0 +1 @@
var perPage=10,options={valueNames:["ranking","collection","volume_price","24h","7d","item","floor-price"],page:perPage,pagination:!0,plugins:[ListPagination({left:2,right:2})]},contactList=new List("contactList",options).on("updated",function(e){0==e.matchingItems.length?document.getElementsByClassName("noresult")[0].style.display="block":document.getElementsByClassName("noresult")[0].style.display="none";var t=1==e.i,n=e.i>e.matchingItems.length-e.page;document.querySelector(".pagination-prev.disabled")&&document.querySelector(".pagination-prev.disabled").classList.remove("disabled"),document.querySelector(".pagination-next.disabled")&&document.querySelector(".pagination-next.disabled").classList.remove("disabled"),t&&document.querySelector(".pagination-prev").classList.add("disabled"),n&&document.querySelector(".pagination-next").classList.add("disabled"),e.matchingItems.length<=perPage?document.querySelector(".pagination-wrap").style.display="none":document.querySelector(".pagination-wrap").style.display="flex",0<e.matchingItems.length?document.getElementsByClassName("noresult")[0].style.display="none":document.getElementsByClassName("noresult")[0].style.display="block"});isCount=(new DOMParser).parseFromString(contactList.items.slice(-1)[0]._values.id,"text/html"),document.querySelector(".pagination-next")&&document.querySelector(".pagination-next").addEventListener("click",function(){document.querySelector(".pagination.listjs-pagination")&&document.querySelector(".pagination.listjs-pagination").querySelector(".active")&&document.querySelector(".pagination.listjs-pagination").querySelector(".active").nextElementSibling.children[0].click()}),document.querySelector(".pagination-prev")&&document.querySelector(".pagination-prev").addEventListener("click",function(){document.querySelector(".pagination.listjs-pagination")&&document.querySelector(".pagination.listjs-pagination").querySelector(".active")&&document.querySelector(".pagination.listjs-pagination").querySelector(".active").previousSibling.children[0].click()});

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
var Portlet=function(){(el=document.querySelector('.card a[data-toggle="reload"]'))&&el.addEventListener("click",function(e){e.preventDefault();var e=el.closest(".card"),t=(insertEl='<div class="card-preloader"><div class="card-status"><div class="spinner-border text-success"><span class="visually-hidden">Loading...</span></div></div></div>',e.children[1].insertAdjacentHTML("beforeend",insertEl),e.getElementsByClassName("card-preloader")[0]);setTimeout(function(){t.remove()},500+5*Math.random()*300)})},growingLoader=(Portlet(),function(){(element=document.querySelector('.card a[data-toggle="growing-reload"]'))&&element.addEventListener("click",function(e){e.preventDefault();var e=element.closest(".card"),t=(insertEl='<div class="card-preloader"><div class="card-status"><div class="spinner-grow text-danger"><span class="visually-hidden">Loading...</span></div></div></div>',e.children[1].insertAdjacentHTML("beforeend",insertEl),e.getElementsByClassName("card-preloader")[0]);setTimeout(function(){t.remove()},500+5*Math.random()*300)})}),customLoader=(growingLoader(),function(){(customLoader1=document.querySelector('.card a[data-toggle="customer-loader"]'))&&customLoader1.addEventListener("click",function(e){e.preventDefault();var e=customLoader1.closest(".card"),t=(insertEl='<div class="card-preloader"><div class="card-status"><img src="assets/images/logo-sm.png" alt="" class="img-fluid custom-loader"></div></div>',e.children[1].insertAdjacentHTML("beforeend",insertEl),e.getElementsByClassName("card-preloader")[0]);setTimeout(function(){t.remove()},500+5*Math.random()*300)})});function delthis(e){document.getElementById(e).remove()}customLoader();

View File

@ -0,0 +1 @@
function getChartColorsArray(r){if(null!==document.getElementById(r))return r=document.getElementById(r).getAttribute("data-colors"),(r=JSON.parse(r)).map(function(r){var o=r.replace(" ","");return-1===o.indexOf(",")?getComputedStyle(document.documentElement).getPropertyValue(o)||o:2==(r=r.split(",")).length?"rgba("+getComputedStyle(document.documentElement).getPropertyValue(r[0])+","+r[1]+")":o})}Chart.defaults.borderColor="rgba(133, 141, 152, 0.1)",Chart.defaults.color="#858d98";var barChart,pieChart,lineChart,islinechart=document.getElementById("lineChart"),isbarchart=((lineChartColor=getChartColorsArray("lineChart"))&&(islinechart.setAttribute("width",islinechart.parentElement.offsetWidth),lineChart=new Chart(islinechart,{type:"line",data:{labels:["January","February","March","April","May","June","July","August","September","October"],datasets:[{label:"Sales Analytics",fill:!0,lineTension:.5,backgroundColor:lineChartColor[0],borderColor:lineChartColor[1],borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",pointBorderColor:lineChartColor[1],pointBackgroundColor:"#fff",pointBorderWidth:1,pointHoverRadius:5,pointHoverBackgroundColor:lineChartColor[1],pointHoverBorderColor:"#fff",pointHoverBorderWidth:2,pointRadius:1,pointHitRadius:10,data:[65,59,80,81,56,55,40,55,30,80]},{label:"Monthly Earnings",fill:!0,lineTension:.5,backgroundColor:lineChartColor[2],borderColor:lineChartColor[3],borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",pointBorderColor:lineChartColor[3],pointBackgroundColor:"#fff",pointBorderWidth:1,pointHoverRadius:5,pointHoverBackgroundColor:lineChartColor[3],pointHoverBorderColor:"#eef0f2",pointHoverBorderWidth:2,pointRadius:1,pointHitRadius:10,data:[80,23,56,65,23,35,85,25,92,36]}]},options:{x:{ticks:{font:{family:"Poppins"}}},y:{ticks:{font:{family:"Poppins"}}},plugins:{legend:{labels:{font:{family:"Poppins"}}}}}})),document.getElementById("bar")),ispiechart=((barChartColor=getChartColorsArray("bar"))&&(isbarchart.setAttribute("width",isbarchart.parentElement.offsetWidth),barChart=new Chart(isbarchart,{type:"bar",data:{labels:["January","February","March","April","May","June","July"],datasets:[{label:"Sales Analytics",backgroundColor:barChartColor[0],borderColor:barChartColor[0],borderWidth:1,hoverBackgroundColor:barChartColor[1],hoverBorderColor:barChartColor[1],data:[65,59,81,45,56,80,50,20]}]},options:{x:{ticks:{font:{family:"Poppins"}}},y:{ticks:{font:{family:"Poppins"}}},plugins:{legend:{labels:{font:{family:"Poppins"}}}}}})),document.getElementById("pieChart")),isdoughnutchart=((pieChartColors=getChartColorsArray("pieChart"))&&(pieChart=new Chart(ispiechart,{type:"pie",data:{labels:["Desktops","Tablets"],datasets:[{data:[300,180],backgroundColor:pieChartColors,hoverBackgroundColor:pieChartColors,hoverBorderColor:"#fff"}]},options:{plugins:{legend:{labels:{font:{family:"Poppins"}}}}}})),document.getElementById("doughnut")),ispolarAreachart=((doughnutChartColors=getChartColorsArray("doughnut"))&&(lineChart=new Chart(isdoughnutchart,{type:"doughnut",data:{labels:["Desktops","Tablets"],datasets:[{data:[300,210],backgroundColor:doughnutChartColors,hoverBackgroundColor:doughnutChartColors,hoverBorderColor:"#fff"}]},options:{plugins:{legend:{labels:{font:{family:"Poppins"}}}}}})),document.getElementById("polarArea")),isradarchart=((polarAreaChartColors=getChartColorsArray("polarArea"))&&(lineChart=new Chart(ispolarAreachart,{type:"polarArea",data:{labels:["Series 1","Series 2","Series 3","Series 4"],datasets:[{data:[11,16,7,18],backgroundColor:polarAreaChartColors,label:"My dataset",hoverBorderColor:"#fff"}]},options:{plugins:{legend:{labels:{font:{family:"Poppins"}}}}}})),document.getElementById("radar"));(radarChartColors=getChartColorsArray("radar"))&&(lineChart=new Chart(isradarchart,{type:"radar",data:{labels:["Eating","Drinking","Sleeping","Designing","Coding","Cycling","Running"],datasets:[{label:"Desktops",backgroundColor:radarChartColors[0],borderColor:radarChartColors[1],pointBackgroundColor:radarChartColors[1],pointBorderColor:"#fff",pointHoverBackgroundColor:"#fff",pointHoverBorderColor:radarChartColors[1],data:[65,59,90,81,56,55,40]},{label:"Tablets",backgroundColor:radarChartColors[2],borderColor:radarChartColors[3],pointBackgroundColor:radarChartColors[3],pointBorderColor:"#fff",pointHoverBackgroundColor:"#fff",pointHoverBorderColor:radarChartColors[3],data:[28,48,40,19,96,27,100]}]},options:{plugins:{legend:{labels:{font:{family:"Poppins"}}}}}}));

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
document.addEventListener("DOMContentLoaded",function(){var e=new Date("Jan 1, 2025").getTime(),d=setInterval(function(){var t=(new Date).getTime(),t=e-t,n='<div class="countdownlist-item"><div class="count-title">Days</div><div class="count-num">'+Math.floor(t/864e5)+'</div></div><div class="countdownlist-item"><div class="count-title">Hours</div><div class="count-num">'+Math.floor(t%864e5/36e5)+'</div></div><div class="countdownlist-item"><div class="count-title">Minutes</div><div class="count-num">'+Math.floor(t%36e5/6e4)+'</div></div><div class="countdownlist-item"><div class="count-title">Seconds</div><div class="count-num">'+Math.floor(t%6e4/1e3)+"</div></div>";document.getElementById("countdown")&&(document.getElementById("countdown").innerHTML=n),t<0&&(clearInterval(d),document.getElementById("countdown").innerHTML='<div class="countdown-endtxt">The countdown has ended!</div>')},1e3)});

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,59 @@
var contactNo=new Cleave("#contactNumber",{delimiters:["(",")","-"],blocks:[0,3,3,4]}),str_dt=function(e){var e=new Date(e),t=""+["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"][e.getMonth()],a=""+e.getDate(),e=e.getFullYear();return t.length<2&&(t="0"+t),[(a=a.length<2?"0"+a:a)+" "+t,e].join(", ")};(form=document.getElementById("deals-form")).addEventListener("submit",function(e){if(e.preventDefault(),form.checkValidity()){var t=document.getElementById("dealTitle").value,a=document.getElementById("dealValue").value,s=document.getElementById("deatType").value,l=document.getElementById("dealOwner").value,d=document.getElementById("dueDate").value,i=document.getElementById("contactNumber").value,n=document.getElementById("dealEmail").value,c=document.getElementById("contactDescription").value,o=l.split(" "),o=`<div class="card">
<div class="card-body">
<a class="d-flex align-items-center" data-bs-toggle="collapse" href="#`+t+`" role="button" aria-expanded="false" aria-controls="leadDiscovered1">
<div class="flex-shrink-0">
`+('<div class="flex-shrink-0 avatar-xs me-2"><div class="avatar-title bg-success-subtle text-success rounded-circle fs-13">'+(2<=o.length?o[0].slice(0,1)+o[1].slice(0,1):o[0].slice(0,1))+"</div></div>")+`
</div>
<div class="flex-grow-1 ms-3">
<h6 class="fs-14 mb-1">`+t+`</h6>
<p class="text-muted mb-0">$`+a+" - "+str_dt(d)+`</p>
</div>
</a>
</div>
<div class="collapse border-top border-top-dashed" id="`+t+`">
<div class="card-body">
<h6 class="fs-14 mb-1">`+l+` <small class="badge bg-danger-subtle text-danger">4 Days</small></h6>
<p class="text-muted">`+c+`</p>
<ul class="list-unstyled vstack gap-2 mb-0">
<li>
<div class="d-flex">
<div class="flex-shrink-0 avatar-xxs text-muted">
<i class="ri-question-answer-line"></i>
</div>
<div class="flex-grow-1">
<h6 class="mb-0">Meeting with Thomas</h6>
<small class="text-muted">Yesterday at 9:12AM</small>
</div>
</div>
</li>
<li>
<div class="d-flex">
<div class="flex-shrink-0 avatar-xxs text-muted">
<i class="ri-mac-line"></i>
</div>
<div class="flex-grow-1">
<h6 class="mb-0">Product Demo</h6>
<small class="text-muted">Monday at 04:41PM</small>
</div>
</div>
</li>
<li>
<div class="d-flex">
<div class="flex-shrink-0 avatar-xxs text-muted">
<i class="ri-earth-line"></i>
</div>
<div class="flex-grow-1">
<h6 class="mb-0">Marketing Team Meeting</h6>
<small class="text-muted">Monday at 04:41PM</small>
</div>
</div>
</li>
</ul>
</div>
<div class="card-footer hstack gap-2">
<button class="btn btn-warning btn-sm w-100" data-bs-toggle="tooltip" data-bs-placement="top" title="`+i+`"><i class="ri-phone-line align-bottom me-1"></i> Call</button>
<button class="btn btn-info btn-sm w-100" data-bs-toggle="tooltip" data-bs-placement="top" title="`+n+`"><i class="ri-question-answer-line align-bottom me-1"></i>
Message</button>
</div>
</div>
</div>`;let e;switch(s){case"Lead Disovered":e="leadDiscovered";break;case"Contact Initiated":e="contactInitiated";break;case"Need Identified":e="needsIdentified";break;case"Meeting Arranged":e="meetingArranged";break;case"Offer Accepted":e="offerAccepted"}document.getElementById("close-modal").click(),document.getElementById(e).innerHTML+=o,form.reset(),Swal.fire({title:"Success!",text:"Deal Inserted successfully in "+s+" Tab.",icon:"success",showCancelButton:!0,confirmButtonClass:"btn btn-primary w-xs me-2 mt-2",cancelButtonClass:"btn btn-danger w-xs mt-2",buttonsStyling:!1,showCloseButton:!0})}else e.preventDefault(),form.classList.add("was-validated")});

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
document.querySelectorAll(".checkout-tab")&&Array.from(document.querySelectorAll(".checkout-tab")).forEach(function(t){t.querySelectorAll(".nexttab")&&t.querySelectorAll(".nexttab").forEach(function(o){var e=t.querySelectorAll('button[data-bs-toggle="pill"]');Array.from(e).forEach(function(e){e.addEventListener("show.bs.tab",function(e){e.target.classList.add("done")})}),o.addEventListener("click",function(){var e=o.getAttribute("data-nexttab");document.getElementById(e).click()})}),t.querySelectorAll(".previestab")&&Array.from(t.querySelectorAll(".previestab")).forEach(function(r){r.addEventListener("click",function(){for(var e=r.getAttribute("data-previous"),o=r.closest("form"),t=o-1;t<o;t++)r.closest("form").querySelectorAll(".custom-nav .done")[t]&&r.closest("form").querySelectorAll(".custom-nav .done")[t].classList.remove("done");document.getElementById(e).click()})});var r=t.querySelectorAll('button[data-bs-toggle="pill"]');r&&Array.from(r).forEach(function(e,o){e.setAttribute("data-position",o),e.addEventListener("click",function(){0<t.querySelectorAll(".custom-nav .done").length&&Array.from(t.querySelectorAll(".custom-nav .done")).forEach(function(e){e.classList.remove("done")});for(var e=0;e<=o;e++)r[e].classList.contains("active")?r[e].classList.remove("done"):r[e].classList.add("done")})})});var previewTemplate,dropzone,dropzonePreviewNode=document.querySelector("#dropzone-preview-list");dropzonePreviewNode&&(dropzonePreviewNode.id="",previewTemplate=dropzonePreviewNode.parentNode.innerHTML,dropzonePreviewNode.parentNode.removeChild(dropzonePreviewNode)),document.querySelector(".dropzone")&&(dropzone=new Dropzone(".dropzone",{url:"https://httpbin.org/post",method:"post",previewTemplate:previewTemplate,previewsContainer:"#dropzone-preview"}));

View File

@ -0,0 +1 @@
var contactList,perPage=10,options={valueNames:["order_date","currency_name","type","quantity_value","order_value","avg_price","price","status",{name:"time",attr:"data-timestamp"},{name:"or_val",attr:"data-orderval"},{name:"sort-avg_price",attr:"data-av-price"},{name:"sort-price",attr:"data-price"}],page:perPage,pagination:!0,plugins:[ListPagination({left:2,right:2})]},ContactList=document.getElementById("contactList");function filterData(){var o=document.getElementById("idStatus").value,l=document.getElementById("idType").value,r=document.getElementById("range-datepicker").value,s=r.split(" to ")[0],c=r.split(" to ")[1];contactList.filter(function(e){var t=(matchData=(new DOMParser).parseFromString(e.values().status,"text/html")).body.firstElementChild.innerHTML,a=!1,n=!1,i=!1,a="all"==t||"all"==o||t==o,i="all"==e.values().type||"all"==l||e.values().type==l,n=new Date(e.values().order_date.slice(0,12))>=new Date(s)&&new Date(e.values().order_date.slice(0,12))<=new Date(c);return a&&i&&n||(a&&i&&""==r?a&&i:i&&n&&""==r?i&&n:void 0)}),contactList.update()}ContactList&&(contactList=new List("contactList",options).on("updated",function(e){0==e.matchingItems.length?document.getElementsByClassName("noresult")[0].style.display="block":document.getElementsByClassName("noresult")[0].style.display="none";var t=1==e.i,a=e.i>e.matchingItems.length-e.page;document.querySelector(".pagination-prev.disabled")&&document.querySelector(".pagination-prev.disabled").classList.remove("disabled"),document.querySelector(".pagination-next.disabled")&&document.querySelector(".pagination-next.disabled").classList.remove("disabled"),t&&document.querySelector(".pagination-prev").classList.add("disabled"),a&&document.querySelector(".pagination-next").classList.add("disabled"),e.matchingItems.length<=perPage?document.querySelector(".pagination-wrap").style.display="none":document.querySelector(".pagination-wrap").style.display="flex",0<e.matchingItems.length?document.getElementsByClassName("noresult")[0].style.display="none":document.getElementsByClassName("noresult")[0].style.display="block"}),isCount=(new DOMParser).parseFromString(contactList.items.slice(-1)[0]._values.id,"text/html"));var paginationNext=document.querySelector(".pagination-next"),paginationPrev=(paginationNext&&document.querySelector(".pagination-next").addEventListener("click",function(){document.querySelector(".pagination.listjs-pagination")&&document.querySelector(".pagination.listjs-pagination").querySelector(".active")&&document.querySelector(".pagination.listjs-pagination").querySelector(".active").nextElementSibling.children[0].click()}),document.querySelector(".pagination-prev"));paginationPrev&&document.querySelector(".pagination-prev").addEventListener("click",function(){document.querySelector(".pagination.listjs-pagination")&&document.querySelector(".pagination.listjs-pagination").querySelector(".active")&&document.querySelector(".pagination.listjs-pagination").querySelector(".active").previousSibling.children[0].click()});

View File

@ -0,0 +1 @@
var perPage=8,options={valueNames:["id","name","currency_name","form_name","date","details","transaction_id","type","amount","status"],page:perPage,pagination:!0,plugins:[ListPagination({left:2,right:2})]},contactList=new List("contactList",options).on("updated",function(e){0==e.matchingItems.length?document.getElementsByClassName("noresult")[0].style.display="block":document.getElementsByClassName("noresult")[0].style.display="none";var t=1==e.i,n=e.i>e.matchingItems.length-e.page;document.querySelector(".pagination-prev.disabled")&&document.querySelector(".pagination-prev.disabled").classList.remove("disabled"),document.querySelector(".pagination-next.disabled")&&document.querySelector(".pagination-next.disabled").classList.remove("disabled"),t&&document.querySelector(".pagination-prev").classList.add("disabled"),n&&document.querySelector(".pagination-next").classList.add("disabled"),e.matchingItems.length<=perPage?document.querySelector(".pagination-wrap").style.display="none":document.querySelector(".pagination-wrap").style.display="flex",0<e.matchingItems.length?document.getElementsByClassName("noresult")[0].style.display="none":document.getElementsByClassName("noresult")[0].style.display="block"}),swiper=(isCount=(new DOMParser).parseFromString(contactList.items.slice(-1)[0]._values.id,"text/html"),document.querySelector(".pagination-next")&&document.querySelector(".pagination-next").addEventListener("click",function(){document.querySelector(".pagination.listjs-pagination")&&document.querySelector(".pagination.listjs-pagination").querySelector(".active")&&document.querySelector(".pagination.listjs-pagination").querySelector(".active").nextElementSibling.children[0].click()}),document.querySelector(".pagination-prev")&&document.querySelector(".pagination-prev").addEventListener("click",function(){document.querySelector(".pagination.listjs-pagination")&&document.querySelector(".pagination.listjs-pagination").querySelector(".active")&&document.querySelector(".pagination.listjs-pagination").querySelector(".active").previousSibling.children[0].click()}),new Swiper(".default-swiper",{loop:!0,autoplay:{delay:2500,disableOnInteraction:!1}}));

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
function getChartColorsArray(e){if(null!==document.getElementById(e)){var t=document.getElementById(e).getAttribute("data-colors");if(t)return(t=JSON.parse(t)).map(function(e){var t=e.replace(" ","");return-1===t.indexOf(",")?getComputedStyle(document.documentElement).getPropertyValue(t)||t:2==(e=e.split(",")).length?"rgba("+getComputedStyle(document.documentElement).getPropertyValue(e[0])+","+e[1]+")":t});console.warn("data-colors Attribute not found on:",e)}}var options,chart,areachartSalesColors=getChartColorsArray("sales-forecast-chart"),dealTypeChartsColors=(areachartSalesColors&&(options={series:[{name:"Goal",data:[37]},{name:"Pending Forcast",data:[12]},{name:"Revenue",data:[18]}],chart:{type:"bar",height:341,toolbar:{show:!1}},plotOptions:{bar:{horizontal:!1,columnWidth:"65%"}},stroke:{show:!0,width:5,colors:["transparent"]},xaxis:{categories:[""],axisTicks:{show:!1,borderType:"solid",color:"#78909C",height:6,offsetX:0,offsetY:0},title:{text:"Total Forecasted Value",offsetX:0,offsetY:-30,style:{color:"#78909C",fontSize:"12px",fontWeight:400}}},yaxis:{labels:{formatter:function(e){return"$"+e+"k"}},tickAmount:4,min:0},fill:{opacity:1},legend:{show:!0,position:"bottom",horizontalAlign:"center",fontWeight:500,offsetX:0,offsetY:-14,itemMargin:{horizontal:8,vertical:0},markers:{width:10,height:10}},colors:areachartSalesColors},(chart=new ApexCharts(document.querySelector("#sales-forecast-chart"),options)).render()),getChartColorsArray("deal-type-charts")),revenueExpensesChartsColors=(dealTypeChartsColors&&(options={series:[{name:"Pending",data:[80,50,30,40,100,20]},{name:"Loss",data:[20,30,40,80,20,80]},{name:"Won",data:[44,76,78,13,43,10]}],chart:{height:341,type:"radar",dropShadow:{enabled:!0,blur:1,left:1,top:1},toolbar:{show:!1}},stroke:{width:2},fill:{opacity:.2},legend:{show:!0,fontWeight:500,offsetX:0,offsetY:-8,markers:{width:8,height:8,radius:6},itemMargin:{horizontal:10,vertical:0}},markers:{size:0},colors:dealTypeChartsColors,xaxis:{categories:["2016","2017","2018","2019","2020","2021"]}},(chart=new ApexCharts(document.querySelector("#deal-type-charts"),options)).render()),getChartColorsArray("revenue-expenses-charts"));revenueExpensesChartsColors&&(options={series:[{name:"Revenue",data:[20,25,30,35,40,55,70,110,150,180,210,250]},{name:"Expenses",data:[12,17,45,42,24,35,42,75,102,108,156,199]}],chart:{height:290,type:"area",toolbar:"false"},dataLabels:{enabled:!1},stroke:{curve:"smooth",width:2},xaxis:{categories:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]},yaxis:{labels:{formatter:function(e){return"$"+e+"k"}},tickAmount:5,min:0,max:260},colors:revenueExpensesChartsColors,fill:{opacity:.06,colors:revenueExpensesChartsColors,type:"solid"}},(chart=new ApexCharts(document.querySelector("#revenue-expenses-charts"),options)).render());

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
function getChartColorsArray(e){if(null!==document.getElementById(e)){var t=document.getElementById(e).getAttribute("data-colors");if(t)return(t=JSON.parse(t)).map(function(e){var t=e.replace(" ","");return-1===t.indexOf(",")?getComputedStyle(document.documentElement).getPropertyValue(t)||t:2==(e=e.split(",")).length?"rgba("+getComputedStyle(document.documentElement).getPropertyValue(e[0])+","+e[1]+")":t});console.warn("data-colors atributes not found on",e)}}var options,chart,linechartcustomerColors=getChartColorsArray("customer_impression_charts"),chartDonutBasicColors=(linechartcustomerColors&&(options={series:[{name:"Orders",type:"area",data:[34,65,46,68,49,61,42,44,78,52,63,67]},{name:"Earnings",type:"bar",data:[89.25,98.58,68.74,108.87,77.54,84.03,51.24,28.57,92.57,42.36,88.51,36.57]},{name:"Refunds",type:"line",data:[8,12,7,17,21,11,5,9,7,29,12,35]}],chart:{height:370,type:"line",toolbar:{show:!1}},stroke:{curve:"straight",dashArray:[0,0,8],width:[2,0,2.2]},fill:{opacity:[.1,.9,1]},markers:{size:[0,0,0],strokeWidth:2,hover:{size:4}},xaxis:{categories:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],axisTicks:{show:!1},axisBorder:{show:!1}},grid:{show:!0,xaxis:{lines:{show:!0}},yaxis:{lines:{show:!1}},padding:{top:0,right:-2,bottom:15,left:10}},legend:{show:!0,horizontalAlign:"center",offsetX:0,offsetY:-5,markers:{width:9,height:9,radius:6},itemMargin:{horizontal:10,vertical:0}},plotOptions:{bar:{columnWidth:"30%",barHeight:"70%"}},colors:linechartcustomerColors,tooltip:{shared:!0,y:[{formatter:function(e){return void 0!==e?e.toFixed(0):e}},{formatter:function(e){return void 0!==e?"$"+e.toFixed(2)+"k":e}},{formatter:function(e){return void 0!==e?e.toFixed(0)+" Sales":e}}]}},(chart=new ApexCharts(document.querySelector("#customer_impression_charts"),options)).render()),getChartColorsArray("store-visits-source")),worldemapmarkers=(chartDonutBasicColors&&(options={series:[44,55,41,17,15],labels:["Direct","Social","Email","Other","Referrals"],chart:{height:333,type:"donut"},legend:{position:"bottom"},stroke:{show:!1},dataLabels:{dropShadow:{enabled:!1}},colors:chartDonutBasicColors},(chart=new ApexCharts(document.querySelector("#store-visits-source"),options)).render()),"");function loadCharts(){var e=getChartColorsArray("sales-by-locations");e&&(document.getElementById("sales-by-locations").innerHTML="",worldemapmarkers="",worldemapmarkers=new jsVectorMap({map:"world_merc",selector:"#sales-by-locations",zoomOnScroll:!1,zoomButtons:!1,selectedMarkers:[0,5],regionStyle:{initial:{stroke:"#9599ad",strokeWidth:.25,fill:e[0],fillOpacity:1}},markersSelectable:!0,markers:[{name:"Palestine",coords:[31.9474,35.2272]},{name:"Russia",coords:[61.524,105.3188]},{name:"Canada",coords:[56.1304,-106.3468]},{name:"Greenland",coords:[71.7069,-42.6043]}],markerStyle:{initial:{fill:e[1]},selected:{fill:e[2]}},labels:{markers:{render:function(e){return e.name}}}}))}window.onresize=function(){setTimeout(()=>{loadCharts()},0)},loadCharts();var overlay,swiper=new Swiper(".vertical-swiper",{slidesPerView:2,spaceBetween:10,mousewheel:!0,loop:!0,direction:"vertical",autoplay:{delay:2500,disableOnInteraction:!1}}),layoutRightSideBtn=document.querySelector(".layout-rightside-btn");layoutRightSideBtn&&(Array.from(document.querySelectorAll(".layout-rightside-btn")).forEach(function(e){var t=document.querySelector(".layout-rightside-col");e.addEventListener("click",function(){t.classList.contains("d-block")?(t.classList.remove("d-block"),t.classList.add("d-none")):(t.classList.remove("d-none"),t.classList.add("d-block"))})}),window.addEventListener("resize",function(){var e=document.querySelector(".layout-rightside-col");e&&Array.from(document.querySelectorAll(".layout-rightside-btn")).forEach(function(){window.outerWidth<1699||3440<window.outerWidth?e.classList.remove("d-block"):1699<window.outerWidth&&e.classList.add("d-block")}),"semibox"==document.documentElement.getAttribute("data-layout")&&(e.classList.remove("d-block"),e.classList.add("d-none"))}),overlay=document.querySelector(".overlay"))&&document.querySelector(".overlay").addEventListener("click",function(){1==document.querySelector(".layout-rightside-col").classList.contains("d-block")&&document.querySelector(".layout-rightside-col").classList.remove("d-block")}),window.addEventListener("load",function(){var e=document.querySelector(".layout-rightside-col");e&&Array.from(document.querySelectorAll(".layout-rightside-btn")).forEach(function(){window.outerWidth<1699||3440<window.outerWidth?e.classList.remove("d-block"):1699<window.outerWidth&&e.classList.add("d-block")}),"semibox"==document.documentElement.getAttribute("data-layout")&&1699<window.outerWidth&&(e.classList.remove("d-block"),e.classList.add("d-none"))});

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
function getChartColorsArray(e){if(null!==document.getElementById(e)){var t=document.getElementById(e).getAttribute("data-colors");if(t)return(t=JSON.parse(t)).map(function(e){var t=e.replace(" ","");return-1===t.indexOf(",")?getComputedStyle(document.documentElement).getPropertyValue(t)||t:2==(e=e.split(",")).length?"rgba("+getComputedStyle(document.documentElement).getPropertyValue(e[0])+","+e[1]+")":t});console.warn("data-colors Attribute not found on:",e)}}var options,chart,linechartcustomerColors=getChartColorsArray("projects-overview-chart"),isApexSeriesData=(linechartcustomerColors&&(options={series:[{name:"Number of Projects",type:"bar",data:[34,65,46,68,49,61,42,44,78,52,63,67]},{name:"Revenue",type:"area",data:[89.25,98.58,68.74,108.87,77.54,84.03,51.24,28.57,92.57,42.36,88.51,36.57]},{name:"Active Projects",type:"bar",data:[8,12,7,17,21,11,5,9,7,29,12,35]}],chart:{height:374,type:"line",toolbar:{show:!1}},stroke:{curve:"smooth",dashArray:[0,3,0],width:[0,1,0]},fill:{opacity:[1,.1,1]},markers:{size:[0,4,0],strokeWidth:2,hover:{size:4}},xaxis:{categories:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],axisTicks:{show:!1},axisBorder:{show:!1}},grid:{show:!0,xaxis:{lines:{show:!0}},yaxis:{lines:{show:!1}},padding:{top:0,right:-2,bottom:15,left:10}},legend:{show:!0,horizontalAlign:"center",offsetX:0,offsetY:-5,markers:{width:9,height:9,radius:6},itemMargin:{horizontal:10,vertical:0}},plotOptions:{bar:{columnWidth:"30%",barHeight:"70%"}},colors:linechartcustomerColors,tooltip:{shared:!0,y:[{formatter:function(e){return void 0!==e?e.toFixed(0):e}},{formatter:function(e){return void 0!==e?"$"+e.toFixed(2)+"k":e}},{formatter:function(e){return void 0!==e?e.toFixed(0):e}}]}},(chart=new ApexCharts(document.querySelector("#projects-overview-chart"),options)).render()),{}),isApexSeries=document.querySelectorAll("[data-chart-series]"),donutchartProjectsStatusColors=(isApexSeries&&Array.from(isApexSeries).forEach(function(e){var t,e=e.attributes;e["data-chart-series"]&&(isApexSeriesData.series=e["data-chart-series"].value.toString(),t=getChartColorsArray(e.id.value.toString()),t={series:[isApexSeriesData.series],chart:{type:"radialBar",width:36,height:36,sparkline:{enabled:!0}},dataLabels:{enabled:!1},plotOptions:{radialBar:{hollow:{margin:0,size:"50%"},track:{margin:1},dataLabels:{show:!1}}},colors:t},new ApexCharts(document.querySelector("#"+e.id.value.toString()),t).render())}),getChartColorsArray("prjects-status")),currentChatId=(donutchartProjectsStatusColors&&(options={series:[125,42,58,89],labels:["Completed","In Progress","Yet to Start","Cancelled"],chart:{type:"donut",height:230},plotOptions:{pie:{size:100,offsetX:0,offsetY:0,donut:{size:"90%",labels:{show:!1}}}},dataLabels:{enabled:!1},legend:{show:!1},stroke:{lineCap:"round",width:0},colors:donutchartProjectsStatusColors},(chart=new ApexCharts(document.querySelector("#prjects-status"),options)).render()),"users-chat");function scrollToBottom(e){setTimeout(()=>{new SimpleBar(document.getElementById("chat-conversation")).getScrollElement().scrollTop=document.getElementById("users-conversation").scrollHeight},100)}scrollToBottom(currentChatId);

View File

@ -0,0 +1 @@
function initializeTables(){new DataTable("#example"),new DataTable("#scroll-vertical",{scrollY:"210px",scrollCollapse:!0,paging:!1}),new DataTable("#scroll-horizontal",{scrollX:!0}),new DataTable("#alternative-pagination",{pagingType:"full_numbers"}),new DataTable("#fixed-header",{fixedHeader:!0}),new DataTable("#model-datatables",{responsive:{details:{display:$.fn.dataTable.Responsive.display.modal({header:function(a){a=a.data();return"Details for "+a[0]+" "+a[1]}}),renderer:$.fn.dataTable.Responsive.renderer.tableAll({tableClass:"table"})}}}),new DataTable("#buttons-datatables",{dom:"Bfrtip",buttons:["copy","csv","excel","print","pdf"]}),new DataTable("#ajax-datatables",{ajax:"assets/json/datatable.json"});var a=$("#add-rows").DataTable(),e=1;$("#addRow").on("click",function(){a.row.add([e+".1",e+".2",e+".3",e+".4",e+".5",e+".6",e+".7",e+".8",e+".9",e+".10",e+".11",e+".12"]).draw(!1),e++}),$("#addRow").trigger("click")}document.addEventListener("DOMContentLoaded",function(){initializeTables()});

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
var taxRate=.125,shippingRate=65,discountRate=.15,currencySign="$";function recalculateCart(){var t=0,e=(Array.from(document.getElementsByClassName("product")).forEach(function(e){Array.from(e.getElementsByClassName("product-line-price")).forEach(function(e){t+=parseFloat(e.innerHTML)})}),t*taxRate),n=t*discountRate,r=0<t?shippingRate:0,c=t+e+r-n;document.getElementById("cart-subtotal").innerHTML=currencySign+t.toFixed(2),document.getElementById("cart-tax").innerHTML=currencySign+e.toFixed(2),document.getElementById("cart-shipping").innerHTML=currencySign+r.toFixed(2),document.getElementById("cart-total").innerHTML=currencySign+c.toFixed(2),document.getElementById("cart-discount").innerHTML="-"+currencySign+n.toFixed(2)}function updateQuantity(e){var t,n,r=e.closest(".product"),c=((r||r.getElementsByClassName("product-price"))&&Array.from(r.getElementsByClassName("product-price")).forEach(function(e){t=parseFloat(e.innerHTML)}),e.previousElementSibling&&e.previousElementSibling.classList.contains("product-quantity")?n=e.previousElementSibling.value:e.nextElementSibling&&e.nextElementSibling.classList.contains("product-quantity")&&(n=e.nextElementSibling.value),t*n);Array.from(r.getElementsByClassName("product-line-price")).forEach(function(e){e.innerHTML=c.toFixed(2),recalculateCart()})}var removeProduct=document.getElementById("removeItemModal");removeProduct&&removeProduct.addEventListener("show.bs.modal",function(t){document.getElementById("remove-product").addEventListener("click",function(e){t.relatedTarget.closest(".product").remove(),document.getElementById("close-modal").click(),recalculateCart()})});

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
document.addEventListener("DOMContentLoaded",function(){var e=document.querySelectorAll('[data-plugin="choices"]');e&&Array.from(e).forEach(function(e){new Choices(e,{placeholderValue:"This is a placeholder set in the config",searchPlaceholderValue:"Search results here"})})});var CheckoutTab=document.querySelectorAll(".checkout-tab");CheckoutTab&&Array.from(document.querySelectorAll(".checkout-tab")).forEach(function(o){o.querySelectorAll(".nexttab")&&Array.from(o.querySelectorAll(".nexttab")).forEach(function(t){var e=o.querySelectorAll('button[data-bs-toggle="pill"]');e&&(Array.from(e).forEach(function(e){e.addEventListener("show.bs.tab",function(e){e.target.classList.add("done")})}),t.addEventListener("click",function(){var e=t.getAttribute("data-nexttab");e&&document.getElementById(e).click()}))});document.querySelectorAll(".previestab")&&Array.from(o.querySelectorAll(".previestab")).forEach(function(r){r.addEventListener("click",function(){var e=r.getAttribute("data-previous");if(e){var t=r.closest("form").querySelectorAll(".custom-nav .done").length;if(t){for(var o=t-1;o<t;o++)r.closest("form").querySelectorAll(".custom-nav .done")[o]&&r.closest("form").querySelectorAll(".custom-nav .done")[o].classList.remove("done");document.getElementById(e).click()}}})});var r=o.querySelectorAll('button[data-bs-toggle="pill"]');r&&Array.from(r).forEach(function(e,t){e.setAttribute("data-position",t),e.addEventListener("click",function(){0<o.querySelectorAll(".custom-nav .done").length&&Array.from(o.querySelectorAll(".custom-nav .done")).forEach(function(e){e.classList.remove("done")});for(var e=0;e<=t;e++)r[e].classList.contains("active")?r[e].classList.remove("done"):r[e].classList.add("done")})})});

View File

@ -0,0 +1 @@
itemid=13,ClassicEditor.create(document.querySelector("#ckeditor-classic")).then(function(e){e.ui.view.editable.element.style.height="200px"}).catch(function(e){console.error(e)});var dropzonePreviewNode=document.querySelector("#dropzone-preview-list"),previewTemplate=(dropzonePreviewNode.itemid="",dropzonePreviewNode.parentNode.innerHTML),dropzone=(dropzonePreviewNode.parentNode.removeChild(dropzonePreviewNode),new Dropzone(".dropzone",{url:"https://httpbin.org/post",method:"post",previewTemplate:previewTemplate,previewsContainer:"#dropzone-preview"}));!function(){"use strict";var e=document.querySelectorAll(".needs-validation"),l=(new Date).toUTCString().slice(5,16);function p(){var e=12<=(new Date).getHours()?"PM":"AM",t=12<(new Date).getHours()?(new Date).getHours()%12:(new Date).getHours(),o=(new Date).getMinutes()<10?"0"+(new Date).getMinutes():(new Date).getMinutes();return t<10?"0"+t+":"+o+" "+e:t+":"+o+" "+e}setInterval(p,1e3),document.querySelector("#product-image-input").addEventListener("change",function(){var e=document.querySelector("#product-img"),t=document.querySelector("#product-image-input").files[0],o=new FileReader;o.addEventListener("load",function(){e.src=o.result},!1),t&&o.readAsDataURL(t)});var m=new Choices("#choices-category-input",{searchEnabled:!1}),g=sessionStorage.getItem("editInputValue");g&&(g=JSON.parse(g),document.getElementById("formAction").value="edit",document.getElementById("product-id-input").value=g.id,document.getElementById("product-img").src=g.product.img,document.getElementById("product-title-input").value=g.product.title,document.getElementById("stocks-input").value=g.stock,document.getElementById("product-price-input").value=g.price,document.getElementById("orders-input").value=g.orders,m.setChoiceByValue(g.product.category)),Array.prototype.slice.call(e).forEach(function(s){s.addEventListener("submit",function(e){var t,o,i,n,r,u,d,c,a;if(s.checkValidity())return e.preventDefault(),c=++itemid,t=document.getElementById("product-title-input").value,o=m.getValue(!0),i=document.getElementById("stocks-input").value,n=document.getElementById("orders-input").value,r=document.getElementById("product-price-input").value,u=document.getElementById("product-img").src,"add"==(d=document.getElementById("formAction").value)?(c=null!=sessionStorage.getItem("inputValue")?(a=JSON.parse(sessionStorage.getItem("inputValue")),{id:c+1,product:{img:u,title:t,category:o},stock:i,price:r,orders:n,rating:"--",published:{publishDate:l,publishTime:p()}}):(a=[],{id:c,product:{img:u,title:t,category:o},stock:i,price:r,orders:n,rating:"--",published:{publishDate:l,publishTime:p()}}),a.push(c),sessionStorage.setItem("inputValue",JSON.stringify(a))):"edit"==d?(c=document.getElementById("product-id-input").value,sessionStorage.getItem("editInputValue")&&(a={id:parseInt(c),product:{img:u,title:t,category:o},stock:i,price:r,orders:n,rating:g.rating,published:{publishDate:l,publishTime:p()}},sessionStorage.setItem("editInputValue",JSON.stringify(a)))):console.log("Form Action Not Found."),window.location.replace("apps-ecommerce-products.html"),!1;e.preventDefault(),e.stopPropagation(),s.classList.add("was-validated")},!1)})}();

View File

@ -0,0 +1 @@
var productNavSlider=new Swiper(".product-nav-slider",{loop:!1,spaceBetween:10,slidesPerView:4,freeMode:!0,watchSlidesProgress:!0}),productThubnailSlider=new Swiper(".product-thumbnail-slider",{loop:!1,spaceBetween:24,navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},thumbs:{swiper:productNavSlider}});

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
!function(){var e,r,t,l="";function a(n){var e;n.querySelector(".country-flagimg")&&(e=n.querySelector(".country-flagimg").getAttribute("src")),Array.from(n.querySelectorAll(".dropdown-menu li")).forEach(function(r){var t=r.querySelector(".options-flagimg").getAttribute("src");r.addEventListener("click",function(){var e=r.querySelector(".countrylist-codeno").innerHTML;n.querySelector("button")&&(n.querySelector("button img").setAttribute("src",t),n.querySelector("button span"))&&(n.querySelector("button span").innerHTML=e)}),e==t&&r.classList.add("active")}),Array.from(document.querySelectorAll("[data-option-flag-img-name]")).forEach(function(n){var e=getComputedStyle(n.querySelector(".flag-input")).backgroundImage,o=e.substring(e.indexOf("/as")+1,e.lastIndexOf('"'));Array.from(n.querySelectorAll(".dropdown-menu li")).forEach(function(r){var t=r.querySelector(".options-flagimg").getAttribute("src");r.addEventListener("click",function(){var e=r.querySelector(".country-name").innerHTML;n.querySelector(".flag-input").style.backgroundImage="url("+t+")",n.querySelector(".flag-input").value=e}),o==t&&(r.classList.add("active"),n.querySelector(".flag-input").value=r.querySelector(".country-name").innerHTML)})}),Array.from(document.querySelectorAll("[data-option-flag-name]")).forEach(function(t){var n=t.querySelector(".flag-input").value;Array.from(t.querySelectorAll(".dropdown-menu li")).forEach(function(e){var r=e.querySelector(".country-name").innerHTML;e.addEventListener("click",function(){t.querySelector(".flag-input").value=r}),n==r&&(e.classList.add("active"),t.querySelector(".flag-input").value=e.querySelector(".country-name").innerHTML)})})}e="country-list.json",r=function(e,r){if(null!==e)console.log("Something went wrong: "+e);else{var e=l=r,t=Array.from(document.querySelectorAll("[data-input-flag]")),n="",o=Array.from(e);for(let e=0;e<o.length;e++)n+='<li class="dropdown-item d-flex"> <div class="flex-shrink-0 me-2"><img src="'+o[e].flagImg+'" alt="country flag" class="options-flagimg" height="20"></div> <div class="flex-grow-1"> <div class="d-flex"><div class="country-name me-1">'+o[e].countryName+'</div><span class="countrylist-codeno text-muted">'+o[e].countryCode+"</span></div> </div> </li>";for(let e=0;e<t.length;e++)t[e].querySelector(".dropdown-menu-list").innerHTML="",t[e].querySelector(".dropdown-menu-list").innerHTML=n,a(t[e])}},(t=new XMLHttpRequest).open("GET","assets/json/"+e,!0),t.responseType="json",t.onload=function(){var e=t.status;r(200===e?null:e,t.response)},t.send(),Array.from(document.querySelectorAll("[data-input-flag]")).forEach(function(n){var o=n.querySelector(".search-countryList");o&&o.addEventListener("keyup",function(){var e=o.value.toLowerCase();r=e;var r,t=l.filter(function(e){return-1!==e.countryName.toLowerCase().indexOf(r.toLowerCase())||-1!==e.countryCode.indexOf(r)});setTimeout(function(){n.querySelector(".dropdown-menu-list").innerHTML="",Array.from(t).forEach(function(e){n.querySelector(".dropdown-menu-list").innerHTML+='<li class="dropdown-item d-flex"> <div class="flex-shrink-0 me-2"><img src="'+e.flagImg+'" alt="country flag" class="options-flagimg" height="20"></div> <div class="flex-grow-1"> <div class="d-flex"><div class="country-name me-1">'+e.countryName+'</div><span class="countrylist-codeno text-muted">'+e.countryCode+"</span></div> </div> </li>"}),a(n)},350)})})}();

View File

@ -0,0 +1 @@
var multiSelectBasic=document.getElementById("multiselect-basic"),multiSelectHeader=(multiSelectBasic&&multi(multiSelectBasic,{enable_search:!1}),document.getElementById("multiselect-header")),multiSelectOptGroup=(multiSelectHeader&&multi(multiSelectHeader,{non_selected_header:"Cars",selected_header:"Favorite Cars"}),document.getElementById("multiselect-optiongroup")),autoCompleteFruit=(multiSelectOptGroup&&multi(multiSelectOptGroup,{enable_search:!0}),new autoComplete({selector:"#autoCompleteFruit",placeHolder:"Search for Fruits...",data:{src:["Apple","Banana","Blueberry","Cherry","Coconut","Kiwi","Lemon","Lime","Mango","Orange"],cache:!0},resultsList:{element:function(e,t){var l;t.results.length||((l=document.createElement("div")).setAttribute("class","no_result"),l.innerHTML='<span>Found No Results for "'+t.query+'"</span>',e.prepend(l))},noResults:!0},resultItem:{highlight:!0},events:{input:{selection:function(e){e=e.detail.selection.value;autoCompleteFruit.input.value=e}}}})),autoCompleteCars=new autoComplete({selector:"#autoCompleteCars",placeHolder:"Search for Cars...",data:{src:["Chevrolet","Fiat","Ford","Honda","Hyundai","Hyundai","Kia","Mahindra","Maruti","Mitsubishi","MG","Nissan","Renault","Skoda","Tata","Toyato","Volkswagen"],cache:!0},resultsList:{element:function(e,t){var l;t.results.length||((l=document.createElement("div")).setAttribute("class","no_result"),l.innerHTML='<span>Found No Results for "'+t.query+'"</span>',e.prepend(l))},noResults:!0},resultItem:{highlight:!0},events:{input:{selection:function(e){e=e.detail.selection.value;autoCompleteCars.input.value=e}}}});

View File

@ -0,0 +1 @@
var ckClassicEditor=document.querySelectorAll(".ckeditor-classic"),snowEditor=(ckClassicEditor&&Array.from(ckClassicEditor).forEach(function(){ClassicEditor.create(document.querySelector(".ckeditor-classic")).then(function(e){e.ui.view.editable.element.style.height="200px"}).catch(function(e){console.error(e)})}),document.querySelectorAll(".snow-editor")),bubbleEditor=(snowEditor&&Array.from(snowEditor).forEach(function(e){var o={};1==e.classList.contains("snow-editor")&&(o.theme="snow",o.modules={toolbar:[[{font:[]},{size:[]}],["bold","italic","underline","strike"],[{color:[]},{background:[]}],[{script:"super"},{script:"sub"}],[{header:[!1,1,2,3,4,5,6]},"blockquote","code-block"],[{list:"ordered"},{list:"bullet"},{indent:"-1"},{indent:"+1"}],["direction",{align:[]}],["link","image","video"],["clean"]]}),new Quill(e,o)}),document.querySelectorAll(".bubble-editor"));bubbleEditor&&Array.from(bubbleEditor).forEach(function(e){var o={};1==e.classList.contains("bubble-editor")&&(o.theme="bubble"),new Quill(e,o)});

View File

@ -0,0 +1 @@
var previewTemplate,dropzone,dropzonePreviewNode=document.querySelector("#dropzone-preview-list"),inputMultipleElements=(dropzonePreviewNode.id="",dropzonePreviewNode&&(previewTemplate=dropzonePreviewNode.parentNode.innerHTML,dropzonePreviewNode.parentNode.removeChild(dropzonePreviewNode),dropzone=new Dropzone(".dropzone",{url:"https://httpbin.org/post",method:"post",previewTemplate:previewTemplate,previewsContainer:"#dropzone-preview"})),FilePond.registerPlugin(FilePondPluginFileEncode,FilePondPluginFileValidateSize,FilePondPluginImageExifOrientation,FilePondPluginImagePreview),document.querySelectorAll("input.filepond-input-multiple"));inputMultipleElements&&(Array.from(inputMultipleElements).forEach(function(e){FilePond.create(e)}),FilePond.create(document.querySelector(".filepond-input-circle"),{labelIdle:'Drag & Drop your picture or <span class="filepond--label-action">Browse</span>',imagePreviewHeight:170,imageCropAspectRatio:"1:1",imageResizeTargetWidth:200,imageResizeTargetHeight:200,stylePanelLayout:"compact circle",styleLoadIndicatorPosition:"center bottom",styleProgressIndicatorPosition:"right bottom",styleButtonRemoveItemPosition:"left bottom",styleButtonProcessItemPosition:"right bottom"}));

View File

@ -0,0 +1 @@
function isData(){var t=document.getElementsByClassName("plus"),e=document.getElementsByClassName("minus"),n=document.getElementsByClassName("product");t&&Array.from(t).forEach(function(t){t.addEventListener("click",function(e){parseInt(t.previousElementSibling.value)<e.target.previousElementSibling.getAttribute("max")&&(e.target.previousElementSibling.value++,n)&&Array.from(n).forEach(function(t){updateQuantity(e.target)})})}),e&&Array.from(e).forEach(function(t){t.addEventListener("click",function(e){parseInt(t.nextElementSibling.value)>e.target.nextElementSibling.getAttribute("min")&&(e.target.nextElementSibling.value--,n)&&Array.from(n).forEach(function(t){updateQuantity(e.target)})})})}isData();

View File

@ -0,0 +1 @@
var cleaveDate,cleaveDateFormat,cleaveTime,cleaveTimeFormat,cleaveNumeral,cleaveDelimiter,cleaveDelimiters,cleavePrefix,cleaveBlocks;document.querySelector("#cleave-date")&&(cleaveDate=new Cleave("#cleave-date",{date:!0,delimiter:"-",datePattern:["d","m","Y"]})),document.querySelector("#cleave-date-format")&&(cleaveDateFormat=new Cleave("#cleave-date-format",{date:!0,datePattern:["m","y"]})),document.querySelector("#cleave-time")&&(cleaveTime=new Cleave("#cleave-time",{time:!0,timePattern:["h","m","s"]})),document.querySelector("#cleave-time-format")&&(cleaveTimeFormat=new Cleave("#cleave-time-format",{time:!0,timePattern:["h","m"]})),document.querySelector("#cleave-numeral")&&(cleaveNumeral=new Cleave("#cleave-numeral",{numeral:!0,numeralThousandsGroupStyle:"thousand"})),document.querySelector("#cleave-ccard")&&(cleaveBlocks=new Cleave("#cleave-ccard",{blocks:[4,4,4,4],uppercase:!0})),document.querySelector("#cleave-delimiter")&&(cleaveDelimiter=new Cleave("#cleave-delimiter",{delimiter:"·",blocks:[3,3,3],uppercase:!0})),document.querySelector("#cleave-delimiters")&&(cleaveDelimiters=new Cleave("#cleave-delimiters",{delimiters:[".",".","-"],blocks:[3,3,3,2],uppercase:!0})),document.querySelector("#cleave-prefix")&&(cleavePrefix=new Cleave("#cleave-prefix",{prefix:"PREFIX",delimiter:"-",blocks:[6,4,4,4],uppercase:!0})),document.querySelector("#cleave-phone")&&(cleaveBlocks=new Cleave("#cleave-phone",{delimiters:["(",")","-"],blocks:[0,3,3,4]}));

View File

@ -0,0 +1 @@
var classicPickrDemo=document.querySelectorAll(".classic-colorpicker"),monolithColorPickr=(classicPickrDemo&&Array.from(classicPickrDemo).forEach(function(){Pickr.create({el:".classic-colorpicker",theme:"classic",default:"#405189",swatches:["rgba(244, 67, 54, 1)","rgba(233, 30, 99, 0.95)","rgba(156, 39, 176, 0.9)","rgba(103, 58, 183, 0.85)","rgba(63, 81, 181, 0.8)","rgba(33, 150, 243, 0.75)","rgba(3, 169, 244, 0.7)","rgba(0, 188, 212, 0.7)","rgba(0, 150, 136, 0.75)","rgba(76, 175, 80, 0.8)","rgba(139, 195, 74, 0.85)","rgba(205, 220, 57, 0.9)","rgba(255, 235, 59, 0.95)","rgba(255, 193, 7, 1)"],components:{preview:!0,opacity:!0,hue:!0,interaction:{hex:!0,rgba:!0,hsva:!0,input:!0,clear:!0,save:!0}}})}),document.querySelectorAll(".monolith-colorpicker")),nanoColorPickr=(monolithColorPickr&&Array.from(monolithColorPickr).forEach(function(){Pickr.create({el:".monolith-colorpicker",theme:"monolith",default:"#0ab39c",swatches:["rgba(244, 67, 54, 1)","rgba(233, 30, 99, 0.95)","rgba(156, 39, 176, 0.9)","rgba(103, 58, 183, 0.85)","rgba(63, 81, 181, 0.8)","rgba(33, 150, 243, 0.75)","rgba(3, 169, 244, 0.7)"],defaultRepresentation:"HEXA",components:{preview:!0,opacity:!0,hue:!0,interaction:{hex:!1,rgba:!1,hsva:!1,input:!0,clear:!0,save:!0}}})}),document.querySelectorAll(".nano-colorpicker")),demoColorPickr=(nanoColorPickr&&Array.from(nanoColorPickr).forEach(function(){Pickr.create({el:".nano-colorpicker",theme:"nano",default:"#3577f1",swatches:["rgba(244, 67, 54, 1)","rgba(233, 30, 99, 0.95)","rgba(156, 39, 176, 0.9)","rgba(103, 58, 183, 0.85)","rgba(63, 81, 181, 0.8)","rgba(33, 150, 243, 0.75)","rgba(3, 169, 244, 0.7)"],defaultRepresentation:"HEXA",components:{preview:!0,opacity:!0,hue:!0,interaction:{hex:!1,rgba:!1,hsva:!1,input:!0,clear:!0,save:!0}}})}),document.querySelectorAll(".colorpicker-demo")),opacityHueColorPickr=(demoColorPickr&&Array.from(demoColorPickr).forEach(function(){Pickr.create({el:".colorpicker-demo",theme:"monolith",default:"#405189",components:{preview:!0,interaction:{clear:!0,save:!0}}})}),document.querySelectorAll(".colorpicker-opacity-hue")),swatcherColorPickr=(opacityHueColorPickr&&Array.from(opacityHueColorPickr).forEach(function(){Pickr.create({el:".colorpicker-opacity-hue",theme:"monolith",default:"#0ab39c",components:{preview:!0,opacity:!0,hue:!0,interaction:{clear:!0,save:!0}}})}),document.querySelectorAll(".colorpicker-switch")),inputColorPickr=(swatcherColorPickr&&Array.from(swatcherColorPickr).forEach(function(){Pickr.create({el:".colorpicker-switch",theme:"monolith",default:"#3577f1",swatches:["rgba(244, 67, 54, 1)","rgba(233, 30, 99, 0.95)","rgba(156, 39, 176, 0.9)","rgba(103, 58, 183, 0.85)","rgba(63, 81, 181, 0.8)","rgba(33, 150, 243, 0.75)","rgba(3, 169, 244, 0.7)"],components:{preview:!0,opacity:!0,hue:!0,interaction:{clear:!0,save:!0}}})}),document.querySelectorAll(".colorpicker-input")),formatColorPickr=(inputColorPickr&&Array.from(inputColorPickr).forEach(function(){Pickr.create({el:".colorpicker-input",theme:"monolith",default:"#f7b84b",swatches:["rgba(244, 67, 54, 1)","rgba(233, 30, 99, 0.95)","rgba(156, 39, 176, 0.9)","rgba(103, 58, 183, 0.85)","rgba(63, 81, 181, 0.8)","rgba(33, 150, 243, 0.75)","rgba(3, 169, 244, 0.7)"],components:{preview:!0,opacity:!0,hue:!0,interaction:{input:!0,clear:!0,save:!0}}})}),document.querySelectorAll(".colorpicker-format"));formatColorPickr&&Array.from(formatColorPickr).forEach(function(){Pickr.create({el:".colorpicker-format",theme:"monolith",default:"#f06548",swatches:["rgba(244, 67, 54, 1)","rgba(233, 30, 99, 0.95)","rgba(156, 39, 176, 0.9)","rgba(103, 58, 183, 0.85)","rgba(63, 81, 181, 0.8)","rgba(33, 150, 243, 0.75)","rgba(3, 169, 244, 0.7)"],components:{preview:!0,opacity:!0,hue:!0,interaction:{hex:!0,rgba:!0,hsva:!0,input:!0,clear:!0,save:!0}}})});

View File

@ -0,0 +1 @@
!function(){"use strict";window.addEventListener("load",function(){var t=document.getElementsByClassName("needs-validation");t&&Array.prototype.filter.call(t,function(e){e.addEventListener("submit",function(t){!1===e.checkValidity()&&(t.preventDefault(),t.stopPropagation()),e.classList.add("was-validated")},!1)})},!1)}();

View File

@ -0,0 +1 @@
document.querySelector("#profile-img-file-input")&&document.querySelector("#profile-img-file-input").addEventListener("change",function(){var e=document.querySelector(".user-profile-image"),t=document.querySelector(".profile-img-file-input").files[0],r=new FileReader;r.addEventListener("load",function(){e.src=r.result},!1),t&&r.readAsDataURL(t)}),document.querySelectorAll(".form-steps")&&Array.from(document.querySelectorAll(".form-steps")).forEach(function(l){l.querySelectorAll(".nexttab")&&Array.from(l.querySelectorAll(".nexttab")).forEach(function(t){var e=l.querySelectorAll('button[data-bs-toggle="pill"]');Array.from(e).forEach(function(e){e.addEventListener("show.bs.tab",function(e){e.target.classList.add("done")})}),t.addEventListener("click",function(){l.classList.add("was-validated"),l.querySelectorAll(".tab-pane.show .form-control").forEach(function(e){0<e.value.length&&e.value.match(/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$/)&&(e=t.getAttribute("data-nexttab"),document.getElementById(e).click(),l.classList.remove("was-validated"))})})}),l.querySelectorAll(".previestab")&&Array.from(l.querySelectorAll(".previestab")).forEach(function(o){o.addEventListener("click",function(){for(var e=o.getAttribute("data-previous"),t=o.closest("form").querySelectorAll(".custom-nav .done").length,r=t-1;r<t;r++)o.closest("form").querySelectorAll(".custom-nav .done")[r]&&o.closest("form").querySelectorAll(".custom-nav .done")[r].classList.remove("done");document.getElementById(e).click()})});var a=l.querySelectorAll('button[data-bs-toggle="pill"]');a&&Array.from(a).forEach(function(r,o){r.setAttribute("data-position",o),r.addEventListener("click",function(){var e;l.classList.remove("was-validated"),r.getAttribute("data-progressbar")&&(e=document.getElementById("custom-progress-bar").querySelectorAll("li").length-1,e=o/e*100,document.getElementById("custom-progress-bar").querySelector(".progress-bar").style.width=e+"%"),0<l.querySelectorAll(".custom-nav .done").length&&Array.from(l.querySelectorAll(".custom-nav .done")).forEach(function(e){e.classList.remove("done")});for(var t=0;t<=o;t++)a[t].classList.contains("active")?a[t].classList.remove("done"):a[t].classList.add("done")})})});

View File

@ -0,0 +1 @@
document.addEventListener("DOMContentLoaded",function(e){document.querySelector(".gallery-wrapper")&&(t=new Isotope(".gallery-wrapper",{itemSelector:".element-item",layoutMode:"fitRows"}));var t,r=document.querySelector(".categories-filter"),r=(r&&r.addEventListener("click",function(e){matchesSelector(e.target,"li a")&&(e=e.target.getAttribute("data-filter"))&&t.arrange({filter:e})}),document.querySelectorAll(".categories-filter"));r&&Array.from(r).forEach(function(e){var t;(t=e).addEventListener("click",function(e){matchesSelector(e.target,"li a")&&(t.querySelector(".active").classList.remove("active"),e.target.classList.add("active"))})})});var lightbox=GLightbox({selector:".image-popup",title:!1});

View File

@ -0,0 +1 @@
var map;document.addEventListener("DOMContentLoaded",function(e){document.getElementById("gmaps-markers")&&(map=new GMaps({div:"#gmaps-markers",lat:-12.043333,lng:-77.028333})).addMarker({lat:-12.043333,lng:-77.03,title:"Lima",details:{database_id:42,author:"HPNeo"},click:function(e){console.log&&console.log(e),alert("You clicked in this marker")}}),document.getElementById("gmaps-overlay")&&(map=new GMaps({div:"#gmaps-overlay",lat:-12.043333,lng:-77.028333})).drawOverlay({lat:map.getCenter().lat(),lng:map.getCenter().lng(),content:'<div class="gmaps-overlay">Lima<div class="gmaps-overlay_arrow above"></div></div>',verticalAlign:"top",horizontalAlign:"center"}),document.getElementById("panorama")&&(map=GMaps.createPanorama({el:"#panorama",lat:42.3455,lng:-71.0983})),document.getElementById("gmaps-types")&&((map=new GMaps({div:"#gmaps-types",lat:-12.043333,lng:-77.028333,mapTypeControlOptions:{mapTypeIds:["hybrid","roadmap","satellite","terrain","osm"]}})).addMapType("osm",{getTileUrl:function(e,a){return"https://a.tile.openstreetmap.org/"+a+"/"+e.x+"/"+e.y+".png"},tileSize:new google.maps.Size(256,256),name:"OpenStreetMap",maxZoom:18}),map.setMapTypeId("osm"))});

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,40 @@
function tConvert(e){var e=new Date(e),e=(time_s=e.getHours()+":"+e.getMinutes()).split(":"),t=e[0],e=e[1],n=12<=t?"PM":"AM";return(t=(t%=12)||12)+":"+(e<10?"0"+e:e)+" "+n}var str_dt=function(e){var e=new Date(e),t=""+["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"][e.getMonth()],n=""+e.getDate(),e=e.getFullYear();return t.length<2&&(t="0"+t),[(n=n.length<2?"0"+n:n)+" "+t,e].join(", ")};if(null!==localStorage.getItem("invoices-list")&&null!==localStorage.getItem("option")&&null!==localStorage.getItem("invoice_no")){var invoices_list=localStorage.getItem("invoices-list"),options=localStorage.getItem("option"),invoice_no=localStorage.getItem("invoice_no"),invoices=JSON.parse(invoices_list);let t=invoices.find(e=>e.invoice_no===invoice_no);if(""!=t&&"view-invoice"==options){let e;switch(t.status){case"Paid":e="success";break;case"Refund":e="primary";break;case"Unpaid":e="warning";break;case"Cancel":e="danger"}document.getElementById("legal-register-no").innerHTML=t.company_details.legal_registration_no,document.getElementById("email").innerHTML=t.company_details.email,document.getElementById("website").href=t.company_details.website,document.getElementById("website").innerHTML=t.company_details.website,document.getElementById("contact-no").innerHTML=t.company_details.contact_no,document.getElementById("address-details").innerHTML=t.company_details.address,document.getElementById("zip-code").innerHTML=t.company_details.zip_code,document.getElementById("invoice-no").innerHTML=t.invoice_no,document.getElementById("invoice-date").innerHTML=str_dt(t.date),document.getElementById("invoice-time").innerHTML=tConvert(t.date),document.getElementById("payment-status").innerHTML=t.status,document.getElementById("payment-status").classList.replace("bg-success-subtle text-success","badge-soft-"+e),document.getElementById("total-amount").innerHTML=t.invoice_amount,document.getElementById("billing-name").innerHTML=t.billing_address.full_name,document.getElementById("billing-address-line-1").innerHTML=t.billing_address.address,document.getElementById("billing-phone-no").innerHTML=t.billing_address.phone,document.getElementById("billing-tax-no").innerHTML=t.billing_address.tax,document.getElementById("shipping-name").innerHTML=t.shipping_address.full_name,document.getElementById("shipping-address-line-1").innerHTML=t.shipping_address.address,document.getElementById("shipping-phone-no").innerHTML=t.shipping_address.phone,document.getElementById("products-list").innerHTML="";var paroducts_list=t.prducts,counter=1,order_summary=(Array.from(paroducts_list).forEach(function(e){product_data=`
<tr>
<th scope="row">`+counter+`</th>
<td class="text-start">
<span class="fw-medium">`+e.product_name+`</span>
<p class="text-muted mb-0">`+e.product_details+`</p>
</td>
<td>`+e.rates+`</td>
<td>`+e.quantity+`</td>
<td class="text-end">$`+e.amount+`</td>
</tr>`,document.getElementById("products-list").innerHTML+=product_data,counter++}),`
<tr class="border-top border-top-dashed mt-2">
<td colspan="3"></td>
<td colspan="2" class="fw-medium p-0">
<table class="table table-borderless text-start table-nowrap align-middle mb-0">
<tbody>
<tr>
<td>Sub Total</td>
<td class="text-end">$`+t.order_summary.sub_total+`</td>
</tr>
<tr>
<td>Estimated Tax (12.5%)</td>
<td class="text-end">$`+t.order_summary.estimated_tex+`</td>
</tr>
<tr>
<td>Discount <small class="text-muted">(VELZON15)</small></td>
<td class="text-end">- $`+t.order_summary.discount+`</td>
</tr>
<tr>
<td>Shipping Charge</td>
<td class="text-end">$`+t.order_summary.shipping_charge+`</td>
</tr>
<tr class="border-top border-top-dashed">
<th scope="row">Total Amount</th>
<td class="text-end">$`+t.order_summary.total_amount+`</td>
</tr>
</tbody>
</table><!--end table-->
</td>
</tr>`);document.getElementById("products-list").innerHTML+=order_summary,document.getElementById("payment-method").innerHTML=t.payment_details.payment_method,document.getElementById("card-holder-name").innerHTML=t.payment_details.card_holder_name,document.getElementById("card-number").innerHTML=t.payment_details.card_number,document.getElementById("card-total-amount").innerHTML=t.payment_details.total_amount,document.getElementById("note").innerHTML=t.notes}}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
var url="assets/json/",allcandidateList="",prevButton=document.getElementById("page-prev"),nextButton=document.getElementById("page-next"),currentPage=1,itemsPerPage=20,getJSON=function(e,t){var a=new XMLHttpRequest;a.open("GET",url+e,!0),a.responseType="json",a.onload=function(){var e=a.status;t(200===e?null:e,a.response)},a.send()};function loadCandidateListData(e,t){var a=Math.ceil(e.length/itemsPerPage);a<(t=t<1?1:t)&&(t=a),document.querySelector("#candidate-list").innerHTML="";for(var n,i=(t-1)*itemsPerPage;i<t*itemsPerPage&&i<e.length;i++)e[i]&&(n=e[i].userImg?'<img src="'+e[i].userImg+'" alt="" class="member-img img-fluid d-block rounded" />':'<div class="avatar-title border bg-light text-primary rounded text-uppercase fs-24">'+e[i].nickname+"</div>",document.querySelector("#candidate-list").innerHTML+='<div class="col-xxl-3 col-md-6"> <div class="card"> <div class="card-body"> <div class="d-flex align-items-center"> <div class="flex-shrink-0"> <div class="avatar-lg rounded">'+n+'</div> </div> <div class="flex-grow-1 ms-3"> <a href="pages-profile.html"> <h5 class="fs-16 mb-1">'+e[i].candidateName+'</h5> </a> <p class="text-muted mb-2">'+e[i].designation+'</p> <div class="d-flex flex-wrap gap-2 align-items-center"> <div class="badge text-bg-success"><i class="mdi mdi-star me-1"></i>'+e[i].rating[0]+'</div> <div class="text-muted">'+e[i].rating[1]+'</div> </div> <div class="d-flex gap-4 mt-2 text-muted"> <div> <i class="ri-map-pin-2-line text-primary me-1 align-bottom"></i> '+e[i].location+'</div> <div> <i class="ri-time-line text-primary me-1 align-bottom"></i>'+isStatus(e[i].type)+" </div> </div> </div> </div> </div> </div></div>");selectedPage(),1==currentPage?prevButton.parentNode.classList.add("disabled"):prevButton.parentNode.classList.remove("disabled"),currentPage==a?nextButton.parentNode.classList.add("disabled"):nextButton.parentNode.classList.remove("disabled")}function isStatus(e){switch(e){case"Part Time":return'<span class="badge bg-danger-subtle text-danger">'+e+"</span>";case"Full Time":return'<span class="badge bg-success-subtle text-success">'+e+"</span>";case"Freelancer":return'<span class="badge bg-secondary-subtle text-secondary">'+e+"</span>"}}function selectedPage(){for(var e=document.getElementById("page-num").getElementsByClassName("clickPageNumber"),t=0;t<e.length;t++)t==currentPage-1?e[t].parentNode.classList.add("active"):e[t].parentNode.classList.remove("active")}function paginationEvents(){function e(){return Math.ceil(allcandidateList.length/itemsPerPage)}prevButton.addEventListener("click",function(){1<currentPage&&loadCandidateListData(allcandidateList,--currentPage)}),nextButton.addEventListener("click",function(){currentPage<e()&&loadCandidateListData(allcandidateList,++currentPage)});var t=document.getElementById("page-num");t.innerHTML="";for(var a=1;a<e()+1;a++)t.innerHTML+="<div class='page-item'><a class='page-link clickPageNumber' href='javascript:void(0);'>"+a+"</a></div>";document.addEventListener("click",function(e){"A"==e.target.nodeName&&e.target.classList.contains("clickPageNumber")&&(currentPage=e.target.textContent,loadCandidateListData(allcandidateList,currentPage))}),selectedPage()}getJSON("job-candidate-list.json",function(e,t){null!==e?console.log("Something went wrong: "+e):(loadCandidateListData(allcandidateList=t,currentPage),paginationEvents())});var searchElementList=document.getElementById("searchJob");searchElementList.addEventListener("keyup",function(){var e=searchElementList.value.toLowerCase();t=e;for(var t,e=allcandidateList.filter(function(e){return-1!==e.designation.toLowerCase().indexOf(t.toLowerCase())||-1!==e.candidateName.toLowerCase().indexOf(t.toLowerCase())}),a=(0==e.length?document.getElementById("pagination-element").style.display="none":document.getElementById("pagination-element").style.display="flex",document.getElementById("page-num")),n=(a.innerHTML="",Math.ceil(e.length/itemsPerPage)),i=1;i<n+1;i++)a.innerHTML+="<div class='page-item'><a class='page-link clickPageNumber' href='javascript:void(0);'>"+i+"</a></div>";loadCandidateListData(e,currentPage)});

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
function windowScroll(){var e=document.getElementById("navbar");e&&(50<=document.body.scrollTop||50<=document.documentElement.scrollTop?e.classList.add("is-sticky"):e.classList.remove("is-sticky"))}window.addEventListener("scroll",function(e){e.preventDefault(),windowScroll()});var swiper=new Swiper(".candidate-swiper",{slidesPerView:1,spaceBetween:30,loop:!0,autoplay:{delay:2500,disableOnInteraction:!1},pagination:{el:".swiper-pagination",clickable:!0},navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},breakpoints:{1445:{slidesPerView:4,spaceBetween:24},768:{slidesPerView:2,spaceBetween:24}}}),mybutton=document.getElementById("back-to-top");function scrollFunction(){100<document.body.scrollTop||100<document.documentElement.scrollTop?mybutton.style.display="block":mybutton.style.display="none"}function topFunction(){document.body.scrollTop=0,document.documentElement.scrollTop=0}window.onscroll=function(){scrollFunction()};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
function windowScroll(){var e=document.getElementById("navbar");e&&(50<=document.body.scrollTop||50<=document.documentElement.scrollTop?e.classList.add("is-sticky"):e.classList.remove("is-sticky"))}window.addEventListener("scroll",function(e){e.preventDefault(),windowScroll()});const navLinks=document.querySelectorAll(".nav-item"),menuToggle=document.getElementById("navbarSupportedContent");var bsCollapse="";function toggleMenu(){document.documentElement.clientWidth<980?bsCollapse.toggle():bsCollapse=""}navLinks&&menuToggle&&(window.addEventListener("load",function(){window.dispatchEvent(new Event("resize"))}),window.addEventListener("resize",function(){var e=document.documentElement.clientWidth;bsCollapse=new bootstrap.Collapse(menuToggle,{toggle:!1}),e<980?Array.from(navLinks).forEach(e=>{e.addEventListener("click",()=>{toggleMenu()})}):toggleMenu()}));var swiper=new Swiper(".trusted-client-slider",{spaceBetween:30,loop:"true",slidesPerView:1,autoplay:{delay:1e3,disableOnInteraction:!1},breakpoints:{576:{slidesPerView:2},768:{slidesPerView:3},1024:{slidesPerView:4}}});function check(){var n=document.getElementById("plan-switch"),e=document.getElementsByClassName("month"),t=document.getElementsByClassName("annual"),o=0;Array.from(e).forEach(function(e){1==n.checked?(t[o].style.display="block",e.style.display="none"):0==n.checked&&(t[o].style.display="none",e.style.display="block"),o++})}check();swiper=new Swiper(".client-review-swiper",{loop:!1,autoplay:{delay:2500,disableOnInteraction:!1},navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},pagination:{clickable:!0,el:".swiper-pagination"}});function counter(){var e=document.querySelectorAll(".counter-value");function i(e){return e.toString().replace(/\B(?=(\d{3})+(?!\d))/g,",")}e&&e&&Array.from(e).forEach(function(l){!function e(){var n=+l.getAttribute("data-target"),t=+l.innerText,o=n/250;o<1&&(o=1),t<n?(l.innerText=(t+o).toFixed(0),setTimeout(e,1)):l.innerText=i(n),i(l.innerText)}()})}counter();var mybutton=document.getElementById("back-to-top");function scrollFunction(){100<document.body.scrollTop||100<document.documentElement.scrollTop?mybutton.style.display="block":mybutton.style.display="none"}function topFunction(){document.body.scrollTop=0,document.documentElement.scrollTop=0}window.onscroll=function(){scrollFunction()};

View File

@ -0,0 +1 @@
var mymap=L.map("leaflet-map").setView([51.505,-.09],13),markermap=(L.tileLayer("https://api.mapbox.com/styles/v1/{id}/tiles/{z}/{x}/{y}?access_token=pk.eyJ1IjoibWFwYm94IiwiYSI6ImNpejY4NXVycTA2emYycXBndHRqcmZ3N3gifQ.rJcFIG214AriISLbB6B5aw",{maxZoom:18,attribution:'Map data &copy; <a href="https://www.openstreetmap.org/">OpenStreetMap</a> contributors, <a href="https://creativecommons.org/licenses/by-sa/2.0/">CC-BY-SA</a>, Imagery © <a href="https://www.mapbox.com/">Mapbox</a>',id:"mapbox/streets-v11",tileSize:512,zoomOffset:-1}).addTo(mymap),L.map("leaflet-map-marker").setView([51.505,-.09],13)),popupmap=(L.tileLayer("https://api.mapbox.com/styles/v1/{id}/tiles/{z}/{x}/{y}?access_token=pk.eyJ1IjoibWFwYm94IiwiYSI6ImNpejY4NXVycTA2emYycXBndHRqcmZ3N3gifQ.rJcFIG214AriISLbB6B5aw",{maxZoom:18,attribution:'Map data &copy; <a href="https://www.openstreetmap.org/">OpenStreetMap</a> contributors, <a href="https://creativecommons.org/licenses/by-sa/2.0/">CC-BY-SA</a>, Imagery © <a href="https://www.mapbox.com/">Mapbox</a>',id:"mapbox/streets-v11",tileSize:512,zoomOffset:-1}).addTo(markermap),L.marker([51.5,-.09]).addTo(markermap),L.circle([51.508,-.11],{color:"#0ab39c",fillColor:"#0ab39c",fillOpacity:.5,radius:500}).addTo(markermap),L.polygon([[51.509,-.08],[51.503,-.06],[51.51,-.047]],{color:"#405189",fillColor:"#405189"}).addTo(markermap),L.map("leaflet-map-popup").setView([51.505,-.09],13)),popup=(L.tileLayer("https://api.mapbox.com/styles/v1/{id}/tiles/{z}/{x}/{y}?access_token=pk.eyJ1IjoibWFwYm94IiwiYSI6ImNpejY4NXVycTA2emYycXBndHRqcmZ3N3gifQ.rJcFIG214AriISLbB6B5aw",{maxZoom:18,attribution:'Map data &copy; <a href="https://www.openstreetmap.org/">OpenStreetMap</a> contributors, <a href="https://creativecommons.org/licenses/by-sa/2.0/">CC-BY-SA</a>, Imagery © <a href="https://www.mapbox.com/">Mapbox</a>',id:"mapbox/streets-v11",tileSize:512,zoomOffset:-1}).addTo(popupmap),L.marker([51.5,-.09]).addTo(popupmap).bindPopup("<b>Hello world!</b><br />I am a popup.").openPopup(),L.circle([51.508,-.11],500,{color:"#f06548",fillColor:"#f06548",fillOpacity:.5}).addTo(popupmap).bindPopup("I am a circle."),L.polygon([[51.509,-.08],[51.503,-.06],[51.51,-.047]],{color:"#405189",fillColor:"#405189"}).addTo(popupmap).bindPopup("I am a polygon."),L.popup()),customiconsmap=L.map("leaflet-map-custom-icons").setView([51.5,-.09],13),LeafIcon=(L.tileLayer("https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",{attribution:'&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors'}).addTo(customiconsmap),L.Icon.extend({options:{iconSize:[45,45],iconAnchor:[22,94],popupAnchor:[-3,-76]}})),greenIcon=new LeafIcon({iconUrl:"assets/images/logo-sm.png"}),interactivemap=(L.marker([51.5,-.09],{icon:greenIcon}).addTo(customiconsmap),L.map("leaflet-map-interactive-map").setView([37.8,-96],4));function getColor(e){return 1e3<e?"#405189":500<e?"#516194":200<e?"#63719E":100<e?"#7480A9":50<e?"#8590B4":20<e?"#97A0BF":"#A8B0C9"}function style(e){return{weight:2,opacity:1,color:"white",dashArray:"3",fillOpacity:.7,fillColor:getColor(e.properties.density)}}L.tileLayer("https://api.mapbox.com/styles/v1/{id}/tiles/{z}/{x}/{y}?access_token=pk.eyJ1IjoibWFwYm94IiwiYSI6ImNpejY4NXVycTA2emYycXBndHRqcmZ3N3gifQ.rJcFIG214AriISLbB6B5aw",{maxZoom:18,attribution:'Map data &copy; <a href="https://www.openstreetmap.org/">OpenStreetMap</a> contributors, <a href="https://creativecommons.org/licenses/by-sa/2.0/">CC-BY-SA</a>, Imagery © <a href="https://www.mapbox.com/">Mapbox</a>',id:"mapbox/light-v9",tileSize:512,zoomOffset:-1}).addTo(interactivemap);var geojson=L.geoJson(statesData,{style:style}).addTo(interactivemap),cities=L.layerGroup(),mbAttr=(L.marker([39.61,-105.02]).bindPopup("This is Littleton, CO.").addTo(cities),L.marker([39.74,-104.99]).bindPopup("This is Denver, CO.").addTo(cities),L.marker([39.73,-104.8]).bindPopup("This is Aurora, CO.").addTo(cities),L.marker([39.77,-105.23]).bindPopup("This is Golden, CO.").addTo(cities),'Map data &copy; <a href="https://www.openstreetmap.org/">OpenStreetMap</a> contributors, <a href="https://creativecommons.org/licenses/by-sa/2.0/">CC-BY-SA</a>, Imagery © <a href="https://www.mapbox.com/">Mapbox</a>'),mbUrl="https://api.mapbox.com/styles/v1/{id}/tiles/{z}/{x}/{y}?access_token=pk.eyJ1IjoibWFwYm94IiwiYSI6ImNpejY4NXVycTA2emYycXBndHRqcmZ3N3gifQ.rJcFIG214AriISLbB6B5aw",grayscale=L.tileLayer(mbUrl,{id:"mapbox/light-v9",tileSize:512,zoomOffset:-1,attribution:mbAttr}),streets=L.tileLayer(mbUrl,{id:"mapbox/streets-v11",tileSize:512,zoomOffset:-1,attribution:mbAttr}),layergroupcontrolmap=L.map("leaflet-map-group-control",{center:[39.73,-104.99],zoom:10,layers:[streets,cities]}),baseLayers={Grayscale:grayscale,Streets:streets},overlays={Cities:cities};L.control.layers(baseLayers,overlays).addTo(layergroupcontrolmap);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
var varyingcontentModal=document.getElementById("varyingcontentModal");varyingcontentModal&&varyingcontentModal.addEventListener("show.bs.modal",function(t){var t=t.relatedTarget.getAttribute("data-bs-whatever"),e=varyingcontentModal.querySelector(".modal-title"),n=varyingcontentModal.querySelector(".modal-body input");e.textContent="New message to "+t,n.value=t});

View File

@ -0,0 +1 @@
var nestedSortables=[].slice.call(document.querySelectorAll(".nested-sortable")),nestedSortablesHandles=(nestedSortables&&Array.from(nestedSortables).forEach(function(e){new Sortable(e,{group:"nested",animation:150,fallbackOnBody:!0,swapThreshold:.65})}),[].slice.call(document.querySelectorAll(".nested-sortable-handle")));nestedSortablesHandles&&Array.from(nestedSortablesHandles).forEach(function(e){new Sortable(e,{handle:".handle",group:"nested",animation:150,fallbackOnBody:!0,swapThreshold:.65})});

View File

@ -0,0 +1 @@
function windowScroll(){var t=document.getElementById("navbar");t&&(50<=document.body.scrollTop||50<=document.documentElement.scrollTop?t.classList.add("is-sticky"):t.classList.remove("is-sticky"))}window.addEventListener("scroll",function(t){t.preventDefault(),windowScroll()});var filterBtns=document.querySelectorAll(".filter-btns .nav-link"),productItems=document.querySelectorAll(".product-item"),swiper=(Array.from(filterBtns).forEach(function(t){t.addEventListener("click",function(t){t.preventDefault();for(var e=0;e<filterBtns.length;e++)filterBtns[e].classList.remove("active");this.classList.add("active");var n=t.target.dataset.filter;Array.from(productItems).forEach(function(t){"all"===n||t.classList.contains(n)?t.style.display="block":t.style.display="none"})})}),new Swiper(".mySwiper",{slidesPerView:1,spaceBetween:30,loop:!0,autoplay:{delay:2500,disableOnInteraction:!1},pagination:{el:".swiper-pagination",clickable:!0},navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},breakpoints:{576:{slidesPerView:2},768:{slidesPerView:3},1200:{slidesPerView:4}}})),mybutton=document.getElementById("back-to-top");function scrollFunction(){100<document.body.scrollTop||100<document.documentElement.scrollTop?mybutton.style.display="block":mybutton.style.display="none"}function topFunction(){document.body.scrollTop=0,document.documentElement.scrollTop=0}window.onscroll=function(){scrollFunction()};

View File

@ -0,0 +1 @@
var toastTrigger2=document.getElementById("borderedToast1Btn"),toastLiveExample2=document.getElementById("borderedToast1"),toastTrigger3=(toastTrigger2&&toastLiveExample2&&toastTrigger2.addEventListener("click",function(){new bootstrap.Toast(toastLiveExample2).show()}),document.getElementById("borderedToast2Btn")),toastLiveExample3=document.getElementById("borderedToast2"),toastTrigger4=(toastTrigger3&&toastLiveExample3&&toastTrigger3.addEventListener("click",function(){new bootstrap.Toast(toastLiveExample3).show()}),document.getElementById("borderedTost3Btn")),toastLiveExample4=document.getElementById("borderedTost3"),toastTrigger5=(toastTrigger4&&toastLiveExample4&&toastTrigger4.addEventListener("click",function(){new bootstrap.Toast(toastLiveExample4).show()}),document.getElementById("borderedToast4Btn")),toastLiveExample5=document.getElementById("borderedToast4");toastTrigger5&&toastLiveExample5&&toastTrigger5.addEventListener("click",function(){new bootstrap.Toast(toastLiveExample5).show()}),(toastPlacement=document.getElementById("toastPlacement"))&&document.getElementById("selectToastPlacement").addEventListener("change",function(){toastPlacement.dataset.originalClass||(toastPlacement.dataset.originalClass=toastPlacement.className),toastPlacement.className=toastPlacement.dataset.originalClass+" "+this.value}),Array.from(document.querySelectorAll(".bd-example .toast")).forEach(function(t){new bootstrap.Toast(t,{autohide:!1}).show()});

View File

@ -0,0 +1 @@
particlesJS("auth-particles",{particles:{number:{value:90,density:{enable:!0,value_area:800}},color:{value:"#ffffff"},shape:{type:"circle",stroke:{width:0,color:"#000000"},polygon:{nb_sides:5},image:{src:"img/github.svg",width:100,height:100}},opacity:{value:.8,random:!0,anim:{enable:!0,speed:1,opacity_min:0,sync:!1}},size:{value:4,random:!0,anim:{enable:!1,speed:4,size_min:.2,sync:!1}},line_linked:{enable:!1,distance:150,color:"#ffffff",opacity:.4,width:1},move:{enable:!0,speed:2,direction:"none",random:!1,straight:!1,out_mode:"out",attract:{enable:!1,rotateX:600,rotateY:1200}}},interactivity:{detect_on:"canvas",events:{onhover:{enable:!0,mode:"bubble"},onclick:{enable:!0,mode:"repulse"},resize:!0},modes:{grab:{distance:400,line_linked:{opacity:1}},bubble:{distance:400,size:4,duration:2,opacity:.8,speed:3},repulse:{distance:200},push:{particles_nb:4},remove:{particles_nb:2}}},retina_detect:!0,config_demo:{hide_card:!1,background_color:"#b61924",background_image:"",background_position:"50% 50%",background_repeat:"no-repeat",background_size:"cover"}});

View File

@ -0,0 +1 @@
Array.from(document.querySelectorAll("form .auth-pass-inputgroup")).forEach(function(s){Array.from(s.querySelectorAll(".password-addon")).forEach(function(t){t.addEventListener("click",function(t){var e=s.querySelector(".password-input");"password"===e.type?e.type="text":e.type="password"})})});var password=document.getElementById("password-input"),confirm_password=document.getElementById("confirm-password-input");function validatePassword(){password.value!=confirm_password.value?confirm_password.setCustomValidity("Passwords Don't Match"):confirm_password.setCustomValidity("")}password.onchange=validatePassword;var myInput=document.getElementById("password-input"),letter=document.getElementById("pass-lower"),capital=document.getElementById("pass-upper"),number=document.getElementById("pass-number"),length=document.getElementById("pass-length");myInput.onfocus=function(){document.getElementById("password-contain").style.display="block"},myInput.onblur=function(){document.getElementById("password-contain").style.display="none"},myInput.onkeyup=function(){myInput.value.match(/[a-z]/g)?(letter.classList.remove("invalid"),letter.classList.add("valid")):(letter.classList.remove("valid"),letter.classList.add("invalid")),myInput.value.match(/[A-Z]/g)?(capital.classList.remove("invalid"),capital.classList.add("valid")):(capital.classList.remove("valid"),capital.classList.add("invalid"));myInput.value.match(/[0-9]/g)?(number.classList.remove("invalid"),number.classList.add("valid")):(number.classList.remove("valid"),number.classList.add("invalid")),8<=myInput.value.length?(length.classList.remove("invalid"),length.classList.add("valid")):(length.classList.remove("valid"),length.classList.add("invalid"))};

View File

@ -0,0 +1 @@
Array.from(document.querySelectorAll("form .auth-pass-inputgroup")).forEach(function(e){Array.from(e.querySelectorAll(".password-addon")).forEach(function(r){r.addEventListener("click",function(r){var o=e.querySelector(".password-input");"password"===o.type?o.type="text":o.type="password"})})});

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
document.querySelectorAll(".plan-nav .nav-item .nav-link")&&Array.from(document.querySelectorAll(".plan-nav .nav-item .nav-link")).forEach(function(e){var n,t=document.getElementsByClassName("month"),a=document.getElementsByClassName("annual");1==e.classList.contains("active")&&(n=0,Array.from(t).forEach(function(e){a[n].style.display="none",e.style.display="block",n++}))}),document.getElementById("month-tab")&&document.getElementById("month-tab").addEventListener("click",function(){var e=document.getElementsByClassName("month"),n=document.getElementsByClassName("annual"),t=0;Array.from(e).forEach(function(e){n[t]&&(n[t].style.display="none"),e&&(e.style.display="block"),t++})}),document.getElementById("annual-tab")&&document.getElementById("annual-tab").addEventListener("click",function(){var e=document.getElementsByClassName("month"),n=document.getElementsByClassName("annual"),t=0;Array.from(e).forEach(function(e){n[t]&&(n[t].style.display="block"),e&&(e.style.display="none"),t++})});

View File

@ -0,0 +1 @@
document.querySelector("#profile-foreground-img-file-input")&&document.querySelector("#profile-foreground-img-file-input").addEventListener("change",function(){var o=document.querySelector(".profile-wid-img"),e=document.querySelector(".profile-foreground-img-file-input").files[0],i=new FileReader;i.addEventListener("load",function(){o.src=i.result},!1),e&&i.readAsDataURL(e)}),document.querySelector("#profile-img-file-input")&&document.querySelector("#profile-img-file-input").addEventListener("change",function(){var o=document.querySelector(".user-profile-image"),e=document.querySelector(".profile-img-file-input").files[0],i=new FileReader;i.addEventListener("load",function(){o.src=i.result},!1),e&&i.readAsDataURL(e)});var count=2;function new_link(){count++;var o=document.createElement("div"),e='<div class="row"><div class="col-lg-12"><div class="mb-3"><label for="jobTitle1" class="form-label">Job Title</label><input type="text" class="form-control" id="jobTitle1" placeholder="Job title"></div></div><div class="col-lg-6"><div class="mb-3"><label for="companyName" class="form-label">Company Name</label><input type="text" class="form-control" id="companyName" placeholder="Company name"></div></div><div class="col-lg-6"><div class="mb-3"><label for="choices-single-default3" class="form-label">Experience Years</label><div class="row"><div class="col-lg-5"><select class="form-control" data-trigger name="choices-single-default3"> <option value="">Select years</option><option value="Choice 1">2001</option><option value="Choice 2">2002</option><option value="Choice 3">2003</option><option value="Choice 4">2004</option><option value="Choice 5">2005</option><option value="Choice 6">2006</option><option value="Choice 7">2007</option><option value="Choice 8">2008</option><option value="Choice 9">2009</option><option value="Choice 10">2010</option><option value="Choice 11">2011</option><option value="Choice 12">2012</option><option value="Choice 13">2013</option><option value="Choice 14">2014</option><option value="Choice 15">2015</option><option value="Choice 16">2016</option><option value="Choice 17">2017</option><option value="Choice 18">2018</option><option value="Choice 19">2019</option><option value="Choice 20">2020</option><option value="Choice 21">2021</option><option value="Choice 22">2022</option></select></div><div class="col-auto align-self-center">to</div><div class="col-lg-5"><select class="form-control" data-trigger name="choices-single-default2"><option value="">Select years</option><option value="Choice 1">2001</option><option value="Choice 2">2002</option><option value="Choice 3">2003</option><option value="Choice 4">2004</option><option value="Choice 5">2005</option><option value="Choice 6">2006</option><option value="Choice 7">2007</option><option value="Choice 8">2008</option><option value="Choice 9">2009</option><option value="Choice 10">2010</option><option value="Choice 11">2011</option><option value="Choice 12">2012</option><option value="Choice 13">2013</option><option value="Choice 14">2014</option><option value="Choice 15">2015</option><option value="Choice 16">2016</option><option value="Choice 17">2017</option><option value="Choice 18">2018</option><option value="Choice 19">2019</option><option value="Choice 20">2020</option><option value="Choice 21">2021</option><option value="Choice 22">2022</option></select></div></div></div></div><div class="col-lg-12"><div class="mb-3"><label for="jobDescription" class="form-label">Job Description</label><textarea class="form-control" id="jobDescription" rows="3" placeholder="Enter description"></textarea></div></div><div class="hstack gap-2 justify-content-end"><a class="btn btn-success" href="javascript:deleteEl('+(o.id=count)+')">Delete</a></div></div>',e=(o.innerHTML=document.getElementById("newForm").innerHTML+e,document.getElementById("newlink").appendChild(o),document.querySelectorAll("[data-trigger]"));Array.from(e).forEach(function(o){new Choices(o,{placeholderValue:"This is a placeholder set in the config",searchPlaceholderValue:"This is a search placeholder",searchEnabled:!1})})}function deleteEl(o){o=(d=document).getElementById(o);d.getElementById("newlink").removeChild(o)}

View File

@ -0,0 +1 @@
var swiper=new Swiper(".project-swiper",{slidesPerView:1,spaceBetween:24,navigation:{nextEl:".slider-button-next",prevEl:".slider-button-prev"},breakpoints:{640:{slidesPerView:1,spaceBetween:15},768:{slidesPerView:2,spaceBetween:20},1200:{slidesPerView:3,spaceBetween:25}}});

View File

@ -0,0 +1 @@
var previewTemplate,dropzone,ckeditorClassic=document.querySelector("#ckeditor-classic"),dropzonePreviewNode=(ckeditorClassic&&ClassicEditor.create(document.querySelector("#ckeditor-classic")).then(function(e){e.ui.view.editable.element.style.height="200px"}).catch(function(e){console.error(e)}),document.querySelector("#dropzone-preview-list"));dropzonePreviewNode&&(dropzonePreviewNode.id="",previewTemplate=dropzonePreviewNode.parentNode.innerHTML,dropzonePreviewNode.parentNode.removeChild(dropzonePreviewNode),dropzone=new Dropzone(".dropzone",{url:"https://httpbin.org/post",method:"post",previewTemplate:previewTemplate,previewsContainer:"#dropzone-preview"}));

View File

@ -0,0 +1 @@
var favouriteBtn=document.querySelectorAll(".favourite-btn"),removeProduct=(favouriteBtn&&Array.from(document.querySelectorAll(".favourite-btn")).forEach(function(e){e.addEventListener("click",function(e){this.classList.toggle("active")})}),document.getElementById("removeProjectModal"));removeProduct&&removeProduct.addEventListener("show.bs.modal",function(t){document.getElementById("remove-project").addEventListener("click",function(e){t.relatedTarget.closest(".project-card").remove(),document.getElementById("close-modal").click()})});

View File

@ -0,0 +1 @@
var favouriteBtn=document.querySelectorAll(".favourite-btn");favouriteBtn&&Array.from(document.querySelectorAll(".favourite-btn")).forEach(function(t){t.addEventListener("click",function(t){this.classList.toggle("active")})});

Some files were not shown because too many files have changed in this diff Show More