PageSourceSearch

https://www.aish.org.uk/_next/static/chunks/pages/trips-page-4ef3178e8a59d6bc.js

js aish.org.uk collected 2026-10-08 06:12:40 UTC 84,222 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5363],{92687:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return $}});var a=n(67294),i=n(2962),r=n(79735),o=n(59499),s=n(41664),l=n.n(s),c=n(9966),d=n(95774),p=n(755),u=n(61121),h=n(85893),m=function(){var e=(0,a.useState)(!1),t=e[0],n=e[1];return(0,a.useEffect)((function(){n(!0)}),[]),(0,h.jsx)("style",{children:t&&".trips-list{\n\t\t\tpadding-top: 40px;\n\t\t}\n\t\t.trip-list-box{\n\t\t\tbackground: #292929;\n\t\t\tpadding: 16px 24px 24px;\n\t\t\t-webkit-border-radius: 12px;\n\t\t\t-moz-border-radius: 12px;\n\t\t\tborder-radius: 12px;\n\t\t}\n\n\t\t.trip-title-label{\n\t\t\tdisplay: flex;\n\t\t\talign-items: center;\n\t\t\tjustify-content: space-between;\n\t\t\tpadding-bottom: 8px;\n\t\t}\n\t\t.trip-title-label h3{\n\t\t\tfont-size: 28px;\n\t\t\tline-height: 40px;\n\t\t\tfont-weight: 700;\n\t\t\tcolor: #ffffff;\n\t\t}\n\n\t\t.custom-label span{\n\t\t\tdisplay: inline-block;\n\t\t\tfont-size: 10px;\n\t\t\tline-height: 14px;\n\t\t\tfont-weight: 700;\n\t\t\tcolor: #ffffff;\n\t\t\ttext-transform: uppercase;\n\t\t\tpadding: 4px 10px 4px 24px;\n\t\t\tposition: relative;\n\t\t\t-webkit-border-radius: 16px;\n\t\t\t-moz-border-radius: 16px;\n\t\t\tborder-radius: 16px;\n\t\t\tborder: 1px solid #ffffff;\n\t\t}\n\t\t.custom-label span:before{\n\t\t\tcontent: \"\";\n\t\t\tposition: absolute;\n\t\t\tleft: 10px;\n\t\t\ttop: 50%;\n\t\t\tmargin-top: -4px;\n\t\t\twidth: 8px;\n\t\t\theight: 8px;\n\t\t\tbackground: #ffffff;\n\t\t\t-webkit-border-radius: 16px;\n\t\t\t-moz-border-radius: 16px;\n\t\t\tborder-radius: 16px;\n\t\t}\n\n\t\t.custom-label.awaiting-interview span{background: rgba(255, 138, 0, 0.2); border-color: #B05F00;}\n\t\t.custom-label.pending-acceptance span{background: rgba(180, 84, 255, 0.2); border-color: #8732CA;}\n\t\t.custom-label.accepted span{background: rgba(0, 174, 239, 0.14); border-color: #0082B2;}\n\t\t.custom-label.rejected span{background: rgba(255, 56, 56, 0.2); border-color: #B40000;}\n\t\t.custom-label.completed span{background: rgba(54, 221, 27, 0.12); border-color: #148E00;}\n\n\t\t.custom-label.awaiting-interview span:before{background: #FF8A00;}\n\t\t.custom-label.pending-acceptance span:before{background: rgba(180, 84, 255, 1);}\n\t\t.custom-label.accepted span:before{background: rgba(0, 174, 239, 1);}\n\t\t.custom-label.rejected span:before{background: rgba(255, 56, 56, 1);}\n\t\t.custom-label.completed span:before{background: rgba(54, 221, 27, 1);}\n\n\n\t\t.trip-list-box .info-list{\n\t\t\tpadding-bottom: 24px;\n\t\t}\n\t\t.trip-list-box .info-list ul{\n\t\t\tdisplay: flex;\n\t\t\tflex-wrap: wrap;\n\t\t}\n\t\t.trip-list-box .info-list ul li{\n\t\t\tdisplay: flex;\n\t\t\talign-items: center;\n\t\t\tfont-size: 14px;\n\t\t\tline-height: 20px;\n\t\t\tcolor: #ffffff;\n\t\t\tpadding-right: 20px;\n\t\t\tmargin-right: 20px;\n\t\t\tborder-right: 1px solid #373737;\n\t\t}\n\t\t.trip-list-box .info-list ul li:last-child{\n\t\t\tpadding-right: 0;\n\t\t\tmargin-right: 0;\n\t\t\tborder-right: 0;\n\t\t}\n\t\t.trip-list-box .info-list ul li .icon {\n\t\t\tcolor: #BFBFBF;\n\t\t\tfont-size: 12px;\n\t\t\tline-height: 16px;\n\t\t\tdisplay: flex;\n\t\t\talign-items: center;\n\t\t\tmargin-right: 8px;\n\t\t}\n\t\t.trip-list-box .info-list ul li .icon svg{\n\t\t\tmargin-right: 4px;\n\t\t}\n\t\t.trip-list-box .info-list ul li .icon svg path{\n\t\t\tstroke: #BFBFBF;\n\t\t}\n\n\t\t.trips-payment-info{\n\t\t\tbackground: #2D2D2D;\n\t\t\tpadding: 20px;\n\t\t\tdisplay: flex;\n\t\t\tflex-wrap: wrap;\n\t\t\talign-items: center;\n\t\t\tjustify-content: space-between;\n\t\t\tborder: 1px solid #373737;\n\t\t\t-webkit-border-radius: 12px;\n\t\t\t-moz-border-radius: 12px;\n\t\t\tborder-radius: 12px;\n\t\t\tmargin-bottom: 20px;\n\t\t}\n\t\t.trips-payment-info h4{\n\t\t\tfont-size: 20px;\n\t\t\tline-height: 28px;\n\t\t\tfont-weight: 700;\n\t\t\tcolor: #ffffff;\n\t\t}\n\t\t.trips-payment-info .right{\n\t\t\tdisplay: flex;\n\t\t\tflex-direction: row-reverse;\n\t\t\talign-items: center;\n\t\t}\n\t\t.trips-payment-info .payment-history-cta{\n\t\t\tpadding-left: 16px;\n\t\t}\n\t\t.trips-payment-info .payment-remaining{\n\t\t\tdisplay: flex;\n\t\t\talign-items: center;\n\t\t}\n\t\t.trips-payment-info .remaining{\n\t\t\tpadding-right: 16px;\n\t\t\tfont-size: 14px;\n\t\t\tline-height: 20px;\n\t\t\tcolor: #ffffff;\n\t\t}\n\t\t.trips-payment-info .remaining span{\n\t\t\tpadding-left: 4px;\n\t\t\tfont-size: 16px;\n\t\t\tline-height: 24px;\n\t\t\tfont-weight: 700;\n\t\t\tcolor: #D8127E;\n\t\t}\n\n\t\t.custom-progressbar{\n\t\t\twidth: 54px;\n\t\t\theight: 54px;\n\t\t\tflex-shrink: 0;\n\t\t}\n\t\t.custom-progressbar .CircularProgressbar .CircularProgressbar-trail{\n\t\t\tstroke: #4D4D4D;\n\t\t}\n\t\t.custom-progressbar .CircularProgressbar .CircularProgressbar-path{\n\t\t\tstroke: #D8127E;\n\t\t}\n\t\t.custom-progressbar .CircularProgressbar .CircularProgressbar-text{\n\t\t\tfill: #ffffff;\n\t\t\tdominant-baseline: central;\n\t\t\tfont-weight: 700;\n\t\t\ttext-anchor: middle;\n\t\t\tfont-size: 20px;\n\t\t}\n\n\t\t.upload-information-wrap{\n\t\t\tborder-top: 1px solid rgba(255, 255, 255, .05);\n\t\t\tpadding-top: 20px;\n\t\t}\n\t\t.upload-information-box{\n\t\t\tpadding: 0 20px;\n\t\t\tbackground: #2D2D2D;\n\t\t\tborder: 1px solid #373737;\n\t\t\t-webkit-border-radius: 12px;\n\t\t\t-moz-border-radius: 12px;\n\t\t\tborder-radius: 12px;\n\t\t\tposition: relative;\n\t\t}\n\t\t.upload-information-action{\n\t\t\tdisplay: flex;\n\t\t\tjustify-content: space-between;\n\t\t\talign-items: center;\n\t\t\tpadding: 11px 40px 11px 0px;\n\t\t\tcursor: pointer;\n\t\t\tposition: relative;\n\t\t}\n\t\t.upload-information-action h4{\n\t\t\tfont-size: 20px;\n\t\t\tline-height: 28px;\n\t\t\tfont-weight: 700;\n\t\t\tcolor: #ffffff;\n\t\t}\n\t\t.upload-information-action:after{\n\t\t\tcontent: \"\";\n\t\t\tposition: absolute;\n\t\t\tright: 0px;\n\t\t\ttop: 50%;\n\t\t\tmargin-top: -12px;\n\t\t\twidth: 24px;\n\t\t\theight: 24px;\n\t\t\tbackground-image: url(\"data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 9L12 15L18 9' stroke='%23D8127E' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A\");\n\t\t\tbackground-repeat: no-repeat;\n\t\t\t-webkit-transition: all 0.3s ease-in-out;\n\t\t\t-moz-transition: all 0.3s ease-in-out;\n\t\t\t-o-transition: all 0.3s ease-in-out;\n\t\t\ttransition: all 0.3s ease-in-out;\n\t\t}\n\t\t.upload-information-action[aria-expanded=\"true\"]:after{\n\t\t\t-webkit-transform: rotate(180deg);\n\t\t\t-moz-transform: rotate(180deg);\n\t\t\t-o-transform: rotate(180deg);\n\t\t\t-ms-transform: rotate(180deg);\n\t\t\ttransform: rotate(180deg);\n\t\t}\n\n\t\t@media (min-width: 1025px) and (max-width: 1240px){\n\t\t\t.trips-payment-info .left{width: 100%; padding-bottom: 16px;}\n\t\t}\n\t\t@media (max-width: 991px){\n\t\t\t.trips-payment-info .left{width: 100%; padding-bottom: 16px;}\n\t\t}\n\t\t@media (max-width: 767px){\n\t\t\t.trips-list{padding-top: 12px;}\n\t\t\t.trip-list-box{padding: 16px;}\n\t\t\t.trip-title-label{display: block; padding-bottom: 16px;}\n\t\t\t.trip-title-label h3{padding-bottom: 8px;}\n\t\t\t.trip-list-box .info-list{padding-bottom: 16px;}\n\t\t\t.trip-list-box .info-list ul{display: block;}\n\t\t\t.trip-list-box .info-list ul li{padding-bottom: 8px; border-right: 0; margin-right: 0; padding-right: 0;}\n\t\t\t.trips-payment-info{padding: 16px; display: block;}\n\t\t\t.trips-payment-info h4, .upload-information-action h4{font-size: 16px; line-height: 24px;}\n\t\t\t.trips-payment-info .right{display: block;}\n\t\t\t.trips-payment-info .payment-history-cta{padding-left: 0; padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid rgba(255, 255, 255, .05);}\n\t\t\t.trips-payment-info .payment-history-cta .btn{display: block; text-align: center;}\n\t\t\t.trips-payment-info .payment-remaining{justify-content: space-between;}\n\t\t\t.trips-payment-info .payment-remaining .cta{flex-shrink: 0;}\n\t\t\t.trips-payment-info .payment-remaining .btn.btn-right-icon.btn-sm{padding-left: 16px;}\n\t\t\t.upload-information-box{padding: 0 16px;}\n\t\t}"})},f=n(64741),g=n(27383),b=n(8100),x=n(54194),v=n(30381),y=n.n(v),w=n(65172),j=n(62255),_=n(74835),k=n(68901),C=n(9198),N=n.n(C),Z=(n(18698),function(){var e=(0,a.useState)(!1),t=e[0],n=e[1];return(0,a.useEffect)((function(){n(!0)}),[]),(0,h.jsx)("style",{children:t&&".upload-info-steps .card{\n\t\t\t\toverflow: visible;\n\t\t\t\tbackground-color: transparent;\n\t\t\t\tborder-radius: 0 !important;\n\t\t\t\tborder: 0;\n\t\t\t\tborder-top: 1px solid rgba(255,255,255,.05);\n\t\t\t\tborder-bottom: 1px solid rgba(255,255,255,.05);\n\t\t\t}\n\t\t\t.upload-info-steps .card:last-child{\n\t\t\t\tborder-bottom: 0;\n\t\t\t}\n\t\t\t.upload-info-steps .card-header{\n\t\t\t\tbackground: transparent;\n\t\t\t\tborder: 0;\n\t\t\t\tmargin: 0;\n\t\t\t\tdisplay: flex;\n\t\t\t\talign-items: center;\n\t\t\t\tpadding: 18px 30px 18px 0;\n\t\t\t\tfont-size: 14px;\n\t\t\t\tline-height: 20px;\n\t\t\t\tcolor: #ffffff;\n\t\t\t\tfont-weight: 700;\n\t\t\t\tcursor: pointer;\n\t\t\t\tposition: relative;\n\t\t\t}\n\t\t\t.upload-info-steps .card-header .no{\n\t\t\t\twidth: 24px;\n\t\t\t\theight: 24px;\n\t\t\t\tflex-shrink: 0;\n\t\t\t\tdisplay: flex;\n\t\t\t\talign-items: center;\n\t\t\t\tjustify-content: center;\n\t\t\t\tfont-size: 12px;\n\t\t\t\tline-height: 20px;\n\t\t\t\tcolor: #A7A7A7;\n\t\t\t\tfont-weight: 400;\n\t\t\t\tmargin-right: 12px;\n\t\t\t\tborder: 1px solid #4D4D4D;\n\t\t\t\t-webkit-border-radius: 100%;\n\t\t\t\t-moz-border-radius: 100%;\n\t\t\t\tborder-radius: 100%;\n\t\t\t}\n\t\t\t.upload-info-steps .completed .card-header .no{\n\t\t\t\tborder-color: #6FA566;\n\t\t\t\tfont-size: 0;\n\t\t\t}\n\t\t\t.upload-info-steps .completed .card-header .no:before{\n\t\t\t\tcontent: \"\";\n\t\t\t\tdisplay: block;\n\t\t\t\tbackground-image: url(\"data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2.5 6L5 8.5L10 3.5' stroke='%236FA566' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A\");\n\t\t\t\twidth: 12px;\n\t\t\t\theight: 12px;\n\t\t\t}\n\t\t\t.upload-info-steps .in-progress .card-header .no{\n\t\t\t\tborder-color: rgba(255, 56, 56, 0.7);\n\t\t\t\tcolor: rgba(255, 56, 56, 0.7);\n\t\t\t}\n\t\t\t.upload-info-steps .card-header:after{\n\t\t\t\tcontent: \"\";\n\t\t\t\twidth: 24px;\n\t\t\t\theight: 24px;\n\t\t\t\tposition: absolute;\n\t\t\t\tright: 0;\n\t\t\t\ttop: 50%;\n\t\t\t\tmargin-top: -12px;\n\t\t\t\tbackground-image: url(\"data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 9L12 15L18 9' stroke='%23D8127E' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A\");\n\t\t\t\tbackground-repeat: no-repeat;\n\t\t\t\t-webkit-transition: all 0.3s ease-in-out;\n\t\t\t\t-moz-transition: all 0.3s ease-in-out;
1\n\t\t\t\t-o-transition: all 0.3s ease-in-out;\n\t\t\t\ttransition: all 0.3s ease-in-out;\n\t\t\t}\n\t\t\t.upload-info-steps .card.active-card .card-header:after{\n\t\t\t\t-webkit-transform: rotate(180deg);\n\t\t\t\t-moz-transform: rotate(180deg);\n\t\t\t\t-o-transform: rotate(180deg);\n\t\t\t\t-ms-transform: rotate(180deg);\n\t\t\t\ttransform: rotate(180deg);\n\t\t\t}\n\n\t\t\t.upload-info-steps .card-body{\n\t\t\t\tpadding: 0 0 24px 36px;\n\t\t\t}\n\n\t\t\t.upload-info-steps .radio-list{\n\t\t\t\tmax-width: 500px;\n\t\t\t}\n\n\n\t\t\t.insurance-info-block > p{\n\t\t\t\tfont-size: 14px;\n\t\t\t\tline-height: 20px;\n\t\t\t\tcolor: #ffffff;\n\t\t\t\tmargin-bottom: 24px;\n\t\t\t}\n\n\t\t\t.insurance-info-block .form-wrap.form-wrap-dark .form-control::-webkit-input-placeholder {color: #A7A7A7;}\n\t\t\t.insurance-info-block .form-wrap.form-wrap-dark .form-control:-moz-placeholder {color: #A7A7A7;}\n\t\t\t.insurance-info-block .form-wrap.form-wrap-dark .form-control::-moz-placeholder {color: #A7A7A7;}\n\t\t\t.insurance-info-block .form-wrap.form-wrap-dark .form-control:-ms-input-placeholder {color: #A7A7A7;}\n\n\t\t\t.trip-doc .form-wrap{\n\t\t\t\tdisplay: flex;\n\t\t\t\tflex-wrap: wrap;\n\t\t\t\tjustify-content: space-between;\n\t\t\t\talign-items: center;\n\t\t\t}\n\t\t\t.trip-doc .form-wrap .custom-control-label{\n\t\t\t\tfont-size: 16px;\n\t\t\t}\n\t\t\t.trip-doc-list ul{\n\t\t\t\tdisplay: flex;\n\t\t\t\tflex-wrap: wrap;\n\t\t\t\tmargin: 0 -16px;\n\t\t\t\tpadding-bottom: 16px;\n\t\t\t}\n\t\t\t.trip-doc-list ul li{\n\t\t\t\tpadding: 0 16px 16px;\n\t\t\t\tmax-width: 192px;\n\t\t\t\twidth: 100%;\n\t\t\t}\n\t\t\t.trip-doc-box{\n\t\t\t\tborder: 1px solid #373737;\n\t\t\t\t-webkit-border-radius: 8px;\n\t\t\t\t-moz-border-radius: 8px;\n\t\t\t\tborder-radius: 8px;\n\t\t\t}\n\t\t\t.trip-doc-box .doc-icon-box{\n\t\t\t\theight: 141px;\n\t\t\t\tdisplay: flex;\n\t\t\t\talign-items: center;\n\t\t\t\tjustify-content: center;\n\t\t\t}\n\t\t\t.trip-doc-box .icon-box{\n\t\t\t\tposition: relative;\n\t\t\t}\n\t\t\t.trip-doc-box .icon-box span{\n\t\t\t\tposition: absolute;\n\t\t\t\tleft: 24px;\n\t\t\t\tbottom: 14px;\n\t\t\t\tfont-size: 14px;\n\t\t\t\tline-height: 20px;\n\t\t\t\tcolor: #ffffff;\n\t\t\t\ttext-transform: uppercase;\n\t\t\t}\n\t\t\t.trip-doc-box .doc-title-download{\n\t\t\t\tdisplay: flex;\n\t\t\t\tjustify-content: space-between;\n\t\t\t\talign-items: center;\n\t\t\t\tpadding: 8px 12px;\n\t\t\t\tbackground: #363636;\n\t\t\t\t-webkit-border-radius: 0 0 6px 6px;\n\t\t\t\t-moz-border-radius: 0 0 6px 6px;\n\t\t\t\tborder-radius: 0 0 6px 6px;\n\t\t\t}\n\t\t\t.trip-doc-box .doc-title{\n\t\t\t\tfont-size: 12px;\n\t\t\t\tline-height: 16px;\n\t\t\t\tcolor: #ffffff;\n\t\t\t\twhite-space: nowrap;\n\t\t\t\toverflow: hidden;\n\t\t\t\ttext-overflow: ellipsis;\n\t\t\t}\n\t\t\t.trip-doc-box .doc-action{\n\t\t\t\tflex-shrink: 0;\n\t\t\t}\n\n\t\t\t.trip-doc-box .doc-action a, .trip-doc-box .doc-action a svg{\n\t\t\t\tdisplay: block;\n\t\t\t}\n\n\t\t\t@media (max-width: 767px){\n\t\t\t\t.upload-info-steps .card-body{padding-left: 0;}\n\t\t\t\t.upload-info-steps .form-wrap .cta .btn{\n\t\t\t\t\twidth: 100%;\n\t\t\t\t\tjustify-content: center;\n\t\t\t\t}\n\t\t\t\t.trip-doc-list ul{margin: 0 -8px; padding-bottom: 12px;}\n\t\t\t\t.trip-doc-list ul li{padding-left: 8px; padding-right: 8px; max-width: 100%; width: 50%;}\n\t\t\t\t.trip-doc-box .doc-icon-box{height: 128px;}\n\t\t\t\t.trip-doc .form-wrap{display: block;}\n\t\t\t\t.trip-doc .form-wrap .form-check{margin-bottom: 24px;}\n\t\t\t}"})}),P=n(91444),O=n(36968),D=function(e){var t=e.text;return(0,h.jsx)(h.Fragment,{children:(0,h.jsx)("div",{children:(0,h.jsxs)("div",{className:"page-loader-content",children:[(0,h.jsx)("div",{className:"custom-loader",children:(0,h.jsx)("div",{className:"spinner-border-box",children:(0,h.jsx)(O.Z,{animation:"border",role:"status",children:(0,h.jsx)("span",{className:"sr-only",children:t})})})}),(0,h.jsx)("div",{className:"page-loader-txt",children:t})]})})})},S=(n(40993),n(617));function I(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function E(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?I(Object(n),!0).forEach((function(t){(0,o.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):I(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var q=function(e){return(0,h.jsx)("svg",E(E({},e),{},{children:(0,h.jsx)("path",{d:"m12 4-8 8M4 4l8 8",stroke:"#D8127E",strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round"})}))};q.defaultProps={width:"16",height:"16",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var M=function(e){return(0,h.jsx)("svg",E(E({},e),{},{children:(0,h.jsx)("path",{d:"M4 17v2a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-2M7 11l5 5 5-5M12 4v12",stroke:"#D8127E",strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round"})}))};M.defaultProps={width:"24",height:"24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var L=function(e){return(0,h.jsxs)("svg",E(E({},e),{},{children:[(0,h.jsx)("path",{d:"M46.668 10v13.333a3.334 3.334 0 0 0 3.333 3.334h13.334",stroke:"#D8127E",strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round"}),(0,h.jsx)("path",{d:"M56.668 70H23.335a6.667 6.667 0 0 1-6.667-6.667V16.667A6.667 6.667 0 0 1 23.335 10h23.333l16.667 16.667v36.666A6.667 6.667 0 0 1 56.668 70Z",stroke:"#D8127E",strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round"})]}))};L.defaultProps={width:"80",height:"80",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var A=[{value:"0: Consciously chooses to eat non-kosher",label:"I do not keep kosher"},{value:"2: Doesn\u2019t care either way",label:"I would not eat pork"},{value:"3: Will eat kosher when given the option and a similar price etc.",label:"I eat only Kosher meat"},{value:"4: Won\u2019t eat pork or seafood under any circumstance",label:"I keep Kosher at home"},{value:"5: Only eats kosher meat",label:"I keep fully Kosher"}],F=[{value:"0: Actively avoids Shabbat experiences",label:"I don\u2019t observe Shabbat"},{value:"2: Hasn\u2019t had a Shabbat experience but is open to the idea",label:"Occasional Friday Night Dinner"},{value:"3: Will join for meals",label:"Regular Friday Night Dinner"},{value:"4: Joins as often as possible for meals",label:"I sometimes observe Shabbat"},{value:"5: Actively seeks Shabbat experiences beyond meals",label:"I always observe Shabbat"}],R=[{value:"0: Actively seeks to date out",label:"Judaism is irrelevant to my relationships"},{value:"2: Doesn\u2019t care either way",label:"Would prefer to marry Jewish"},{value:"3: Won\u2019t marry out open to dating out",label:"Would date non-Jew but would only marry Jewish"},{value:"4: Will only date in",label:"Would only date Jewish"},{value:"5: Looks for partner interested in Jewish growth",label:"Would only marry an observant Jew"}],z=[{value:"0: Rejects Israel as Jewish homeland actively avoids visiting",label:"I do not support Israel"},{value:"1: Rejects Israel as Jewish homeland actively avoids visiting",label:"I\u2019m conflicted about Israel"},{value:"2: Sees Israel as Jewish homeland but aggressively anti-Israel",label:"Zionist but critical friend"},{value:"4: Cultural connection to Israel actively seeks to visit",label:"I strongly support Israel"},{value:"5: Religious/spiritual connection to Israel",label:"Ideally would make aliya"}],B=[{value:"Accounting",label:"Accounting"},{value:"Advertising",label:"Advertising"},{value:"Agriculture",label:"Agriculture"},{value:"Biotechnology",label:"Biotechnology"},{value:"Chemical",label:"Chemical"},{value:"Computers and Information",label:"Computers and Information"},{value:"Construction",label:"Construction"},{value:"Distribution",label:"Distribution"},{value:"Economics",label:"Economics"},{value:"E-Commerce",label:"E-Commerce"},{value:"Education",label:"Education"},{value:"Energy",label:"Energy"},{value:"Entertainment",label:"Entertainment"},{value:"Fashion",label:"Fashion"},{value:"Finance",label:"Finance"},{value:"Food",label:"Food"},{value:"Goods",label:"Goods"},{value:"Health",label:"Health"},{value:"Hospitality",label:"Hospitality"},{value:"Industry",label:"Industry"},{value:"Information and Communications",label:"Information and Communications"},{value:"Insurance",label:"Insurance"},{value:"Investment",label:"Investment"},{value:"Investment Banking",label:"Investment Banking"},{value:"Law",label:"Law"},{value:"Manufacturing",label:"Manufacturing"},{value:"Market research",label:"Market research"},{value:"Marketing",label:"Marketing"},{value:"Media",label:"Media"},{value:"Medical",label:"Medical"},{value:"Mental Healthcare",label:"Mental Healthcare"},{value:"Mining",label:"Mining"},{value:"Nonprofit",label:"Nonprofit"},{value:"Production",label:"Production"},{value:"Public Administration",label:"Public Administration"},{value:"Publishing",label:"Publishing"},{value:"Real Estate",label:"Real Estate"},{value:"Research",label:"Research"},{value:"Retail",label:"Retail"},{value:"Technology",label:"Technology"},{value:"Trade",label:"Trade"}
1,{value:"Transport",label:"Transport"},{value:"Telecommunications",label:"Telecommunications"},{value:"Sales",label:"Sales"},{value:"Software",label:"Software"},{value:"Other",label:"Other"}],T=[{value:"Professional Mentor",label:"Professional Mentor"},{value:"Partner to study Jewish/Torah wisdom",label:"Partner to study Jewish/Torah wisdom"}],H=[{value:"Intellectual",label:"Intellectual"},{value:"A young professional",label:"A young professional"},{value:"Reflective",label:"Reflective"},{value:"Outgoing",label:"Outgoing"},{value:"Funny",label:"Funny"},{value:"A family person",label:"A family person"},{value:"Philosophical",label:"Philosophical"},{value:"Warm",label:"Warm"},{value:"Determined",label:"Determined"},{value:"Worldly",label:"Worldly"}],W=[{value:"Morning",label:"Morning"},{value:"Afternoon",label:"Afternoon"},{value:"Evening",label:"Evening"},{value:"Sunday",label:"Sunday"}],K=function(e){var t=(0,a.useState)(0),n=t[0],i=t[1];function r(e){i(n===e?null:e)}var o=(0,a.useState)({new_passportnumber:e.bookingData?e.bookingData.new_passportnumber:null,new_passportexpirydate:e.bookingData?e.bookingData.new_passportexpirydate:y()(new Date(y()())).format("YYYY-MM-DDTHH:mm:ssZ")}),s=o[0],l=o[1],c=(0,a.useState)({new_allergies:e.bookingData?e.bookingData.new_allergies.toString():null,new_allergydetails:e.bookingData?e.bookingData.new_allergydetails:null,new_hospitaltreatment:e.bookingData?e.bookingData.new_hospitaltreatment.toString():null,new_hospitaltreatmentdetails:e.bookingData?e.bookingData.new_hospitaltreatmentdetails:null,new_medication:e.bookingData?e.bookingData.new_medication.toString():null,new_medicationdetails:e.bookingData?e.bookingData.new_medicationdetails:null,new_difficultystandingorwalkingforlongperiods:e.bookingData?e.bookingData.new_difficultystandingorwalkingforlongperiods.toString():null,new_difficultystandingorwalkingdetails:e.bookingData?e.bookingData.new_difficultystandingorwalkingdetails:null,new_otherhealthissues:e.bookingData?e.bookingData.new_otherhealthissues.toString():null,new_otherhealthissuesdetails:e.bookingData?e.bookingData.new_otherhealthissuesdetails:null,new_vegetarian_food:e.bookingData?e.bookingData.new_vegetarian_food.toString():null,new_other_dietary_requirements:e.bookingData?e.bookingData.new_other_dietary_requirements.toString():null,new_other_dietary_requirements_details:e.bookingData?e.bookingData.new_other_dietary_requirements_details:null}),d=c[0],p=c[1],m=(0,a.useState)({new_insurancecompanyname:e.bookingData?e.bookingData.new_insurancecompanyname:null,new_insurancepolicymembernumber:e.bookingData?e.bookingData.new_insurancepolicymembernumber:null,new_insuranceemergencynumber:e.bookingData?e.bookingData.new_insuranceemergencynumber:null,new_insurancepolicyexpirydate:e.bookingData?e.bookingData.new_insurancepolicyexpirydate:y()(new Date(y()())).format("YYYY-MM-DDTHH:mm:ssZ")}),f=m[0],g=m[1],b=(0,a.useState)({new_emergencycontact1:e.bookingData?e.bookingData.new_emergencycontact1:null,new_emergencycontactnumber1:e.bookingData?e.bookingData.new_emergencycontactnumber1:null,new_emergencycontactrelationship1:e.bookingData?e.bookingData.new_emergencycontactrelationship1:null,new_emergencycontact2:e.bookingData?e.bookingData.new_emergencycontact2:null,new_emergencycontactnumber2:e.bookingData?e.bookingData.new_emergencycontactnumber2:null,new_emergencycontactrelationship2:e.bookingData?e.bookingData.new_emergencycontactrelationship2:null}),v=b[0],C=b[1],O=(0,a.useState)({}),I=O[0],K=O[1],V=(0,a.useState)({}),Y=V[0],J=V[1],U=(0,a.useState)({}),G=U[0],X=U[1],Q=(0,a.useState)({new_roomsharepreference1:e.participation?e.participation["participation.new_roomsharepreference1"]:"",new_roomsharepreference2:e.participation?e.participation["participation.new_roomsharepreference2"]:""}),$=Q[0],ee=Q[1],te=(0,a.useState)(!1),ne=te[0],ae=te[1],ie=(0,a.useState)({}),re=ie[0],oe=ie[1],se=(0,a.useState)(null),le=(se[0],se[1],(0,a.useState)(!1)),ce=le[0],de=le[1],pe=(0,a.useState)(!1),ue=pe[0],he=pe[1],me=(0,a.useState)(!1),fe=me[0],ge=me[1],be=(0,a.useState)(!1),xe=be[0],ve=be[1],ye=(0,a.useState)(!1),we=ye[0],je=ye[1],_e=(0,a.useState)(!1),ke=_e[0],Ce=_e[1],Ne=(0,a.useState)(!1),Ze
1=Ne[0],Pe=Ne[1],Oe=(0,a.useState)(!1),De=Oe[0],Se=Oe[1],Ie=(0,a.useState)(!1),Ee=Ie[0],qe=Ie[1],Me=(0,a.useState)(e.participation["participation.jftaish_tripspassportinfo"]),Le=Me[0],Ae=Me[1],Fe=(0,a.useState)(e.participation["participation.jftaish_tripsinformationuploadinsuranceinfo"]),Re=Fe[0],ze=Fe[1],Be=(0,a.useState)(e.participation["participation.jftaish_tripinformationuploadmedicalquestionnaire"]),Te=Be[0],He=Be[1],We=(0,a.useState)(e.participation["participation.jftaish_tripuploadinformationtrippolicy"]),Ke=We[0],Ve=We[1],Ye=(0,a.useState)(e.participation["participation.jftaish_tripsuploadinformationemergencycontact"]),Je=Ye[0],Ue=Ye[1],Ge=(0,a.useState)(e.participation["participation.jftaish_tripsuploadinformationmatrix"]),Xe=Ge[0],Qe=Ge[1],$e=(0,a.useState)(e.participation["participation.jftaish_otherdetails"]),et=$e[0],tt=$e[1],nt=(0,a.useState)(""!=e.participation["participation.new_roomsharepreference1"]||""!=e.participation["participation.new_roomsharepreference2"]),at=nt[0],it=nt[1],rt="",ot=function(e){ee(E(E({},$),e))},st=function(e){l(E(E({},s),e))},lt=function(e){p(E(E({},d),e))},ct=function(e){g(E(E({},f),e))},dt=function(e){C(E(E({},v),e))},pt=function(e){K(E(E({},I),e))},ut=function(e){X(E(E({},G),e))},ht=(0,k.uI)(),mt=ht.acceptedFiles,ft=(ht.getRootProps,ht.getInputProps,(0,a.useState)([])),gt=ft[0],bt=ft[1],xt=function(e){return function(){bt(gt.filter((function(t){return t!==e})))}},vt=(0,a.useState)(""),yt=(vt[0],vt[1]);(0,a.useEffect)((function(){bt(mt)}),[mt]),(0,a.useEffect)((function(){var e=gt.map((function(e){return(0,h.jsxs)("li",{children:[e.path,(0,h.jsx)("button",{type:"button",onClick:xt(e),children:(0,h.jsx)(q,{})})]},Math.random())}));yt(e)}),[gt]);var wt=function(e){de(!1),he(!1),ge(!1),ve(!1),je(!1),Ce(!1),Se(!1),oe(e),qe(!1)},jt=function(){qe(!1),it(!0),P.Am.success("Room Information details updated successfully",{position:"top-right",autoClose:5e3,hideProgressBar:!0,closeOnClick:!0,pauseOnHover:!0,draggable:!0,progress:void 0})},_t=function(){de(!1),Ae(!0),P.Am.success("Passport details updated successfully",{position:"top-right",autoClose:5e3,hideProgressBar:!0,closeOnClick:!0,pauseOnHover:!0,draggable:!0,progress:void 0})},kt=function(){he(!1),He(!0),P.Am.success("Medical questionnaire updated successfully",{position:"top-right",autoClose:5e3,hideProgressBar:!0,closeOnClick:!0,pauseOnHover:!0,draggable:!0,progress:void 0})},Ct=function(){ge(!1),ze(!0),P.Am.success("Insurance information updated successfully",{position:"top-right",autoClose:5e3,hideProgressBar:!0,closeOnClick:!0,pauseOnHover:!0,draggable:!0,progress:void 0})},Nt=function(){ve(!1),Ue(!0),P.Am.success("Emergency contact updated successfully",{position:"top-right",autoClose:5e3,hideProgressBar:!0,closeOnClick:!0,pauseOnHover:!0,draggable:!0,progress:void 0})},Zt=function(){je(!1),Qe(!0),P.Am.success("Survey updated successfully",{position:"top-right",autoClose:5e3,hideProgressBar:!0,closeOnClick:!0,pauseOnHover:!0,draggable:!0,progress:void 0})},Pt=function(){Ce(!1),Ve(!0),P.Am.success("Documents updated successfully",{position:"top-right",autoClose:5e3,hideProgressBar:!0,closeOnClick:!0,pauseOnHover:!0,draggable:!0,progress:void 0})},Ot=function(){Se(!1),tt(!0),P.Am.success("Mentor details updated successfully",{position:"top-right",autoClose:5e3,hideProgressBar:!0,closeOnClick:!0,pauseOnHover:!0,draggable:!0,progress:void 0})};return(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)("div",{className:"upload-info-steps",children:(0,h.jsxs)(w.Z,{defaultActiveKey:n,activeKey:n,children:[1==e.participation.trip.jftaish_dashboardpassportinformation_required&&(0,h.jsxs)("div",{className:"card ".concat(1===n?"active-card":""," ").concat(Le?"completed":"in-progress"),children:[(0,h.jsxs)(w.Z,{as:j.Z.Header,eventKey:1,onClick:function(){return r(1)},children:[(0,h.jsx)("div",{className:"no",children:"x"})," Passport Information"]}),(0,h.jsx)(w.Z.Collapse,{eventKey:1,children:(0,h.jsx)(j.Z.Body,{children:(0,h.jsx)(_.Z,{noValidate:!0,validated:ne,onSubmit:function(t){t.preventDefault();var n=t.currentTarget;de(!0),!1===n.checkValidity()?(de(!1),t.stopPropagation()):(0,x.gz)("".concat("https://api.aish.org.uk","/api/update/").concat(e.participationId,"/passport"),s,_t,null,{},wt),ae(!0)},id:"passport-form",children:ce?(0,h.jsx)("div",{children:(0,h.jsx)(D,{text:"Please wait while your data is updating...."})}):(0,h.jsxs)("div",{className:"form-wrap form-wrap-dark",children:[(0,h.jsxs)("div",{className:"row",children:[(0,h.jsx)("div",{className:"col-md-6",children:(0,h.jsxs)("div",{className:"form-group",children:[(0,h.jsx)(_.Z.Label,{children:"Passport No"}),(0,h.jsx)(_.Z.Control,{type:"text",placeholder:"Passport No",name:"new_passportnumber",required:!0,value:s&&s.new_passportnumber,onChange:function(e){st({new_passportnumber:e.target.value})},className:re.hasOwnProperty("new_passportnumber")?"is-invalid":"valid"}),(0,h.jsx)(_.Z.Control.Feedback,{type:"invalid",children:re.hasOwnProperty("new_passportnumber")?re.new_passportnumber:"Please provide a passport number."})]})}),(0,h.jsx)("div",{className:"col-md-6",children:(0,h.jsxs)("div",{className:"form-group",children:[(0,h.jsx)(_.Z.Label,{children:"Passport expiry date"}),(0,h.jsx)(N(),{className:"form-control",dateFormat:"dd/MM/yy",name:"new_passportexpirydate",placeholderText:"Passport expiry date",selected:s?y()(s.new_passportexpirydate).toDate():null,onChange:function(e){st({new_passportexpirydate:y()(new Date(e)).format("YYYY-MM-DDTHH:mm:ssZ")})}}),(0,h.jsx)(_.Z.Control.Feedback,{type:"invalid",children:re.hasOwnProperty("new_passportexpirydate")?re.new_passportexpirydate:"Please provide passport expiry date."})]})})]}),(0,h.jsx)("div",{className:"cta text-right",children:(0,h.jsxs)("button",{type:"submit",className:"btn btn-sm btn-pink btn-right-icon",children:["Submit Information ",(0,h.jsx)(u.lU2,{size:"20px"})]})})]})})})})]}),1==e.participation.trip.jftaish_dashboardmedicalquestionnaire_required&&(0,h.jsxs)("div",{className:"card  ".concat(2===n?"active-card":""," ").concat(Te?"completed":"in-progress"),children:[(0,h.jsxs)(w.Z,{as:j.Z.Header,eventKe
1y:2,onClick:function(){return r(2)},children:[(0,h.jsx)("div",{className:"no",children:"x"})," Medical Questionnaire"]}),(0,h.jsx)(w.Z.Collapse,{eventKey:2,children:(0,h.jsx)(j.Z.Body,{children:(0,h.jsx)(_.Z,{noValidate:!0,validated:ne,onSubmit:function(t){t.preventDefault();var n=t.currentTarget;he(!0),!1===n.checkValidity()?(t.stopPropagation(),he(!1)):(0,x.gz)("".concat("https://api.aish.org.uk","/api/update/").concat(e.participationId,"/medical"),d,kt,null,{},wt),ae(!0)},id:"medical-que-form",children:ue?(0,h.jsx)(D,{text:"Please wait while your data is updating...."}):(0,h.jsxs)("div",{className:"form-wrap form-wrap-dark",children:[(0,h.jsx)("div",{className:"radio-list",children:(0,h.jsxs)("ul",{children:[(0,h.jsxs)("li",{children:[(0,h.jsx)("div",{className:"radio-label",children:"Do you have any allergies? (e.g. Penicillin, Nuts?)"}),(0,h.jsxs)("div",{className:"inline-radio",children:[(0,h.jsxs)(_.Z.Check,{type:"radio",id:"check1",children:[(0,h.jsx)(_.Z.Check.Input,{type:"radio",name:"new_allergies",value:!0,required:!0,className:"custom-control-input",onClick:function(e){lt({new_allergies:e.target.value})},checked:1==d.new_allergies||"true"==d.new_allergies}),(0,h.jsx)(_.Z.Check.Label,{className:"custom-control-label custom-control-radio",children:"Yes"})]}),(0,h.jsxs)(_.Z.Check,{type:"radio",id:"check1-1",children:[(0,h.jsx)(_.Z.Check.Input,{type:"radio",name:"new_allergies",value:!1,required:!0,className:"custom-control-input",onChange:function(e){lt({new_allergies:e.target.value})},checked:0==d.new_allergies||"false"==d.new_allergies}),(0,h.jsx)(_.Z.Check.Label,{className:"custom-control-label custom-control-radio",children:"No"})]}),d&&(1==d.new_allergies||"true"==d.new_allergies)&&(0,h.jsx)(_.Z.Control,{type:"textarea",placeholder:"Specify here",name:"new_allergydetails",required:!0,value:d&&d.new_allergydetails,onChange:function(e){lt({new_allergydetails:e.target.value})},className:re.hasOwnProperty("new_allergydetails")?"is-invalid":"valid"}),(0,h.jsx)(_.Z.Control.Feedback,{type:"invalid",children:re.hasOwnProperty("new_allergies")?re.new_allergies:"Please specify."})]})]}),(0,h.jsxs)("li",{children:[(0,h.jsx)("div",{className:"radio-label",children:"Have you been in hospital within the last three years?"}),(0,h.jsxs)("div",{className:"inline-radio",children:[(0,h.jsxs)(_.Z.Check,{type:"radio",id:"check2",children:[(0,h.jsx)(_.Z.Check.Input,{type:"radio",name:"new_hospitaltreatment",value:!0,required:!0,className:"custom-control-input",onChange:function(e){lt({new_hospitaltreatment:e.target.value})},checked:1==d.new_hospitaltreatment||"true"==d.new_hospitaltreatment}),(0,h.jsx)(_.Z.Check.Label,{className:"custom-control-label custom-control-radio",children:"Yes"})]}),(0,h.jsxs)(_.Z.Check,{type:"radio",id:"check2-2",children:[(0,h.jsx)(_.Z.Check.Input,{type:"radio",name:"new_hospitaltreatment",value:!1,required:!0,className:"custom-control-input",onChange:function(e){lt({new_hospitaltreatment:e.target.value})},checked:0==d.new_hospitaltreatment||"false"==d.new_hospitaltreatment}),(0,h.jsx)(_.Z.Check.Label,{className:"custom-control-label custom-control-radio",children:"No"})]}),d&&(1==d.new_hospitaltreatment||"true"==d.new_hospitaltreatment)&&(0,h.jsx)(_.Z.Control,{type:"textarea",placeholder:"Specify here",name:"new_hospitaltreatmentdetails",required:!0,value:d&&d.new_hospitaltreatmentdetails,onChange:function(e){lt({new_hospitaltreatmentdetails:e.target.value})},className:re.hasOwnProperty("new_hospitaltreatmentdetails")?"is-invalid":"valid"}),(0,h.jsx)(_.Z.Control.Feedback,{type:"invalid",children:re.hasOwnProperty("new_hospitaltreatment")?re.new_hospitaltreatment:"Please specify."})]})]}),(0,h.jsxs)("li",{children:[(0,h.jsx)("div",{className:"radio-label",children:"Are you on any medication?"}),(0,h.jsxs)("div",{className:"inline-radio",children:[(0,h.jsxs)(_.Z.Check,{type:"radio",id:"check3",children:[(0,h.jsx)(_.Z.Check.Input,{type:"radio",name:"new_medication",value:!0,required:!0,className:"custom-control-input",onChange:function(e){lt({new_medication:e.target.value})},checked:1==d.new_medication||"true"==d.new_medication}),(0,h.jsx)(_.Z.Check.Label,{className:"custom-control-label custom-control-radio",children:"Yes"})]}),(0,h.jsxs)(_.Z.Check,{type:"radio",id:"check3-3",children:[(0,h.jsx)(_.Z.Check.Input,{type:"radio",name:"new_medication",value:!1,required:!0,className:"custom-control-input",onChange:function(e){lt({new_medication:e.target.value})},checked:0==d.new_medication||"false"==d.new_medication}),(0,h.jsx)(_.Z.Check.Label,{className:"custom-control-label custom-control-radio",children:"No"})]}),d&&(1==d.new_medication||"true"==d.new_medication)&&(0,h.jsx)(_.Z.Control,{type:"textarea",placeholder:"Specify here",name:"new_medicationdetails",required:!0,value:d&&d.new_medicationdetails,onChange:function(e){lt({new_medicationdetails:e.target.value})},className:re.hasOwnProperty("new_medicationdetails")?"is-invalid":"valid"}),(0,h.jsx)(_.Z.Control.Feedback,{type:"invalid",children:re.hasOwnProperty("new_medication")?re.new_medication:"Please specify."})]})]}),(0,h.jsxs)("li",{children:[(0,h.jsx)("div",{className:"radio-label",children:"Do you have problems standing or walking for long periods of time?"}),(0,h.jsxs)("div",{className:"inline-radio",children:[(0,h.jsxs)(_.Z.Check,{type:"radio",id:"check4",children:[(0,h.jsx)(_.Z.Check.Input,{type:"radio",name:"new_difficultystandingorwalkingforlongperiods",value:!0,required:!0,className:"custom-control-input",onChange:function(e){lt({new_difficultystandingorwalkingforlongperiods:e.target.value})},checked:1==d.new_difficultystandingorwalkingforlongperiods||"true"==d.new_difficultystandingorwalkingforlongperiods}),(0,h.jsx)(_.Z.Check.Label,{className:"custom-control-label custom-control-radio",children:"Yes"})]}),(0,h.jsxs)(_.Z.Check,{type:"radio",id:"check4-4",children:[(0,h.jsx)(_.Z.Check.Input,{type:"radio",name:"new_difficultystandingorwalkingforlongperiods",value:!1,required:!0,className:"custom-control-input",onChange:function(e){lt({new_difficultystandingorwalkingforlongperiods:e.target.value})},checked:0==d.new_difficultystandingorwalkingforlongperiods||"false"==d.new_difficultystandingorwalkingforlongperiods}),(0,h.jsx)(_.Z.Check.Label,{className:"custom-control-label custom-control-radio",children:"No"})]}),d&&(1==d.new_difficultystandingorwalkingforlongperiods||"true"==d.new_difficultystandingorwalkingforlongperiods)&&(0,h.jsx)(_.Z.Control,{type:"textarea",placeholder:"Specify here",name:"new_difficultystandingorwalkingdetails",required:!0,value:d&&d.new_difficultystandingorwalkingdetails,onChange:function(e){lt({new_difficultystandingorwalkingdetails:e.target.value})},className:re.hasOwnProperty("new_difficultystandingorwalkingdetails")?"is-invalid":"valid"}),(0,h.jsx)(_.Z.Control.Feedback,{type:"invalid",children:re.hasOwnProperty("new_medication")?re.new_medication:"Please specify."})]})]}),(0,h.jsxs)("li",{children:[(0,h.jsx)("div",{className:"radio-label",children:"Do you have any other medical information we may need to know about? (e.g., Any Mental or Psychiatric Issues, Depression, Epilepsy...)"}),(0,h.jsxs)("div",{className:"inline-radio",children:[(0,h.jsxs)(_.Z.Check,{type:"radio",id:"check5",children:[(0,h.jsx)(_.Z.Check.Input,{type:"radio",name:"new_otherhealthissues",value:!0,required:!0,className:"custom-control-input",onChange:function(e){lt({new_otherhealthissues:e.target.value})},checked:1==d.new_otherhealthissues||"true"==d.new_otherhealthissues}),(0,h.jsx)(_.Z.Check.Label,{className:"custom-control-label custom-control-radio",children:"Yes"})]}),(0,h.jsxs)(_.Z.Check,{type:"radio",id:"check5-5",children:[(0,h.jsx)(_.Z.Check.Input,{type:"radio",name:"new_otherhealthissues",value:!1,required:!0,className:"custom-control-input",onChange:function(e){lt({new_otherhealthissues:e.target.value})},checked:0==d.new_otherhealthissues||"false"==d.new_otherhealthissues}),(0,h.jsx)(_.Z.Check.Label,{className:"custom-control-label custom-control-radio",children:"No"})]}),d&&(1==d.new_otherhealthissues||"true"==d.new_otherhealthissues)&&(0,h.jsx)(_.Z.Control,{type:"textarea",placeholder:"Specify here",name:"new_otherhealthissuesdetails",required:!0,value:d&&d.new_otherhealthissuesdetails,onChange:function(e){lt({new_otherhealthissuesdetails:e.target.value})},className:re.hasOwnProperty("new_otherhealthissuesdetails")?"is-invalid":"valid"}),(0,h.jsx)(_.Z.Control.Feedback,{type:"invalid",children:re.hasOwnProperty("new_anyothermedicalissues")?re.new_anyothermedicalissues:"Please specify."})]})]}),(0,h.jsxs)("li",{children:[(0,h.jsx)("div",{className:"radio-label",children:"Do you require vegetarian food?"}),(0,h.jsxs)("div",{className:"inline-radio",children:[(0,h.jsxs)(_.Z.Check,{type:"radio",id:"check6",children:[(0,h.jsx)(_.Z.Check.Input,{type:"radio",name:"new_vegetarian_food",value:!0,required:!0,className:"custom-control-input",onChange:function(e){lt({new_vegetarian_food:e.target.value})},checked:1==d.new_vegetarian_food||"true"==d.new_vegetarian_food}),(0,h.jsx)(_.Z.Check.Label,{className:"custom-control-label custom-control-radio",children:"Yes"})]}),(0,h.jsxs)(_.Z.Check,{type:"radio",id:"check6-6",children:[(0,h.jsx)(_.Z.Check.Input,{type:"radio",name:"new_vegetarian_food",value:!1,required:!0,className:"custom-control-input",onChange:function(e){lt({new_vegetarian_food:e.target.value})},checked:0==d.new_vegetarian_food||"false"==d.new_vegetarian_food}),(0,h.jsx)(_.Z.Check.Label,{className:"custom-control-label custom-control-radio",children:"No"})]})]})]}),(0,h.jsxs)("li",{children:[(0,h.jsx)("div",{className:"radio-label",children:"Do you require vegan food?"}),(0,h.jsxs)("div",{className:"inline-radio",children:[(0,h.jsxs)(_.Z.Check,{type:"radio",id:"check8",children:[(0,h.jsx)(_.Z.Check.Input,{type:"radio",name:"cr029_veganfood",value:!0,required:!0,className:"custom-control-input",onChange:function(e){lt({cr029_veganfood:e.target.value})},checked:1==d.cr029_veganfood||"true"==d.cr029_veganfood}),(0,h.jsx)(_.Z.Check.Label,{className:"custom-control-label custom-control-radio",children:"Yes"})]}),(0,h.jsxs)(_.Z.Check,{type:"radio",id:"check8-8",children:[(0,h.jsx)(_.Z.Check.Input,{type:"radio",name:"cr029_veganfood",value:!1,required:!0,className:"custom-control-input",onChange:function(e){lt({cr029_veganfood:e.target.value})},checked:0==d.cr029_veganfood||"false"==d.cr029_veganfood}),(0,h.jsx)(_.Z.Check.Label,{className:"custom-control-label custom-control-radio",children:"No"})]})]})]}),(0,h.jsxs)("li",{children:[(0,h.jsx)("div",{className:"radio-label",children:"Do you have any other dietary requirements?"}),(0,h.jsxs)("div",{className:"inline-radio",children:[(0,h.jsxs)(_.Z.Check,{type:"radio",id:"check7",children:[(0,h.jsx)(_.Z.Check.Input,{type:"radio",name:"new_other_dietary_requirements",value:!0,required:!0,className:"custom-control-input",onChange:function(e){lt({new_other_dietary_requirements:e.target.value})},checked:1==d.new_other_dietary_requirements||"true"==d.new_other_dietary_requirements}),(0,h.jsx)(_.Z.Check.Label,{className:"custom-control-label custom-control-radio",children:"Yes"})]}),(0,h.jsxs)(_.Z.Check,{type:"radio",id:"check7-7",children:[(0,h.jsx)(_.Z.Check.Input,{type:"radio",name:"new_other_dietary_requirements",value:!1,required:!0,className:"custom-control-input",onChange:function(e){lt({new_other_dietary_requirements:e.target.value})},checked:0==d.new_other_dietary_requirements||"false"==d.new_other_dietary_requirements}),(0,h.jsx)(_.Z.Check.Label,{className:"custom-control-label custom-control-radio",children:"No"})]}),d&&(1==d.new_other_dietary_requirements||"true"==d.new_other_dietary_requirements)&&(0,h.jsx)(_.Z.Control,{type:"textarea",placeholder:"Specify here",name:"new_other_dietary_requirements_details",required:!0,value:d&&d.new_other_dietary_requirements_details,onChange:function(e){lt({new_other_dietary_requirements_details:e.target.value})},className:re.hasOwnProperty("new_other_dietary_requirements_details")?"is-invalid":"valid"}),(0,h.jsx)(_.Z.Control.Feedback,{type:"invalid",children:re.hasOwnProperty("new_other_dietary_requirements")?re.new_other_dietary_requirements:"Please specify."})]})]})]})}),(0,h.jsx)("div",{className:"cta text-right",children:(0,h.jsxs)("button",{type:"submit",className:"btn btn-sm btn-pink btn-right-icon",children:["Submit Information ",(0,h.jsx)(u.lU2,{size:"20px"})]})})]})})})})]}),1==e.participation.trip.jftaish_dashboardinsuranceinformation_required&&(0,h.jsxs)("div",{className:"card ".concat(3===n?"active-card":""," ").concat(Re?"completed":"in-progress"),children:[(0,h.jsxs)(w.Z,{as:j.Z.Header,eventKe
1y:3,onClick:function(){return r(3)},children:[(0,h.jsx)("div",{className:"no",children:"x"})," Insurance Information"]}),(0,h.jsx)(w.Z.Collapse,{eventKey:3,children:(0,h.jsx)(j.Z.Body,{children:(0,h.jsxs)("div",{className:"insurance-info-block",children:[(0,h.jsx)("p",{children:"For this trip we will require you to provide details of your travel insurance policy."}),(0,h.jsx)(_.Z,{noValidate:!0,validated:ne,onSubmit:function(t){t.preventDefault(),ge(!0),!1===t.currentTarget.checkValidity()?(t.stopPropagation(),ge(!1)):(0,x.gz)("".concat("https://api.aish.org.uk","/api/update/").concat(e.participationId,"/insurance"),f,Ct,null,{},wt),ae(!0)},id:"insurance-form",children:fe?(0,h.jsx)(D,{text:"Please wait while your data is updating...."}):(0,h.jsxs)("div",{className:"form-wrap form-wrap-dark",children:[(0,h.jsxs)("div",{className:"row",children:[(0,h.jsx)("div",{className:"col-md-6",children:(0,h.jsxs)("div",{className:"form-group",children:[(0,h.jsx)(_.Z.Label,{children:"Insurance agency"}),(0,h.jsx)(_.Z.Control,{type:"text",placeholder:"Insurance agency",name:"new_insurancecompanyname",required:!0,value:f&&f.new_insurancecompanyname,onChange:function(e){ct({new_insurancecompanyname:e.target.value})},className:re.hasOwnProperty("new_insurancecompanyname")?"is-invalid":"valid"}),(0,h.jsx)(_.Z.Control.Feedback,{type:"invalid",children:re.hasOwnProperty("new_insurancecompanyname")?re.new_insurancecompanyname:"Please provide insurance agency."})]})}),(0,h.jsx)("div",{className:"col-md-6",children:(0,h.jsxs)("div",{className:"form-group",children:[(0,h.jsx)(_.Z.Label,{children:"Policy number"}),(0,h.jsx)(_.Z.Control,{type:"text",placeholder:"Policy number",name:"new_insurancepolicymembernumber",required:!0,value:f&&f.new_insurancepolicymembernumber,onChange:function(e){ct({new_insurancepolicymembernumber:e.target.value})},className:re.hasOwnProperty("new_insurancepolicymembernumber")?"is-invalid":"valid"}),(0,h.jsx)(_.Z.Control.Feedback,{type:"invalid",children:re.hasOwnProperty("new_insurancepolicymembernumber")?re.new_insurancepolicymembernumber:"Please provide policy number."})]})}),(0,h.jsx)("div",{className:"col-md-6",children:(0,h.jsxs)("div",{className:"form-group",children:[(0,h.jsx)(_.Z.Label,{children:"Emergency phone number (at insurance agency)"}),(0,h.jsx)(_.Z.Control,{type:"text",placeholder:"Emergency phone number",name:"new_insuranceemergencynumber",required:!0,value:f&&f.new_insuranceemergencynumber,onChange:function(e){ct({new_insuranceemergencynumber:e.target.value})},className:re.hasOwnProperty("new_insuranceemergencynumber")?"is-invalid":"valid"}),(0,h.jsx)(_.Z.Control.Feedback,{type:"invalid",children:re.hasOwnProperty("new_insuranceemergencynumber")?re.new_insuranceemergencynumber:"Please provide phone number."})]})}),(0,h.jsx)("div",{className:"col-md-6",children:(0,h.jsxs)("div",{className:"form-group",children:[(0,h.jsx)(_.Z.Label,{children:"Policy expiry date"}),(0,h.jsxs)("div",{className:"icon-box",children:[(0,h.jsx)(N(),{className:"form-control",dateFormat:"dd/MM/yy",name:"new_insurancepolicyexpirydate",placeholderText:"Policy expiry date",selected:f?y()(f.new_insurancepolicyexpirydate).toDate():null,onChange:function(e){ct({new_insurancepolicyexpirydate:y()(new Date(e)).format("YYYY-MM-DDTHH:mm:ssZ")})}}),(0,h.jsx)(_.Z.Control.Feedback,{type:"invalid",children:re.hasOwnProperty("new_insurancepolicyexpirydate")?re.new_insurancepolicyexpirydate:"Please provide expiry date."})]})]})})]}),(0,h.jsx)("div",{className:"cta text-right",children:(0,h.jsxs)("button",{type:"submit",className:"btn btn-sm btn-pink btn-right-icon",children:["Submit Information ",(0,h.jsx)(u.lU2,{size:"20px"})]})})]})})]})})})]}),1==e.participation.trip.jftaish_dashboardjewishsurvey_required&&Xe?null:(0,h.jsxs)("div",{className:"card ".concat(4===n?"active-card":""," ").concat(Xe?"completed":"in-progress"),children:[(0,h.jsxs)(w.Z,{as:j.Z.Header,eventKey:4,onClick:function(){return r(4)},children:[(0,h.jsx)("div",{className:"no",children:"x"})," Survey"]}),(0,h.jsx)(w.Z.Collapse,{eventKey:4,children:(0,h.jsxs)(j.Z.Body,{children:[(0,h.jsx)("p",{children:"Across the Jewish community, all Jewish organisations are working to map out the demographics of Jews, in particular young Jews with the aim of better understanding the community. The following questions are similar to those that have been asked on Jewish Policy Research community questionnaires, and allows us a better insight into the demography of students who attend our programmes. Which of the following best describes your Jewish identity?"}),(0,h.jsxs)(_.Z,{noValidate:!0,validated:ne,onSubmit:function(t){t.preventDefault(),je(!0),!1===t.currentTarget.checkValidity()?(t.stopPropagation(),je(!1)):4==Object.keys(I).length?(0,x.gz)("".concat("https://api.aish.org.uk","/api/update/").concat(e.participationId,"/survey"),I,Zt,null,{},wt):(t.stopPropagation(),je(!1),P.Am.error("Please select all the survey fields",{position:"top-right",autoClose:5e3,hideProgressBar:!0,closeOnClick:!0,pauseOnHover:!0,draggable:!0,progress:void 0})),ae(!0)},id:"survey-form",children:[we?(0,h.jsx)(D,{text:"Please wait while your data is updating...."}):(0,h.jsxs)("div",{className:"form-wrap form-wrap-dark",children:[(0,h.jsxs)("div",{className:"form-group",children:[(0,h.jsx)(_.Z.Label,{children:"Kosher"}),(0,h.jsx)(S.ZP,{isSearchable:!1,options:A.map((function(e){return{value:e.value,label:e.label}})),name:"new_diet2",className:"form-select",classNamePrefix:"form-select",placeholder:"Select your choice",onChange:function(e){pt({new_diet2:e.value})},required:!0})]}),(0,h.jsxs)("div",{className:"form-group",children:[(0,h.jsx)(_.Z.Label,{children:"Shabbat"}),(0,h.jsx)(S.ZP,{isSearchable:!1,options:F.map((function(e){return{value:e.value,label:e.label}})),name:"new_shabbat2",className:"form-select",classNamePrefix:"form-select",placeholder:"Select your choice",onChange:function(e){pt({new_shabbat2:e.value})},required:!0})]}),(0,h.jsxs)("div",{className:"form-group",children:[(0,h.jsx)(_.Z.Label,{children:"Relationships"}),(0,h.jsx)(S.ZP,{isSearchable:!1,options:R.map((function(e){return{value:e.value,label:e.label}})),name:"new_relationship2",className:"form-select",classNamePrefix:"form-select",placeholder:"Select your choice",onChange:function(e){pt({new_relationship2:e.value})},required:!0})]}),(0,h.jsxs)("div",{className:"form-group",children:[(0,h.jsx)(_.Z.Label,{children:"Israel"}),(0,h.jsx)(S.ZP,{isSearchable:!1,options:z.map((function(e){return{value:e.value,label:e.label}})),name:"new_israel2",className:"form-select",classNamePrefix:"form-select",placeholder:"Select your choice",onChange:function(e){pt({new_israel2:e.value})},required:!0})]})]}),(0,h.jsx)("div",{className:"cta text-right",children:(0,h.jsxs)("button",{type:"submit",className:"btn btn-sm btn-pink btn-right-icon",children:["Submit Information ",(0,h.jsx)(u.lU2,{size:"20px"})]})})]})]})})]}),1==e.participation.trip.jftaish_dashboardemergencycontact_required&&(0,h.jsxs)("div",{className:"card ".concat(5===n?"active-card":""," ").concat(Je?"completed":"in-progress"),children:[(0,h.jsxs)(w.Z,{as:j.Z.Header,eventKe
1y:5,onClick:function(){return r(5)},children:[(0,h.jsx)("div",{className:"no",children:"x"})," Emergency Contact Information"]}),(0,h.jsx)(w.Z.Collapse,{eventKey:5,children:(0,h.jsx)(j.Z.Body,{children:(0,h.jsxs)("div",{className:"insurance-info-block",children:[(0,h.jsx)("p",{children:"Please make sure your emergency contacts are available for the duration of the trip."}),(0,h.jsx)(_.Z,{noValidate:!0,validated:ne,onSubmit:function(t){t.preventDefault(),ve(!0),!1===t.currentTarget.checkValidity()?(t.stopPropagation(),ve(!1)):(0,x.gz)("".concat("https://api.aish.org.uk","/api/update/").concat(e.participationId,"/emergency"),v,Nt,null,{},wt),ae(!0)},id:"emergency-form",children:xe?(0,h.jsx)(D,{text:"Please wait while your data is updating...."}):(0,h.jsxs)("div",{className:"form-wrap form-wrap-dark",children:[(0,h.jsxs)("div",{className:"row",children:[(0,h.jsx)("div",{className:"col-md-4",children:(0,h.jsxs)("div",{className:"form-group",children:[(0,h.jsx)(_.Z.Label,{children:"Contact Name 1"}),(0,h.jsx)(_.Z.Control,{type:"text",placeholder:"Contact Name",name:"new_emergencycontact1",required:!0,value:v&&v.new_emergencycontact1,onChange:function(e){dt({new_emergencycontact1:e.target.value})},className:re.hasOwnProperty("new_emergencycontact1")?"is-invalid":"valid"}),(0,h.jsx)(_.Z.Control.Feedback,{type:"invalid",children:re.hasOwnProperty("new_emergencycontact1")?re.new_emergencycontact1:"Please provide contact number."})]})}),(0,h.jsx)("div",{className:"col-md-4",children:(0,h.jsxs)("div",{className:"form-group",children:[(0,h.jsx)(_.Z.Label,{children:"Contact Number 1"}),(0,h.jsx)(_.Z.Control,{type:"text",placeholder:"Contact Number",name:"new_emergencycontactnumber1",required:!0,value:v&&v.new_emergencycontactnumber1,onChange:function(e){dt({new_emergencycontactnumber1:e.target.value})},className:re.hasOwnProperty("new_emergencycontactnumber1")?"is-invalid":"valid"}),(0,h.jsx)(_.Z.Control.Feedback,{type:"invalid",children:re.hasOwnProperty("new_emergencycontactnumber1")?re.new_emergencycontactnumber1:"Please provide contact number."})]})}),(0,h.jsx)("div",{className:"col-md-4",children:(0,h.jsxs)("div",{className:"form-group",children:[(0,h.jsx)(_.Z.Label,{children:"Contact Relationship 1"}),(0,h.jsx)(_.Z.Control,{type:"text",placeholder:"Contact Relationship",name:"new_emergencycontactrelationship1",required:!0,value:v&&v.new_emergencycontactrelationship1,onChange:function(e){dt({new_emergencycontactrelationship1:e.target.value})},className:re.hasOwnProperty("new_emergencycontactrelationship1")?"is-invalid":"valid"}),(0,h.jsx)(_.Z.Control.Feedback,{type:"invalid",children:re.hasOwnProperty("new_emergencycontactrelationship1")?re.new_emergencycontactrelationship1:"Please provide contact relationship1."})]})}),(0,h.jsx)("div",{className:"col-md-4",children:(0,h.jsxs)("div",{className:"form-group",children:[(0,h.jsx)(_.Z.Label,{children:"Contact Name 2"}),(0,h.jsx)(_.Z.Control,{type:"text",placeholder:"Contact Name",name:"new_emergencycontact2",required:!0,value:v&&v.new_emergencycontact2,onChange:function(e){dt({new_emergencycontact2:e.target.value})},className:re.hasOwnProperty("new_emergencycontact2")?"is-invalid":"valid"}),(0,h.jsx)(_.Z.Control.Feedback,{type:"invalid",children:re.hasOwnProperty("new_emergencycontact2")?re.new_emergencycontact2:"Please provide contact name2."})]})}),(0,h.jsx)("div",{className:"col-md-4",children:(0,h.jsxs)("div",{className:"form-group",children:[(0,h.jsx)(_.Z.Label,{children:"Contact Number 2"}),(0,h.jsx)(_.Z.Control,{type:"text",placeholder:"Contact Number",name:"new_emergencycontactnumber2",required:!0,value:v&&v.new_emergencycontactnumber2,onChange:function(e){dt({new_emergencycontactnumber2:e.target.value})},className:re.hasOwnProperty("new_emergencycontactnumber2")?"is-invalid":"valid"}),(0,h.jsx)(_.Z.Control.Feedback,{type:"invalid",children:re.hasOwnProperty("new_emergencycontactnumber2")?re.new_emergencycontactnumber2:"Please provide contact number2."})]})}),(0,h.jsx)("div",{className:"col-md-4",children:(0,h.jsxs)("div",{className:"form-group",children:[(0,h.jsx)(_.Z.Label,{children:"Contact Relationship 2"}),(0,h.jsx)(_.Z.Control,{type:"text",placeholder:"Contact Relationship",name:"new_emergencycontactrelationship2",required:!0,value:v&&v.new_emergencycontactrelationship2,onChange:function(e){dt({new_emergencycontactrelationship2:e.target.value})},className:re.hasOwnProperty("new_emergencycontactrelationship2")?"is-invalid":"valid"}),(0,h.jsx)(_.Z.Control.Feedback,{type:"invalid",children:re.hasOwnProperty("new_emergencycontactrelationship2")?re.new_emergencycontactrelationship2:"Please provide contact relationship2."})]})})]}),(0,h.jsx)("div",{className:"cta text-right",children:(0,h.jsxs)("button",{type:"submit",className:"btn btn-sm btn-pink btn-right-icon",children:["Submit Information ",(0,h.jsx)(u.lU2,{size:"20px"})]})})]})})]})})})]}),"70e42155-ca38-4a1e-a3eb-1f1bdebc11cc"!=e.participation["trip.new_tripeventcampaignid"]&&"3ca12553-3f69-4d94-b6ea-f3ec5686d66b"!=e.participation["trip.new_tripeventcampaignid"]?null:(0,h.jsxs)("div",{className:"card ".concat(7===n?"active-card":""," ").concat(et?"completed":"in-progress"),children:[(0,h.jsxs)(w.Z,{as:j.Z.Header,eventKe
1y:7,onClick:function(){return r(7)},children:[(0,h.jsx)("div",{className:"no",children:"x"})," Pick your mentor"]}),(0,h.jsx)(w.Z.Collapse,{eventKey:7,children:et?(0,h.jsx)(j.Z.Body,{children:"Your mentor details have been submitted"}):(0,h.jsx)(j.Z.Body,{children:(0,h.jsxs)(_.Z,{noValidate:!0,validated:ne,onSubmit:function(t){t.preventDefault(),Se(!0),t.currentTarget.checkValidity()?(0,x.gz)("".concat("https://api.aish.org.uk","/api/update/").concat(e.participationId,"/olami_trip_info"),G,Ot,null,{},wt):(t.stopPropagation(),Se(!1),P.Am.error("Please fill all the information",{position:"top-right",autoClose:5e3,hideProgressBar:!0,closeOnClick:!0,pauseOnHover:!0,draggable:!0,progress:void 0})),ae(!0)},id:"olami-trip-form",children:[De?(0,h.jsx)(D,{text:"Please wait while your data is updating...."}):(0,h.jsxs)("div",{className:"form-wrap form-wrap-dark",children:[(0,h.jsxs)("div",{className:"form-group",children:[(0,h.jsx)(_.Z.Label,{children:"I am interested in a mentor who works in"}),(0,h.jsx)(S.ZP,{isSearchable:!0,options:B.map((function(e){return{value:e.value,label:e.label}})),name:"jftaish_option1",className:"form-select",classNamePrefix:"form-select",placeholder:"Select your choice",onChange:function(e){ut({jftaish_option1:e.value})},required:!0}),(0,h.jsx)(_.Z.Control.Feedback,{type:"invalid",children:re.hasOwnProperty("jftaish_option1")?re.jftaish_option1:"This field is required"})]}),(0,h.jsxs)("div",{className:"form-group",children:[(0,h.jsx)(_.Z.Label,{children:"I am looking for a"}),(0,h.jsx)(S.ZP,{isSearchable:!0,options:T.map((function(e){return{value:e.value,label:e.label}})),name:"jftaish_option2",className:"form-select",classNamePrefix:"form-select",placeholder:"Select your choice",onChange:function(e){ut({jftaish_option2:e.value})},required:!0}),(0,h.jsx)(_.Z.Control.Feedback,{type:"invalid",children:re.hasOwnProperty("jftaish_option2")?re.jftaish_option2:"This field is required"})]}),(0,h.jsxs)("div",{className:"form-group",children:[(0,h.jsx)(_.Z.Label,{children:"My dream mentor is"}),(0,h.jsx)(S.ZP,{isSearchable:!1,options:H.map((function(e){return{value:e.value,label:e.label}})),isMulti:!0,name:"jftaish_option3",className:"form-select",classNamePrefix:"form-select",placeholder:"Select your choice",onChange:function(e){var t="";e.map((function(e){t+=e.value+", "})),ut({jftaish_option3:t})},required:!0}),(0,h.jsx)(_.Z.Control.Feedback,{type:"invalid",children:re.hasOwnProperty("jftaish_option3")?re.jftaish_option3:"This field is required"})]}),(0,h.jsxs)("div",{className:"form-group",children:[(0,h.jsx)(_.Z.Label,{children:"Select all available times"}),(0,h.jsx)(S.ZP,{isSearchable:!0,options:W.map((function(e){return{value:e.value,label:e.label}})),isMulti:!0,name:"jftaish_option4",className:"form-select",classNamePrefix:"form-select",placeholder:"Select your choice",onChange:function(e){var t="";e.map((function(e){t+=e.value+", "})),ut({jftaish_option4:t})},required:!0}),(0,h.jsx)(_.Z.Control.Feedback,{type:"invalid",children:re.hasOwnProperty("jftaish_option4")?re.jftaish_option4:"This field is required"})]}),(0,h.jsxs)("div",{className:"form-group",children:[(0,h.jsx)(_.Z.Label,{children:"Please share a few sentences to describe yourself that can be shared with your mentor.*"}),(0,h.jsx)(_.Z.Control,{type:"text",placeholder:"Please share a few sentences to describe yourself that can be shared with your mentor.*",name:"jftaish_option5",required:!0,value:v&&v.jftaish_option5,onChange:function(e){ut({jftaish_option5:e.target.value})},className:re.hasOwnProperty("jftaish_option5")?"is-invalid":"valid"}),(0,h.jsx)(_.Z.Control.Feedback,{type:"invalid",children:re.hasOwnProperty("jftaish_option5")?re.jftaish_option5:"This field is required"})]}),(0,h.jsxs)("div",{className:"form-group",children:[(0,h.jsx)(_.Z.Label,{children:"What would you like to gain from this mentorship?*"}),(0,h.jsx)(_.Z.Control,{type:"text",placeholder:"What would you like to gain from this mentorship?*",name:"jftaish_option6",required:!0,value:v&&v.jftaish_option6,onChange:function(e){ut({jftaish_option6:e.target.value})},className:re.hasOwnProperty("jftaish_option6")?"is-invalid":"valid"}),(0,h.jsx)(_.Z.Control.Feedback,{type:"invalid",children:re.hasOwnProperty("jftaish_option6")?re.jftaish_option6:"This field is required"})]}),(0,h.jsxs)("div",{className:"form-group",children:[(0,h.jsxs)(_.Z.Check,{type:"checkbox",id:"check1",children:[(0,h.jsx)(_.Z.Check.Input,{type:"checkbox",className:"custom-control-input",onChange:function(e){var t=null;e.target.checked&&(t=1),ut({jftaish_marketingpreferencesemailsolami:t})}}),(0,h.jsx)(_.Z.Check.Label,{htmlFor:"check1",className:"custom-control-label custom-control-checkbox",children:"I agree to re
1ceive program-related texts from Olami"})]}),(0,h.jsx)(_.Z.Control.Feedback,{type:"invalid",children:re.hasOwnProperty("jftaish_marketingpreferencesemailsolami")?re.jftaish_marketingpreferencesemailsolami:"Please provide contact number."})]})]}),(0,h.jsx)("div",{className:"cta text-right",children:(0,h.jsxs)("button",{type:"submit",className:"btn btn-sm btn-pink btn-right-icon",children:["Submit Information ",(0,h.jsx)(u.lU2,{size:"20px"})]})})]})})})]}),1==e.participation.trip.jftaish_dashboardtrippolicydocuments_required&&(0,h.jsxs)("div",{className:"card ".concat(6===n?"active-card":""," ").concat(Ke?"completed":"in-progress"),children:[(0,h.jsxs)(w.Z,{as:j.Z.Header,eventKey:6,onClick:function(){return r(6)},children:[(0,h.jsx)("div",{className:"no",children:"x"})," Trip Policy docs"]}),(0,h.jsx)(w.Z.Collapse,{eventKey:6,children:(0,h.jsx)(j.Z.Body,{children:(0,h.jsxs)("div",{className:"trip-doc",children:[(0,h.jsx)("div",{className:"trip-doc-list",children:ke?(0,h.jsx)(D,{text:"Please wait while your data is updating...."}):(0,h.jsx)("ul",{children:e.participation.trip.trip_document.map((function(e){if(rt!=e.document_name)return console.log("here inside"),rt=e.document_name,(0,h.jsx)("li",{children:(0,h.jsxs)("div",{className:"trip-doc-box",children:[(0,h.jsx)("div",{className:"doc-icon-box",children:(0,h.jsx)("div",{className:"icon-box",children:(0,h.jsx)(L,{})})}),(0,h.jsxs)("div",{className:"doc-title-download",children:[(0,h.jsx)("div",{className:"doc-title",children:e.document_name}),(0,h.jsx)("div",{className:"doc-action",children:(0,h.jsx)("a",{target:"_blank",href:"".concat(e.document),children:(0,h.jsx)(M,{})})})]})]})})}))})}),(0,h.jsx)(_.Z,{noValidate:!0,validated:ne,onSubmit:function(t){t.preventDefault(),Ce(!0),t.currentTarget.checkValidity()&&Ze?(J(E(E({},Y),{},{documents:Ze})),(0,x.gz)("".concat("https://api.aish.org.uk","/api/update/").concat(e.participationId,"/documents"),Y,Pt,null,{},wt)):(t.stopPropagation(),Ce(!1),P.Am.error("Please select the Documents checkbox",{position:"top-right",autoClose:5e3,hideProgressBar:!0,closeOnClick:!0,pauseOnHover:!0,draggable:!0,progress:void 0})),ae(!0)},id:"documents-form",children:(0,h.jsxs)("div",{className:"form-wrap form-wrap-dark",children:[(0,h.jsxs)(_.Z.Check,{type:"checkbox",id:"check1",children:[(0,h.jsx)(_.Z.Check.Input,{type:"checkbox",className:"custom-control-input",onChange:function(){return Pe(!Ze)},checked:!!e.participation["participation.jftaish_tripuploadinformationtrippolicy"]||Ze}),(0,h.jsx)(_.Z.Check.Label,{htmlFor:"check1",className:"custom-control-label custom-control-checkbox",children:"I have read and agree to these policies"})]}),(0,h.jsx)("div",{className:"trip-doc-actions",children:(0,h.jsx)("div",{className:"cta text-right",children:(0,h.jsxs)("button",{type:"submit",className:"btn btn-sm btn-pink btn-right-icon",children:["Submit Information ",(0,h.jsx)(u.lU2,{size:"20px"})]})})})]})})]})})})]}),"a48d97ff-dbe7-ec11-bb3c-000d3a3992e5"==e.participation["trip.new_tripeventcampaignid"]?(0,h.jsxs)("div",{className:"card ".concat(7===n?"active-card":""," ").concat(at?"completed":"in-progress"),children:[(0,h.jsxs)(w.Z,{as:j.Z.Header,eventKey:7,onClick:function(){return r(7)},children:[(0,h.jsx)("div",{className:"no",children:"x"})," Room Share Information"]}),(0,h.jsx)(w.Z.Collapse,{eventKey:7,children:(0,h.jsx)(j.Z.Body,{children:(0,h.jsx)(_.Z,{noValidate:!0,validated:ne,onSubmit:function(t){t.preventDefault();var n=t.currentTarget;qe(!0),!1===n.checkValidity()?(qe(!1),t.stopPropagation()):(0,x.gz)("".concat("https://api.aish.org.uk","/api/update/").concat(e.participationId,"/room"),s,jt,null,{},wt),ae(!0)},id:"room-info-form",children:Ee?(0,h.jsx)("div",{children:(0,h.jsx)(D,{text:"Please wait while your data is updating...."})}):(0,h.jsxs)("div",{className:"form-wrap form-wrap-dark",children:[(0,h.jsxs)("div",{className:"row",children:[(0,h.jsx)("div",{className:"col-md-6",children:(0,h.jsxs)("div",{className:"form-group",children:[(0,h.jsx)(_.Z.Label,{children:"Room Share 1"}),(0,h.jsx)(_.Z.Control,{type:"text",placeholder:"Room Share 1",name:"new_roomsharepreference1",required:!0,value:$&&$.new_roomsharepreference1,onChange:function(e){ot({new_roomsharepreference1:e.target.value})},className:re.hasOwnProperty("new_roomsharepreference1")?"is-invalid":"valid"}),(0,h.jsx)(_.Z.Control.Feedback,{type:"invalid",children:re.hasOwnProperty("new_roomsharepreference1")?re.new_roomsharepreference1:"Please provide a passport number."})]})}),(0,h.jsx)("div",{className:"col-md-6",children:(0,h.jsxs)("div",{className:"form-group",children:[(0,h.jsx)(_.Z.Label,{children:"Room Share 2"}),(0,h.jsx)(_.Z.Control,{type:"text",placeholder:"Room Share 1",name:"new_roomsharepreference2",required:!0,value:$&&$.new_roomsharepreference2,onChange:function(e){ot({new_roomsharepreference2:e.target.value})},className:re.hasOwnProperty("new_roomsharepreference2")?"is-invalid":"valid"}),(0,h.jsx)(_.Z.Control.Feedback,{type:"invalid",children:re.hasOwnProperty("new_roomsharepreference2")?re.new_roomsharepreference2:"Please provide a passport number."})]})})]}),(0,h.jsx)("div",{className:"cta text-right",children:(0,h.jsxs)("button",{type:"submit",className:"btn btn-sm btn-pink btn-right-icon",children:["Submit Information ",(0,h.jsx)(u.lU2,{size:"20px"})]})})]})})})})]}):null]})}),(0,h.jsx)(Z,{}),(0,h.jsx)(P.Ix,{})]})};function V(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Y(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?V(Object(n),!0).forEach((function(t){(0,o.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):V(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var J=function(e){return(0,h.jsxs)("svg",Y(Y({},e),{},{children:[(0,h.jsx)("path",{d:"M8 14A6 6 0 1 0 8 2a6 6 0 0 0 0 12Z",stroke:"#1C1C1C",strokeLinecap:"round",strokeLinejoin:"round"}),(0,h.jsx)("path",{d:"M10 10.46a2.458 2.458 0 0 1-1.98 0 2.468 2.468 0 0 0-1.98.19c.212-.071.399-.198.539-.366.14-.168.228-.371.253-.586V6.846c.002-.334.118-.657.33-.92a1.59 1.59 0 0 1 .843-.54c.335-.087.69-.065 1.012.061.32.126.59.35.765.638m-1.01 2.282H6",stroke:"#1C1C1C",strokeLinecap:"round",strokeLinejoin:"round"})]}))};J.defaultProps={width:"16",height:"16",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var U=function(e){return(0,h.jsxs)("svg",Y(Y({},e),{},{children:[(0,h.jsx)("path",{d:"M12 4.104H4c-.736 0-1.333.6-1.333 1.34v8.035c0 .74.597 1.34 1.333 1.34h8c.737 0 1.334-.6 1.334-1.34V5.444c0-.74-.597-1.34-1.334-1.34ZM10.667 2.765v2.679M5.334 2.765v2.679M2.667 8.122h10.667",stroke:"#1C1C1C",strokeLinecap:"round",strokeLinejoin:"round"}),(0,h.jsx)("path",{d:"M5.334 10.8h1.333v1.34H5.334V10.8Z",stroke:"#1C1C1C",strokeLinecap:"round",strokeLinejoin:"round"})]}))};U.defaultProps={width:"16",height:"17",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var G=function(e){return(0,h.jsxs)("svg",Y(Y({},e),{},{children:[(0,h.jsx)("path",{d:"M8 14.951c3.314 0 6-2.698 6-6.026 0-3.329-2.686-6.027-6-6.027S2 5.596 2 8.925c0 3.328 2.686 6.026 6 6.026Z",stroke:"#1C1C1C",strokeLinecap:"round",strokeLinejoin:"round"}),(0,h.jsx)("path",{d:"M8 5.576v3.348l2 2.01",stroke:"#1C1C1C",strokeLinecap:"round",strokeLinejoin:"round"})]}))};G.defaultProps={width:"16",height:"17",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var X=0,Q=function(){var e=(0,a.useState)(null),t=e[0],n=e[1],i=(0,b.ZP)(["".concat("https://api.aish.org.uk","/api/participations/trips")],x._i),r=i.data,o=i.error,s={"participation.jftaish_tripuploadinformationtrippolicy":"jftaish_dashboardtrippolicydocuments_required","participation.jftaish_tripsuploadinformationmatrix":"jftaish_dashboardjewishsurvey_required","participation.jftaish_tripsuploadinformationemergencycontact":"jftaish_dashboardemergencycontact_required","participation.jftaish_tripsinformationuploadinsuranceinfo":"jftaish_dashboardinsuranceinformation_required","participation.jftaish_tripinformationuploadmedicalquestionnaire":"jftaish_dashboardmedicalquestionnaire_required","participation.jftaish_tripspassportinfo":"jftaish_dashboardpassportinformation_required"},g=(0,b.ZP)(["".concat("https://api.aish.org.uk","/api/booking")],x._i),v=g.data;g.error;"undefined"!=typeof v&&v.result.data&&v.result.data.length>0&&!t&&n(v.result.data[0]),o&&console.log(o);var w=[];r&&r.result&&r.result.data&&(w=r.result.data);var j=[{value:100000016,label:"Awaiting interview"},{value:100000015,label:"Eligible"},{value:100000007,label:"Accepted"},{value:100000006,label:"Refund"},{value:100000003,label:"Awaiting information"},{value:279640002,label:"Completed"},{value:1e8,label:"Pending acceptance"},{value:100000004,label:"Confirmed"},{value:100000002,label:"Awaiting Full Payment"},{value:100000001,label:"Awaiting Deposit Payment"},{value:3,label:"Applied"},{value:5,label:"Refund"}],_=(0,a.useState)(!1),k=_[0],C=_[1];return(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)("div",{className:"account-page-wrap",children:(0,h.jsx)("div",{className:"container",children:(0,h.jsxs)("div",{className:"account-page-column",children:[(0,h.jsx)("div",{className:"account-left-column",children:(0,h.jsx)(p.Z,{})}),(0,h.jsxs)("div",{className:"account-right-column member-profile-page",children:[(0,h.jsx)("div",{className:"account-page-title-wrap",children:(0,h.jsx)("div",{className:"page-title",children:(0,h.jsx)("h1",{children:"Trips"})})}),w.map((function(e){var n=0;console.log({item:e});var a=0;for(var i in s)1==e.trip[s[i]]&&a++;for(var r in e)Object.keys(s).indexOf(r)>-1&&null!=e[r]&&""!=e[r]&&e.trip[s[r]]&&n++;return 0!=a&&(X=Math.round(n/a*100)),(0,h.jsx)("div",{className:"trips-list",children:(0,h.jsxs)("div",{className:"trip-list-box",children:[(0,h.jsxs)("div",{className:"trip-title-label",children:[(0,h.jsx)("h3",{children:e["trip.new_website_longname"]}),(0,h.jsx)("div",{className:"custom-label ".concat(100000016===e["participation.new_participationstatus"]?"awaiting-interview":1e8===e["participation.new_participationstatus"]?"pending-acceptance":100000007===e["participation.new_participationstatus"]?"accepted":100000006===e["participation.new_participationstatus"]||5===e["participation.new_participationstatus"]?"rejected":279640002===e["participation.new_participationstatus"]?"completed":100000003===e["participation.new_participationstatus"]?"awaiting-interview":100000002===e["participation.new_participationstatus"]?"accepted":100000003===e["participation.new_participationstatus"]?"pending-acceptance":100000004===e["participation.new_participationstatus"]?"completed":3===e["participation.new_participationstatus"]?"awaiting-interview":""),children:(0,h.jsx)("span",{children:j.find((function(t){return t.value==e["participation.new_participationstatus"]})).label})})]}),(0,h.jsx)("div",{className:"info-list",children:(0,h.jsxs)("ul",{children:[(0,h.jsxs)("li",{children:[(0,h.jsxs)("div",{className:"icon",children:[(0,h.jsx)(U,{})," Departure Date"]}),(0,h.jsx)("span",{children:y().unix(e.trip.start_date).format("Do MMMM")})]}),(0,h.jsxs)("li",{children:[(0,h.jsxs)("div",{className:"icon",children:[(0,h.jsx)(G,{})," Return Date"]}),(0,h.jsx)("span",{children:y().unix(e.trip.end_date).format("Do MMMM")})]}),(0,h.jsxs)("li",{children:[(0,h.jsxs)("div",{className:"icon",children:[(0,h.jsx)(J,{})," Price"]}),e.trip.trip_price&&e.trip.trip_price.full_trip_price?(0,h.jsxs)("span",{children:["\xa3",e["participation.new_tripadmin_totaloutstanding_calculated"]]}):(0,h.jsx)("span",{children:"Free"})]})]})}),![1e8,5,100000006,100000016,100000004,3].includes(e["participation.new_participationstatus"])&&e.trip.trip_price&&e.trip.trip_price.full_trip_price?(0,h.jsxs)("div",{className:"trips-payment-info",children:[(0,h.jsx)("div",{className:"left",children:(0,h.jsx)("h4",{children:"Payment information"})}),(0,h.jsx)("div",{className:"right",children:(0,h.jsxs)("div",{className:"payment-remaining",children:[(0,h.jsx)("div",{className:"remaining",children:100000001==e["participation.new_participationstatus"]||100000015==e["participation.new_participationstatus"]?(0,h.jsx)(h.Fragment,{children:e["trip.new_finance_depositamount"]?"Deposit: \xa3".concat(e["trip.new_finance_depositamount"]," "):"Remaining: \xa3".concat(e["participation.new_tripadmin_totaloutstanding_calculated"])}):(0,h.jsxs)(h.Fragment,{children:["Remaining: ",(0,h.jsxs)("span",{children:["\xa3",e["participation.new_tripadmin_totaloutstanding_calculated"]]})]})}),e["participation.new_tripadmin_totaloutstanding_calculated"]&&e["participation.new_tripadmin_totaloutstanding_calculated"]>0&&1==e.trip.new_scholarshipeligible?e["participation.jftaish_membershippointsused"]?(0,h.jsx)("div",{className:"cta px-3",children:(0,h.jsx)("a",{className:"btn btn-sm btn-pink btn-right-icon",children:"Coupon Applied"})}):(0,h.jsx)("div",{className:"cta px-3",children:(0,h.jsx)(l(),{href:"/coupon/".concat(e["participation.new_participationid"]),children:(0,h.jsxs)("a",{className:"btn btn-sm btn-pink btn-right-icon",children:["Apply coupon ",(0,h.jsx)(u.lU2,{size:"20px"})]})})}):null,e["participation.new_tripadmin_totaloutstanding_calculated"]&&e["participation.new_tripadmin_totaloutstanding_calculated"]>0?(0,h.jsx)("div",{className:"cta",children:(0,h.jsx)(l(),{href:"/payment/".concat(e["participation.new_participationid"]),children:(0,h.jsxs)("a",{className:"btn btn-sm btn-pink btn-right-icon",children:["Pay now ",(0,h.jsx)(u.lU2,{size:"20px"})]})})}):null]})})]}):100000006==e["participation.new_participationstatus"]||5==e["participation.new_participationstatus"]?"Unfortunately we are unable to process your application":"We are reviewing your application",[1e8,5,100000006,100000016,100000001,3].includes(e["participation.new_participationstatus"])?null:(0,h.jsx)("div",{className:"upload-information-wrap",children:(0,h.jsxs)("div",{className:"upload-information-box",children:[(0,h.jsxs)("div",{className:"upload-information-action",onClick:function(){return C(!k)},"aria-controls":"example-collapse-text","aria-expanded":k,children:[(0,h.jsx)("h4",{children:"Upload Information"}),"70e42155-ca38-4a1e-a3eb-1f1bdebc11cc"==e["trip.new_tripeventcampaignid"]||"3ca12553-3f69-4d94-b6ea-f3ec5686d66b"==e["trip.new_tripeventcampaignid"]?(0,h.jsx)("div",{children:(0,h.jsxs)("strong",{children:[(0,h.jsx)(l(),{href:"/my-account",children:"Click here "}),"to update your address information"]})}):null,(0,h.jsx)("div",{className:"custom-progressbar",children:(0,h.jsx)(d.Ip,{strokeWidth:10,value:X,text:"".concat(X,"%")})})]},e["participation.new_participationid"]),(0,h.jsx)(c.Z,{in:k,children:(0,h.jsx)("div",{id:"example-collapse-text",children:(0,h.jsx)(K,{participationId:e["participation.new_participationid"],bookingData:t,participation:e})})})]})})]})})}))]})]})})}),(0,h.jsx)(m,{}),(0,h.jsx)(f.Z,{})]})},$=function(){return(0,h.jsx)(h.Fragment,{children:(0,h.jsxs)(g.Z,{children:[(0,h.jsx)(i.PB,{title:"Trips Page | "+r.Z.defaultTitle,description:r.Z.description,keywords:r.Z.keywords}),(0,h.jsx)(Q,{})]})})}},98739:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/trips-page",function(){return n(92687)}])},18698:function(){},65172:function(e,t,n){"use strict";n.d(t,{Z:function(){return w}});var a=n(87462),i=n(63366),r=n(93967),o=n.n(r),s=n(67294),l=n(47150),c=n(76792),d=n(45017),p=s.createContext(null);p.displayName="AccordionContext";
1var u=p,h=["as","children","eventKey","onClick"];var m=s.forwardRef((function(e,t){var n=e.as,r=void 0===n?"button":n,o=e.children,l=e.eventKey,c=e.onClick,p=(0,i.Z)(e,h),m=function(e,t){var n=(0,s.useContext)(u),a=(0,s.useContext)(d.Z);return function(i){a&&a(e===n?null:e,i),t&&t(i)}}(l,c);return"button"===r&&(p.type="button"),s.createElement(r,(0,a.Z)({ref:t,onClick:m},p),o)})),f=n(9966),g=["children","eventKey"],b=s.forwardRef((function(e,t){var n=e.children,r=e.eventKey,o=(0,i.Z)(e,g),l=(0,s.useContext)(u);return s.createElement(d.Z.Provider,{value:null},s.createElement(f.Z,(0,a.Z)({ref:t,in:l===r},o),s.createElement("div",null,s.Children.only(n))))}));b.displayName="AccordionCollapse";var x=b,v=["as","activeKey","bsPrefix","children","className","onSelect"],y=s.forwardRef((function(e,t){var n=(0,l.Ch)(e,{activeKey:"onSelect"}),r=n.as,p=void 0===r?"div":r,h=n.activeKey,m=n.bsPrefix,f=n.children,g=n.className,b=n.onSelect,x=(0,i.Z)(n,v),y=o()(g,(0,c.vE)(m,"accordion"));return s.createElement(u.Provider,{value:h||null},s.createElement(d.Z.Provider,{value:b||null},s.createElement(p,(0,a.Z)({ref:t},x,{className:y}),f)))}));y.displayName="Accordion",y.Toggle=m,y.Collapse=x;var w=y},62255:function(e,t,n){"use strict";n.d(t,{Z:function(){return Z}});var a=n(87462),i=n(63366),r=n(93967),o=n.n(r),s=n(67294),l=n(76792),c=n(66611),d=n(39602),p=n(88154),u=["bsPrefix","className","variant","as"],h=s.forwardRef((function(e,t){var n=e.bsPrefix,r=e.className,c=e.variant,d=e.as,p=void 0===d?"img":d,h=(0,i.Z)(e,u),m=(0,l.vE)(n,"card-img");return s.createElement(p,(0,a.Z)({ref:t,className:o()(c?m+"-"+c:m,r)},h))}));h.displayName="CardImg",h.defaultProps={variant:null};var m=h,f=["bsPrefix","className","bg","text","border","body","children","as"],g=(0,d.Z)("h5"),b=(0,d.Z)("h6"),x=(0,c.Z)("card-body"),v=(0,c.Z)("card-title",{Component:g}),y=(0,c.Z)("card-subtitle",{Component:b}),w=(0,c.Z)("card-link",{Component:"a"}),j=(0,c.Z)("card-text",{Component:"p"}),_=(0,c.Z)("card-header"),k=(0,c.Z)("card-footer"),C=(0,c.Z)("card-img-overlay"),N=s.forwardRef((function(e,t){var n=e.bsPrefix,r=e.className,c=e.bg,d=e.text,u=e.border,h=e.body,m=e.children,g=e.as,b=void 0===g?"div":g,v=(0,i.Z)(e,f),y=(0,l.vE)(n,"card"),w=(0,s.useMemo)((function(){return{cardHeaderBsPrefix:y+"-header"}}),[y]);return s.createElement(p.Z.Provider,{value:w},s.createElement(b,(0,a.Z)({ref:t},v,{className:o()(r,y,c&&"bg-"+c,d&&"text-"+d,u&&"border-"+u)}),h?s.createElement(x,null,m):m))}));N.displayName="Card",N.defaultProps={body:!1},N.Img=m,N.Title=v,N.Subtitle=y,N.Body=x,N.Link=w,N.Text=j,N.Header=_,N.Footer=k,N.ImgOverlay=C;var Z=N},88154:function(e,t,n){"use strict";var a=n(67294).createContext(null);a.displayName="CardContext",t.Z=a},9966:function(e,t,n){"use strict";var a,i=n(87462),r=n(63366),o=n(93967),s=n.n(o),l=n(91505),c=n(67294),d=n(98885),p=n(93825),u=n(16833),h=n(34509),m=["onEnter","onEntering","onEntered","onExit","onExiting","className","children","dimension","getDimensionValue"],f={height:["marginTop","marginBottom"],width:["marginLeft","marginRight"]};function g(e,t){var n=t["offset"+e[0].toUpperCase()+e.slice(1)],a=f[e];return n+parseInt((0,l.Z)(t,a[0]),10)+parseInt((0,l.Z)(t,a[1]),10)}var b=((a={})[d.Wj]="collapse",a[d.Ix]="collapsing",a[d.d0]="collapsing",a[d.cn]="collapse show",a),x={in:!1,timeout:300,mountOnEnter:!1,unmountOnExit:!1,appear:!1,getDimensionValue:g},v=c.forwardRef((function(e,t){var n=e.onEnter,a=e.onEntering,o=e.onEntered,l=e.onExit,f=e.onExiting,x=e.className,v=e.children,y=e.dimension,w=void 0===y?"height":y,j=e.getDimensionValue,_=void 0===j?g:j,k=(0,r.Z)(e,m),C="function"===typeof w?w():w,N=(0,c.useMemo)((function(){return(0,u.Z)((function(e){e.style[C]="0"}),n)}),[C,n]),Z=(0,c.useMemo)((function(){return(0,u.Z)((function(e){var t="scroll"+C[0].toUpperCase()+C.slice(1);e.style[C]=e[t]+"px"}),a)}),[C,a]),P=(0,c.useMemo)((function(){return(0,u.Z)((function(e){e.style[C]=null}),o)}),[C,o]),O=(0,c.useMemo)((function(){return(0,u.Z)((function(e){e.style[C]=_(C,e)+"px",(0,h.Z)(e)}),l)}),[l,_,C]),D=(0,c.useMemo)((function(){return(0,u.Z)((function(e){e.style[C]=null}),f)}),[C,f]);return c.createElement(d.ZP,(0,i.Z)({ref:t,addEndListener:p.Z},k,{"aria-expanded":k.role?k.in:null,onEnter:N,onEntering:Z,onEntered:P,onExit:O,onExiting:D}),(function(e,t){return c.cloneElement(v,(0,i.Z)({},t,{className:s()(x,v.props.className,b[e],"width"===C&&"width")}))}))}));v.defaultProps=x,t.Z=v},45017:function(e,t,n){"use strict";n.d(t,{h:function(){return i}});var a=n(67294).createContext(null),i=function(e,t){return void 0===t&&(t=null),null!=e?String(e):t||null};t.Z=a},95774:function(e,t,n){"use strict";n.d(t,{Ip:function(){return c},Wo:function(){return d}});
1var a=n(67294),i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},i(e,t)};var r=function(){return r=Object.assign||function(e){for(var t,n=1,a=arguments.length;n<a;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},r.apply(this,arguments)};function o(e){var t=e.className,n=e.counterClockwise,i=e.dashRatio,r=e.pathRadius,o=e.strokeWidth,c=e.style;return(0,a.createElement)("path",{className:t,style:Object.assign({},c,l({pathRadius:r,dashRatio:i,counterClockwise:n})),d:s({pathRadius:r,counterClockwise:n}),strokeWidth:o,fillOpacity:0})}function s(e){var t=e.pathRadius,n=e.counterClockwise?1:0;return"\n      M 50,50\n      m 0,-"+t+"\n      a "+t+","+t+" "+n+" 1 1 0,"+2*t+"\n      a "+t+","+t+" "+n+" 1 1 0,-"+2*t+"\n    "}function l(e){var t=e.counterClockwise,n=e.dashRatio,a=e.pathRadius,i=2*Math.PI*a,r=(1-n)*i;return{strokeDasharray:i+"px "+i+"px",strokeDashoffset:(t?-r:r)+"px"}}var c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}(t,e),t.prototype.getBackgroundPadding=function(){return this.props.background?this.props.backgroundPadding:0},t.prototype.getPathRadius=function(){return 50-this.props.strokeWidth/2-this.getBackgroundPadding()},t.prototype.getPathRatio=function(){var e=this.props,t=e.value,n=e.minValue,a=e.maxValue;return(Math.min(Math.max(t,n),a)-n)/(a-n)},t.prototype.render=function(){var e=this.props,t=e.circleRatio,n=e.className,i=e.classes,r=e.counterClockwise,s=e.styles,l=e.strokeWidth,c=e.text,d=this.getPathRadius(),p=this.getPathRatio();return(0,a.createElement)("svg",{className:i.root+" "+n,style:s.root,viewBox:"0 0 100 100","data-test-id":"CircularProgressbar"},this.props.background?(0,a.createElement)("circle",{className:i.background,style:s.background,cx:50,cy:50,r:50}):null,(0,a.createElement)(o,{className:i.trail,counterClockwise:r,dashRatio:t,pathRadius:d,strokeWidth:l,style:s.trail}),(0,a.createElement)(o,{className:i.path,counterClockwise:r,dashRatio:p*t,pathRadius:d,strokeWidth:l,style:s.path}),c?(0,a.createElement)("text",{className:i.text,style:s.text,x:50,y:50},c):null)},t.defaultProps={background:!1,backgroundPadding:0,circleRatio:1,classes:{root:"CircularProgressbar",trail:"CircularProgressbar-trail",path:"CircularProgressbar-path",text:"CircularProgressbar-text",background:"CircularProgressbar-background"},counterClockwise:!1,className:"",maxValue:100,minValue:0,strokeWidth:8,styles:{root:{},trail:{},path:{},text:{},background:{}},text:""},t}(a.Component);function d(e){e.children;var t=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(a=Object.getOwnPropertySymbols(e);i<a.length;i++)t.indexOf(a[i])<0&&(n[a[i]]=e[a[i]])}return n}(e,["children"]);return(0,a.createElement)("div",{"data-test-id":"CircularProgressbarWithChildren"},(0,a.createElement)("div",{style:{position:"relative",width:"100%",height:"100%"}},(0,a.createElement)(c,r({},t)),e.children?(0,a.createElement)("div",{"data-test-id":"CircularProgressbarWithChildren__children",style:{position:"absolute",width:"100%",height:"100%",marginTop:"-100%",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center"}},e.children):null))}}},function(e){e.O(0,[4885,2982,696,418,2672,7867,9774,2888,179],(function(){return t=98739,e(e.s=t);var t}));var t=e.O();_N_E=t}]);

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.