1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3096],{43069:(e,t,i)=>{i.d(t,{$7:()=>S,BC:()=>a,DM:()=>s,UJ:()=>y,Zm:()=>v,_9:()=>p,cM:()=>l,dD:()=>g,hy:()=>m,n2:()=>$,nk:()=>_,sN:()=>w,w_:()=>h});var r=i(82897),n=i(1440);let a=6,s=6,u=(0,r.J1)` 2 fragment SurveyDetails on Survey { 3 uuid 4 # client{ 5 # uuid 6 # }, 7 i_status 8 slug 9 name 10 url 11 description 12 award_currency 13 award_amount 14 participants_count 15 start_at 16 expire_at 17 updated_at 18 created_at 19 redirection_url 20 questionnaire 21 cover 22 countries { 23 id 24 name 25 } 26 specialities { 27 id 28 name 29 } 30 microsite { 31 uuid 32 slug 33 } 34 } 35`,o=(0,r.J1)` 36 fragment SurveyListDetails on Survey { 37 uuid 38 i_status 39 slug 40 name 41 url 42 award_currency 43 award_amount 44 start_at 45 expire_at 46 cover 47 } 48`,d=(0,r.J1)` 49 fragment SurveyData on Survey { 50 uuid 51 # client{ 52 # uuid 53 # }, 54 i_status 55 slug 56 name 57 url 58 description 59 award_currency 60 award_amount 61 participants_count 62 start_at 63 expire_at 64 updated_at 65 created_at 66 redirection_url 67 questionnaire 68 countries { 69 id 70 name 71 } 72 specialities { 73 id 74 name 75 } 76 cover 77 } 78`,c=(0,r.J1)` 79 fragment SurveyData on Surveys { 80 uuid 81 # client{ 82 # uuid 83 # }, 84 slug 85 name 86 url 87 description 88 award_currency 89 award_amount 90 participants_count 91 start_at 92 expire_at 93 updated_at 94 created_at 95 questionnaire 96 cover 97 } 98`,l=(0,r.J1)` 99 query ($limit: Int, $offset: Int, $query: String) { 100 surveysToStartData: getSurveysToStart( 101 limit: $limit 102 offset: $offset 103 query: $query 104 ) { 105 has_more 106 surveys_count 107 surveys { 108 ...SurveyListDetails 109 } 110 } 111 } 112 ${o} 113`,$=(0,r.J1)` 114 query ($starting_after: String, $ending_after: String, $limit: Int) { 115 surveys: getSurveys( 116 limit: $limit 117 starting_after: $starting_after 118 ending_after: $ending_after 119 ) { 120 has_more 121 surveys_count 122 survey { 123 ...SurveyData 124 } 125 } 126 } 127 ${d} 128`,_=(0,r.J1)` 129 query ($slug: String!) { 130 surveyData: getSurvey(slug: $slug) { 131 ...SurveyDetails 132 } 133 } 134 ${u} 135`,m=(0,r.J1)` 136 mutation ($id: Int!) { 137 surveyStatus: completeSurvey(id: $id) 138 } 139`,v=(0,r.J1)` 140 mutation ($id: Int!) { 141 micrositeSurveyStatus: micrositeCompleteSurvey(id: $id) { 142 slug 143 i_status 144 microsite { 145 slug 146 } 147 } 148 } 149`,y=(0,r.J1)` 150 mutation ( 151 $name: String! 152 $url: String 153 $description: String! 154 $award_currency: String! 155 $award_amount: Float 156 $start_at: String 157 $expire_at: String 158 $cover: String! 159 $countries: [Int] 160 $specialities: [Int] 161 ) { 162 createSurveyData: createSurvey( 163 name: $name 164 url: $url 165 description: $description 166 award_currency: $award_currency 167 award_amount: $award_amount 168 start_at: $start_at 169 expire_at: $expire_at 170 cover: $cover 171 countries: $countries 172 specialities: $specialities 173 ) { 174 ...SurveyData 175 } 176 } 177 ${c} 178`,g=(0,r.J1)` 179 mutation ( 180 $uuid: String! 181 $url: String 182 $name: String 183 $cover: String 184 $description: String 185 $award_currency: String 186 $award_amount: Float 187 $start_at: String 188 $expire_at: String 189 $countries: [Int] 190 $specialities: [Int] 191 ) { 192 surveyData: updateSurvey( 193 uuid: $uuid 194 url: $url 195 name: $name 196 cover: $cover 197 description: $description 198 award_currency: $award_currency 199 award_amount: $award_amount 200 start_at: $start_at 201 expire_at: $expire_at 202 countries: $countries 203 specialities: $specialities 204 ) { 205 ...SurveyData 206 } 207 } 208 ${c} 209`,S=(0,r.J1)` 210 mutation ($id: Int!, $token: String!) { 211 loginStatus: surveyAutoLogin(id: $id, token: $token) { 212 client { 213 ...UserProfileData 214 access_token 215 } 216 surveySlug 217 } 218 } 219 ${n.tm} 220`;(0,r.J1)` 221 subscription subscribeMe($uuid: String!) { 222 subscribeMe(uuid: $uuid) { 223 data 224 } 225 } 226`;let p=(0,r.J1)` 227 mutation ($uuid: String!) { 228 survey: startSurvey(uuid: $uuid) { 229 message 230 uuid 231 i_status 232 } 233 } 234`,h=(0,r.J1)` 235 mutation ($uuid: String!) { 236 survey: micrositeStartSurvey(uuid: $uuid) { 237 message 238 uuid 239 i_status 240 } 241 } 242`;(0,r.J1)` 243 query { 244 countries: getSurveyCountries { 245 id 246 name 247 trans_name 248 } 249 } 250`;let w=(0,r.J1)` 251 query ($limit: Int, $offset: Int, $microsite_slug: String) { 252 surveys: getFeaturedSurveys( 253 limit: $limit 254 offset: $offset 255 microsite_slug: $microsite_slug 256 ) { 257 has_more 258 surveys_count 259 survey { 260 ...SurveyDetails 261 } 262 } 263 } 264 ${u} 265`},52729:(e,t,i)=>{i.d(t,{$7:()=>c,$k:()=>o,DE:()=>$,HI:()=>w,Ki:()=>S,M:()=>h,M0:()=>
265_,PW:()=>l,Rs:()=>d,VP:()=>m,Vv:()=>s,bt:()=>y,d8:()=>p,rx:()=>g,uq:()=>u});var r=i(82897),n=i(1440);let a=(0,r.J1)` 266 fragment SurveyDetails on MicrositeSurvey { 267 uuid 268 microsite { 269 uuid 270 slug 271 i_admin 272 } 273 client { 274 uuid 275 } 276 slug 277 name 278 url 279 description 280 award_currency 281 award_amount 282 i_status 283 participants_count 284 start_at 285 expire_at 286 updated_at 287 created_at 288 questionnaire 289 cover 290 redirection_url 291 countries { 292 id 293 name 294 } 295 specialities { 296 id 297 name 298 } 299 } 300`,s=(0,r.J1)` 301 query ($limit: Int, $offset: Int, $query: String, $uuid: String!) { 302 micrositeSurveysData: getMicrositeSurveys( 303 limit: $limit 304 offset: $offset 305 query: $query 306 uuid: $uuid 307 ) { 308 has_more 309 surveys_count 310 surveys { 311 ...SurveyDetails 312 } 313 } 314 } 315 ${a} 316`;(0,r.J1)` 317 query ($uuid: String!) { 318 micrositeSurveyData: getMicrositeSurvey(uuid: $uuid) { 319 ...SurveyDetails 320 } 321 } 322 ${a} 323`;let u=(0,r.J1)` 324 mutation ( 325 $uuid: String! 326 $name: String! 327 $url: String 328 $description: String! 329 $award_currency: String! 330 $award_amount: Float 331 $start_at: String 332 $expire_at: String 333 $inviteParticipants: [String] 334 $questionnaire: String 335 $cover: String 336 $countries: [Int] 337 $specialities: [Int] 338 ) { 339 micrositeSurveyData: createMicrositeSurvey( 340 uuid: $uuid 341 name: $name 342 url: $url 343 description: $description 344 award_currency: $award_currency 345 award_amount: $award_amount 346 start_at: $start_at 347 expire_at: $expire_at 348 inviteParticipants: $inviteParticipants 349 questionnaire: $questionnaire 350 cover: $cover 351 countries: $countries 352 specialities: $specialities 353 ) { 354 ...SurveyDetails 355 } 356 } 357 ${a} 358`,o=(0,r.J1)` 359 mutation ( 360 $uuid: String! 361 $name: String 362 $url: String 363 $description: String 364 $award_currency: String 365 $award_amount: Float 366 $start_at: String 367 $expire_at: String 368 $questionnaire: String 369 $cover: String 370 $countries: [Int] 371 $specialities: [Int] 372 ) { 373 micrositeSurveyData: updateMicrositeSurvey( 374 uuid: $uuid 375 name: $name 376 url: $url 377 description: $description 378 award_currency: $award_currency 379 award_amount: $award_amount 380 start_at: $start_at 381 expire_at: $expire_at 382 questionnaire: $questionnaire 383 cover: $cover 384 countries: $countries 385 specialities: $specialities 386 ) { 387 ...SurveyDetails 388 } 389 } 390 ${a} 391`,d=(0,r.J1)` 392 query ($slug: String) { 393 surveyData: getMicrositeSurvey(slug: $slug) { 394 ...SurveyDetails 395 } 396 } 397 ${a} 398`;(0,r.J1)` 399 query ($limit: Int, $offset: Int, $query: String, $uuid: String!) { 400 surveysToStartData: getMicrositeSurveysToStart( 401 limit: $limit 402 offset: $offset 403 query: $query 404 uuid: $uuid 405 ) { 406 has_more 407 surveys_count 408 surveys { 409 ...SurveyDetails 410 } 411 } 412 } 413 ${a} 414`;let c=(0,r.J1)` 415 mutation ($id: Int!, $token: String!) { 416 loginStatus: micrositeSurveyAutoLogin(id: $id, token: $token) { 417 client { 418 ...UserProfileData 419 access_token 420 } 421 micrositeSlug 422 surveySlug 423 } 424 } 425 ${n.tm} 426`,l=(0,r.J1)` 427 mutation ( 428 $uuid: String! 429 $emails: [String] 430 $countries: [Int] 431 $specialities: [Int] 432 $professions: [Int] 433 $url: String 434 $microsite_slug: String 435 ) { 436 manageParticipants: addRemoveSurveyParticipants( 437 uuid: $uuid 438 emails: $emails 439 countries: $countries 440 specialities: $specialities 441 professions: $professions 442 url: $url 443 microsite_slug: $microsite_slug 444 ) 445 } 446`,$=(0,r.J1)` 447 query ($survey_uuid: String!, $microsite_uuid: String) { 448 countries: getSurveyCountries( 449 survey_uuid: $survey_uuid 450 microsite_uuid: $microsite_uuid 451 ) { 452 id 453 name 454 trans_name 455 } 456 } 457`,_=(0,r.J1)` 458 query ($survey_uuid: String!, $microsite_uuid: String) { 459 specialities: getSurveySpecialities( 460 survey_uuid: $survey_uuid 461 microsite_uuid: $microsite_uuid 462 ) { 463 id 464 name 465 trans_name
466 profession_id 467 } 468 } 469`,m=(0,r.J1)` 470 query ($limit: Int, $offset: Int, $query: String) { 471 userMicrositeSurveyList: getUserMicrositeSurveysList( 472 limit: $limit 473 offset: $offset 474 query: $query 475 ) { 476 has_more 477 surveys_count 478 surveys { 479 ...SurveyDetails 480 } 481 } 482 } 483 ${a} 484`,v=(0,r.J1)` 485 fragment InvoiceDetails on IncentiveInvoice { 486 ref_number 487 vat_id_number 488 invoice_number 489 iqvia_invoice_ref_number 490 project_full_name 491 project_short_name 492 survey_type 493 incentive_type 494 amount 495 full_name 496 address 497 city 498 zip 499 date 500 invoice_status 501 survey_id 502 currency 503 vat_not_eligible 504 } 505`,y=(0,r.J1)` 506 query ($query: String, $year: Int, $invoice_status: String, $ok_id: String) { 507 getAllIncentiveInvoice( 508 query: $query 509 year: $year 510 invoice_status: $invoice_status 511 ok_id: $ok_id 512 ) { 513 ...InvoiceDetails 514 } 515 } 516 517 ${v} 518`,g=(0,r.J1)` 519 query ( 520 $query: String 521 $payment_start_date: String 522 $payment_end_date: String 523 $ok_id: String 524 ) { 525 getMyRemunerationFile( 526 query: $query 527 payment_start_date: $payment_start_date 528 payment_end_date: $payment_end_date 529 ok_id: $ok_id 530 ) 531 } 532`,S=(0,r.J1)` 533 query ($ref_number: String, $ok_id: String) { 534 getInvoiceDetails: getIncentiveInvoice( 535 ref_number: $ref_number 536 ok_id: $ok_id 537 ) { 538 ...InvoiceDetails 539 } 540 } 541 542 ${v} 543`,p=(0,r.J1)` 544 query { 545 getInvoiceHelp: getIncentiveInvoiceHelp 546 } 547`,h=(0,r.J1)` 548 mutation ( 549 $vat_id_number: String 550 $invoice_number: String 551 $ref_number: String! 552 $vat_not_eligible: Boolean 553 $ok_id: String 554 $address: String 555 $city: String 556 $zip: String 557 ) { 558 updateIncentiveInvoice: addUpdateIncentiveInvoice( 559 vat_id_number: $vat_id_number 560 invoice_number: $invoice_number 561 ref_number: $ref_number 562 vat_not_eligible: $vat_not_eligible 563 ok_id: $ok_id 564 address: $address 565 city: $city 566 zip: $zip 567 ) { 568 ...InvoiceDetails 569 } 570 } 571 ${v} 572`,w=(0,r.J1)` 573 query ($ref_number: [String], $ok_id: String) { 574 downloadIncentiveInvoice(ref_number: $ref_number, ok_id: $ok_id) 575 } 576`},83141:(e,t,i)=>{i.d(t,{BA:()=>l,Jj:()=>_,Kw:()=>d,N6:()=>c,WW:()=>u,af:()=>$,cO:()=>s,oe:()=>m,s_:()=>a,v2:()=>o,wL:()=>n});var r=i(59120);i(42676);let n={home:"home",invitations:"invitations",discover:"discover"},a={received:"received",requested_to_join:"requested_to_join"},s=768,u=1024,o=10,d=5;r.P.common.loading;
576let c="Error :(",l=[{id:1,name:r.P.microsite.pharma_company},{id:2,name:r.P.microsite.medical_association},{id:3,name:r.P.microsite.syndicate},{id:4,name:r.P.medicalAudit.hospital}],$={not_started:0,started:1,completed:2},_=6,m=5},93096:(e,t,i)=>{i.d(t,{A:()=>p});var r=i(37876),n=i(14232),a=i(89435),s=i(37784),u=i(56970),o=i(59120),d=i(66157),c=i(47401),l=i(83141),$=i(52729),_=i(43069),m=i(53800),v=i(90552),y=i(21973);class g extends n.Component{constructor(e){super(e),this.handleWindowSizeChange=()=>{this.setState({width:window.innerWidth})},this.handleEditSurveyClose=()=>{this.setState({editSurveyModalShow:!1})},this.state={width:window.innerWidth,editSurveyModalShow:!1}}componentDidMount(){window.addEventListener("resize",this.handleWindowSizeChange);let{survey:e,client:t,startSurveyQuery:i}=this.props;0===e.i_status&&t.mutate({mutation:i,variables:{uuid:e.uuid}})}componentWillUnmount(){window.removeEventListener("resize",this.handleWindowSizeChange)}render(){let{survey:e,location:t}=this.props,i=o.P.microsite,n=t.pathname.includes("microsites")?"micrositesurvey":"homesurvey",a="";if("homesurvey"===n)a="/home";else{let e=this.props.microsite;a=`/hubs/${e.slug}/surveys`}return(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)(v.A,{className:"card-body-padding",children:[(0,r.jsx)(s.A,{lg:12,sm:12,children:(0,r.jsx)("div",{controlId:"backButton",className:"microsite-survey-header",children:(0,r.jsxs)(v.A.Title,{className:"mb-4",children:[(0,r.jsx)(y.N_,{className:"analyse",to:a,children:(0,r.jsx)("label",{className:"icon-ico-back mr-2"})}),e.name]})})}),(0,r.jsxs)(v.A.Body,{className:"mb-4",children:[(0,r.jsx)(s.A,{sm:12,md:12,lg:12,className:"mb-20",children:(0,r.jsxs)(v.A.Text,{children:[(0,r.jsxs)("span",{className:"expires-on-text",children:[i.expires_on," ",(0,m.Ay)(e.expire_at).format("Do MMMM YYYY")]}),e.award_amount?(0,r.jsxs)(v.A.Text,{href:"#!",className:"reward-text float-right",children:[(0,r.jsx)("i",{className:"icon-ico-gift reward-icon"}),(0,r.jsx)("span",{className:"text-reward",children:i.reward}),(0,r.jsxs)("span",{className:"reward-amount",children:[e.award_currency,e.award_amount]})]}):null]})}),(0,r.jsx)(s.A,{sm:12,md:12,lg:12,children:(0,r.jsx)(v.A.Text,{className:"survey-details-desc-text",children:e.description})}),(0,r.jsx)(s.A,{sm:12,md:12,lg:12,children:(0,r.jsx)("iframe",{src:e.url,className:"survey-iframe",scrolling:"auto",title:"Survey"})})]})]})})}}let S=(0,a.W$)(g);class p extends n.Component{constructor(e){super(e),this.handleWindowSizeChange=()=>{this.setState({width:window.innerWidth})},this.state={width:window.innerWidth}}componentWillMount(){window.addEventListener("resize",this.handleWindowSizeChange)}componentWillUnmount(){window.removeEventListener("resize",this.handleWindowSizeChange)}render(){let{match:e,query:t}=this.props,i=o.P.microsite_lang,{params:n}=e,{microsite_slug:m,survey_slug:v}=n;t=t||$.Rs;let y=m?_.w_:_._9;return(0,r.jsx)(u.A,{children:(0,r.jsx)(s.A,{md:12,children:(0,r.jsx)(a.gd,{query:t,variables:{slug:v},children:e=>{let{loading:t,error:n,data:a,fetchMore:s}=e;if(t)return(0,r.jsx)(d.A,{type:"initialize"});if(n)return(0,r.jsx)("p",{children:l.N6});let u=a.surveyData;return u?(0,r.jsx)(S,{...this.props,survey:u,startSurveyQuery:y}):(0,r.jsx)(c.A,{type:"no_surveys",message:i.no_microsite})}})})})}}}}]);
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.