PageSourceSearch

https://www.nextelection.com/static/js/ISC.c73727c6.chunk.js

js nextelection.com collected 2026-10-07 00:19:36 UTC 4,172 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkmc_frontend=self.webpackChunkmc_frontend||[]).push([[4070,975,8862,6652],{12376:(e,l,s)=>{s.r(l),s.d(l,{default:()=>h});var a=s(9950),t=s(96011),n=s.n(t),i=s(30373),r=s(11546),c=s(53011),o=s(25277),d=s(28321),u=s(2873),p=s(7304),m=s(55757),x=s(44414);const g=[{groupName:"Type",values:[{selected:!1,label:"Bug"},{selected:!1,label:"Feature"}]},{groupName:"Status",values:[{selected:!1,label:"Open"},{selected:!1,label:"In progress"},{selected:!1,label:"Resolved"},{selected:!1,label:"Wont fix"},{selected:!1,label:"Duplicate"}]},{groupName:"Priority",values:[{selected:!1,label:"High"},{selected:!1,label:"Medium"},{selected:!1,label:"Low"}]}];const h=(0,r.Ng)(null,{recacheAConversation:u.gKX})((function(e){const{t:l}=(0,d.Bd)(),[s,t]=(0,a.useState)(g),[r,h]=(0,a.useState)(null),[b,v]=(0,a.useState)(!1),[A,f]=(0,a.useState)(!1),[j,y]=(0,a.useState)(!1),C=e.convoDetails.id;return e.optionalRetagging,(0,a.useEffect)((()=>{if(e.labels){let l=(0,u.A4q)(g);l.map(((l,s)=>{l.values.map(((l,s)=>{e.labels.includes(l.label)&&(l.selected=!0)}))})),t(l)}}),[e.labels]),(0,x.jsxs)("div",{className:"mt32 box border mb32",children:[s.map(((l,a)=>(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)("h3",{className:"widget__title",children:l.groupName}),(0,x.jsx)(c.A,{sx:{float:"left",display:"flex",flexWrap:"wrap",listStyle:"none",margin:0,marginTop:1,marginBottom:2,width:"100%"},children:l.values.map(((l,n)=>e.optionalRetagging?(0,x.jsx)(o.A,{label:l.label,onClick:()=>function(e,l){let a=(0,u.A4q)(s);a[e].values.forEach((e=>{e.selected=!1})),a[e].values[l].selected=!0,t(a);let n=[];a.map(((e,l)=>{e.values.map(((e,l)=>{e.selected&&n.push(e.label)}))})),h(n),v(!1),f(!1),y(!1)}(a,n),color:l.selected?"primary":"default",sx:{margin:.5}}):(0,x.jsx)(o.A,{label:l.label,color:l.selected?"primary":"default",sx:{margin:.5}})))})]}))),e.optionalRetagging&&(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)(m.A,{}),(0,x.jsx)(p.A,{onClick:function(){if(e.optionalRetagging){y(!1),v(!1),f(!0);let l={};l.labels=r.join(","),l.channel_type=e.channelType,l.channel_id=e.channelID,n().patch("".concat(i.A.baseAPI,"conversations/").concat(C),l,{headers:(0,u.IjC)()}).then((l=>{v(!0),f(!1),e.recacheAConversation(C,e.channelType,e.channelID)})).catch((e=>{f(!1),y(!0)}))}},variant:"contained",size:"small",disabled:A||!r,buttonText:l("Save labels"),loading:A,success:b,error:j})]})]})}))},7304:(e,l,s)=>{s.d(l,{A:()=>p});var a=s(9950),t=s(46639),n=s(18216),i=s(73902),r=s(80392),c=s(7021),o=s(78107),d=s(53011),u=s(44414);function p(e){const[l,s]=(0,a.useState)(0),[p,m]=(0,a.useState)(0);return(0,a.useEffect)((()=>{e.error&&s(l+1)}),[e.error]),(0,u.jsxs)(u.Fragment,{children:[e.inlineAlert&&(0,u.jsx)(o.A,{title:e.inlineAlert.title,severity:e.inlineAlert.severity,text:e.inlineAlert.text,cantDismiss:e.inlineAlert.cantDismiss}),(0,u.jsx)(d.A,{style:e.style,sx:{display:"flex",alignItems:"center",float:"left"},children:(0,u.jsxs)(d.A,{sx:{margin:0,position:"relative"},children:[(0,u.jsxs)(n.A,{type:e.type,onClick:e.onClick,variant:e.variant,color:"primary",size:e.size,className:e.className,sx:e.sx,disabled:e.disabled,children:[e.buttonText,e.success?(0,u.jsx)(c.A,{sx:{ml:1}}):(0,u.jsx)(r.A,{sx:{ml:1}})]}),e.loading&&(0,u.jsx)(t.A,{size:24,sx:{position:"absolute",top:"50%",left:"50%",marginTop:"-12px",marginLeft:"-12px"}})]})}),e.successToast&&(0,u.jsx)(i.A,{message:e.successMessage,open:!0,duration:8e3,variant:"success"}),(0,u.jsx)(i.A,{message:"A network error has occurred.",openCount:l,variant:"error",duration:8e3})]})}},7021:(e,l,s)=>{var a=s(24994);l.A=void 0;var t=a(s(79526)),n=s(44414);l.A=(0,t.default)([(0,n.jsx)("path",{d:"M12 4c-4.41 0-8 3.59-8 8s3.59 8 8 8 8-3.59 8-8-3.59-8-8-8m-2 13-4-4 1.41-1.41L10 14.17l6.59-6.59L18 9z",opacity:".3"},"0"),(0,n.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8m4.59-12.42L10 14.17l-2.59-2.58L6 13l4 4 8-8z"},"1")],"CheckCircleTwoTone")},80392:(e,l,s)=>{var a=s(24994);l.A=void 0;var t=a(s(79526)),n=s(44414);l.A=(0,t.default)((0,n.jsx)("path",{d:"M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"}),"ChevronRight")}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.