1"use strict";(self.webpackChunkcrm_widgets=self.webpackChunkcrm_widgets||[]).push([[303,56307,60409,84475],{303:(e,t,a)=>{a.r(t),a.d(t,{default:()=>s});var i=a(2714),n=a(8822),r=a(84475);const s=()=>{const e=(0,n.A)(),{syncServiceType:t,setServiceType:a}=(0,r.default)();return(0,i.useEffect)(t,[e.state.type_of_work]),i.createElement("div",{className:"service-type__wrap"},[{name:"Retyping",value:"retyping"},{name:"Transcription",value:"transcription"}].map(((t,n)=>i.createElement("div",{key:n,className:"service-type__item "+(e.state.serviceType===t.value?"active":""),onClick:()=>a(t.value)},t.name))))}},78688:(e,t,a)=>{a.r(t),a.d(t,{default:()=>r});var i=a(2714),n=a(8822);const r=()=>{var e,t,a,r;const s=(0,n.A)(),{custom:o}=s.props,{as:d}=o||{},c=null!==(e=null==o?void 0:o.matchMediaList)&&void 0!==e?e:["767","768","1023","1024"],l=null!==(t=null==o?void 0:o.headerHeight)&&void 0!==t?t:80,u=null!==(a=null==o?void 0:o.mode)&&void 0!==a?a:"devMode";return{matchMediaList:c,isSummaryMobileFixedBottom:null===(r=null==o?void 0:o.isSummaryMobileFixedBottom)||void 0===r||r,mode:u,addServicesInfoData:{addServiceFullVerbatim:{alias:"full_verbatim",label:i.createElement(i.Fragment,null,"I need ",i.createElement("strong",null,"full verbatim")," transcription (+10%)"),hint:"<strong>Transcription</strong> will be captured exactly the way it was spoken"},addServiceTimestampsInTranscription:{alias:"timestamps_in_transcription",label:i.createElement(i.Fragment,null,"I need ",i.createElement("strong",null,"timestamps")," in transcription (+20%)"),hint:"<strong>Transcription</strong> will include time codes at specified intervals"},addServiceDocumentFormatting:{alias:"devMode"===u?"second_paper_test":"document_formatting",label:i.createElement(i.Fragment,null,"I need ",i.createElement("strong",null,"document formatting")," (+10%)"),hint:"We will make your document look visually appealing by changing font size, spacing, margins, alignment and adding columns, lists, etc."},addServiceDocumentEditing:{alias:"devMode"===u?"callback_from_writer":"document_editing",label:i.createElement(i.Fragment,null,"I need ",i.createElement("strong",null,"editing")," (+20%)"),hint:"We will correct, condense and organize all sentences so that you will get a consistent, accurate and complete work."}},qualityServicesInfoData:{addServiceQualityGood:{id:"good",alias:null,name:"Good",description:"Clean audio without background noise, clear speech, etc."},addServiceQualityMedium:{id:"medium",alias:"medium_audio_transcription",name:"Medium",description:"Slight background noise, strong accent, etc."},addServiceQualityPoor:{id:"poor",alias:"poor_audio_transcription",name:"Poor",description:"High background noise, heavy accent, distorted recordings.."}},headerHeight:l,selectClassNameProps:{className:"crmForm-select",classNamePrefix:"crmForm-select"},standardList:[{coef:1,id:60,numberOfSpeakers:1},{coef:1,id:61,numberOfSpeakers:1},{coef:2,id:62,numberOfSpeakers:2},{coef:3,id:63,numberOfSpeakers:3},{coef:4,id:64,numberOfSpeakers:4},{coef:5,id:65,numberOfSpeakers:5},{coef:1,id:59,numberOfSpeakers:1}]}}},60409:(e,t,a)=>{a.r(t),a.d(t,{default:()=>n});var i=a(8822);const n=()=>{const e=(0,i.A)();return{updateWidgetState:async(t,a,i=!0,n=!0)=>{e.setState({[t]:a}),await e.formik.setFieldValue(t,a,n),i&&e.storage.set(t,a)},updateWidgetAddServiceState:(t,a)=>{e.handleChangeWithCalculate({target:{type:"checkbox",name:"as",value:[t],checked:a}})}}}},84475:(e,t,a)=>{a.r(t),a.d(t,{default:()=>o});var i=a(2714),n=a(8822),r=a(60409),s=a(78688);const o=()=>{const e=(0,n.A)(),{updateWidgetState:t,updateWidgetAddServiceState:a}=(0,r.default)(),{mode:o,addServicesInfoData:d,qualityServicesInfoData:c}=(0,s.default)(),{addServiceFullVerbatim:l,addServiceTimestampsInTranscription:u,addServiceDocumentFormatting:m,addServiceDocumentEditing:p}=d,{addServiceQualityMedium:v,addServiceQualityPoor:g}=c,f=[687,688,697,696,686,695,698,689,701,702,690,699,700],y=[685,706,692,691,705,704,693,707,708,694],[S,_]=(0,i.useState)([]),[k,b]=(0,i.useState)(""),h=async a=>{const i={retyping:f[0],transcription:y[0]};a!==e.state.serviceType&&(await t("serviceType",a,!1),i[a]&&await t("type_of_work",i[a],!0))},w=()=>{const t=Number(e.state.type_of_work),a=f.includes(t),i=y.includes(t),n=a?"retyping":i?"transcription":"";n&&h(n)};return(0,i.useEffect)((()=>{w(),(()=>{const i=Number(e.state.type_of_work),n=f.includes(i);y.includes(i),"devMode"==o&&(t("payment_1","paypal2"),t("payment_2","g2s"),t("payment_method","paypal2")),n?(_(e.state.type_of_work_items.filter((e=>f.includes(e.id)))),b("Conversion Type"),a(v.alias,!1),a(g.alias,!1),a(l.alias,!1),a(u.alias,!1),t("standard",61)):(_(e.state.type_of_work_items.filter((e=>y.includes(e.id)))),b("Transcription Type"),t("paper_subject",884),a(m.alias,!1),a(p.alias,!1))})()}),[e.state.type_of_work]),{setServiceType:h,syncServiceType:w,filteredTypeOfWorkList:S,typeOfWorkLabel:k}}}}]);
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.