1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3950],{41276:(e,s,a)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/chat/admin",function(){return a(88425)}])},88425:(e,s,a)=>{"use strict";a.r(s),a.d(s,{default:()=>V});var c=a(14232),n=a(14320),l=a(73325),h=a(24110),i=a(37876);function r(e){return(0,i.jsxs)("div",{className:"sticky-top h-bac-wh h-h-3 h-bb-dd h-w-100 d-flex align-items-center justify-content-between",children:[(0,i.jsx)("div",{children:(0,i.jsx)("p",{className:"h-fs-11 h-fb-600 h-ml-1"})}),(0,i.jsx)("div",{children:(0,i.jsxs)(n.default,{className:"h-bb-none h-mb--01",mode:"horizontal",selectedKeys:e.page||["snippet"],onClick:function(s){var a=s.key;e.setpage(a)},children:[(0,i.jsx)(n.default.Item,{className:"h-lh-15 h-py-07",children:(0,i.jsxs)("div",{className:"d-flex align-items-center",children:[(0,i.jsx)(l.S5M,{className:"h-mr-05 h-fs-11 h-fc-b1"}),(0,i.jsx)("span",{className:"h-fb-600",children:"Chat flow"})]})},"flow"),(0,i.jsx)(n.default.Item,{className:"h-lh-15 h-py-07",children:(0,i.jsxs)("div",{className:"d-flex align-items-center",children:[(0,i.jsx)(h.s_k,{className:"h-mr-05 h-fs-11 h-fc-p1"}),(0,i.jsx)("span",{className:"h-fb-600",children:"Chat snippet"})]})},"snippet")]})}),(0,i.jsx)("div",{children:(0,i.jsx)("p",{className:"h-fs-11 h-fb-600 h-ml-1"})})]})}var t=a(11782),d=a(57332);function m(e){return(0,i.jsx)("div",{className:"container h-mt-4",children:(0,i.jsxs)("div",{className:"container d-flex flex-column h-mt-4",children:[(0,i.jsxs)("div",{className:"d-flex align-items-center h-ml-05",children:[(0,i.jsx)("div",{className:"h-fs-13 h-fb-600",children:"Chat snippets"}),(0,i.jsx)("div",{className:"d-flex align-items-center justify-content-end",children:(0,i.jsx)("div",{className:"h-br-05 h-py-05 h-px-1 h-ml-1 h-mr-05 h-fc-wh h-fs-08 h-bac-b1 h-cur-grab",onClick:function(){e.setpagefn("newsnippet")},children:"NEW QUESTION"})}),(0,i.jsxs)("div",{className:"d-flex align-items-center ml-auto",children:[(0,i.jsx)("div",{className:"h-ml-05 h-fb-600 h-fc-bb h-fc-b1 h-cur-grab h-f-und-hov",children:"all questions"}),(0,i.jsx)("div",{className:"h-ml-15 h-fb-600 h-fc-bb h-cur-grab h-f-und-hov",children:"company questions"}),(0,i.jsx)("div",{className:"h-ml-15 h-fb-600 h-fc-bb h-cur-grab h-f-und-hov",children:"my questions"})]})]}),(0,i.jsxs)("div",{className:"h-mt-1 h-bc-dd h-p-075 d-flex flex-column",children:[(0,i.jsxs)("div",{className:"d-flex h-mb-05 align-items-center",children:[(0,i.jsxs)("div",{className:"d-flex align-items-center flex-grow-1",children:[(0,i.jsx)(d.K9Y,{className:"h-fc-red h-mr-05"}),(0,i.jsx)("div",{className:"h-fs-12 h-fc-b1 h-fb-600 h-f-und-hov h-cur-grab",children:"Work authorization"})]}),(0,i.jsx)("div",{className:"d-flex h-cur-grab h-fc-aa h-mr-1 h-bc-b1 h-py-03 h-br-025 h-px-1 align-items-center",children:(0,i.jsx)("div",{className:"h-ml-025 h-fc-b1",children:"Edit"})}),(0,i.jsx)(h.IXo,{className:"h-fs-15 h-cur-grab h-fc-b1"})]}),(0,i.jsxs)("div",{className:"d-flex justify-content-left",children:[(0,i.jsx)("span",{className:"",children:"Single select"}),(0,i.jsx)("span",{className:"h-mx-05",children:"|"}),(0,i.jsx)("span",{className:"h-fc-aa",children:"Thank you for showing interest! We need a couple of details to get started. Wha..."})]})]}),(0,i.jsxs)("div",{className:"h-mt-1 h-bc-dd h-p-075 d-flex flex-column",children:[(0,i.jsxs)("div",{className:"d-flex h-mb-05 align-items-center",children:[(0,i.jsx)("div",{className:"h-fs-12 h-fc-b1 h-fb-600 h-mr-1 h-f-und-hov h-cur-grab flex-grow-1",children:"A good time to connect"}),(0,i.jsx)("div",{className:"d-flex h-cur-grab h-fc-aa h-mr-1 h-bc-b1 h-py-03 h-br-025 h-px-1 align-items-center",children:(0,i.jsx)("div",{className:"h-ml-025 h-fc-b1",children:"Edit"})}),(0,i.jsx)(h.IXo,{className:"h-fs-15 h-cur-grab h-fc-b1"})]}),(0,i.jsxs)("div",{className:"d-flex justify-content-left",children:[(0,i.jsx)("span",{className:"",children:"Text"}),(0,i.jsx)("span",{className:"h-mx-05",children:"|"}),(0,i.jsx)("span",{className:"h-fc-aa",children:"One last question before I hand you off to a Recruiter. When is a good ti..."})]})]}),(0,i.jsxs)("div",{className:"h-mt-1 h-bc-dd h-p-075 d-flex flex-column",children:[(0,i.jsxs)("div",{className:"d-flex h-mb-05 align-items-center",children:[(0,i.jsxs)("div",{className:"d-flex align-items-center flex-grow-1",children:[(0,i.jsx)(d.K9Y,{className:"h-fc-red h-mr-05"}),(0,i.jsx)("div",{className:"h-fs-12 h-fc-b1 h-fb-600 h-f-und-hov h-cur-grab",children:"Work authorization"})]}),(0,i.jsx)("div",{className:"d-flex h-cur-grab h-fc-aa h-mr-1 h-bc-b1 h-py-03 h-br-025 h-px-1 align-items-center",children:(0,i.jsx)("div",{className:"h-ml-025 h-fc-b1",children:"Edit"})}),(0,i.jsx)(h.IXo,{className:"h-fs-15 h-cur-grab h-fc-b1"})]}),(0,i.jsxs)("div",{className:"d-flex justify-content-left",children:[(0,i.jsx)("span",{className:"",children:"Text parse | 1 value"}),(0,i.jsx)("span",{className:"h-mx-05",children:"|"}
1),(0,i.jsx)("span",{className:"h-fc-aa",children:"Thank you for showing interest! We need a couple of details to get started. Wha..."})]})]}),(0,i.jsxs)("div",{className:"h-mt-1 h-bc-dd h-p-075 d-flex flex-column",children:[(0,i.jsxs)("div",{className:"d-flex h-mb-05 align-items-center",children:[(0,i.jsx)("div",{className:"h-fs-12 h-fc-b1 h-fb-600 h-mr-1 h-f-und-hov h-cur-grab flex-grow-1",children:"A good time to connect"}),(0,i.jsx)("div",{className:"d-flex h-cur-grab h-fc-aa h-mr-1 h-bc-b1 h-py-03 h-br-025 h-px-1 align-items-center",children:(0,i.jsx)("div",{className:"h-ml-025 h-fc-b1",children:"Edit"})}),(0,i.jsx)(h.IXo,{className:"h-fs-15 h-cur-grab h-fc-b1"})]}),(0,i.jsxs)("div",{className:"d-flex justify-content-left",children:[(0,i.jsx)("span",{className:"",children:"Fixed input | 3 values"}),(0,i.jsx)("span",{className:"h-mx-05",children:"|"}),(0,i.jsx)("span",{className:"h-fc-aa",children:"One last question before I hand you off to a Recruiter. When is a good ti..."})]})]}),(0,i.jsxs)("div",{className:"h-mt-1 h-bc-dd h-p-075 d-flex flex-column",children:[(0,i.jsxs)("div",{className:"d-flex h-mb-05 align-items-center",children:[(0,i.jsxs)("div",{className:"d-flex align-items-center flex-grow-1",children:[(0,i.jsx)(d.K9Y,{className:"h-fc-red h-mr-05"}),(0,i.jsx)("div",{className:"h-fs-12 h-fc-b1 h-fb-600 h-f-und-hov h-cur-grab",children:"Work authorization"})]}),(0,i.jsx)("div",{className:"d-flex h-cur-grab h-fc-aa h-mr-1 h-bc-b1 h-py-03 h-br-025 h-px-1 align-items-center",children:(0,i.jsx)("div",{className:"h-ml-025 h-fc-b1",children:"Edit"})}),(0,i.jsx)(h.IXo,{className:"h-fs-15 h-cur-grab h-fc-b1"})]}),(0,i.jsxs)("div",{className:"d-flex justify-content-left",children:[(0,i.jsx)("span",{className:"",children:"Single select"}),(0,i.jsx)("span",{className:"h-mx-05",children:"|"}),(0,i.jsx)("span",{className:"h-fc-aa",children:"Thank you for showing interest! We need a couple of details to get started. Wha..."})]})]}),(0,i.jsxs)("div",{className:"h-mt-1 h-bc-dd h-p-075 d-flex flex-column",children:[(0,i.jsxs)("div",{className:"d-flex h-mb-05 align-items-center",children:[(0,i.jsx)("div",{className:"h-fs-12 h-fc-b1 h-fb-600 h-mr-1 h-f-und-hov h-cur-grab flex-grow-1",children:"A good time to connect"}),(0,i.jsx)("div",{className:"d-flex h-cur-grab h-fc-aa h-mr-1 h-bc-b1 h-py-03 h-br-025 h-px-1 align-items-center",children:(0,i.jsx)("div",{className:"h-ml-025 h-fc-b1",children:"Edit"})}),(0,i.jsx)(h.IXo,{className:"h-fs-15 h-cur-grab h-fc-b1"})]}),(0,i.jsxs)("div",{className:"d-flex justify-content-left",children:[(0,i.jsx)("span",{className:"",children:"Text"}),(0,i.jsx)("span",{className:"h-mx-05",children:"|"}),(0,i.jsx)("span",{className:"h-fc-aa",children:"One last question before I hand you off to a Recruiter. When is a good ti..."})]})]}),(0,i.jsxs)("div",{className:"h-mt-1 h-bc-dd h-p-075 d-flex flex-column",children:[(0,i.jsxs)("div",{className:"d-flex h-mb-05 align-items-center",children:[(0,i.jsxs)("div",{className:"d-flex align-items-center flex-grow-1",children:[(0,i.jsx)(d.K9Y,{className:"h-fc-red h-mr-05"}),(0,i.jsx)("div",{className:"h-fs-12 h-fc-b1 h-fb-600 h-f-und-hov h-cur-grab",children:"Work authorization"})]}),(0,i.jsx)("div",{className:"d-flex h-cur-grab h-fc-aa h-mr-1 h-bc-b1 h-py-03 h-br-025 h-px-1 align-items-center",children:(0,i.jsx)("div",{className:"h-ml-025 h-fc-b1",children:"Edit"})}),(0,i.jsx)(h.IXo,{className:"h-fs-15 h-cur-grab h-fc-b1"})]}),(0,i.jsxs)("div",{className:"d-flex justify-content-left",children:[(0,i.jsx)("span",{className:"",children:"Single select"}),(0,i.jsx)("span",{className:"h-mx-05",children:"|"}),(0,i.jsx)("span",{className:"h-fc-aa",children:"Thank you for showing interest! We need a couple of details to get started. Wha..."})]})]}),(0,i.jsxs)("div",{className:"h-mt-1 h-bc-dd h-p-075 d-flex flex-column",children:[(0,i.jsxs)("div",{className:"d-flex h-mb-05 align-items-center",children:[(0,i.jsx)("div",{className:"h-fs-12 h-fc-b1 h-fb-600 h-mr-1 h-f-und-hov h-cur-grab flex-grow-1",children:"A good time to connect"}),(0,i.jsx)("div",{className:"d-flex h-cur-grab h-fc-aa h-mr-1 h-bc-b1 h-py-03 h-br-025 h-px-1 align-items-center",children:(0,i.jsx)("div",{className:"h-ml-025 h-fc-b1",children:"Edit"})}),(0,i.jsx)(h.IXo,{className:"h-fs-15 h-cur-grab h-fc-b1"})]}),(0,i.jsxs)("div",{className:"d-flex justify-content-left",children:[(0,i.jsx)("span",{className:"",children:"Text"}),(0,i.jsx)("span",{className:"h-mx-05",children:"|"}),(0,i.jsx)("span",{className:"h-fc-aa",children:"One last question before I hand you off to a Recruiter. When is a good ti..."})]})]})]})})}var f=a(27925),o=a(42969),x=a(74517),u=a(63857),p=a(43081),j=a.n(p),b=a(91040),N=a(5136),v=a(82652);function g(){return(g=(0,u.A)(j().mark(function e(){var s,a=arguments;return j().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return s=a.length>0&&void 0!==a[0]?a[0]:{},e.abrupt("return",(0,b.A)({url:"".concat(N.A.NODE_HOST,"/chatadmin/ne
1w_snippet"),data:s,method:"post"}).then(function(e){return 200==e.status&&"success"==e.data.status?(v.default.success({placement:"bottomRight",message:"Snippet created!!",description:"Snippet has been successfully created. You can go ahead and use it in chat flows"}),!0):(y(e),!1)}).catch(function(e){(function(e){_.apply(this,arguments)})(e)}));case 2:case"end":return e.stop()}},e)}))).apply(this,arguments)}function y(e){return w.apply(this,arguments)}function w(){return(w=(0,u.A)(j().mark(function e(s){var a;return j().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:a=null!=s.message?a=s.message:"Unknown error returned from server",v.default.error({placement:"bottomRight",message:"Snippet creation failed!!",description:a});case 2:case"end":return e.stop()}},e)}))).apply(this,arguments)}function _(){return(_=(0,u.A)(j().mark(function e(s){var a;return j().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:a="Unexpected error from server",a=s.response?401==s.response.status?"Status: 401 - Server seems to think you are not permitted to perform this operation":"Status: "+s.response.status+" - Server erorr returned. Contact support":s.message,v.default.error({placement:"bottomRight",message:"Snippet creation failed!!",description:a});case 3:case"end":return e.stop()}},e)}))).apply(this,arguments)}function O(e,s){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);s&&(c=c.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),a.push.apply(a,c)}return a}function I(e){for(var s=1;s<arguments.length;s++){var a=null!=arguments[s]?arguments[s]:{};s%2?O(Object(a),!0).forEach(function(s){(0,o.A)(e,s,a[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):O(Object(a)).forEach(function(s){Object.defineProperty(e,s,Object.getOwnPropertyDescriptor(a,s))})}return e}function E(e){return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("div",{className:"h-mt-2 h-mb-05",children:"Input type"}),(0,i.jsx)("div",{className:"d-flex align-items-center",children:(0,i.jsxs)(x.Ay.Group,{className:"h-ml-05 d-flex align-items-center",onChange:function(s){e.parentupdater({ans_ip_form:s.target.value})},defaultValue:e.injson.ans_ip_form||"text",children:[(0,i.jsx)(x.Ay,{className:"h-fs-11 h-fc-88",value:"text",children:(0,i.jsx)("span",{className:"h-ml-025 h-fs-09",children:"Text input"})}),(0,i.jsx)(x.Ay,{className:"h-ml-2 h-fs-11 h-fc-88",value:"dropdown",children:(0,i.jsx)("span",{className:"h-ml-025 h-fs-09",children:"Dropdown input"})}),(0,i.jsx)(x.Ay,{className:"h-ml-2 h-fs-11 h-fc-88",value:"expanded",children:(0,i.jsx)("span",{className:"h-ml-025 h-fs-09",children:"Expanded list with check"})})]})}),(0,i.jsx)("div",{className:"h-mt-2 h-mb-05",children:"Options"}),(0,i.jsxs)("div",{className:"d-flex align-items-center",children:[(0,i.jsx)("input",{className:"h-fs-11 h-fc-88",type:"checkbox",onChange:function(s){e.parentupdater({ans_ip_opt_multi:s.target.checked})},defaultValue:e.injson.ans_ip_opt_multi||!1}),(0,i.jsx)("div",{className:"h-ml-025 h-fs-09",children:"Multi select"}),(0,i.jsx)("input",{className:"h-ml-1 h-fs-11 h-fc-88",type:"checkbox",onChange:function(s){e.parentupdater({ans_ip_opt_search:s.target.checked})},defaultValue:e.injson.ans_ip_opt_search||!1}),(0,i.jsx)("div",{className:"h-ml-025 h-fs-09",children:"With text search"}),(0,i.jsx)("input",{className:"h-ml-1 h-fs-11 h-fc-88",type:"checkbox",onChange:function(s){e.parentupdater({ans_ip_opt_mandatory:s.target.checked})},defaultValue:e.injson.ans_ip_opt_mandatory||!1}),(0,i.jsx)("div",{className:"h-ml-025 h-fs-09",children:"Mandatory"})]})]})}function k(e){return(0,i.jsxs)("div",{className:"d-flex h-mt-2 align-items-center",children:[(0,i.jsx)("div",{className:"h-w-15r",children:"Enum to use"}),(0,i.jsxs)("select",{className:"h-dropdown-1 h-w-20r",onChange:function(s){e.parentupdater({ans_ip_enum:s.target.value})},defaultValue:e.injson.ans_ip_enum||"def",children:[(0,i.jsx)("option",{disabled:!0,value:"def",children:"Select a property"}),(0,i.jsx)("option",{value:"location",children:"Location (zip, city, state, country)"}),(0,i.jsx)("option",{value:"skillarea",children:"Skill"}),(0,i.jsx)("option",{value:"domain",children:"Domain"}),(0,i.jsx)("option",{value:"function",children:"Job function"}),(0,i.jsx)("option",{value:"currency",children:"Currency"})]})]})}function S(){return(0,i.jsx)(i.Fragment,{})}function A(e){return(0,i.jsxs)("div",{className:"d-flex h-mt-2 align-items-center",children:[(0,i.jsx)("div",{className:"h-w-15r",children:"Profile field to update"}
1),(0,i.jsxs)("select",{className:"h-dropdown-1 h-w-20r",onChange:function(s){e.parentupdater({setto_field:s.target.value})},defaultValue:e.injson.setto_field||"def",children:[(0,i.jsx)("option",{disabled:!0,value:"def",children:"Select a property"}),(0,i.jsx)("option",{value:"ctc_value",children:"ctc value"}),(0,i.jsx)("option",{value:"ctc_period",children:"ctc period"}),(0,i.jsx)("option",{value:"ctc_currency",children:"ctc currency"}),(0,i.jsx)("option",{value:"function",children:"function"}),(0,i.jsx)("option",{value:"domain",children:"domain"})]})]})}function C(e){var s=(0,c.useState)({label:e.label,ans_type:"text",setto_type:"chat"}),a=s[0],n=s[1],l=function(s){n(I(I({},a),s)),e.updateanswer(a.label,a)},h=function(e){"enum"==e?n(I(I({},a),{},{ans_type:e,ans_ip_type:"dropdown",ans_ip_opt_multi:!1,ans_ip_opt_search:!1,ans_ip_opt_mandatory:!1})):n(I(I({},a),{},{ans_type:e}))},r=null;return r=null==e.label||"--NONE--"==e.label?(0,i.jsx)("div",{className:"h-ml-2 h-bac-wh h-px-05",children:"Answer"}):(0,i.jsxs)("div",{className:"h-ml-2 h-bac-wh h-px-05",children:["Answer for ",(0,i.jsx)("span",{className:"h-fb-600 h-fc-b1",children:"{{"+e.label+"}}"})]}),(0,i.jsxs)("div",{className:"d-flex flex-column h-bc-dd align-items-left h-mt-2 h-p-1",children:[(0,i.jsx)("div",{className:"d-flex h-mt--175",children:r}),(0,i.jsxs)("div",{className:"d-flex h-mt-1 align-items-center",children:[(0,i.jsxs)("div",{className:"d-flex flex-column",children:[(0,i.jsx)("div",{className:"h-ml-025 h-w-10r",children:"Answer type"}),(0,i.jsxs)("select",{className:"h-mt-025 h-dropdown-1 h-w-20r",defaultValue:a.ans_type,ans_type:a.type,onChange:function(e){h(e.target.value)},children:[(0,i.jsx)("option",{value:"enum",children:"Enum input"}),(0,i.jsx)("option",{value:"fixed-list",children:"Fixed list input"}),(0,i.jsx)("option",{value:"date-time",children:"Date Time"}),(0,i.jsx)("option",{value:"text",children:"Text"}),(0,i.jsx)("option",{value:"number",children:"Text with Extraction function"})]})]}),(0,i.jsxs)("div",{className:"h-ml-1 d-flex flex-column",children:[(0,i.jsx)("div",{className:"h-ml-025 h-w-10r",children:"Set value into"}),(0,i.jsxs)("select",{className:"h-mt-025 h-dropdown-1 h-w-20r",defaultValue:a.setto_type,setto_type:a.setto_type,onChange:function(e){n(I(I({},a),{},{setto_type:e.target.value}))},children:[(0,i.jsx)("option",{value:"profile",children:"Set to profile"}),(0,i.jsx)("option",{value:"chat",children:"Keep in chat"})]})]})]}),"enum"==a.ans_type||"fixed-list"==a.ans_type?(0,i.jsx)(E,{injson:a,parentupdater:l}):null,"enum"==a.ans_type?(0,i.jsx)(k,{injson:a,parentupdater:l}):null,"fixed-list"==a.ans_type?(0,i.jsx)(S,{injson:a,parentupdater:l}):null,"profile"==a.setto_type?(0,i.jsx)(A,{injson:a,parentupdater:l}):null]})}function W(e,s){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);s&&(c=c.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),a.push.apply(a,c)}return a}function q(e){for(var s=1;s<arguments.length;s++){var a=null!=arguments[s]?arguments[s]:{};s%2?W(Object(a),!0).forEach(function(s){(0,o.A)(e,s,a[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):W(Object(a)).forEach(function(s){Object.defineProperty(e,s,Object.getOwnPropertyDescriptor(a,s))})}return e}function P(e){var s=(0,c.useState)({id:-1,type:"noresponse",message:"",notes:"",label:""}),a=s[0],n=s[1],l=(0,c.useState)(["test1","test2"]),h=l[0];l[1];var r={},t=function(e,s){r[e]=s},d=function(e){n(q(q({},a),{},{type:e}))},m=function(){for(var e=[],s=0,c=Object.entries(r);s<c.length;s++){var n=(0,f.A)(c[s],2),l=(n[0],n[1]);e.push(l)}e.length>0&&(a.answers=e),function(){g.apply(this,arguments)}(a)},o=null;return"single"==a.type?o=(0,i.jsx)(C,{label:"--NONE--",updateanswer:t}):"multi"==a.type&&(o=(0,i.jsx)(i.Fragment,{children:h.map(function(e){return(0,i.jsx)(C,{label:e,updateanswer:t})})})),(0,i.jsx)("div",{className:"h-container d-flex flex-column h-mt-4",children:(0,i.jsx)("div",{className:"d-flex justify-content-center",children:(0,i.jsxs)("div",{className:"d-flex flex-column h-mxw-60r h-w-100",children:[(0,i.jsx)("div",{className:"h-fs-12 h-ml-05 h-fb-600 h-mb-05",children:"Chat Snippet"}),(0,i.jsxs)("div",{className:"h-bc-dd h-p-075 h-py-1 d-flex flex-column h-br-05 ",children:[(0,i.jsx)("div",{className:"h-ml-05 h-mb-05",children:"Your message (Can be a question or just a message)"}),(0,i.jsx)("textarea",{type:"title",rows:"2",className:"form-control",id:"question",value:a.message,onChange:function(e){n(q(q({},a),{},{message:e.target.value}))}}),(0,i.jsx)("div",{className:"h-ml-05 h-mt-2 h-mb-05",children:"Additional notes (Optional, appears under the message as sub-text)"}),(0,i.jsx)("textarea",{type:"notes",rows:"3",className:"form-control",id:"notes",value:a.notes,onChange:function(e){n(q(q({},a),{},{notes:e.target.value}))}}),(0,i.jsx)("div",{className:"h-ml-07 h-mt-2 h-mb-05",children:"What response do you expect for this message?"}),(0,i.jsxs)(x.Ay.Group,{className:"h-ml-05 d-flex align-items-center",onChange:function(e){d(e.target.value)},defaultValue:"noresponse",children:[(0,i.jsx)(x.Ay,{className:"h-fs-11 h-fc-88",value:"noresponse",children:(0,i.jsx)("span",{className:"h-ml-025 h-fs-09",children:"No response"})}),(0,i.jsx)(x.Ay,{className:"h-ml-2 h-fs-11 h-fc-88",value:"single-fixed",children:(0,i.jsx)("span",{className:"h-ml-025 h-fs-09",children:"Single input (structured)"})}),(0,i.jsx)(x.Ay,{className:"h-ml-2 h-fs-11 h-fc-88",value:"multi-fi
1xed",children:(0,i.jsx)("span",{className:"h-ml-025 h-fs-09",children:"Input(s) embedded in sentence (structured)"})}),(0,i.jsx)(x.Ay,{className:"h-ml-2 h-fs-11 h-fc-88",value:"extracted",children:(0,i.jsx)("span",{className:"h-ml-025 h-fs-09",children:"Input(s) embedded in sentence (natural language)"})})]}),o]}),(0,i.jsxs)("div",{className:"d-flex align-items-center justify-content-between h-mt-1 h-mb-3",children:[(0,i.jsx)("div",{className:"h-br-05 h-py-07 h-px-13 h-fc-b1 h-bc-b1 h-cur-grab",children:"CANCEL"}),(0,i.jsx)("div",{className:"h-br-05 h-py-07 h-px-2 h-fc-wh h-bac-b1 h-bc-b1 h-cur-grab h-ml-15",onClick:function(){m()},children:"SAVE"}),(0,i.jsx)("input",{type:"text",className:"h-input-1 h-fc-ph-cc flex-grow-1 h-ml-15",placeholder:"Label to save, for reference",value:a.label,onChange:function(e){n(q(q({},a),{},{label:e.target.value}))}})]})]})})})}var X=a(94237);function T(e){return(0,i.jsxs)("div",{className:"d-flex flex-column h-bc-dd h-p-1 h-br-05 h-mw-30r h-mh-50r h-mt-2 h-sh-out2",children:[(0,i.jsx)("div",{className:"d-flex align-items-center h-ml-05 h-mb-1",children:(0,i.jsx)("div",{className:"h-fs-12 h-fc-b1 h-fb-600",children:"Ignore stage questions"})}),(0,i.jsxs)("div",{className:"d-flex h-br-05 align-items-center h-bc-dd h-sh1-hov",children:[(0,i.jsx)("div",{className:"h-fc-88 h-pl-1 h-my-1",children:"1."}),(0,i.jsx)("div",{className:"h-f-und-hov h-cur-grab h-fc-b1 h-fb-600 h-pl-05 flex-grow-1",children:"Current bill rate (+ if)"}),(0,i.jsx)(h.prK,{className:"h-fc-88 h-mr-1 h-fs-11"})]}),(0,i.jsxs)("div",{className:"d-flex h-br-05 align-items-center h-bc-dd h-mt-1 h-sh1-hov",children:[(0,i.jsx)("div",{className:"h-pl-1 h-f-und-hov h-cur-grab h-fb-600 flex-grow-1 h-my-1 h-fc-g2",children:"JUMP TO 3 (+ if)"}),(0,i.jsx)(h.prK,{className:"h-fc-88 h-mr-1 h-fs-11"})]}),(0,i.jsxs)("div",{className:"d-flex h-br-05 align-items-center h-bc-dd h-mt-1 h-sh1-hov",children:[(0,i.jsx)("div",{className:"h-fc-88 h-pl-1 h-my-1",children:"2."}),(0,i.jsx)("div",{className:"h-f-und-hov h-cur-grab h-fc-b1 h-fb-600 h-pl-05 flex-grow-1",children:"Notice period"}),(0,i.jsx)(h.prK,{className:"h-fc-88 h-mr-1 h-fs-11"})]}),(0,i.jsxs)("div",{className:"d-flex h-br-05 align-items-center h-bc-dd h-mt-1 h-sh1-hov",children:[(0,i.jsx)("div",{className:"h-fc-88 h-pl-1 h-my-1",children:"3."}),(0,i.jsx)("div",{className:"h-f-und-hov h-cur-grab h-fc-b1 h-fb-600 h-pl-05 flex-grow-1",children:"Location preference"}),(0,i.jsx)(h.prK,{className:"h-fc-88 h-mr-1 h-fs-11"})]}),(0,i.jsxs)("div",{className:"d-flex h-br-05 align-items-center h-bc-dd h-mt-1 h-sh1-hov",children:[(0,i.jsx)("div",{className:"h-pl-1 h-f-und-hov h-cur-grab h-fb-600 flex-grow-1 h-my-1 h-fc-red",children:"EXIT (+ if)"}),(0,i.jsx)(h.prK,{className:"h-fc-88 h-mr-1 h-fs-11"})]}),(0,i.jsxs)("div",{className:"d-flex h-br-05 align-items-center h-bc-dd h-mt-1 h-sh1-hov",children:[(0,i.jsx)("div",{className:"h-fc-88 h-pl-1 h-my-1",children:"4."}),(0,i.jsx)("div",{className:"h-f-und-hov h-cur-grab h-fc-b1 h-fb-600 h-pl-05 flex-grow-1",children:"Call time preference"}),(0,i.jsx)(h.prK,{className:"h-fc-88 h-mr-1 h-fs-11"})]})]})}function K(e){return(0,i.jsx)("div",{className:"h-w-100 d-flex flex-column",children:(0,i.jsxs)("div",{className:"h-container d-flex h-mt-4",children:[(0,i.jsxs)("div",{className:"d-flex flex-column flex-grow-1",children:[(0,i.jsxs)("div",{className:"d-flex align-items-center h-ml-05 justify-content-between",children:[(0,i.jsx)("div",{className:"h-fs-13 h-fb-600",children:"Question sets"}),(0,i.jsxs)("div",{className:"d-flex align-items-center",children:[(0,i.jsx)("div",{className:"h-ml-15 h-fb-600 h-fc-bb h-fc-b1 h-cur-grab h-f-und-hov",children:"all sets"}),(0,i.jsx)("div",{className:"h-ml-15 h-fb-600 h-fc-bb h-cur-grab h-f-und-hov",children:"company sets"}),(0,i.jsx)("div",{className:"h-ml-15 h-fb-600 h-fc-bb h-cur-grab h-f-und-hov",children:"my sets"})]})]}),(0,i.jsxs)("div",{className:"h-mt-1 h-bc-dd h-p-075 d-flex flex-column",children:[(0,i.jsxs)("div",{className:"d-flex h-mb-05 align-items-center",children:[(0,i.jsxs)("div",{className:"d-flex align-items-center flex-grow-1",children:[(0,i.jsx)(d.K9Y,{className:"h-fc-red h-mr-05"}),(0,i.jsx)("div",{className:"h-fs-12 h-fc-b1 h-fb-600 h-f-und-hov h-cur-grab",children:"Ignore stage questions"})]}),(0,i.jsx)("div",{className:"d-flex h-cur-grab h-fc-aa h-mr-1 h-bc-b1 h-py-03 h-br-025 h-px-1 align-items-center",children:(0,i.jsx)("div",{className:"h-ml-025 h-fc-b1",children:"Edit"})}),(0,i.jsx)(h.IXo,{className:"h-fs-15 h-cur-grab h-fc-b1"})]}),(0,i.jsxs)("div",{className:"d-flex justify-content-left",children:[(0,i.jsx)("span",{className:"",children:"2 questions"}),(0,i.jsx)("span",{className:"h-mx-05",children:"|"}),(0,i.jsx)("span",{className:"h-fc-aa",children:"1. Why did you choose to ignore this candidate? 2. Please e..."})]})]}),(0,i.jsxs)("div",{className:"h-mt-1 h-bc-dd h-p-075 d-flex flex-column",children:[(0,i.jsxs)("div",{className:"d-flex h-mb-05 align-items-center",children:[(0,i.jsx)("div",{className:"d-flex align-items-center flex-grow-1",children:(0,i.jsx)("div",{className:"h-fs-12 h-fc-b1 h-fb-600 h-f-und-hov h-cur-grab",children:"Interview stage questions"})}),(0,i.jsx)("div",{className:"d-flex h-cur-grab h-fc-aa h-mr-1 h-bc-b1 h-py-03 h-br-025 h-px-1 align-items-center",children:(0,i.jsx)("div",{className:"h-ml-025 h-fc-b1",children:"Edit"})}),(0,i.jsx)(h.IXo,{className:"h-fs-15 h-cur-grab h-fc-b1"})]}),(0,i.jsxs)("div",{className:"d-flex justify-content-left",children:[(0,i.jsx)("span",{className:"",children:"5 questions"}),(0,i.jsx)("span",{className:"h-mx-05",children:"|"}),(0,i.jsx)("span",{className:"h-fc-aa",children:"1. When is the interview on? 2. Is this an online interview ..."})]})]}),(0,i.jsxs)("div",{className:"h-mt-1 h-bc-dd h-p-075 d-flex flex-column",children:[(0,i.jsxs)("div",{className:"d-flex h-mb-05 align-items-center",children:[(0,i.jsxs)("div",{className:"d-flex align-items-center flex-grow-1",children:[(0,i.jsx)(d.K9Y,{className:"h-fc-red h-mr-05"}),(0,i.jsx)("div",{className:"h-fs-12 h-fc-b1 h-fb-600 h-f-und-hov h-cur-grab",children:"Ignore stage questions"})]}),(0,i.jsx)("div",{className:"d-flex h-cur-grab h-fc-aa h-mr-1 h-bc-b1 h-py-03 h-br-025 h-px-1 align-items-center",children:(0,i.jsx)("div",{className:"h-ml-025 h-fc-b1",children:"Edit"})}),(0,i.jsx)(h.IXo,{className:"h-fs-15 h-cur-grab h-fc-b1"})]}),(0,i.jsxs)("div",{className:"d-flex justify-content-left",children:[(0,i.jsx)("span",{className:"",children:"2 questions"}),(0,i.jsx)("span",{className:"h-mx-05",children:"|"}),(0,i.jsx)("span",{className:"h-fc-aa",children:"1. Why did you choose to ignore this candidate? 2. Please ela..."})]})]}),(0,i.jsxs)("div",{className:"h-mt-1 h-bc-dd h-p-075 d-flex flex-column",children:[(0,i.jsxs)("div",{className:"d-flex h-mb-05 align-items-center",children:[(0,i.jsx)("div",{className:"d-flex align-items-center flex-grow-1",children:(0,i.jsx)("div",{className:"h-fs-12 h-fc-b1 h-fb-600 h-f-und-hov h-cur-grab",children:"Interview stage questions"})}),(0,i.jsx)("div",{className:"d-flex h-cur-grab h-fc-aa h-mr-1 h-bc-b1 h-py-03 h-br-025 h-px-1 align-items-center",children:(0,i.jsx)("div",{className:"h-ml-025 h-fc-b1",children:"Edit"})}),(0,i.jsx)(h.IXo,{className:"h-fs-15 h-cur-grab h-fc-b1"})]}),(0,i.jsxs)("div",{className:"d-flex justify-content-left",children:[(0,i.jsx)("span",{className:"",children:"5 questions"}),(0,i.jsx)("span",{className:"h-mx-05",children:"|"}),(0,i.jsx)("span",{className:"h-fc-aa",children:"1. When is the interview on? 2. Is this an online interview ..."})]})]}),(0,i.jsxs)("div",{className:"h-mt-1 h-bc-dd h-p-075 d-flex flex-column",children:[(0,i.jsxs)("div",{className:"d-flex h-mb-05 align-items-center",children:[(0,i.jsxs)("div",{className:"d-flex align-items-center flex-grow-1",children:[(0,i.jsx)(d.K9Y,{className:"h-fc-red h-mr-05"}),(0,i.jsx)("div",{className:"h-fs-12 h-fc-b1 h-fb-600 h-f-und-hov h-cur-grab",children:"Ignore stage questions"})]}),(0,i.jsx)("div",{className:"d-flex h-cur-grab h-fc-aa h-mr-1 h-bc-b1 h-py-03 h-br-025 h-px-1 align-items-center",children:(0,i.jsx)("div",{className:"h-ml-025 h-fc-b1",children:"Edit"})}),(0,i.jsx)(h.IXo,{className:"h-fs-15 h-cur-grab h-fc-b1"})]}),(0,i.jsxs)("div",{className:"d-flex justify-content-left",children:[(0,i.jsx)("span",{className:"",children:"2 questions"}),(0,i.jsx)("span",{className:"h-mx-05",children:"|"}),(0,i.jsx)("span",{className:"h-fc-aa",children:"1. Why did you choose to ignore this candidate? 2. Please e..."})]})]}),(0,i.jsxs)("div",{className:"h-mt-1 h-bc-dd h-p-075 d-flex flex-column",children:[(0,i.jsxs)("div",{className:"d-flex h-mb-05 align-items-center",children:[(0,i.jsx)("div",{className:"d-flex align-items-center flex-grow-1",children:(0,i.jsx)("div",{className:"h-fs-12 h-fc-b1 h-fb-600 h-f-und-hov h-cur-grab",children:"Interview stage questions"})}),(0,i.jsx)("div",{className:"d-flex h-cur-grab h-fc-aa h-mr-1 h-bc-b1 h-py-03 h-br-025 h-px-1 align-items-center",children:(0,i.jsx)("div",{className:"h-ml-025 h-fc-b1",children:"Edit"})}),(0,i.jsx)(h.IXo,{className:"h-fs-15 h-cur-grab h-fc-b1"})]}),(0,i.jsxs)("div",{className:"d-flex justify-content-left",children:[(0,i.jsx)("span",{className:"",children:"5 questions"}),(0,i.jsx)("span",{className:"h-mx-05",children:"|"}),(0,i.jsx)("span",{className:"h-fc-aa",children:"1. When is the interview on? 2. Is this an online interview ..."})]})]}),(0,i.jsxs)("div",{className:"h-mt-1 h-bc-dd h-p-075 d-flex flex-column",children:[(0,i.jsxs)("div",{className:"d-flex h-mb-05 align-items-center",children:[(0,i.jsxs)("div",{className:"d-flex align-items-center flex-grow-1",children:[(0,i.jsx)(d.K9Y,{className:"h-fc-red h-mr-05"}),(0,i.jsx)("div",{className:"h-fs-12 h-fc-b1 h-fb-600 h-f-und-hov h-cur-grab",children:"Ignore stage questions"})]}),(0,i.jsx)("div",{className:"d-flex h-cur-grab h-fc-aa h-mr-1 h-bc-b1 h-py-03 h-br-025 h-px-1 align-items-center",children:(0,i.jsx)("div",{className:"h-ml-025 h-fc-b1",children:"Edit"})}),(0,i.jsx)(h.IXo,{className:"h-fs-15 h-cur-grab h-fc-b1"})]}),(0,i.jsxs)("div",{className:"d-flex justify-content-left",children:[(0,i.jsx)("span",{className:"",children:"2 questions"}),(0,i.jsx)("span",{className:"h-mx-05",children:"|"}),(0,i.jsx)("span",{className:"h-fc-aa",children:"1. Why did you choose to ignore this candidate? 2. Please el..."})]})]}),(0,i.jsxs)("div",{className:"h-mt-1 h-bc-dd h-p-075 d-flex flex-column",children:[(0,i.jsxs)("div",{className:"d-flex h-mb-05 align-items-center",children:[(0,i.jsxs)("div",{className:"d-flex align-items-center flex-grow-1",children:[(0,i.jsx)(d.K9Y,{className:"h-fc-red h-mr-05"}),(0,i.jsx)("div",{className:"h-fs-12 h-fc-b1 h-fb-600 h-f-und-hov h-cur-grab",children:"Interview stage questions"})]}),(0,i.jsx)("div",{className:"d-flex h-cur-grab h-fc-aa h-mr-1 h-bc-b1 h-py-03 h-br-025 h-px-1 align-items-center",children:(0,i.jsx)("div",{className:"h-ml-025 h-fc-b1",children:"Edit"})}),(0,i.jsx)(h.IXo,{className:"h-fs-15 h-cur-grab h-fc-b1"})]}),(0,i.jsxs)("div",{className:"d-flex justify-content-left",children:[(0,i.jsx)("span",{className:"",children:"5 questions"}),(0,i.jsx)("span",{className:"h-mx-05",children:"|"}),(0,i.jsx)("span",{className:"h-fc-aa",children:"1. When is the interview on? 2. Is this an online intervi..."})]})]})]}),(0,i.jsx)("div",{className:"d-flex flex-column justify-content-center",children:(0,i.jsx)(h.wi,{className:"h-mx-1 h-fs-2 h-fc-aa"})}),(0,i.jsx)(T,{})]})})}X.A.Search,X.A.Search;var D=a(77328),Y=a.n(D);function V(s){var a=(0,c.useState)("flows"),n=a[0],l=a[1];switch((0,c.useEffect)(function(){var e=window.location.hash;console.log(e),"#newsnippet"==e&&l("newsnippet")},[s]),n){case"snippet":e=(0,i.jsx)(m,{setpagefn:l});break;case"flows":e=(0,i.jsx)(K,{});break;
1case"newsnippet":e=(0,i.jsx)(P,{});break;default:e=null}return(0,i.jsxs)(t.A,{children:[(0,i.jsxs)(Y(),{children:[(0,i.jsx)("title",{children:"Chat"}),(0,i.jsx)("meta",{name:"Search",content:"Chat Admin"})]}),(0,i.jsxs)("div",{className:"h-w-100",children:[(0,i.jsx)(r,{page:n,setpage:l}),(0,i.jsx)("div",{children:e})]})]})}e=a.hmd(e)}},e=>{var s=s=>e(e.s=s);e.O(0,[9897,4938,2517,9942,713,3302,5711,2710,1287,241,8511,871,3716,7431,3052,2529,5639,3140,5458,7583,4237,7372,1923,8440,9363,1473,876,7034,170,4546,9850,603,2911,941,8208,8028,2903,4241,6055,8962,1839,8612,8989,959,4288,9895,1946,5819,963,7114,2927,636,6593,8792],()=>s(41276)),_N_E=e.O()}]);
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.