2e0427c3 by Jeff Balicki

pi charts and elements

Signed-off-by: Jeff <jeff@gotenzing.com>
1 parent 53f44931
Showing 57 changed files with 1998 additions and 1442 deletions
<?php
// Create id attribute allowing for custom "anchor" value.
$id = 'msf-pi-' . $block['id'];
if( !empty($block['anchor']) ) {
$id = $block['anchor'];
}
// Create class attribute allowing for custom "className" and "align" values.
$className = 'msf-pi';
if( !empty($block['className']) ) {
$className .= ' ' . $block['className'];
}
if( !empty($block['align']) ) {
$className .= ' align' . $block['align'];
}
$title = get_field('title') ?: null;
$theme = null;
$inner_blocks = get_field('data') ?: null;
$color = get_field('foreground_color') ?: null;
$data = [];
foreach($inner_blocks as $ib) {
$data[] = [ "name" => $ib['name'], "value" => (int)$ib['value'], 'color' => $ib['color'], 'font_color' => $color ];
}
?>
<script>
window.addEventListener('scroll', function(event) {
if(!jQuery("#<?= $id ?>").hasClass('visible') && window.tz_checkVisible(jQuery("#<?= $id ?>"), null, 200)) {
jQuery("#<?= $id ?>").addClass('visible');
jQuery("#<?= $id ?>").addClass('is-visible');
window.renderPI(document.getElementById("<?= $id ?>"))
}
});
</script>
<div class='pi <?= $theme ?>' class="<?php echo esc_attr($className); ?>" style='width:100%;'>
<h3><?= $title ?></h3>
<div id="<?= $id ?>" data-points='<?= json_encode($data) ?>' data-color="<?= $color ?>"></div>
</div>
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
# dependencies
/node_modules
/.pnp
.pnp.js
# testing
/coverage
# misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# Getting Started with Create React App
This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
## Available Scripts
In the project directory, you can run:
### `yarn start`
Runs the app in the development mode.\
Open [http://localhost:3000](http://localhost:3000) to view it in the browser.
The page will reload if you make edits.\
You will also see any lint errors in the console.
### `yarn test`
Launches the test runner in the interactive watch mode.\
See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.
### `yarn build`
Builds the app for production to the `build` folder.\
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.\
Your app is ready to be deployed!
See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.
### `yarn eject`
**Note: this is a one-way operation. Once you `eject`, you can’t go back!**
If you aren’t satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.
Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own.
You don’t have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it.
## Learn More
You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).
To learn React, check out the [React documentation](https://reactjs.org/).
### Code Splitting
This section has moved here: [https://facebook.github.io/create-react-app/docs/code-splitting](https://facebook.github.io/create-react-app/docs/code-splitting)
### Analyzing the Bundle Size
This section has moved here: [https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size](https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size)
### Making a Progressive Web App
This section has moved here: [https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app](https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app)
### Advanced Configuration
This section has moved here: [https://facebook.github.io/create-react-app/docs/advanced-configuration](https://facebook.github.io/create-react-app/docs/advanced-configuration)
### Deployment
This section has moved here: [https://facebook.github.io/create-react-app/docs/deployment](https://facebook.github.io/create-react-app/docs/deployment)
### `yarn build` fails to minify
This section has moved here: [https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify](https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify)
{
"files": {
"main.js": "/static/js/main.a7bb4a96.chunk.js",
"main.js.map": "/static/js/main.a7bb4a96.chunk.js.map",
"runtime-main.js": "/static/js/runtime-main.a933fda7.js",
"runtime-main.js.map": "/static/js/runtime-main.a933fda7.js.map",
"static/js/2.c3c99db9.chunk.js": "/static/js/2.c3c99db9.chunk.js",
"static/js/2.c3c99db9.chunk.js.map": "/static/js/2.c3c99db9.chunk.js.map",
"index.html": "/index.html",
"static/js/2.c3c99db9.chunk.js.LICENSE.txt": "/static/js/2.c3c99db9.chunk.js.LICENSE.txt"
},
"entrypoints": [
"static/js/runtime-main.a933fda7.js",
"static/js/2.c3c99db9.chunk.js",
"static/js/main.a7bb4a96.chunk.js"
]
}
\ No newline at end of file
<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta name="theme-color" content="#000000"><link rel="manifest" href="/manifest.json"><link rel="shortcut icon" href="/favicon.ico"><title>React App</title></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="cbv-globe"></div><script>!function(e){function r(r){for(var n,l,f=r[0],i=r[1],a=r[2],p=0,s=[];p<f.length;p++)l=f[p],Object.prototype.hasOwnProperty.call(o,l)&&o[l]&&s.push(o[l][0]),o[l]=0;for(n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n]);for(c&&c(r);s.length;)s.shift()();return u.push.apply(u,a||[]),t()}function t(){for(var e,r=0;r<u.length;r++){for(var t=u[r],n=!0,f=1;f<t.length;f++){var i=t[f];0!==o[i]&&(n=!1)}n&&(u.splice(r--,1),e=l(l.s=t[0]))}return e}var n={},o={1:0},u=[];function l(r){if(n[r])return n[r].exports;var t=n[r]={i:r,l:!1,exports:{}};return e[r].call(t.exports,t,t.exports,l),t.l=!0,t.exports}l.m=e,l.c=n,l.d=function(e,r,t){l.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},l.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},l.t=function(e,r){if(1&r&&(e=l(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(l.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var n in e)l.d(t,n,function(r){return e[r]}.bind(null,n));return t},l.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return l.d(r,"a",r),r},l.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},l.p="/";var f=this["webpackJsonpcbv-globe"]=this["webpackJsonpcbv-globe"]||[],i=f.push.bind(f);f.push=r,f=f.slice();for(var a=0;a<f.length;a++)r(f[a]);var c=i;t()}([])</script><script src="/static/js/2.c3c99db9.chunk.js"></script><script src="/static/js/main.a7bb4a96.chunk.js"></script></body><script>window.renderProgression(document.getElementById("cbv-globe"))</script></html>
\ No newline at end of file
{
"short_name": "React App",
"name": "Create React App Sample",
"icons": [
{
"src": "favicon.ico",
"sizes": "64x64 32x32 24x24 16x16",
"type": "image/x-icon"
},
{
"src": "logo192.png",
"type": "image/png",
"sizes": "192x192"
},
{
"src": "logo512.png",
"type": "image/png",
"sizes": "512x512"
}
],
"start_url": ".",
"display": "standalone",
"theme_color": "#000000",
"background_color": "#ffffff"
}
# https://www.robotstxt.org/robotstxt.html
User-agent: *
Disallow:
This diff could not be displayed because it is too large.
/*
object-assign
(c) Sindre Sorhus
@license MIT
*/
/*!
Copyright (c) 2018 Jed Watson.
Licensed under the MIT License (MIT), see
http://jedwatson.github.io/classnames
*/
/*! Conditions:: INITIAL */
/*! Production:: $accept : expression $end */
/*! Production:: css_value : ANGLE */
/*! Production:: css_value : CHS */
/*! Production:: css_value : EMS */
/*! Production:: css_value : EXS */
/*! Production:: css_value : FREQ */
/*! Production:: css_value : LENGTH */
/*! Production:: css_value : PERCENTAGE */
/*! Production:: css_value : REMS */
/*! Production:: css_value : RES */
/*! Production:: css_value : SUB css_value */
/*! Production:: css_value : TIME */
/*! Production:: css_value : VHS */
/*! Production:: css_value : VMAXS */
/*! Production:: css_value : VMINS */
/*! Production:: css_value : VWS */
/*! Production:: css_variable : CSS_VAR LPAREN CSS_CPROP COMMA math_expression RPAREN */
/*! Production:: css_variable : CSS_VAR LPAREN CSS_CPROP RPAREN */
/*! Production:: expression : math_expression EOF */
/*! Production:: math_expression : LPAREN math_expression RPAREN */
/*! Production:: math_expression : NESTED_CALC LPAREN math_expression RPAREN */
/*! Production:: math_expression : SUB PREFIX SUB NESTED_CALC LPAREN math_expression RPAREN */
/*! Production:: math_expression : css_value */
/*! Production:: math_expression : css_variable */
/*! Production:: math_expression : math_expression ADD math_expression */
/*! Production:: math_expression : math_expression DIV math_expression */
/*! Production:: math_expression : math_expression MUL math_expression */
/*! Production:: math_expression : math_expression SUB math_expression */
/*! Production:: math_expression : value */
/*! Production:: value : NUMBER */
/*! Production:: value : SUB NUMBER */
/*! Rule:: $ */
/*! Rule:: (--[0-9a-z-A-Z-]*) */
/*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)% */
/*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)Hz\b */
/*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)\b */
/*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)ch\b */
/*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)cm\b */
/*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)deg\b */
/*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)dpcm\b */
/*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)dpi\b */
/*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)dppx\b */
/*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)em\b */
/*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)ex\b */
/*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)grad\b */
/*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)in\b */
/*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)kHz\b */
/*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)mm\b */
/*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)ms\b */
/*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)pc\b */
/*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)pt\b */
/*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)px\b */
/*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)rad\b */
/*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)rem\b */
/*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)s\b */
/*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)turn\b */
/*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)vh\b */
/*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)vmax\b */
/*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)vmin\b */
/*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)vw\b */
/*! Rule:: ([a-z]+) */
/*! Rule:: (calc) */
/*! Rule:: (var) */
/*! Rule:: , */
/*! Rule:: - */
/*! Rule:: \( */
/*! Rule:: \) */
/*! Rule:: \* */
/*! Rule:: \+ */
/*! Rule:: \/ */
/*! Rule:: \s+ */
/*! decimal.js-light v2.5.1 https://github.com/MikeMcl/decimal.js-light/LICENCE */
/** @license React v0.20.2
* scheduler.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/** @license React v16.10.2
* react-is.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/** @license React v17.0.2
* react-dom.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/** @license React v17.0.2
* react-jsx-runtime.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/** @license React v17.0.2
* react.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
This diff could not be displayed because it is too large.
(this["webpackJsonpcbv-globe"]=this["webpackJsonpcbv-globe"]||[]).push([[0],{353:function(t,e,n){"use strict";n.r(e);var a=n(18),i=n(0),c=n(30),r=n.n(c),s=n(195),o=n(131),l=n(80),j=n(196);o.a.use(j.a).use(l.e).init({detection:{order:["querystring"],lookupQuerystring:"lang",lookupCookie:"",lookupLocalStorage:"",lookupSessionStorage:"",caches:[]},debug:!1,fallbackLng:"en",interpolation:{escapeValue:!1},resources:{en:{translation:{"one-term-only":"* ONE TERM ONLY","pro.valuation.x":"11.991","pro.services.x":"16.401","pro.professional":"Professional","pro.Valuation":"Valuation","pro.Services":"Services","pro.Financial Services":"Financial Services, Industry","pro.Industry":"Industry","pro.Government":"and Government","pro.Retired":"Retired","charts.members":"Members","pro.Other":"Other"}},fr:{translation:{"pro.valuation.x":"0","pro.services.x":"0","one-term-only":"*UN TRIMESTRE SEULEMENT","pro.professional":"Services","pro.Valuation":"professionnels","pro.Services":"d\u2019\xe9valuation","pro.Financial Services":"Services financiers,","pro.Industry":"industrie, et","pro.Government":"gouvernement","pro.Retired":"\xc0 la retraite","charts.members":"Membres","pro.Other":"Autres"}}}});o.a;var d=n(104),x=n(365),h=n(1),f=function(t){var e=t.setTooltipContent,n=t.countries;Object(x.a)().t;return Object(h.jsx)(h.Fragment,{children:Object(h.jsx)(d.ComposableMap,{"data-tip":"",projection:"geoMercator",children:Object(h.jsx)(d.Geographies,{geography:"https://yearinreview.cbvinstitute.com/world-110m.json",children:function(t){return t.geographies.map((function(t){for(var a=!1,i=0;i<n.length;++i)for(var c in t.properties)if("function"==typeof t.properties[c].indexOf&&-1!==t.properties[c].indexOf(n[i].name)){t.properties.NICENAME=n[i].name,a=!0;break}var r={};return r=a?{default:{fill:"#5CBFBC",outline:"#0F1647",stroke:"#0F1647",strokeWidth:"0.25px"},hover:{fill:"white",outline:"none"}}:{default:{fill:"#594D78",outline:"none"},hover:{fill:"#594D78",outline:"none"},pressed:{fill:"#594D78",outline:"none"}},Object(h.jsx)(d.Geography,{geography:t,onMouseEnter:function(){if(a){var n=t.properties.NICENAME;e("".concat(n))}},onMouseLeave:function(){e("")},style:r},t.rsmKey)}))}})})})},b=Object(i.memo)(f),O=n(357),m=n(358),p=n(100),u=n(101),y=n(82),g=n(188),F=function(t){var e=t.active,n=t.payload,a=t.label;Object(x.a)().t;return e&&n&&n.length?Object(h.jsx)("div",{className:"custom-tooltip",children:Object(h.jsx)("p",{className:"label",style:{color:"#221d58"},children:"".concat(a)})}):null},v=function(t){for(var e=t.data,n=e[0].name,a=e[e.length-1].name,i=Math.floor(a/500),c=[],r=0;r<i;++r)c.push(500*(r+1));return Object(h.jsx)(h.Fragment,{children:Object(h.jsx)(O.a,{width:"99%",height:475,children:Object(h.jsxs)(m.a,{children:[Object(h.jsx)("defs",{children:Object(h.jsxs)("linearGradient",{id:"colorUv",x1:"0",y1:"0",x2:"0",y2:"1",children:[Object(h.jsx)("stop",{offset:"0%",stopColor:"#b4eded",stopOpacity:1}),Object(h.jsx)("stop",{offset:"100%",stopColor:"#FFFFFF",stopOpacity:.1})]})}),Object(h.jsx)(p.a,{tick:{fill:"#FFFFFF"},stroke:"#BFBECF",dataKey:"name",ticks:[n,a]}),Object(h.jsx)(u.a,{tick:{fill:"#FFFFFF"},stroke:"#BFBECF",ticks:c}),Object(h.jsx)(y.a,{content:Object(h.jsx)(F,{})}),Object(h.jsx)(g.a,{dot:!1,strokeWidth:2,data:e,fill:"url(#colorUv)",dataKey:"value",stroke:"#FFFFFF"})]})})})},w=Object(i.memo)(v),G=n(78),k=n(364),B=n(190),E=function(t){var e=Math.PI/180,n=t.cx,a=t.cy,i=t.midAngle,c=t.innerRadius,r=t.outerRadius,s=t.startAngle,o=t.endAngle,l=(t.fill,t.payload,t.percent,t.value),j=t.name,d=t.color,x=t.font_color,f=Math.sin(-e*i),b=Math.cos(-e*i),O=n+(r+10)*b,m=a+(r+10)*f,p=n+(r+30)*b,u=a+(r+30)*f,y=p+22*(b>=0?1:-1),g=u,F=b>=0?"start":"end";return Object(h.jsxs)("g",{children:[Object(h.jsx)(G.a,{cx:n,cy:a,innerRadius:c,outerRadius:r,startAngle:s,endAngle:o,fill:d}),Object(h.jsx)(G.a,{cx:n,cy:a,startAngle:s,endAngle:o,innerRadius:r+6,outerRadius:r+10,fill:d}),Object(h.jsx)("path",{d:"M".concat(O,",").concat(m,"L").concat(p,",").concat(u,"L").concat(y,",").concat(g),stroke:d,fill:"none"}),Object(h.jsx)("circle",{cx:y,cy:g,r:2,fill:d,stroke:"none"}),Object(h.jsx)("text",{x:y+12*(b>=0?1:-1),y:g,style:{fontWeight:"bold"},textAnchor:F,fill:x,children:"".concat(j)}),Object(h.jsx)("text",{x:y+12*(b>=0?1:-1),y:g,dy:18,textAnchor:F,fill:x,children:"".concat(l,"%")})]})},S=function(t){var e=t.data;t.color;return Object(h.jsx)(h.Fragment,{children:Object(h.jsx)(O.a,{width:"100%",height:300,children:Object(h.jsx)(k.a,{children:Object(h.jsx)(B.a,{activeIndex:Array.from({length:e.length},(function(t,e){return e-1+1})),activeShape:E,data:e,dataKey:"value",cx:"50%",cy:"50%",innerRadius:70,outerRadius:100,fill:"#82ca9d"})})})})},N=Object(i.memo)(S),C=n(362),A=n(197),L=n(102),R=n(68),z=function(t){t.x;var e=t.y,n=(t.width,t.height,t.name);t.fill;return Object(h.jsx)("text",{x:20,y:e+35,fill:"#fff",offset:15,height:55,textAnchor:"start",children:n<900?n+"*":n})},M=function(t){var e=t.data,n=Object(x.a)().t;return Object(h.jsxs)(h.Fragment,{children:[Object(h.jsx)(O.a,{width:"100%",children:Object(h.jsxs)(C.a,{layout:"vertical",data:e,height:600,children:[Object(h.jsx)(p.a,{type:"number",dataKey:"value",axisLine:!1,tick:!1}),Object(h.jsx)(u.a,{dataKey:"name",type:"category",axisLine:!1,tick:!1}),Object(h.jsxs)(A.a,{dataKey:"value",children:[e.map((function(t,e){return Object(h.jsx)(L.a,{x:0,height:55,fill:e%2==0?"#706B88":"#453E61"},"cell-".concat(e))})),Object(h.jsx)(R.a,{dataKey:"name",content:z})]})]})}),Object(h.jsxs)("small",{children:["\xa0",n("one-term-only")]})]})},D=Object(i.memo)(M),P=function(t){var e=Object(x.a)().t;return Object(h.jsx)(h.Fragment,{children:Object(h.jsxs)("svg",{width:"240px",height:"318px",viewBox:"0 0 240 318",version:"1.1",children:[Object(h.jsx)("title",{children:"sectors-2"}),Object(h.jsx)("desc",{children:"Created with Sketch."}),Object(h.jsx)("defs",{}),Object(h.jsx)("g",{id:"Page-1",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd",children:Object(h.jsxs)("g",{id:"sectors-2",children:[Object(h.jsx)("circle",{cx:"94",cy:"102",r:"0","data-r":"85",id:"Fill-115",fill:"#A4D6CF"}),Object(h.jsx)("circle",{cx:"78",cy:"217",r:"0","data-r":"31",id:"Fill-116",fill:"#6BC1BA"}),Object(h.jsx)("circle",{cx:"96",cy:"265",r:"0","data-r":"21",id:"Fill-117",fill:"#A4D6CF"}),Object(h.jsx)("circle",{cx:"175",cy:"230",r:"0","data-r":"65",id:"Fill-118",fill:"#DAEEEB"}),Object(h.jsx)("g",{id:"Professional-Valuation-Services",className:"115",opacity:0,transform:"translate(41.000000, 83.000000)",fill:"#1B193F","font-family":"Gotham-ExtraLight, Gotham","font-size":"18","font-weight":"300",children:Object(h.jsxs)("text",{id:"Professional-Valuati",children:[Object(h.jsx)("tspan",{x:"0.273",y:"14",children:e("pro.professional")}),Object(h.jsx)("tspan",{x:e("pro.valuation.x"),y:"35.6000073",children:e("pro.Valuation")}),Object(h.jsx)("tspan",{x:e("pro.services.x"),y:"57.2000146",children:e("pro.Services")})]})}),Object(h.jsx)("g",{id:"Financial-Services",className:"118",opacity:0,transform:"translate(117.000000, 224.000000)",fill:"#1B193F","font-family":"Gotham-ExtraLight, Gotham","font-size":"13","font-weight":"300",children:Object(h.jsxs)("text",{children:[Object(h.jsx)("tspan",{x:"0.677",y:"10",children:e("pro.Financial Services")}),Object(h.jsx)("tspan",{x:"17.395",y:"25.6000053",children:e("pro.Industry")}),Object(h.jsx)("tspan",{x:"18.5585",y:"41.2000105",children:e("pro.Government")})]})}),Object(h.jsx)("g",{id:"Other",className:"116",opacity:0,transform:"translate(59.000000, 224.000000)",fill:"#1B193F","font-family":"Gotham-ExtraLight, Gotham","font-size":"12","font-weight":"300",children:Object(h.jsx)("text",{children:Object(h.jsx)("tspan",{x:"0.802",y:"10",children:e("pro.Other")})})}),Object(h.jsx)("g",{id:"50%",className:"115",opacity:0,transform:"translate(73.000000, 58.000000)",fill:"#1B193F","font-family":"Gotham-Bold, Gotham","font-size":"18","font-weight":"bold",children:Object(h.jsx)("text",{id:"49%",children:Object(h.jsx)("tspan",{x:"0.8076",y:"14.8007812",children:"49%"})})}),Object(h.jsx)("g",{id:"34%",className:"118",opacity:0,transform:"translate(154.000000, 201.000000)",fill:"#1B193F","font-family":"Gotham-Bold, Gotham","font-size":"18","font-weight":"bold",children:Object(h.jsx)("text",{children:Object(h.jsx)("tspan",{x:"0.5856",y:"14.800781",children:"36%"})})}),Object(h.jsx)("g",{id:"10%",className:"116",opacity:0,transform:"translate(59.000000, 204.000000)",fill:"#1B193F","font-family":"Gotham-Bold, Gotham","font-size":"18","font-weight":"bold",children:Object(h.jsx)("text",{children:Object(h.jsx)("tspan",{x:"0.2997",y:"14.800781",children:"9%"})})}),Object(h.jsx)("g",{id:"Retired",className:"117",opacity:0,transform:"translate(76.000000, 308.000000)",fill:"#FFFFFF","font-family":"Gotham-ExtraLight, Gotham","font-size":"11","font-weight":"300",children:Object(h.jsx)("text",{children:Object(h.jsx)("tspan",{x:"0",y:"9",children:e("pro.Retired")})})}),Object(h.jsx)("g",{id:"6%",className:"117",opacity:0,transform:"translate(81.000000, 288.000000)",fill:"#FFFFFF","font-family":"Gotham-Medium, Gotham","font-size":"18","font-weight":"400",children:Object(h.jsx)("text",{children:Object(h.jsx)("tspan",{x:"0.2495",y:"14.800781",children:"6%"})})}),Object(h.jsx)("path",{className:"117",opacity:0,d:"M94.4777,289.2349 L94.4777,263.4129",id:"Stroke-210",stroke:"#FFFFFF","stroke-width":"0.5"})]})})]})})},V=Object(i.memo)(P),I=function(){var t=Object(x.a)().t;return Object(h.jsx)(h.Fragment,{children:Object(h.jsxs)("svg",{width:"240px",height:"318px",viewBox:"0 0 240 318",version:"1.1",children:[Object(h.jsx)("title",{children:"sectors-2"}),Object(h.jsx)("desc",{children:"Created with Sketch."}),Object(h.jsx)("defs",{}),Object(h.jsx)("g",{id:"Page-1",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd",children:Object(h.jsxs)("g",{id:"sectors-2",children:[Object(h.jsx)("circle",{cx:"94",cy:"102",r:"0","data-r":"85",id:"Fill-115",fill:"#A4D6CF"}),Object(h.jsx)("circle",{cx:"78",cy:"217",r:"0","data-r":"31",id:"Fill-116",fill:"#6BC1BA"}),Object(h.jsx)("circle",{cx:"96",cy:"265",r:"0","data-r":"21",id:"Fill-117",fill:"#A4D6CF"}),Object(h.jsx)("circle",{cx:"175",cy:"230",r:"0","data-r":"65",id:"Fill-118",fill:"#DAEEEB"}),Object(h.jsx)("g",{id:"Professional-Valuation-Services",className:"115",opacity:0,transform:(document.documentElement.lang,"translate(50.000000, 83.000000)"),fill:"#1B193F","font-family":"Gotham-ExtraLight, Gotham","font-size":"18","font-weight":"300",children:Object(h.jsxs)("text",{id:"Professional-Valuati",children:[Object(h.jsx)("tspan",{x:"0.273",y:"14",children:t("pro.professional")}),Object(h.jsx)("tspan",{x:t("pro.valuation.x"),y:"35.6000073",children:t("pro.Valuation")}),Object(h.jsx)("tspan",{x:t("pro.services.x"),y:"57.2000146",children:t("pro.Services")})]})}),Object(h.jsx)("g",{id:"Financial-Services",className:"118",opacity:0,transform:(document.documentElement.lang,"translate(125.000000, 224.000000)"),fill:"#1B193F","font-family":"Gotham-ExtraLight, Gotham","font-size":"13","font-weight":"300",children:Object(h.jsxs)("text",{children:[Object(h.jsx)("tspan",{x:"0.677",y:"10",children:t("pro.Financial Services")}),Object(h.jsx)("tspan",{x:"17.395",y:"25.6000053",children:t("pro.Industry")}),Object(h.jsx)("tspan",{x:"18.5585",y:"41.2000105",children:t("pro.Government")})]})}),Object(h.jsx)("g",{id:"Other",className:"116",opacity:0,transform:"fr-FR"===document.documentElement.lang?"translate(55.000000, 224.000000)":"translate(63.000000, 224.000000)",fill:"#1B193F","font-family":"Gotham-ExtraLight, Gotham","font-size":"10","font-weight":"300",children:Object(h.jsx)("text",{children:Object(h.jsx)("tspan",{x:"0.802",y:"10",children:t("pro.Retired")})})}),Object(h.jsx)("g",{id:"50%",className:"115",opacity:0,transform:"translate(73.000000, 58.000000)",fill:"#1B193F","font-family":"Gotham-Bold, Gotham","font-size":"18","font-weight":"bold",children:Object(h.jsx)("text",{id:"49%",children:Object(h.jsx)("tspan",{x:"0.8076",y:"14.8007812",children:"50%"})})}),Object(h.jsx)("g",{id:"34%",className:"118",opacity:0,transform:"translate(154.000000, 201.000000)",fill:"#1B193F","font-family":"Gotham-Bold, Gotham","font-size":"18","font-weight":"bold",children:Object(h.jsx)("text",{children:Object(h.jsx)("tspan",{x:"0.5856",y:"14.800781",children:"39%"})})}),Object(h.jsx)("g",{id:"10%",className:"116",opacity:0,transform:"translate(66.000000, 204.000000)",fill:"#1B193F","font-family":"Gotham-Bold, Gotham","font-size":"18","font-weight":"bold",children:Object(h.jsx)("text",{children:Object(h.jsx)("tspan",{x:"0.2997",y:"14.800781",children:"7%"})})}),Object(h.jsx)("g",{id:"Retired",className:"117",opacity:0,transform:"translate(76.000000, 308.000000)",fill:"#FFFFFF","font-family":"Gotham-ExtraLight, Gotham","font-size":"11","font-weight":"300",children:Object(h.jsx)("text",{children:Object(h.jsx)("tspan",{x:"0",y:"9",children:t("pro.Other")})})}),Object(h.jsx)("g",{id:"6%",className:"117",opacity:0,transform:"translate(81.000000, 288.000000)",fill:"#FFFFFF","font-family":"Gotham-Medium, Gotham","font-size":"18","font-weight":"400",children:Object(h.jsx)("text",{children:Object(h.jsx)("tspan",{x:"0.2495",y:"14.800781",children:"4%"})})}),Object(h.jsx)("path",{className:"117",opacity:0,d:"M94.4777,289.2349 L94.4777,263.4129",id:"Stroke-210",stroke:"#FFFFFF","stroke-width":"0.5"})]})})]})})},K=Object(i.memo)(I),J=function(){var t=Object(x.a)().t;return Object(h.jsx)(h.Fragment,{children:Object(h.jsxs)("svg",{width:"1024px",height:"400px",viewBox:"0 0 1024 400",version:"1.1",children:[Object(h.jsx)("title",{children:"sectors-2"}),Object(h.jsx)("desc",{children:"Created with Sketch."}),Object(h.jsx)("defs",{}),Object(h.jsx)("g",{id:"Page-1",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd",children:Object(h.jsxs)("g",{id:"sectors-2",children:[Object(h.jsx)("circle",{cx:"450",cy:"152",r:"15","data-r":"15",id:"Fill-115",fill:"#A4D6CF"}),Object(h.jsx)("circle",{cx:"570",cy:"165",r:"6","data-r":"6",id:"Fill-116",fill:"#6BC1BA"}),Object(h.jsx)("circle",{cx:"600",cy:"225",r:"6","data-r":"6",id:"Fill-117",fill:"#A4D6CF"}),Object(h.jsx)("circle",{cx:"505",cy:"270",r:"10","data-r":"10",id:"Fill-118",fill:"#DAEEEB"}),Object(h.jsx)("g",{id:"Professional-Valuation-Services",className:"115",opacity:0,transform:"fr-FR"===document.documentElement.lang?"translate(0.000000, 160.000000)":"translate(30.000000, 160.000000)",fill:"#1B193F","font-family":"Gotham-Book, Gotham","font-size":"18","font-weight":"300",children:Object(h.jsxs)("text",{id:"Professional-Valuati",children:[Object(h.jsx)("tspan",{x:"0",y:"0",children:t("pro.professional")}),Object(h.jsx)("tspan",{x:"fr-FR"===document.documentElement.lang?"78":"115",y:"0",children:t("pro.Valuation")}),Object(h.jsx)("tspan",{x:"fr-FR"===document.documentElement.lang?"210":"205",y:"0",children:t("pro.Services")})]})}),Object(h.jsx)("g",{id:"Financial-Services",className:"118",opacity:0,transform:(document.documentElement.lang,"translate(175.000000, 262.000000)"),fill:"#1B193F","font-family":"Gotham-Book, Gotham","font-size":"17","font-weight":"300",children:Object(h.jsxs)("text",{children:[Object(h.jsx)("tspan",{x:"fr-FR"===document.documentElement.lang?"50":"0",y:"0",children:t("pro.Financial Services")}),Object(h.jsx)("tspan",{x:"85",y:"25",children:t("pro.Government")})]})}),Object(h.jsx)("g",{id:"Other",className:"116",opacity:0,transform:(document.documentElement.lang,"translate(710.000000, 218.000000)"),fill:"#1B193F","font-family":"Gotham-ExtraLight, Gotham","font-size":"16","font-weight":"300",children:Object(h.jsx)("text",{children:Object(h.jsx)("tspan",{x:"0.802",y:"10",children:t("pro.Retired")})})}),Object(h.jsx)("g",{id:"50%",class:"115",opacity:0,transform:"translate(415.000000, 165.000000)",fill:"#221D58","font-family":"Gotham-Bold, Gotham","font-size":"36","font-weight":"bold",children:Object(h.jsx)("text",{id:"49%",children:Object(h.jsx)("tspan",{x:"0",y:"0",children:"52%"})})}),Object(h.jsx)("g",{id:"34%",class:"118",opacity:0,transform:"translate(470, 265)",fill:"#1B193F","font-family":"Gotham-Bold, Gotham","font-size":"34","font-weight":"bold",children:Object(h.jsx)("text",{children:Object(h.jsx)("tspan",{x:"0.5856",y:"14.800781",children:"41%"})})}),Object(h.jsx)("g",{id:"10%",class:"116",opacity:0,transform:"translate(557.000000, 158.000000)",fill:"#1B193F","font-family":"Gotham-Bold, Gotham","font-size":"22","font-weight":"bold",children:Object(h.jsx)("text",{children:Object(h.jsx)("tspan",{x:"0.2997",y:"14.800781",children:"4%"})})}),Object(h.jsx)("g",{id:"Retired",className:"117",opacity:0,transform:"translate(695.000000, 160.000000)",fill:"#FFFFFF","font-family":"Gotham-Bold, Gotham","font-size":"16","font-weight":"300",children:Object(h.jsx)("text",{children:Object(h.jsx)("tspan",{x:"0",y:"9",children:t("pro.Other")})})}),Object(h.jsx)("g",{id:"6%",class:"117",opacity:0,transform:"translate(585.000000, 218.000000)",fill:"#221D58","font-family":"Gotham-Bold, Gotham","font-size":"22","font-weight":"700",children:Object(h.jsx)("text",{children:Object(h.jsx)("tspan",{x:"0.2495",y:"14.800781",children:"3%"})})}),Object(h.jsx)("path",{class:"115-line",opacity:0,d:"M320,155 L390,155",id:"Stroke-210",stroke:"#AED5CF","stroke-width":"1.5"}),Object(h.jsx)("path",{class:"118-line",opacity:0,d:"M410,270 L460,270",id:"Stroke-210",stroke:"#DEEDEB","stroke-width":"1.5"}),Object(h.jsx)("path",{class:"116-line",opacity:0,d:"M680,165 L595,165",id:"Stroke-210",stroke:"#7FBFBA","stroke-width":"1.5"}),Object(h.jsx)("path",{class:"117-line",opacity:0,d:"M700,225 L625,225",id:"Stroke-210",stroke:"#AED5CF","stroke-width":"1.5"})]})})]})})},T=Object(i.memo)(J),U=function(t){t.x;var e=t.y,n=(t.width,t.height,t.name);t.fill;return Object(h.jsx)("text",{x:20,y:e+30,fill:"#fff",offset:15,height:55,textAnchor:"start",children:n<900?n+"*":n})},W=function(t){var e=t.data;Object(x.a)().t;return Object(h.jsx)(h.Fragment,{children:Object(h.jsx)(O.a,{width:"100%",children:Object(h.jsxs)(C.a,{layout:"vertical",data:e,height:600,children:[Object(h.jsx)(p.a,{type:"number",dataKey:"value",axisLine:!1,tick:!1}),Object(h.jsx)(u.a,{dataKey:"name",type:"category",axisLine:!1,tick:!1}),Object(h.jsxs)(A.a,{dataKey:"value",children:[e.map((function(t,e){return Object(h.jsx)(L.a,{x:0,height:45,fill:e%2==0?"#6AC9C8":"#b0e0df"},"cell-".concat(e))})),Object(h.jsx)(R.a,{dataKey:"name",content:U})]})]})})})},q=Object(i.memo)(W);function Q(t){var e=Object(i.useState)(""),n=Object(a.a)(e,2),c=n[0],r=n[1],o=Object(i.useState)(t.countries),l=Object(a.a)(o,1)[0];return Object(h.jsxs)("div",{children:[Object(h.jsx)(b,{setTooltipContent:r,countries:l}),Object(h.jsx)(s.a,{backgroundColor:"#715f8a",textColor:"white",children:c})]})}function Y(t){var e=Object(i.useState)(t.data),n=Object(a.a)(e,1)[0];return Object(h.jsx)("div",{children:Object(h.jsx)(w,{data:n})})}function _(t){var e=Object(i.useState)(t.data),n=Object(a.a)(e,1)[0],c=Object(i.useState)(t.color),r=Object(a.a)(c,1)[0];return Object(h.jsx)(N,{data:n,color:r})}function H(t){var e=Object(i.useState)(t.data),n=Object(a.a)(e,1)[0];return Object(h.jsx)(q,{data:n})}function X(t){var e=Object(i.useState)(t.data),n=Object(a.a)(e,1)[0];return Object(h.jsx)(D,{data:n})}function Z(t){return Object(h.jsx)(V,{})}function $(t){return Object(h.jsx)(K,{})}function tt(t){return Object(h.jsx)(T,{})}window.renderGlobe=function(t){r.a.render(Object(h.jsx)(Q,{countries:JSON.parse(t.dataset.countries)}),t)},window.renderGraph=function(t){r.a.render(Object(h.jsx)(Y,{data:JSON.parse(t.dataset.points)}),t)},window.renderPI=function(t){r.a.render(Object(h.jsx)(_,{color:t.dataset.color,data:JSON.parse(t.dataset.points)}),t)},window.renderBarChart2021=function(t){r.a.render(Object(h.jsx)(H,{data:JSON.parse(t.dataset.points)}),t)},window.renderBarChart=function(t){r.a.render(Object(h.jsx)(X,{data:JSON.parse(t.dataset.points)}),t)},window.renderProgression=function(t){r.a.render(Object(h.jsx)(Z,{}),t)},window.renderProgression2021=function(t){r.a.render(Object(h.jsx)($,{}),t)},window.renderProgression2022=function(t){r.a.render(Object(h.jsx)(tt,{}),t)}}},[[353,1,2]]]);
//# sourceMappingURL=main.a7bb4a96.chunk.js.map
\ No newline at end of file
{"version":3,"sources":["i18n.js","MapChart.js","GraphChart.js","PiChart.js","BarChart.js","ProgressionChart.js","ProgressionChart2021.js","ProgressionChart2022.js","BarChart2021.js","index.js"],"names":["i18n","use","LanguageDetector","initReactI18next","init","detection","order","lookupCookie","lookupLocalStorage","lookupSessionStorage","caches","debug","fallbackLng","interpolation","escapeValue","resources","en","translation","fr","MapChart","setTooltipContent","countries","useTranslation","t","data-tip","projection","geography","geographies","map","geo","found","i","length","cprop","properties","indexOf","name","NICENAME","style","default","fill","outline","stroke","strokeWidth","hover","pressed","onMouseEnter","onMouseLeave","rsmKey","memo","CustomTooltip","active","payload","label","className","GraphChart","data","first_val","last_val","ticks","Math","floor","tick_array","push","ResponsiveContainer","width","height","AreaChart","id","x1","y1","x2","y2","offset","stopColor","stopOpacity","XAxis","tick","dataKey","YAxis","Tooltip","content","Area","dot","renderActiveShape","props","RADIAN","PI","cx","cy","midAngle","innerRadius","outerRadius","startAngle","endAngle","value","percent","color","font_color","sin","cos","sx","sy","mx","my","ex","ey","textAnchor","Sector","d","r","x","y","fontWeight","dy","PiChart","PieChart","Pie","activeIndex","Array","from","_","activeShape","renderCustomizedLabel","CBVBars","BarChart","layout","type","axisLine","Bar","entry","index","Cell","LabelList","ProgressionChart","viewBox","version","stroke-width","fill-rule","data-r","opacity","transform","font-family","font-size","font-weight","ProgressionChart2021","document","documentElement","lang","ProgressionChart2022","class","renderCustomizedLabel2021","CBVBars2021","CBVGlobe","useState","setContent","backgroundColor","textColor","CBVGraph","CBVPI","CBVBarChart2021","CBVBarChart","CBVProgression","CBVProgression2021","CBVProgression2022","window","renderGlobe","el","ReactDOM","render","JSON","parse","dataset","renderGraph","points","renderPI","renderBarChart2021","renderBarChart","renderProgression","renderProgression2021","renderProgression2022"],"mappings":"4LAKAA,IAGGC,IAAIC,KAEJD,IAAIE,KAGJC,KAAK,CACJC,UAAW,CACPC,MAAO,CAAC,eACR,kBAAqB,OACrBC,aAAc,GACdC,mBAAoB,GACpBC,qBAAsB,GACtBC,OAAQ,IAEZC,OAAO,EACPC,YAAa,KACbC,cAAe,CACbC,aAAa,GAEfC,UAAW,CACTC,GAAI,CACFC,Y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ACZ,GAC9BC,IAASC,OAAO,cAACN,EAAD,IAAwBI,IAS1CF,OAAOe,sBAAwB,SAACb,GAC9BC,IAASC,OAAO,cAACL,GAAD,IAAwBG,M","file":"static/js/main.a7bb4a96.chunk.js","sourcesContent":["import i18n from 'i18next';\nimport { initReactI18next } from 'react-i18next';\nimport LanguageDetector from 'i18next-browser-languagedetector';\n\n\ni18n\n // detect user language\n // learn more: https://github.com/i18next/i18next-browser-languageDetector\n .use(LanguageDetector)\n // pass the i18n instance to react-i18next.\n .use(initReactI18next)\n // init i18next\n // for all options read: https://www.i18next.com/overview/configuration-options\n .init({\n detection: {\n order: ['querystring'],\n \"lookupQuerystring\": 'lang',\n lookupCookie: '',\n lookupLocalStorage: '',\n lookupSessionStorage: '',\n caches: [],\n },\n debug: false,\n fallbackLng: 'en',\n interpolation: {\n escapeValue: false, // not needed for react as it escapes by default\n },\n resources: {\n en: {\n translation: {\n \"one-term-only\":\"* ONE TERM ONLY\",\n \"pro.valuation.x\":\"11.991\",\n \"pro.services.x\":\"16.401\",\n \"pro.professional\":\"Professional\",\n \"pro.Valuation\":\"Valuation\",\n \"pro.Services\":\"Services\",\n \"pro.Financial Services\":\"Financial Services, Industry\",\n \"pro.Industry\":\"Industry\",\n \"pro.Government\":\"and Government\",\n \"pro.Retired\":\"Retired\",\n \"charts.members\":\"Members\",\n \"pro.Other\":\"Other\",\n }\n },\n fr: {\n translation: {\n \"pro.valuation.x\":\"0\",\n \"pro.services.x\":\"0\",\n \"one-term-only\":\"*UN TRIMESTRE SEULEMENT\",\n \"pro.professional\":\"Services\",\n \"pro.Valuation\":\"professionnels\",\n \"pro.Services\":\"d’évaluation\",\n \"pro.Financial Services\":\"Services financiers,\",\n \"pro.Industry\":\"industrie, et\",\n \"pro.Government\":\"gouvernement\",\n \"pro.Retired\":\"À la retraite\",\n \"charts.members\":\"Membres\",\n \"pro.Other\":\"Autres\",\n } \n }\n }\n });\n\nexport default i18n;","import React, { memo } from \"react\";\nimport {\n ComposableMap,\n Geographies,\n Geography\n} from \"react-simple-maps\";\nimport { useTranslation, Trans } from 'react-i18next';\n\nconst geoUrl =\n// \"http://arreport.test/world-110m.json\";\n \"https://yearinreview.cbvinstitute.com/world-110m.json\";\n\n\nconst MapChart = ({ setTooltipContent, countries }) => {\n\n const { t } = useTranslation();\n\n return (\n <>\n <ComposableMap data-tip=\"\" projection=\"geoMercator\" >\n <Geographies geography={geoUrl}>\n {({ geographies }) =>\n geographies.map(geo => { \n var found = false;\n for(var i = 0;i < countries.length;++i) {\n for(const cprop in geo.properties) {\n if(typeof geo.properties[cprop].indexOf == 'function' && geo.properties[cprop].indexOf(countries[i].name) !== -1) {\n geo.properties.NICENAME = countries[i].name \n found = true;\n break;\n }\n }\n }\n\n var style = {};\n\n if(found) {\n style = {\n default: {\n fill: \"#5CBFBC\",\n outline: \"#0F1647\",\n stroke: \"#0F1647\",\n strokeWidth: \"0.25px\"\n },\n hover: {\n fill: \"white\",\n outline: \"none\"\n }\n }\n } else {\n style = {\n default: {\n fill: \"#594D78\",\n outline: \"none\",\n },\n hover: {\n fill: \"#594D78\",\n outline: \"none\"\n },\n pressed: {\n fill: \"#594D78\",\n outline: \"none\"\n }\n }\n }\n \n return (\n <Geography\n key={geo.rsmKey}\n geography={geo}\n onMouseEnter={() => {\n if(found) {\n const { NICENAME } = geo.properties;\n setTooltipContent(`${NICENAME}`);\n }\n }}\n onMouseLeave={() => {\n setTooltipContent(\"\");\n }}\n style={style}\n />\n ) } )\n }\n </Geographies>\n </ComposableMap>\n </>\n );\n};\n\nexport default memo(MapChart);\n","import React, { memo } from \"react\";\nimport { AreaChart, Area, XAxis, YAxis, Tooltip, ResponsiveContainer } from 'recharts';\nimport { useTranslation, Trans } from 'react-i18next';\n\nconst CustomTooltip = ({ active, payload, label }) => {\n\n const { t } = useTranslation();\n\n if (active && payload && payload.length) {\n return (\n <div className=\"custom-tooltip\">\n <p className=\"label\" style={ {'color':'#221d58'} } >{`${label}`}</p>\n </div>\n );\n }\n\n return null;\n};\n\nconst GraphChart = ({ data }) => {\n var first_val = data[0]['name'];\n var last_val = data[data.length - 1]['name'];\n\n var ticks = Math.floor(last_val / 500);\n var tick_array = [];\n for(var i = 0;i < ticks;++i) {\n tick_array.push((i+1) * 500);\n }\n return (\n <>\n <ResponsiveContainer width={'99%'} height={475}>\n <AreaChart>\n <defs>\n <linearGradient id=\"colorUv\" x1=\"0\" y1=\"0\" x2=\"0\" y2=\"1\">\n <stop offset=\"0%\" stopColor=\"#b4eded\" stopOpacity={1}/>\n <stop offset=\"100%\" stopColor=\"#FFFFFF\" stopOpacity={0.1}/>\n </linearGradient>\n </defs>\n <XAxis tick={{ fill: '#FFFFFF' }} stroke=\"#BFBECF\" dataKey=\"name\" ticks={[first_val, last_val]} />\n <YAxis tick={{ fill: '#FFFFFF' }} stroke=\"#BFBECF\" ticks={tick_array} />\n <Tooltip content={<CustomTooltip />} />\n <Area dot={false} strokeWidth={2} data={ data } fill=\"url(#colorUv)\" dataKey=\"value\" stroke=\"#FFFFFF\" />\n </AreaChart></ResponsiveContainer>\n </>\n )\n}\n\nexport default memo(GraphChart);","import React, { memo } from \"react\";\nimport { Pie, PieChart, Sector, ResponsiveContainer } from 'recharts';\n\nconst renderActiveShape = (props) => {\n\n const RADIAN = Math.PI / 180;\n const { cx, cy, midAngle, innerRadius, outerRadius, startAngle, endAngle, fill, payload, percent, value, name, color, font_color } = props;\n const sin = Math.sin(-RADIAN * midAngle);\n const cos = Math.cos(-RADIAN * midAngle);\n const sx = cx + (outerRadius + 10) * cos;\n const sy = cy + (outerRadius + 10) * sin;\n const mx = cx + (outerRadius + 30) * cos;\n const my = cy + (outerRadius + 30) * sin;\n const ex = mx + (cos >= 0 ? 1 : -1) * 22;\n const ey = my;\n const textAnchor = cos >= 0 ? 'start' : 'end';\n\n return (\n <g>\n <Sector\n cx={cx}\n cy={cy}\n innerRadius={innerRadius}\n outerRadius={outerRadius}\n startAngle={startAngle}\n endAngle={endAngle}\n fill={color}\n />\n <Sector\n cx={cx}\n cy={cy}\n startAngle={startAngle}\n endAngle={endAngle}\n innerRadius={outerRadius + 6}\n outerRadius={outerRadius + 10}\n fill={color}\n />\n <path d={`M${sx},${sy}L${mx},${my}L${ex},${ey}`} stroke={color} fill=\"none\" />\n <circle cx={ex} cy={ey} r={2} fill={color} stroke=\"none\" />\n <text x={ex + (cos >= 0 ? 1 : -1) * 12} y={ey} style={{fontWeight:'bold'}} textAnchor={textAnchor} fill={font_color}>{`${name}`}</text>\n <text x={ex + (cos >= 0 ? 1 : -1) * 12} y={ey} dy={18} textAnchor={textAnchor} fill={font_color}>\n {`${(value)}%`}\n </text>\n </g>\n );\n};\n\nconst PiChart = ({ data, color }) => {\n return (\n <>\n <ResponsiveContainer width={'100%'} height={300}><PieChart>\n <Pie \n activeIndex={Array.from({length: data.length}, (_, i) => (i-1) + 1)}\n activeShape={renderActiveShape}\n data={ data } dataKey=\"value\" cx=\"50%\" cy=\"50%\" innerRadius={70} outerRadius={100} fill=\"#82ca9d\" />\n </PieChart></ResponsiveContainer>\n </>\n )\n}\n\nexport default memo(PiChart);","import React, { memo } from \"react\";\nimport { BarChart, Bar, ResponsiveContainer, LabelList, XAxis, YAxis, Cell } from 'recharts';\nimport { useTranslation, Trans } from 'react-i18next';\n\nconst renderCustomizedLabel = (props) => {\n const {\n x, y, width, height, name, fill\n } = props;\n\n return (\n <text x={20} y={y + 35} fill={\"#fff\"} offset={15} height={55} textAnchor=\"start\">\n {(name < 900)?name+\"*\":name}\n </text>\n );\n };\n\nconst CBVBars = ({ data }) => {\n\n const { t } = useTranslation();\n \n return (\n <>\n <ResponsiveContainer width={'100%'} >\n <BarChart layout=\"vertical\" data={ data } height={600}>\n <XAxis type=\"number\" dataKey=\"value\" axisLine={false} tick={false} /> \n <YAxis dataKey=\"name\" type=\"category\" axisLine={false} tick={false}/>\n <Bar dataKey=\"value\">\n {\n data.map((entry, index) => (\n <Cell x={0} height={55} key={`cell-${index}`} fill={(index % 2 == 0)?\"#706B88\":\"#453E61\"} />\n ))\n }\n <LabelList dataKey=\"name\" content={renderCustomizedLabel} />\n </Bar>\n </BarChart>\n </ResponsiveContainer>\n <small>&nbsp;{t(\"one-term-only\")}</small>\n </>\n )\n}\n\nexport default memo(CBVBars);","import React, { memo } from \"react\";\nimport { useTranslation, Trans } from 'react-i18next';\n\nconst ProgressionChart = (props) => {\n\n const { t } = useTranslation();\n \n return (\n <>\n <svg width=\"240px\" height=\"318px\" viewBox=\"0 0 240 318\" version=\"1.1\">\n <title>sectors-2</title>\n <desc>Created with Sketch.</desc>\n <defs></defs>\n <g id=\"Page-1\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n <g id=\"sectors-2\">\n <circle cx=\"94\" cy=\"102\" r=\"0\" data-r=\"85\" id=\"Fill-115\" fill=\"#A4D6CF\" ></circle>\n <circle cx=\"78\" cy=\"217\" r=\"0\" data-r=\"31\" id=\"Fill-116\" fill=\"#6BC1BA\"></circle>\n <circle cx=\"96\" cy=\"265\" r=\"0\" data-r=\"21\" id=\"Fill-117\" fill=\"#A4D6CF\"></circle>\n <circle cx=\"175\" cy=\"230\" r=\"0\" data-r=\"65\" id=\"Fill-118\" fill=\"#DAEEEB\"></circle>\n <g id=\"Professional-Valuation-Services\" className=\"115\" opacity={0} transform=\"translate(41.000000, 83.000000)\" fill=\"#1B193F\" font-family=\"Gotham-ExtraLight, Gotham\" font-size=\"18\" font-weight=\"300\">\n <text id=\"Professional-Valuati\">\n <tspan x=\"0.273\" y=\"14\">{t('pro.professional')}</tspan>\n <tspan x={t('pro.valuation.x')} y=\"35.6000073\">{t('pro.Valuation')}</tspan>\n <tspan x={t('pro.services.x')} y=\"57.2000146\">{t('pro.Services')}</tspan>\n </text>\n </g>\n <g id=\"Financial-Services\" className=\"118\" opacity={0} transform=\"translate(117.000000, 224.000000)\" fill=\"#1B193F\" font-family=\"Gotham-ExtraLight, Gotham\" font-size=\"13\" font-weight=\"300\">\n <text>\n <tspan x=\"0.677\" y=\"10\">{t('pro.Financial Services')}</tspan>\n <tspan x=\"17.395\" y=\"25.6000053\">{t('pro.Industry')}</tspan>\n <tspan x=\"18.5585\" y=\"41.2000105\">{t('pro.Government')}</tspan>\n </text>\n </g>\n <g id=\"Other\" className=\"116\" opacity={0} transform=\"translate(59.000000, 224.000000)\" fill=\"#1B193F\" font-family=\"Gotham-ExtraLight, Gotham\" font-size=\"12\" font-weight=\"300\">\n <text>\n <tspan x=\"0.802\" y=\"10\">{t('pro.Other')}</tspan>\n </text>\n </g>\n <g id=\"50%\" className=\"115\" opacity={0} transform=\"translate(73.000000, 58.000000)\" fill=\"#1B193F\" font-family=\"Gotham-Bold, Gotham\" font-size=\"18\" font-weight=\"bold\">\n <text id=\"49%\">\n <tspan x=\"0.8076\" y=\"14.8007812\">49%</tspan>\n </text>\n </g>\n <g id=\"34%\" className=\"118\" opacity={0} transform=\"translate(154.000000, 201.000000)\" fill=\"#1B193F\" font-family=\"Gotham-Bold, Gotham\" font-size=\"18\" font-weight=\"bold\">\n <text>\n <tspan x=\"0.5856\" y=\"14.800781\">36%</tspan>\n </text>\n </g>\n <g id=\"10%\" className=\"116\" opacity={0} transform=\"translate(59.000000, 204.000000)\" fill=\"#1B193F\" font-family=\"Gotham-Bold, Gotham\" font-size=\"18\" font-weight=\"bold\">\n <text>\n <tspan x=\"0.2997\" y=\"14.800781\">9%</tspan>\n </text>\n </g>\n <g id=\"Retired\" className=\"117\" opacity={0} transform=\"translate(76.000000, 308.000000)\" fill=\"#FFFFFF\" font-family=\"Gotham-ExtraLight, Gotham\" font-size=\"11\" font-weight=\"300\">\n <text>\n <tspan x=\"0\" y=\"9\">{t('pro.Retired')}</tspan>\n </text>\n </g>\n <g id=\"6%\" className=\"117\" opacity={0} transform=\"translate(81.000000, 288.000000)\" fill=\"#FFFFFF\" font-family=\"Gotham-Medium, Gotham\" font-size=\"18\" font-weight=\"400\">\n <text>\n <tspan x=\"0.2495\" y=\"14.800781\">6%</tspan>\n </text>\n </g>\n <path className=\"117\" opacity={0} d=\"M94.4777,289.2349 L94.4777,263.4129\" id=\"Stroke-210\" stroke=\"#FFFFFF\" stroke-width=\"0.5\"></path>\n </g>\n </g>\n </svg>\n </>\n )\n}\n\nexport default memo(ProgressionChart);","import React, { memo } from \"react\";\nimport { useTranslation, Trans } from 'react-i18next';\n\nconst ProgressionChart2021 = () => {\n\n const { t } = useTranslation();\n\n return (\n <>\n <svg width=\"240px\" height=\"318px\" viewBox=\"0 0 240 318\" version=\"1.1\">\n <title>sectors-2</title>\n <desc>Created with Sketch.</desc>\n <defs></defs>\n <g id=\"Page-1\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n <g id=\"sectors-2\">\n <circle cx=\"94\" cy=\"102\" r=\"0\" data-r=\"85\" id=\"Fill-115\" fill=\"#A4D6CF\" ></circle>\n <circle cx=\"78\" cy=\"217\" r=\"0\" data-r=\"31\" id=\"Fill-116\" fill=\"#6BC1BA\"></circle>\n <circle cx=\"96\" cy=\"265\" r=\"0\" data-r=\"21\" id=\"Fill-117\" fill=\"#A4D6CF\"></circle>\n <circle cx=\"175\" cy=\"230\" r=\"0\" data-r=\"65\" id=\"Fill-118\" fill=\"#DAEEEB\"></circle>\n <g id=\"Professional-Valuation-Services\" className=\"115\" opacity={0} transform={document.documentElement.lang === \"fr-FR\" ? \"translate(50.000000, 83.000000)\" : \"translate(50.000000, 83.000000)\" } fill=\"#1B193F\" font-family=\"Gotham-ExtraLight, Gotham\" font-size=\"18\" font-weight=\"300\">\n <text id=\"Professional-Valuati\">\n <tspan x=\"0.273\" y=\"14\">{t('pro.professional')}</tspan>\n <tspan x={t('pro.valuation.x')} y=\"35.6000073\">{t('pro.Valuation')}</tspan>\n <tspan x={t('pro.services.x')} y=\"57.2000146\">{t('pro.Services')}</tspan>\n </text>\n </g>\n <g id=\"Financial-Services\" className=\"118\" opacity={0} transform={document.documentElement.lang === \"fr-FR\" ? \"translate(125.000000, 224.000000)\" : \"translate(125.000000, 224.000000)\" } fill=\"#1B193F\" font-family=\"Gotham-ExtraLight, Gotham\" font-size=\"13\" font-weight=\"300\">\n <text>\n <tspan x=\"0.677\" y=\"10\">{t('pro.Financial Services')}</tspan>\n <tspan x=\"17.395\" y=\"25.6000053\">{t('pro.Industry')}</tspan>\n <tspan x=\"18.5585\" y=\"41.2000105\">{t('pro.Government')}</tspan>\n </text>\n </g>\n <g id=\"Other\" className=\"116\" opacity={0} transform={document.documentElement.lang === \"fr-FR\" ? \"translate(55.000000, 224.000000)\" : \"translate(63.000000, 224.000000)\" } fill=\"#1B193F\" font-family=\"Gotham-ExtraLight, Gotham\" font-size=\"10\" font-weight=\"300\">\n <text>\n <tspan x=\"0.802\" y=\"10\">{t('pro.Retired')}</tspan>\n </text>\n </g>\n <g id=\"50%\" className=\"115\" opacity={0} transform=\"translate(73.000000, 58.000000)\" fill=\"#1B193F\" font-family=\"Gotham-Bold, Gotham\" font-size=\"18\" font-weight=\"bold\">\n <text id=\"49%\">\n <tspan x=\"0.8076\" y=\"14.8007812\">50%</tspan>\n </text>\n </g>\n <g id=\"34%\" className=\"118\" opacity={0} transform=\"translate(154.000000, 201.000000)\" fill=\"#1B193F\" font-family=\"Gotham-Bold, Gotham\" font-size=\"18\" font-weight=\"bold\">\n <text>\n <tspan x=\"0.5856\" y=\"14.800781\">39%</tspan>\n </text>\n </g>\n <g id=\"10%\" className=\"116\" opacity={0} transform=\"translate(66.000000, 204.000000)\" fill=\"#1B193F\" font-family=\"Gotham-Bold, Gotham\" font-size=\"18\" font-weight=\"bold\">\n <text>\n <tspan x=\"0.2997\" y=\"14.800781\">7%</tspan>\n </text>\n </g>\n <g id=\"Retired\" className=\"117\" opacity={0} transform=\"translate(76.000000, 308.000000)\" fill=\"#FFFFFF\" font-family=\"Gotham-ExtraLight, Gotham\" font-size=\"11\" font-weight=\"300\">\n <text>\n <tspan x=\"0\" y=\"9\">{t('pro.Other')}</tspan>\n </text>\n </g>\n <g id=\"6%\" className=\"117\" opacity={0} transform=\"translate(81.000000, 288.000000)\" fill=\"#FFFFFF\" font-family=\"Gotham-Medium, Gotham\" font-size=\"18\" font-weight=\"400\">\n <text>\n <tspan x=\"0.2495\" y=\"14.800781\">4%</tspan>\n </text>\n </g>\n <path className=\"117\" opacity={0} d=\"M94.4777,289.2349 L94.4777,263.4129\" id=\"Stroke-210\" stroke=\"#FFFFFF\" stroke-width=\"0.5\"></path>\n </g>\n </g>\n </svg>\n </>\n )\n}\n\nexport default memo(ProgressionChart2021);","import React, { memo } from \"react\";\nimport { useTranslation, Trans } from 'react-i18next';\n\nconst ProgressionChart2022 = () => {\n\n const { t } = useTranslation();\n\n return (\n <>\n <svg width=\"1024px\" height=\"400px\" viewBox=\"0 0 1024 400\" version=\"1.1\">\n <title>sectors-2</title>\n <desc>Created with Sketch.</desc>\n <defs></defs>\n <g id=\"Page-1\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n <g id=\"sectors-2\">\n <circle cx=\"450\" cy=\"152\" r=\"15\" data-r=\"15\" id=\"Fill-115\" fill=\"#A4D6CF\"></circle>\n <circle cx=\"570\" cy=\"165\" r=\"6\" data-r=\"6\" id=\"Fill-116\" fill=\"#6BC1BA\"></circle>\n <circle cx=\"600\" cy=\"225\" r=\"6\" data-r=\"6\" id=\"Fill-117\" fill=\"#A4D6CF\"></circle>\n <circle cx=\"505\" cy=\"270\" r=\"10\" data-r=\"10\" id=\"Fill-118\" fill=\"#DAEEEB\"></circle>\n <g id=\"Professional-Valuation-Services\" className=\"115\" opacity={0} transform={document.documentElement.lang === \"fr-FR\" ? \"translate(0.000000, 160.000000)\" : \"translate(30.000000, 160.000000)\" } fill=\"#1B193F\" font-family=\"Gotham-Book, Gotham\" font-size=\"18\" font-weight=\"300\">\n <text id=\"Professional-Valuati\">\n <tspan x=\"0\" y=\"0\">{t('pro.professional')}</tspan>\n <tspan x={document.documentElement.lang === \"fr-FR\" ? \"78\" : \"115\" } y=\"0\">{t('pro.Valuation')}</tspan>\n <tspan x={document.documentElement.lang === \"fr-FR\" ? \"210\" : \"205\" } y=\"0\">{t('pro.Services')}</tspan>\n </text>\n </g>\n <g id=\"Financial-Services\" className=\"118\" opacity={0} transform={document.documentElement.lang === \"fr-FR\" ? \"translate(175.000000, 262.000000)\" : \"translate(175.000000, 262.000000)\" } fill=\"#1B193F\" font-family=\"Gotham-Book, Gotham\" font-size=\"17\" font-weight=\"300\">\n <text>\n <tspan x={document.documentElement.lang === \"fr-FR\" ? \"50\" : \"0\" } y=\"0\">{t('pro.Financial Services')}</tspan>\n <tspan x=\"85\" y=\"25\">{t('pro.Government')}</tspan>\n </text>\n </g>\n <g id=\"Other\" className=\"116\" opacity={0} transform={document.documentElement.lang === \"fr-FR\" ? \"translate(710.000000, 218.000000)\" : \"translate(710.000000, 218.000000)\" } fill=\"#1B193F\" font-family=\"Gotham-ExtraLight, Gotham\" font-size=\"16\" font-weight=\"300\">\n <text>\n <tspan x=\"0.802\" y=\"10\">{t('pro.Retired')}</tspan>\n </text>\n </g>\n <g id=\"50%\" class=\"115\" opacity={0} transform=\"translate(415.000000, 165.000000)\" fill=\"#221D58\" font-family=\"Gotham-Bold, Gotham\" font-size=\"36\" font-weight=\"bold\"><text id=\"49%\"><tspan x=\"0\" y=\"0\">52%</tspan></text></g>\n <g id=\"34%\" class=\"118\" opacity={0} transform=\"translate(470, 265)\" fill=\"#1B193F\" font-family=\"Gotham-Bold, Gotham\" font-size=\"34\" font-weight=\"bold\"><text><tspan x=\"0.5856\" y=\"14.800781\">41%</tspan></text></g>\n <g id=\"10%\" class=\"116\" opacity={0} transform=\"translate(557.000000, 158.000000)\" fill=\"#1B193F\" font-family=\"Gotham-Bold, Gotham\" font-size=\"22\" font-weight=\"bold\"><text><tspan x=\"0.2997\" y=\"14.800781\">4%</tspan></text></g>\n <g id=\"Retired\" className=\"117\" opacity={0} transform=\"translate(695.000000, 160.000000)\" fill=\"#FFFFFF\" font-family=\"Gotham-Bold, Gotham\" font-size=\"16\" font-weight=\"300\">\n <text>\n <tspan x=\"0\" y=\"9\">{t('pro.Other')}</tspan>\n </text>\n </g>\n <g id=\"6%\" class=\"117\" opacity={0} transform=\"translate(585.000000, 218.000000)\" fill=\"#221D58\" font-family=\"Gotham-Bold, Gotham\" font-size=\"22\" font-weight=\"700\"><text><tspan x=\"0.2495\" y=\"14.800781\">3%</tspan></text></g>\n <path class=\"115-line\" opacity={0} d=\"M320,155 L390,155\" id=\"Stroke-210\" stroke=\"#AED5CF\" stroke-width=\"1.5\"></path>\n <path class=\"118-line\" opacity={0} d=\"M410,270 L460,270\" id=\"Stroke-210\" stroke=\"#DEEDEB\" stroke-width=\"1.5\"></path>\n <path class=\"116-line\" opacity={0} d=\"M680,165 L595,165\" id=\"Stroke-210\" stroke=\"#7FBFBA\" stroke-width=\"1.5\"></path>\n <path class=\"117-line\" opacity={0} d=\"M700,225 L625,225\" id=\"Stroke-210\" stroke=\"#AED5CF\" stroke-width=\"1.5\"></path>\n </g>\n </g>\n </svg>\n </>\n )\n}\n\nexport default memo(ProgressionChart2022);","import React, { memo } from \"react\";\nimport { BarChart, Bar, ResponsiveContainer, LabelList, XAxis, YAxis, Cell } from 'recharts';\nimport { useTranslation, Trans } from 'react-i18next';\n\nconst renderCustomizedLabel2021 = (props) => {\n const {\n x, y, width, height, name, fill\n } = props;\n\n return (\n <text x={20} y={y + 30} fill={\"#fff\"} offset={15} height={55} textAnchor=\"start\">\n {(name < 900)?name+\"*\":name}\n </text>\n );\n };\n\nconst CBVBars2021 = ({ data }) => {\n\n const { t } = useTranslation();\n \n return (\n <>\n <ResponsiveContainer width={'100%'} >\n <BarChart layout=\"vertical\" data={ data } height={600}>\n <XAxis type=\"number\" dataKey=\"value\" axisLine={false} tick={false} /> \n <YAxis dataKey=\"name\" type=\"category\" axisLine={false} tick={false}/>\n <Bar dataKey=\"value\">\n {\n data.map((entry, index) => (\n <Cell x={0} height={45} key={`cell-${index}`} fill={(index % 2 == 0)?\"#6AC9C8\":\"#b0e0df\"} />\n ))\n }\n <LabelList dataKey=\"name\" content={renderCustomizedLabel2021} />\n </Bar>\n </BarChart>\n </ResponsiveContainer>\n </>\n )\n}\n\nexport default memo(CBVBars2021);","import React, { useState } from \"react\";\nimport ReactDOM from \"react-dom\";\nimport ReactTooltip from \"react-tooltip\";\n\nimport './i18n';\nimport MapChart from \"./MapChart\";\nimport GraphChart from \"./GraphChart\";\nimport PiChart from './PiChart';\nimport CBVBars from './BarChart';\nimport ProgressionChart from './ProgressionChart';\nimport ProgressionChart2021 from './ProgressionChart2021';\nimport ProgressionChart2022 from './ProgressionChart2022';\nimport CBVBars2021 from './BarChart2021';\n\nfunction CBVGlobe(props) {\n const [content, setContent] = useState(\"\");\n const [countries] = useState(props.countries);\n return (\n <div>\n <MapChart setTooltipContent={setContent} countries={countries} />\n <ReactTooltip backgroundColor=\"#715f8a\" textColor=\"white\">{content}</ReactTooltip>\n </div>\n );\n}\n\nwindow.renderGlobe = (el) => {\n ReactDOM.render(<CBVGlobe countries={JSON.parse(el.dataset.countries)} />, el);\n}\n\n\nfunction CBVGraph(props) {\n const [data] = useState(props.data);\n return (\n <div>\n <GraphChart data={data} />\n </div>\n );\n}\n\nwindow.renderGraph = (el) => {\n ReactDOM.render(<CBVGraph data={JSON.parse(el.dataset.points)} />, el);\n}\n\nfunction CBVPI(props) {\n const [data] = useState(props.data);\n const [color] = useState(props.color);\n return (\n <PiChart data={data} color={color} />\n );\n}\n\nwindow.renderPI = (el) => {\n ReactDOM.render(<CBVPI color={el.dataset.color} data={JSON.parse(el.dataset.points)} />, el);\n}\n\nfunction CBVBarChart2021(props) {\n const [data] = useState(props.data);\n return (\n <CBVBars2021 data={data} />\n );\n}\n\nwindow.renderBarChart2021 = (el) => {\n ReactDOM.render(<CBVBarChart2021 data={JSON.parse(el.dataset.points)} />, el);\n}\n\nfunction CBVBarChart(props) {\n const [data] = useState(props.data);\n return (\n <CBVBars data={data} />\n );\n}\n\nwindow.renderBarChart = (el) => {\n ReactDOM.render(<CBVBarChart data={JSON.parse(el.dataset.points)} />, el);\n}\n\nfunction CBVProgression(props) {\n return (\n <ProgressionChart />\n );\n}\n\nwindow.renderProgression = (el) => {\n ReactDOM.render(<CBVProgression />, el);\n}\n\nfunction CBVProgression2021(props) {\n return (\n <ProgressionChart2021 />\n );\n}\n\nwindow.renderProgression2021 = (el) => {\n ReactDOM.render(<CBVProgression2021 />, el);\n}\n\nfunction CBVProgression2022(props) {\n return (\n <ProgressionChart2022 />\n );\n}\n\nwindow.renderProgression2022 = (el) => {\n ReactDOM.render(<CBVProgression2022 />, el);\n}"],"sourceRoot":""}
\ No newline at end of file
!function(e){function r(r){for(var n,l,f=r[0],i=r[1],a=r[2],p=0,s=[];p<f.length;p++)l=f[p],Object.prototype.hasOwnProperty.call(o,l)&&o[l]&&s.push(o[l][0]),o[l]=0;for(n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n]);for(c&&c(r);s.length;)s.shift()();return u.push.apply(u,a||[]),t()}function t(){for(var e,r=0;r<u.length;r++){for(var t=u[r],n=!0,f=1;f<t.length;f++){var i=t[f];0!==o[i]&&(n=!1)}n&&(u.splice(r--,1),e=l(l.s=t[0]))}return e}var n={},o={1:0},u=[];function l(r){if(n[r])return n[r].exports;var t=n[r]={i:r,l:!1,exports:{}};return e[r].call(t.exports,t,t.exports,l),t.l=!0,t.exports}l.m=e,l.c=n,l.d=function(e,r,t){l.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},l.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},l.t=function(e,r){if(1&r&&(e=l(e)),8&r)return e;if(4&r&&"object"===typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(l.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var n in e)l.d(t,n,function(r){return e[r]}.bind(null,n));return t},l.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return l.d(r,"a",r),r},l.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},l.p="/";var f=this["webpackJsonpcbv-globe"]=this["webpackJsonpcbv-globe"]||[],i=f.push.bind(f);f.push=r,f=f.slice();for(var a=0;a<f.length;a++)r(f[a]);var c=i;t()}([]);
//# sourceMappingURL=runtime-main.a933fda7.js.map
\ No newline at end of file
{"version":3,"sources":["../webpack/bootstrap"],"names":["webpackJsonpCallback","data","moduleId","chunkId","chunkIds","moreModules","executeModules","i","resolves","length","Object","prototype","hasOwnProperty","call","installedChunks","push","modules","parentJsonpFunction","shift","deferredModules","apply","checkDeferredModules","result","deferredModule","fulfilled","j","depId","splice","__webpack_require__","s","installedModules","1","exports","module","l","m","c","d","name","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","p","jsonpArray","this","oldJsonpFunction","slice"],"mappings":"aACE,SAASA,EAAqBC,GAQ7B,IAPA,IAMIC,EAAUC,EANVC,EAAWH,EAAK,GAChBI,EAAcJ,EAAK,GACnBK,EAAiBL,EAAK,GAIHM,EAAI,EAAGC,EAAW,GACpCD,EAAIH,EAASK,OAAQF,IACzBJ,EAAUC,EAASG,GAChBG,OAAOC,UAAUC,eAAeC,KAAKC,EAAiBX,IAAYW,EAAgBX,IACpFK,EAASO,KAAKD,EAAgBX,GAAS,IAExCW,EAAgBX,GAAW,EAE5B,IAAID,KAAYG,EACZK,OAAOC,UAAUC,eAAeC,KAAKR,EAAaH,KACpDc,EAAQd,GAAYG,EAAYH,IAKlC,IAFGe,GAAqBA,EAAoBhB,GAEtCO,EAASC,QACdD,EAASU,OAATV,GAOD,OAHAW,EAAgBJ,KAAKK,MAAMD,EAAiBb,GAAkB,IAGvDe,IAER,SAASA,IAER,IADA,IAAIC,EACIf,EAAI,EAAGA,EAAIY,EAAgBV,OAAQF,IAAK,CAG/C,IAFA,IAAIgB,EAAiBJ,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,EAAPE,GAA4B,iBAATF,EAAmB,IAAI,IAAIM,KAAON,EAAOnB,EAAoBS,EAAEc,EAAIE,EAAK,SAASA,GAAO,OAAON,EAAMM,IAAQC,KAAK,KAAMD,IAC9I,OAAOF,GAIRvB,EAAoB2B,EAAI,SAAStB,GAChC,IAAIM,EAASN,GAAUA,EAAOiB,WAC7B,WAAwB,OAAOjB,EAAgB,SAC/C,WAA8B,OAAOA,GAEtC,OADAL,EAAoBS,EAAEE,EAAQ,IAAKA,GAC5BA,GAIRX,EAAoBY,EAAI,SAASgB,EAAQC,GAAY,OAAO/C,OAAOC,UAAUC,eAAeC,KAAK2C,EAAQC,IAGzG7B,EAAoB8B,EAAI,IAExB,IAAIC,EAAaC,KAAK,yBAA2BA,KAAK,0BAA4B,GAC9EC,EAAmBF,EAAW5C,KAAKuC,KAAKK,GAC5CA,EAAW5C,KAAOf,EAClB2D,EAAaA,EAAWG,QACxB,IAAI,IAAIvD,EAAI,EAAGA,EAAIoD,EAAWlD,OAAQF,IAAKP,EAAqB2D,EAAWpD,IAC3E,IAAIU,EAAsB4C,EAI1BxC,I","file":"static/js/runtime-main.a933fda7.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n \t\tvar executeModules = data[2];\n\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t\t// add entry modules from loaded chunk to deferred list\n \t\tdeferredModules.push.apply(deferredModules, executeModules || []);\n\n \t\t// run deferred modules when all chunks ready\n \t\treturn checkDeferredModules();\n \t};\n \tfunction checkDeferredModules() {\n \t\tvar result;\n \t\tfor(var i = 0; i < deferredModules.length; i++) {\n \t\t\tvar deferredModule = deferredModules[i];\n \t\t\tvar fulfilled = true;\n \t\t\tfor(var j = 1; j < deferredModule.length; j++) {\n \t\t\t\tvar depId = deferredModule[j];\n \t\t\t\tif(installedChunks[depId] !== 0) fulfilled = false;\n \t\t\t}\n \t\t\tif(fulfilled) {\n \t\t\t\tdeferredModules.splice(i--, 1);\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = deferredModule[0]);\n \t\t\t}\n \t\t}\n\n \t\treturn result;\n \t}\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t1: 0\n \t};\n\n \tvar deferredModules = [];\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/\";\n\n \tvar jsonpArray = this[\"webpackJsonpcbv-globe\"] = this[\"webpackJsonpcbv-globe\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \t// run deferred modules from other chunks\n \tcheckDeferredModules();\n"],"sourceRoot":""}
\ No newline at end of file
This diff could not be displayed because it is too large.
{
"name": "cbv-globe",
"version": "0.1.0",
"private": true,
"dependencies": {
"@testing-library/jest-dom": "^5.11.4",
"@testing-library/react": "^11.1.0",
"@testing-library/user-event": "^12.1.10",
"babel-loader": "8.1.0",
"i18next": "^20.3.1",
"i18next-browser-languagedetector": "^6.1.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-i18next": "^11.10.0",
"react-scripts": "4.0.3",
"react-simple-maps": "2.1.2",
"react-spring": "^9.2.1",
"react-tooltip": "latest",
"react-visibility-sensor": "^5.1.1",
"recharts": "^2.0.9",
"web-vitals": "^1.0.1"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
}
<svg width="768px" height="318px" viewBox="0 0 768 318" version="1.1">
<title>sectors-2</title>
<desc>Created with Sketch.</desc>
<defs></defs>
<g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="sectors-2">
<circle cx="300" cy="152" r="58" data-r="58" id="Fill-115" fill="#A4D6CF"></circle>
<circle cx="450" cy="150" r="24" data-r="24" id="Fill-116" fill="#6BC1BA"></circle>
<circle cx="470" cy="225" r="2425" data-r="24" id="Fill-117" fill="#A4D6CF"></circle>
<circle cx="375" cy="280" r="47" data-r="47" id="Fill-118" fill="#DAEEEB"></circle>
<g id="Professional-Valuation-Services" className="115" opacity={0} transform={document.documentElement.lang === "fr-FR" ? "translate(50.000000, 83.000000)" : "translate(50.000000, 83.000000)" } fill="#1B193F" font-family="Gotham-ExtraLight, Gotham" font-size="18" font-weight="300">
<text id="Professional-Valuati">
<tspan x="0.273" y="14">{t('pro.professional')}</tspan>
<tspan x={t('pro.valuation.x')} y="35.6000073">{t('pro.Valuation')}</tspan>
<tspan x={t('pro.services.x')} y="57.2000146">{t('pro.Services')}</tspan>
</text>
</g>
<g id="Financial-Services" className="118" opacity={0} transform={document.documentElement.lang === "fr-FR" ? "translate(125.000000, 224.000000)" : "translate(125.000000, 224.000000)" } fill="#1B193F" font-family="Gotham-ExtraLight, Gotham" font-size="13" font-weight="300">
<text>
<tspan x="0.677" y="10">{t('pro.Financial Services')}</tspan>
<tspan x="17.395" y="25.6000053">{t('pro.Industry')}</tspan>
<tspan x="18.5585" y="41.2000105">{t('pro.Government')}</tspan>
</text>
</g>
<g id="Other" className="116" opacity={0} transform={document.documentElement.lang === "fr-FR" ? "translate(55.000000, 224.000000)" : "translate(63.000000, 224.000000)" } fill="#1B193F" font-family="Gotham-ExtraLight, Gotham" font-size="10" font-weight="300">
<text>
<tspan x="0.802" y="10">{t('pro.Retired')}</tspan>
</text>
</g>
<g id="50%" class="115" opacity="1" transform="translate(270.000000, 147.000000)" fill="#1B193F" font-family="Gotham-Bold, Gotham" font-size="36" font-weight="bold" style="opacity: 1;"><text id="49%"><tspan x="0.8076" y="14.8007812">50%</tspan></text></g>
<g id="34%" class="118" opacity="1" transform="translate(345.000000, 275.000000)" fill="#1B193F" font-family="Gotham-Bold, Gotham" font-size="34" font-weight="bold" style="opacity: 1;"><text><tspan x="0.5856" y="14.800781">39%</tspan></text></g>
<g id="10%" class="116" opacity="1" transform="translate(437.000000, 143.000000)" fill="#1B193F" font-family="Gotham-Bold, Gotham" font-size="22" font-weight="bold" style="opacity: 1;"><text><tspan x="0.2997" y="14.800781">3%</tspan></text></g>
<g id="Retired" className="117" opacity={0} transform="translate(76.000000, 308.000000)" fill="#FFFFFF" font-family="Gotham-ExtraLight, Gotham" font-size="11" font-weight="300">
<text>
<tspan x="0" y="9">{t('pro.Other')}</tspan>
</text>
</g>
<g id="6%" class="117" opacity="1" transform="translate(455.000000, 217.000000)" fill="#221D58" font-family="Gotham-Bold, Gotham" font-size="22" font-weight="700" style="opacity: 1;"><text><tspan x="0.2495" y="14.800781">3%</tspan></text></g>
<path className="117" opacity={0} d="M94.4777,289.2349 L94.4777,263.4129" id="Stroke-210" stroke="#FFFFFF" stroke-width="0.5"></path>
</g>
</g>
</svg>
\ No newline at end of file
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="theme-color" content="#000000">
<!--
manifest.json provides metadata used when your web app is added to the
homescreen on Android. See https://developers.google.com/web/fundamentals/engage-and-retain/web-app-manifest/
-->
<link rel="manifest" href="%PUBLIC_URL%/manifest.json">
<link rel="shortcut icon" href="%PUBLIC_URL%/favicon.ico">
<!--
Notice the use of %PUBLIC_URL% in the tags above.
It will be replaced with the URL of the `public` folder during the build.
Only files inside the `public` folder can be referenced from the HTML.
Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
work correctly both with client-side routing and a non-root public URL.
Learn how to configure a non-root public URL by running `npm run build`.
-->
<title>React App</title>
</head>
<body>
<noscript>
You need to enable JavaScript to run this app.
</noscript>
<div id="cbv-globe"></div>
<!--
This HTML file is a template.
If you open it directly in the browser, you will see an empty page.
You can add webfonts, meta tags, or analytics to this file.
The build step will place the bundled scripts into the <body> tag.
To begin the development, run `npm start` or `yarn start`.
To create a production bundle, use `npm run build` or `yarn build`.
-->
</body>
<script>
window.renderProgression(document.getElementById('cbv-globe'));
</script>
</html>
\ No newline at end of file
{
"short_name": "React App",
"name": "Create React App Sample",
"icons": [
{
"src": "favicon.ico",
"sizes": "64x64 32x32 24x24 16x16",
"type": "image/x-icon"
},
{
"src": "logo192.png",
"type": "image/png",
"sizes": "192x192"
},
{
"src": "logo512.png",
"type": "image/png",
"sizes": "512x512"
}
],
"start_url": ".",
"display": "standalone",
"theme_color": "#000000",
"background_color": "#ffffff"
}
# https://www.robotstxt.org/robotstxt.html
User-agent: *
Disallow:
This diff could not be displayed because it is too large.
import React, { memo } from "react";
import { BarChart, Bar, ResponsiveContainer, LabelList, XAxis, YAxis, Cell } from 'recharts';
import { useTranslation, Trans } from 'react-i18next';
const renderCustomizedLabel = (props) => {
const {
x, y, width, height, name, fill
} = props;
return (
<text x={20} y={y + 35} fill={"#fff"} offset={15} height={55} textAnchor="start">
{(name < 900)?name+"*":name}
</text>
);
};
const CBVBars = ({ data }) => {
const { t } = useTranslation();
return (
<>
<ResponsiveContainer width={'100%'} >
<BarChart layout="vertical" data={ data } height={600}>
<XAxis type="number" dataKey="value" axisLine={false} tick={false} />
<YAxis dataKey="name" type="category" axisLine={false} tick={false}/>
<Bar dataKey="value">
{
data.map((entry, index) => (
<Cell x={0} height={55} key={`cell-${index}`} fill={(index % 2 == 0)?"#706B88":"#453E61"} />
))
}
<LabelList dataKey="name" content={renderCustomizedLabel} />
</Bar>
</BarChart>
</ResponsiveContainer>
<small>&nbsp;{t("one-term-only")}</small>
</>
)
}
export default memo(CBVBars);
\ No newline at end of file
import React, { memo } from "react";
import { BarChart, Bar, ResponsiveContainer, LabelList, XAxis, YAxis, Cell } from 'recharts';
import { useTranslation, Trans } from 'react-i18next';
const renderCustomizedLabel2021 = (props) => {
const {
x, y, width, height, name, fill
} = props;
return (
<text x={20} y={y + 30} fill={"#fff"} offset={15} height={55} textAnchor="start">
{(name < 900)?name+"*":name}
</text>
);
};
const CBVBars2021 = ({ data }) => {
const { t } = useTranslation();
return (
<>
<ResponsiveContainer width={'100%'} >
<BarChart layout="vertical" data={ data } height={600}>
<XAxis type="number" dataKey="value" axisLine={false} tick={false} />
<YAxis dataKey="name" type="category" axisLine={false} tick={false}/>
<Bar dataKey="value">
{
data.map((entry, index) => (
<Cell x={0} height={45} key={`cell-${index}`} fill={(index % 2 == 0)?"#6AC9C8":"#b0e0df"} />
))
}
<LabelList dataKey="name" content={renderCustomizedLabel2021} />
</Bar>
</BarChart>
</ResponsiveContainer>
</>
)
}
export default memo(CBVBars2021);
\ No newline at end of file
import React, { memo } from "react";
import { AreaChart, Area, XAxis, YAxis, Tooltip, ResponsiveContainer } from 'recharts';
import { useTranslation, Trans } from 'react-i18next';
const CustomTooltip = ({ active, payload, label }) => {
const { t } = useTranslation();
if (active && payload && payload.length) {
return (
<div className="custom-tooltip">
<p className="label" style={ {'color':'#221d58'} } >{`${label}`}</p>
</div>
);
}
return null;
};
const GraphChart = ({ data }) => {
var first_val = data[0]['name'];
var last_val = data[data.length - 1]['name'];
var ticks = Math.floor(last_val / 500);
var tick_array = [];
for(var i = 0;i < ticks;++i) {
tick_array.push((i+1) * 500);
}
return (
<>
<ResponsiveContainer width={'99%'} height={475}>
<AreaChart>
<defs>
<linearGradient id="colorUv" x1="0" y1="0" x2="0" y2="1">
<stop offset="0%" stopColor="#b4eded" stopOpacity={1}/>
<stop offset="100%" stopColor="#FFFFFF" stopOpacity={0.1}/>
</linearGradient>
</defs>
<XAxis tick={{ fill: '#FFFFFF' }} stroke="#BFBECF" dataKey="name" ticks={[first_val, last_val]} />
<YAxis tick={{ fill: '#FFFFFF' }} stroke="#BFBECF" ticks={tick_array} />
<Tooltip content={<CustomTooltip />} />
<Area dot={false} strokeWidth={2} data={ data } fill="url(#colorUv)" dataKey="value" stroke="#FFFFFF" />
</AreaChart></ResponsiveContainer>
</>
)
}
export default memo(GraphChart);
\ No newline at end of file
import React, { memo } from "react";
import {
ComposableMap,
Geographies,
Geography
} from "react-simple-maps";
import { useTranslation, Trans } from 'react-i18next';
const geoUrl =
// "http://arreport.test/world-110m.json";
"https://yearinreview.cbvinstitute.com/world-110m.json";
const MapChart = ({ setTooltipContent, countries }) => {
const { t } = useTranslation();
return (
<>
<ComposableMap data-tip="" projection="geoMercator" >
<Geographies geography={geoUrl}>
{({ geographies }) =>
geographies.map(geo => {
var found = false;
for(var i = 0;i < countries.length;++i) {
for(const cprop in geo.properties) {
if(typeof geo.properties[cprop].indexOf == 'function' && geo.properties[cprop].indexOf(countries[i].name) !== -1) {
geo.properties.NICENAME = countries[i].name
found = true;
break;
}
}
}
var style = {};
if(found) {
style = {
default: {
fill: "#5CBFBC",
outline: "#0F1647",
stroke: "#0F1647",
strokeWidth: "0.25px"
},
hover: {
fill: "white",
outline: "none"
}
}
} else {
style = {
default: {
fill: "#594D78",
outline: "none",
},
hover: {
fill: "#594D78",
outline: "none"
},
pressed: {
fill: "#594D78",
outline: "none"
}
}
}
return (
<Geography
key={geo.rsmKey}
geography={geo}
onMouseEnter={() => {
if(found) {
const { NICENAME } = geo.properties;
setTooltipContent(`${NICENAME}`);
}
}}
onMouseLeave={() => {
setTooltipContent("");
}}
style={style}
/>
) } )
}
</Geographies>
</ComposableMap>
</>
);
};
export default memo(MapChart);
import React, { memo } from "react";
import { Pie, PieChart, Sector, ResponsiveContainer } from 'recharts';
const renderActiveShape = (props) => {
const RADIAN = Math.PI / 180;
const { cx, cy, midAngle, innerRadius, outerRadius, startAngle, endAngle, fill, payload, percent, value, name, color, font_color } = props;
const sin = Math.sin(-RADIAN * midAngle);
const cos = Math.cos(-RADIAN * midAngle);
const sx = cx + (outerRadius + 10) * cos;
const sy = cy + (outerRadius + 10) * sin;
const mx = cx + (outerRadius + 30) * cos;
const my = cy + (outerRadius + 30) * sin;
const ex = mx + (cos >= 0 ? 1 : -1) * 22;
const ey = my;
const textAnchor = cos >= 0 ? 'start' : 'end';
return (
<g>
<Sector
cx={cx}
cy={cy}
innerRadius={innerRadius}
outerRadius={outerRadius}
startAngle={startAngle}
endAngle={endAngle}
fill={color}
/>
<Sector
cx={cx}
cy={cy}
startAngle={startAngle}
endAngle={endAngle}
innerRadius={outerRadius + 6}
outerRadius={outerRadius + 10}
fill={color}
/>
<path d={`M${sx},${sy}L${mx},${my}L${ex},${ey}`} stroke={color} fill="none" />
<circle cx={ex} cy={ey} r={2} fill={color} stroke="none" />
<text x={ex + (cos >= 0 ? 1 : -1) * 12} y={ey} style={{fontWeight:'bold'}} textAnchor={textAnchor} fill={font_color}>{`${name}`}</text>
<text x={ex + (cos >= 0 ? 1 : -1) * 12} y={ey} dy={18} textAnchor={textAnchor} fill={font_color}>
{`${(value)}%`}
</text>
</g>
);
};
const PiChart = ({ data, color }) => {
return (
<>
<ResponsiveContainer width={'100%'} height={300}><PieChart>
<Pie
activeIndex={Array.from({length: data.length}, (_, i) => (i-1) + 1)}
activeShape={renderActiveShape}
data={ data } dataKey="value" cx="50%" cy="50%" innerRadius={70} outerRadius={100} fill="#82ca9d" />
</PieChart></ResponsiveContainer>
</>
)
}
export default memo(PiChart);
\ No newline at end of file
import React, { memo } from "react";
import { useTranslation, Trans } from 'react-i18next';
const ProgressionChart = (props) => {
const { t } = useTranslation();
return (
<>
<svg width="240px" height="318px" viewBox="0 0 240 318" version="1.1">
<title>sectors-2</title>
<desc>Created with Sketch.</desc>
<defs></defs>
<g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="sectors-2">
<circle cx="94" cy="102" r="0" data-r="85" id="Fill-115" fill="#A4D6CF" ></circle>
<circle cx="78" cy="217" r="0" data-r="31" id="Fill-116" fill="#6BC1BA"></circle>
<circle cx="96" cy="265" r="0" data-r="21" id="Fill-117" fill="#A4D6CF"></circle>
<circle cx="175" cy="230" r="0" data-r="65" id="Fill-118" fill="#DAEEEB"></circle>
<g id="Professional-Valuation-Services" className="115" opacity={0} transform="translate(41.000000, 83.000000)" fill="#1B193F" font-family="Gotham-ExtraLight, Gotham" font-size="18" font-weight="300">
<text id="Professional-Valuati">
<tspan x="0.273" y="14">{t('pro.professional')}</tspan>
<tspan x={t('pro.valuation.x')} y="35.6000073">{t('pro.Valuation')}</tspan>
<tspan x={t('pro.services.x')} y="57.2000146">{t('pro.Services')}</tspan>
</text>
</g>
<g id="Financial-Services" className="118" opacity={0} transform="translate(117.000000, 224.000000)" fill="#1B193F" font-family="Gotham-ExtraLight, Gotham" font-size="13" font-weight="300">
<text>
<tspan x="0.677" y="10">{t('pro.Financial Services')}</tspan>
<tspan x="17.395" y="25.6000053">{t('pro.Industry')}</tspan>
<tspan x="18.5585" y="41.2000105">{t('pro.Government')}</tspan>
</text>
</g>
<g id="Other" className="116" opacity={0} transform="translate(59.000000, 224.000000)" fill="#1B193F" font-family="Gotham-ExtraLight, Gotham" font-size="12" font-weight="300">
<text>
<tspan x="0.802" y="10">{t('pro.Other')}</tspan>
</text>
</g>
<g id="50%" className="115" opacity={0} transform="translate(73.000000, 58.000000)" fill="#1B193F" font-family="Gotham-Bold, Gotham" font-size="18" font-weight="bold">
<text id="49%">
<tspan x="0.8076" y="14.8007812">49%</tspan>
</text>
</g>
<g id="34%" className="118" opacity={0} transform="translate(154.000000, 201.000000)" fill="#1B193F" font-family="Gotham-Bold, Gotham" font-size="18" font-weight="bold">
<text>
<tspan x="0.5856" y="14.800781">36%</tspan>
</text>
</g>
<g id="10%" className="116" opacity={0} transform="translate(59.000000, 204.000000)" fill="#1B193F" font-family="Gotham-Bold, Gotham" font-size="18" font-weight="bold">
<text>
<tspan x="0.2997" y="14.800781">9%</tspan>
</text>
</g>
<g id="Retired" className="117" opacity={0} transform="translate(76.000000, 308.000000)" fill="#FFFFFF" font-family="Gotham-ExtraLight, Gotham" font-size="11" font-weight="300">
<text>
<tspan x="0" y="9">{t('pro.Retired')}</tspan>
</text>
</g>
<g id="6%" className="117" opacity={0} transform="translate(81.000000, 288.000000)" fill="#FFFFFF" font-family="Gotham-Medium, Gotham" font-size="18" font-weight="400">
<text>
<tspan x="0.2495" y="14.800781">6%</tspan>
</text>
</g>
<path className="117" opacity={0} d="M94.4777,289.2349 L94.4777,263.4129" id="Stroke-210" stroke="#FFFFFF" stroke-width="0.5"></path>
</g>
</g>
</svg>
</>
)
}
export default memo(ProgressionChart);
\ No newline at end of file
import React, { memo } from "react";
import { useTranslation, Trans } from 'react-i18next';
const ProgressionChart2021 = () => {
const { t } = useTranslation();
return (
<>
<svg width="240px" height="318px" viewBox="0 0 240 318" version="1.1">
<title>sectors-2</title>
<desc>Created with Sketch.</desc>
<defs></defs>
<g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="sectors-2">
<circle cx="94" cy="102" r="0" data-r="85" id="Fill-115" fill="#A4D6CF" ></circle>
<circle cx="78" cy="217" r="0" data-r="31" id="Fill-116" fill="#6BC1BA"></circle>
<circle cx="96" cy="265" r="0" data-r="21" id="Fill-117" fill="#A4D6CF"></circle>
<circle cx="175" cy="230" r="0" data-r="65" id="Fill-118" fill="#DAEEEB"></circle>
<g id="Professional-Valuation-Services" className="115" opacity={0} transform={document.documentElement.lang === "fr-FR" ? "translate(50.000000, 83.000000)" : "translate(50.000000, 83.000000)" } fill="#1B193F" font-family="Gotham-ExtraLight, Gotham" font-size="18" font-weight="300">
<text id="Professional-Valuati">
<tspan x="0.273" y="14">{t('pro.professional')}</tspan>
<tspan x={t('pro.valuation.x')} y="35.6000073">{t('pro.Valuation')}</tspan>
<tspan x={t('pro.services.x')} y="57.2000146">{t('pro.Services')}</tspan>
</text>
</g>
<g id="Financial-Services" className="118" opacity={0} transform={document.documentElement.lang === "fr-FR" ? "translate(125.000000, 224.000000)" : "translate(125.000000, 224.000000)" } fill="#1B193F" font-family="Gotham-ExtraLight, Gotham" font-size="13" font-weight="300">
<text>
<tspan x="0.677" y="10">{t('pro.Financial Services')}</tspan>
<tspan x="17.395" y="25.6000053">{t('pro.Industry')}</tspan>
<tspan x="18.5585" y="41.2000105">{t('pro.Government')}</tspan>
</text>
</g>
<g id="Other" className="116" opacity={0} transform={document.documentElement.lang === "fr-FR" ? "translate(55.000000, 224.000000)" : "translate(63.000000, 224.000000)" } fill="#1B193F" font-family="Gotham-ExtraLight, Gotham" font-size="10" font-weight="300">
<text>
<tspan x="0.802" y="10">{t('pro.Retired')}</tspan>
</text>
</g>
<g id="50%" className="115" opacity={0} transform="translate(73.000000, 58.000000)" fill="#1B193F" font-family="Gotham-Bold, Gotham" font-size="18" font-weight="bold">
<text id="49%">
<tspan x="0.8076" y="14.8007812">50%</tspan>
</text>
</g>
<g id="34%" className="118" opacity={0} transform="translate(154.000000, 201.000000)" fill="#1B193F" font-family="Gotham-Bold, Gotham" font-size="18" font-weight="bold">
<text>
<tspan x="0.5856" y="14.800781">39%</tspan>
</text>
</g>
<g id="10%" className="116" opacity={0} transform="translate(66.000000, 204.000000)" fill="#1B193F" font-family="Gotham-Bold, Gotham" font-size="18" font-weight="bold">
<text>
<tspan x="0.2997" y="14.800781">7%</tspan>
</text>
</g>
<g id="Retired" className="117" opacity={0} transform="translate(76.000000, 308.000000)" fill="#FFFFFF" font-family="Gotham-ExtraLight, Gotham" font-size="11" font-weight="300">
<text>
<tspan x="0" y="9">{t('pro.Other')}</tspan>
</text>
</g>
<g id="6%" className="117" opacity={0} transform="translate(81.000000, 288.000000)" fill="#FFFFFF" font-family="Gotham-Medium, Gotham" font-size="18" font-weight="400">
<text>
<tspan x="0.2495" y="14.800781">4%</tspan>
</text>
</g>
<path className="117" opacity={0} d="M94.4777,289.2349 L94.4777,263.4129" id="Stroke-210" stroke="#FFFFFF" stroke-width="0.5"></path>
</g>
</g>
</svg>
</>
)
}
export default memo(ProgressionChart2021);
\ No newline at end of file
import React, { memo } from "react";
import { useTranslation, Trans } from 'react-i18next';
const ProgressionChart2022 = () => {
const { t } = useTranslation();
return (
<>
<svg width="1024px" height="400px" viewBox="0 0 1024 400" version="1.1">
<title>sectors-2</title>
<desc>Created with Sketch.</desc>
<defs></defs>
<g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="sectors-2">
<circle cx="450" cy="152" r="15" data-r="15" id="Fill-115" fill="#A4D6CF"></circle>
<circle cx="570" cy="165" r="6" data-r="6" id="Fill-116" fill="#6BC1BA"></circle>
<circle cx="600" cy="225" r="6" data-r="6" id="Fill-117" fill="#A4D6CF"></circle>
<circle cx="505" cy="270" r="10" data-r="10" id="Fill-118" fill="#DAEEEB"></circle>
<g id="Professional-Valuation-Services" className="115" opacity={0} transform={document.documentElement.lang === "fr-FR" ? "translate(0.000000, 160.000000)" : "translate(30.000000, 160.000000)" } fill="#1B193F" font-family="Gotham-Book, Gotham" font-size="18" font-weight="300">
<text id="Professional-Valuati">
<tspan x="0" y="0">{t('pro.professional')}</tspan>
<tspan x={document.documentElement.lang === "fr-FR" ? "78" : "115" } y="0">{t('pro.Valuation')}</tspan>
<tspan x={document.documentElement.lang === "fr-FR" ? "210" : "205" } y="0">{t('pro.Services')}</tspan>
</text>
</g>
<g id="Financial-Services" className="118" opacity={0} transform={document.documentElement.lang === "fr-FR" ? "translate(175.000000, 262.000000)" : "translate(175.000000, 262.000000)" } fill="#1B193F" font-family="Gotham-Book, Gotham" font-size="17" font-weight="300">
<text>
<tspan x={document.documentElement.lang === "fr-FR" ? "50" : "0" } y="0">{t('pro.Financial Services')}</tspan>
<tspan x="85" y="25">{t('pro.Government')}</tspan>
</text>
</g>
<g id="Other" className="116" opacity={0} transform={document.documentElement.lang === "fr-FR" ? "translate(710.000000, 218.000000)" : "translate(710.000000, 218.000000)" } fill="#1B193F" font-family="Gotham-ExtraLight, Gotham" font-size="16" font-weight="300">
<text>
<tspan x="0.802" y="10">{t('pro.Retired')}</tspan>
</text>
</g>
<g id="50%" class="115" opacity={0} transform="translate(415.000000, 165.000000)" fill="#221D58" font-family="Gotham-Bold, Gotham" font-size="36" font-weight="bold"><text id="49%"><tspan x="0" y="0">52%</tspan></text></g>
<g id="34%" class="118" opacity={0} transform="translate(470, 265)" fill="#1B193F" font-family="Gotham-Bold, Gotham" font-size="34" font-weight="bold"><text><tspan x="0.5856" y="14.800781">41%</tspan></text></g>
<g id="10%" class="116" opacity={0} transform="translate(557.000000, 158.000000)" fill="#1B193F" font-family="Gotham-Bold, Gotham" font-size="22" font-weight="bold"><text><tspan x="0.2997" y="14.800781">4%</tspan></text></g>
<g id="Retired" className="117" opacity={0} transform="translate(695.000000, 160.000000)" fill="#FFFFFF" font-family="Gotham-Bold, Gotham" font-size="16" font-weight="300">
<text>
<tspan x="0" y="9">{t('pro.Other')}</tspan>
</text>
</g>
<g id="6%" class="117" opacity={0} transform="translate(585.000000, 218.000000)" fill="#221D58" font-family="Gotham-Bold, Gotham" font-size="22" font-weight="700"><text><tspan x="0.2495" y="14.800781">3%</tspan></text></g>
<path class="115-line" opacity={0} d="M320,155 L390,155" id="Stroke-210" stroke="#AED5CF" stroke-width="1.5"></path>
<path class="118-line" opacity={0} d="M410,270 L460,270" id="Stroke-210" stroke="#DEEDEB" stroke-width="1.5"></path>
<path class="116-line" opacity={0} d="M680,165 L595,165" id="Stroke-210" stroke="#7FBFBA" stroke-width="1.5"></path>
<path class="117-line" opacity={0} d="M700,225 L625,225" id="Stroke-210" stroke="#AED5CF" stroke-width="1.5"></path>
</g>
</g>
</svg>
</>
)
}
export default memo(ProgressionChart2022);
\ No newline at end of file
import i18n from 'i18next';
import { initReactI18next } from 'react-i18next';
import LanguageDetector from 'i18next-browser-languagedetector';
i18n
// detect user language
// learn more: https://github.com/i18next/i18next-browser-languageDetector
.use(LanguageDetector)
// pass the i18n instance to react-i18next.
.use(initReactI18next)
// init i18next
// for all options read: https://www.i18next.com/overview/configuration-options
.init({
detection: {
order: ['querystring'],
"lookupQuerystring": 'lang',
lookupCookie: '',
lookupLocalStorage: '',
lookupSessionStorage: '',
caches: [],
},
debug: false,
fallbackLng: 'en',
interpolation: {
escapeValue: false, // not needed for react as it escapes by default
},
resources: {
en: {
translation: {
"one-term-only":"* ONE TERM ONLY",
"pro.valuation.x":"11.991",
"pro.services.x":"16.401",
"pro.professional":"Professional",
"pro.Valuation":"Valuation",
"pro.Services":"Services",
"pro.Financial Services":"Financial Services, Industry",
"pro.Industry":"Industry",
"pro.Government":"and Government",
"pro.Retired":"Retired",
"charts.members":"Members",
"pro.Other":"Other",
}
},
fr: {
translation: {
"pro.valuation.x":"0",
"pro.services.x":"0",
"one-term-only":"*UN TRIMESTRE SEULEMENT",
"pro.professional":"Services",
"pro.Valuation":"professionnels",
"pro.Services":"d’évaluation",
"pro.Financial Services":"Services financiers,",
"pro.Industry":"industrie, et",
"pro.Government":"gouvernement",
"pro.Retired":"À la retraite",
"charts.members":"Membres",
"pro.Other":"Autres",
}
}
}
});
export default i18n;
\ No newline at end of file
import React, { useState } from "react";
import ReactDOM from "react-dom";
import ReactTooltip from "react-tooltip";
import './i18n';
import MapChart from "./MapChart";
import GraphChart from "./GraphChart";
import PiChart from './PiChart';
import CBVBars from './BarChart';
import ProgressionChart from './ProgressionChart';
import ProgressionChart2021 from './ProgressionChart2021';
import ProgressionChart2022 from './ProgressionChart2022';
import CBVBars2021 from './BarChart2021';
function CBVGlobe(props) {
const [content, setContent] = useState("");
const [countries] = useState(props.countries);
return (
<div>
<MapChart setTooltipContent={setContent} countries={countries} />
<ReactTooltip backgroundColor="#715f8a" textColor="white">{content}</ReactTooltip>
</div>
);
}
window.renderGlobe = (el) => {
ReactDOM.render(<CBVGlobe countries={JSON.parse(el.dataset.countries)} />, el);
}
function CBVGraph(props) {
const [data] = useState(props.data);
return (
<div>
<GraphChart data={data} />
</div>
);
}
window.renderGraph = (el) => {
ReactDOM.render(<CBVGraph data={JSON.parse(el.dataset.points)} />, el);
}
function CBVPI(props) {
const [data] = useState(props.data);
const [color] = useState(props.color);
return (
<PiChart data={data} color={color} />
);
}
window.renderPI = (el) => {
ReactDOM.render(<CBVPI color={el.dataset.color} data={JSON.parse(el.dataset.points)} />, el);
}
function CBVBarChart2021(props) {
const [data] = useState(props.data);
return (
<CBVBars2021 data={data} />
);
}
window.renderBarChart2021 = (el) => {
ReactDOM.render(<CBVBarChart2021 data={JSON.parse(el.dataset.points)} />, el);
}
function CBVBarChart(props) {
const [data] = useState(props.data);
return (
<CBVBars data={data} />
);
}
window.renderBarChart = (el) => {
ReactDOM.render(<CBVBarChart data={JSON.parse(el.dataset.points)} />, el);
}
function CBVProgression(props) {
return (
<ProgressionChart />
);
}
window.renderProgression = (el) => {
ReactDOM.render(<CBVProgression />, el);
}
function CBVProgression2021(props) {
return (
<ProgressionChart2021 />
);
}
window.renderProgression2021 = (el) => {
ReactDOM.render(<CBVProgression2021 />, el);
}
function CBVProgression2022(props) {
return (
<ProgressionChart2022 />
);
}
window.renderProgression2022 = (el) => {
ReactDOM.render(<CBVProgression2022 />, el);
}
\ No newline at end of file
......@@ -15552,600 +15552,13 @@ button, input, optgroup, select, textarea {
height: 2.188rem;
padding: 0 12px;
background: white;
margin-right: 20px;
margin-bottom: 5px;
}
.html-form input[multiple=multiple], .html-form select[multiple=multiple] {
height: 5.5rem;
}
.html-form select:after {
content: "";
width: 1.15rem;
height: 1rem;
display: block;
background-repeat: no-repeat;
background-position: center;
background-size: 10px 16px;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16.175' height='9.808' viewBox='0 0 16.175 9.808'%3E%3Cpath id='Path_1396' data-name='Path 1396' d='M19.409 190.005c.561-.568 1.11-1.13 1.667-1.686q2-2 4.01-4a.9.9 0 0 1 1.329 0c.254.261.515.516.772.774a.881.881 0 0 1-.005 1.318q-1.8 1.8-3.605 3.606-1.748 1.75-3.495 3.5a.975.975 0 0 1-.654.312.931.931 0 0 1-.719-.31q-1.349-1.354-2.7-2.706-1.836-1.838-3.674-3.675c-.25-.25-.5-.5-.75-.75A.876.876 0 0 1 11.6 185.1l.766-.766a.9.9 0 0 1 1.348 0l3.252 3.24 2.355 2.345C19.339 189.941 19.363 189.962 19.409 190.005Z' transform='translate(-11.305 -184.028)'/%3E%3C/svg%3E") !important;
pointer-events: none;
}
.html-form select[multiple=multiple]:after {
display: none;
}
.nf-form-cont {
background: #F0F0F0 !important;
padding: 30px;
}
.nf-form-cont h3, .nf-form-cont .h3 {
margin-top: 0px !important;
}
.nf-row.required:before {
content: "* Required field";
display: block;
width: 100%;
text-align: right;
font-size: 1rem;
font-family: "PT Sans", sans-serif;
}
.number-format {
position: relative;
}
.number-format input {
padding-left: 1.525rem !important;
}
.number-format .nf-field-element input {
padding-left: 1.525rem !important;
}
.number-format .nf-field-element:before {
content: "$";
position: absolute;
bottom: 0;
left: 0.5rem;
z-index: 9;
font-size: 1.563rem;
font-weight: 700;
}
.number-format:not(.nf-field-container):before {
content: "$";
position: absolute;
bottom: 0;
left: 0.5rem;
color: black;
}
html:lang(fr-FR) .number-format {
position: relative;
}
html:lang(fr-FR) .number-format input {
padding-left: 0.5rem !important;
}
html:lang(fr-FR) .number-format:not(.nf-field-container):before {
display: none;
}
html:lang(fr-FR) .number-format:not(.nf-field-container):after {
content: "$";
position: absolute;
bottom: 0.25rem;
right: 0.5rem;
color: black;
z-index: 99;
font-size: 1.563rem;
font-weight: 700;
}
html:lang(fr-FR) .number-format {
position: relative;
}
html:lang(fr-FR) .number-format .nf-field-element:before {
display: none;
}
html:lang(fr-FR) .number-format .nf-field-element:after {
content: "$";
position: absolute;
bottom: 0;
right: 0.5rem;
z-index: 9;
font-size: 1.563rem;
font-weight: 700;
}
#dd-container .lets-check, #dd-container .lets-check.disabled, #dd-container .lets-check[disabled], #dd-container .lets-check.disabled:hover, #dd-container .lets-check[disabled]:hover, #dd-container .lets-check.disabled:focus, #dd-container .lets-check[disabled]:focus, .dtd-plugin .lets-check, .dtd-plugin .lets-check.disabled, .dtd-plugin .lets-check[disabled], .dtd-plugin .lets-check.disabled:hover, .dtd-plugin .lets-check[disabled]:hover, .dtd-plugin .lets-check.disabled:focus, .dtd-plugin .lets-check[disabled]:focus {
background-color: #e00 !important;
font-weight: bold;
}
#content {
/*
These two are for the required fields floating text..
*/
}
#content .nf-form-cont p {
color: black;
}
#content #content .list-checkbox-wrap .nf-field-element li label, #content #content .list-image-wrap .nf-field-element li label, #content #content .list-radio-wrap .nf-field-element li label {
margin-top: 0 !important;
}
#content .nf-form-content .listcheckbox-wrap li, #content .nf-form-content .listradio-wrap li {
margin-bottom: 0 !important;
}
#content .nf-row {
position: relative;
}
#content .nf-field-container {
position: static;
}
#content .nf-error {
position: static;
}
#content .checkmark {
border: 1px solid #707070;
}
#content .nf-before-form-content {
display: none;
}
#content .nf-form-title > h3, #content .nf-form-title > .h3 {
font-size: 2.188rem !important;
font-family: "PT Sans", sans-serif;
font-weight: bold;
}
#content .checkbox-wrap .nf-field-element label:before, #content .checkbox-wrap .nf-field-label label:before,
#content .listcheckbox-wrap .nf-field-element label:before, #content .listcheckbox-wrap .nf-field-label label:before {
font-size: 1rem;
height: 1.563rem;
width: 1.563rem;
display: flex;
justify-content: center;
align-items: center;
}
#content .checkbox-container.label-right label:before {
left: -1.8rem;
}
#content .nf-field-element {
font-size: 1rem;
}
#content .nf-row:last-of-type .field-wrap.html-wrap p {
font-size: 0.875rem;
line-height: 1.2;
}
#content .nf-before-form-content {
font-family: "PT Sans", sans-serif;
}
#content .field-wrap.checkbox-wrap {
margin: 0.5rem 0;
}
#content .nf-form-content button, #content .nf-form-content input[type=button], #content .nf-form-content input[type=submit] {
transition: none;
font-family: "PT Sans", sans-serif !important;
font-weight: bold;
border-radius: 0 !important;
}
#content .nf-error.field-wrap .nf-field-element:after {
height: 100%;
top: 0;
right: 0;
bottom: auto;
font-size: 1rem;
line-height: 2.2rem;
}
#content .nf-error-msg.nf-error-required-error {
display: none;
}
#content .nf-field-container.submit-container {
margin: 1rem 0;
}
#content .listradio-wrap .nf-field-element label:after {
top: 0;
}
#content .field-wrap.html-wrap p {
margin-bottom: 0;
}
#content .field-wrap.html-wrap p b {
font-size: 1.25rem;
}
#content .label-left .nf-field-label {
text-align: left;
flex: none;
}
#content .list-checkbox-wrap .nf-field-element li label, #content .list-image-wrap .nf-field-element li label, #content .list-radio-wrap .nf-field-element li label {
height: 1.563rem;
align-items: center;
display: flex;
}
#content .label-left .nf-field-label {
padding-right: 0;
width: 9rem;
box-sizing: content-box;
}
#content .label-left .field-wrap.textbox-wrap .nf-field-label {
padding-right: 0;
}
#content .field-wrap.textarea-wrap {
align-items: center;
}
#content .field-wrap.textarea-wrap .nf-field-label {
max-width: 100%;
white-space: nowrap;
margin-bottom: 5px;
}
#content .field-wrap.listradio-wrap {
align-items: center;
}
#content .field-wrap.listradio-wrap .nf-field-label {
max-width: 100%;
white-space: nowrap;
}
#content .field-wrap.listradio-wrap .nf-field-element ul {
gap: 2.5rem;
}
#content .field-wrap.listradio-wrap .nf-field-element ul li {
margin-bottom: 0 !important;
}
#content .nf-field-container {
margin-bottom: 0.25rem;
}
#content .nf-before-form-content {
text-align: right;
}
#div_MainContent a.pdf:before {
position: static;
}
nf-cells {
display: flex;
gap: 1rem;
}
.nf-cell + .nf-cell .nf-field-label {
text-align: left !important;
}
.nf-multi-cell .nf-cell {
padding: 0 !important;
}
.nf-form-content textarea.ninja-forms-field {
height: 4.688rem !important;
}
.label-left .field-wrap {
flex-wrap: nowrap !important;
}
.field-wrap.listradio-wrap .nf-field-label {
width: 30rem !important;
}
.label-left .nf-field-label {
width: 11rem !important;
}
.label-left .nf-field-label label {
width: auto !important;
}
.checkbox-container.label-right label {
font-family: "PT Sans", sans-serif;
}
.nf-field-element > ul {
display: flex;
}
.nf-form-content {
padding: 0 !important;
max-width: none !important;
margin: 0 !important;
}
.nf-form-content .listselect-wrap .nf-field-element div, .nf-form-content input.ninja-forms-field, .nf-form-content select.ninja-forms-field:not([multiple]) {
height: auto !important;
}
.ninja-forms-field impact-select nf-element {
height: 100% !important;
}
.nf-form-content .listselect-wrap .nf-field-element div, .nf-form-content .ninja-forms-field {
padding: 0.35rem 0.625rem !important;
color: #000000 !important;
font-family: "PT Sans", sans-serif !important;
}
.nf-form-content .list-select-wrap > .nf-field-element {
position: relative;
background: white;
}
.nf-error-msg, .ninja-forms-req-symbol {
color: #4D4D4D !important;
}
.ninja-forms-req-symbol.req-symbol:before {
position: absolute;
top: 0;
right: 0;
content: "* Required fields";
display: block;
width: 100%;
text-align: right;
font-size: 1rem;
font-family: "PT Sans", sans-serif;
color: black;
}
.nf-form-content .list-select-wrap > .nf-field-element > div {
display: none;
}
.nf-form-content .list-select-wrap > .nf-field-element:after {
content: "" !important;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16.175' height='9.808' viewBox='0 0 16.175 9.808'%3E%3Cpath id='Path_1396' data-name='Path 1396' d='M19.409 190.005c.561-.568 1.11-1.13 1.667-1.686q2-2 4.01-4a.9.9 0 0 1 1.329 0c.254.261.515.516.772.774a.881.881 0 0 1-.005 1.318q-1.8 1.8-3.605 3.606-1.748 1.75-3.495 3.5a.975.975 0 0 1-.654.312.931.931 0 0 1-.719-.31q-1.349-1.354-2.7-2.706-1.836-1.838-3.674-3.675c-.25-.25-.5-.5-.75-.75A.876.876 0 0 1 11.6 185.1l.766-.766a.9.9 0 0 1 1.348 0l3.252 3.24 2.355 2.345C19.339 189.941 19.363 189.962 19.409 190.005Z' transform='translate(-11.305 -184.028)'/%3E%3C/svg%3E") !important;
display: block;
width: 1rem;
height: 0.825rem !important;
background-repeat: no-repeat;
position: absolute;
z-index: 9;
right: 1rem;
top: 1rem;
}
.nf-form-content .label-above .nf-field-label, .nf-form-content .label-below .nf-field-label, .nf-form-content .label-hidden .nf-field-label {
margin-bottom: 5px !important;
}
.nf-form-content label {
font-size: 1rem !important;
line-height: 1.2 !important;
font-weight: 300 !important;
color: #000000 !important;
font-family: "PT Sans", sans-serif;
}
.list-select-wrap div:after {
color: #000 !important;
}
.listradio-wrap .nf-element {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
opacity: 0;
}
.submit-wrap .nf-field-label {
display: none !important;
}
.label-left .nf-field-element {
width: 100% !important;
}
.textarea-container .nf-field .field-wrap {
flex-wrap: wrap !important;
}
.textarea-container .nf-field .field-wrap .nf-field-label {
width: 100% !important;
}
.textarea-container .nf-field .field-wrap .nf-field-element {
width: 100% !important;
}
.nf-pass.field-wrap .nf-field-element:after {
line-height: 1.2 !important;
}
.nf-response-msg {
position: fixed;
width: 100%;
height: 100%;
top: 0;
left: 0;
display: flex;
justify-content: center;
align-items: center;
background: rgba(0, 0, 0, 0.75);
z-index: 9999;
}
.nf-response-msg > div {
background: white;
width: 440px;
position: relative;
padding: 2.188rem;
font-size: 1rem;
font-family: "PT Sans", sans-serif;
}
.nf-response-msg > div h1, .nf-response-msg > div .h1, .nf-response-msg > div h2, .nf-response-msg > div .h2, .nf-response-msg > div h3, .nf-response-msg > div .h3, .nf-response-msg > div h4, .nf-response-msg > div .h4, .nf-response-msg > div h5, .nf-response-msg > div .h5 {
font-family: "PT Sans", sans-serif;
font-weight: bold;
font-size: 2.188rem;
}
.nf-response-msg .close-response-modal {
position: absolute;
top: 0;
right: 0;
color: transparent;
background-image: url("data:image/svg+xml,%3Csvg id='Component_138_2' data-name='Component 138 %E2%80%93 2' xmlns='http://www.w3.org/2000/svg' width='35' height='35' viewBox='0 0 35 35'%3E%3Crect id='Rectangle_204' data-name='Rectangle 204' width='35' height='35' fill='%23e00'/%3E%3Cg id='Group_1279' data-name='Group 1279' transform='translate(-924.013 -952.05) rotate(45)'%3E%3Cline id='Line_34' data-name='Line 34' y2='19.943' transform='translate(1350.972 9.5)' fill='none' stroke='%23fff' stroke-width='2'/%3E%3Cline id='Line_35' data-name='Line 35' y2='19.943' transform='translate(1360.943 19.472) rotate(90)' fill='none' stroke='%23fff' stroke-width='2'/%3E%3C/g%3E%3C/svg%3E");
background-repeat: no-repeat;
height: 2.188rem;
width: 2.188rem;
}
.nf-response-msg .close-response-modal:hover {
background-image: url("data:image/svg+xml,%3Csvg id='Component_138_2' data-name='Component 138 %E2%80%93 2' xmlns='http://www.w3.org/2000/svg' width='35' height='35' viewBox='0 0 35 35'%3E%3Crect id='Rectangle_204' data-name='Rectangle 204' width='35' height='35' fill='%23699'/%3E%3Cg id='Group_1279' data-name='Group 1279' transform='translate(-924.013 -952.05) rotate(45)'%3E%3Cline id='Line_34' data-name='Line 34' y2='19.943' transform='translate(1350.972 9.5)' fill='none' stroke='%23fff' stroke-width='2'/%3E%3Cline id='Line_35' data-name='Line 35' y2='19.943' transform='translate(1360.943 19.472) rotate(90)' fill='none' stroke='%23fff' stroke-width='2'/%3E%3C/g%3E%3C/svg%3E");
}
.listradio-wrap .nf-field-element label:after {
width: 1.75rem !important;
height: 1.75rem !important;
left: -2.563rem !important;
border: 2px solid #fff !important;
background: #fff !important;
}
.listradio-wrap .nf-field-element label.nf-checked-label:before {
height: 1.25rem !important;
width: 1.25rem !important;
left: -2.313rem !important;
}
.listradio-wrap .nf-field-element label.nf-checked-label:before {
background: #EE0000 !important;
}
.listradio-wrap .nf-field-element label.nf-checked-label:after {
border-color: #fff !important;
}
.nf-form-cont.full-width .nf-field-container.html-container.label-left:first-of-type {
margin-bottom: 2.563rem !important;
}
.nf-form-cont.full-width .label-left .nf-field-label {
width: auto !important;
padding-right: 1.5rem !important;
}
.nf-form-cont.full-width nf-cells {
gap: 3rem !important;
}
.nf-form-content .list-select-wrap .nf-field-element > div, .nf-form-content input:not([type=button]), .nf-form-content textarea {
border: 0px solid #c4c4c4 !important;
background: #fff !important;
}
.checkbox-wrap .nf-field-element label:after, .checkbox-wrap .nf-field-label label:after, .listcheckbox-wrap .nf-field-element label:after, .listcheckbox-wrap .nf-field-label label:after {
background: #fff !important;
}
.checkbox-wrap .nf-field-element label.nf-checked-label:after, .checkbox-wrap .nf-field-label label.nf-checked-label:after, .listcheckbox-wrap .nf-field-element label.nf-checked-label:after, .listcheckbox-wrap .nf-field-label label.nf-checked-label:after {
border-color: #fff !important;
}
.checkbox-wrap .nf-field-element label:after, .checkbox-wrap .nf-field-label label:after, .listcheckbox-wrap .nf-field-element label:after, .listcheckbox-wrap .nf-field-label label:after {
height: 1.375rem !important;
width: 1.375rem !important;
border-color: #fff !important;
}
.checkbox-wrap .nf-field-element label.nf-checked-label:before, .checkbox-wrap .nf-field-label label.nf-checked-label:before, .listcheckbox-wrap .nf-field-element label.nf-checked-label:before, .listcheckbox-wrap .nf-field-label label.nf-checked-label:before {
color: #EE0000 !important;
}
.nf-form-content button, .nf-form-content input[type=button], .nf-form-content input[type=submit] {
background: #EE0000 !important;
padding: 1.25rem 2.813rem !important;
color: #fff !important;
height: unset !important;
font-size: 16px !important;
line-height: 20px !important;
text-transform: uppercase;
color: #fff !important;
}
.nf-form-content button:disabled, .nf-form-content input[type=button]:disabled, .nf-form-content input[type=submit]:disabled {
background: #BEBEBE !important;
}
.nf-form-content button:hover, .nf-form-content input[type=button]:hover, .nf-form-content input[type=submit]:hover {
background-color: #669999 !important;
color: #fff !important;
}
.nf-form-content button:hover:disabled, .nf-form-content input[type=button]:hover:disabled, .nf-form-content input[type=submit]:hover:disabled {
background: #BEBEBE !important;
}
.nf-error-msg:before {
content: "";
display: inline-block;
background-image: url("data:image/svg+xml,%3Csvg id='Group_1765' data-name='Group 1765' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='24.396' height='21.911' viewBox='0 0 24.396 21.911'%3E%3Cdefs%3E%3CclipPath id='clip-path'%3E%3Crect id='Rectangle_301' data-name='Rectangle 301' width='24.396' height='21.911' transform='translate(0 0)' fill='%23e00'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg id='Group_1764' data-name='Group 1764' transform='translate(0 0)' clip-path='url(%23clip-path)'%3E%3Cpath id='Path_1451' data-name='Path 1451' d='M24 17.487 14.752 1.474a2.948 2.948 0 0 0-5.107 0L.4 17.487A2.949 2.949 0 0 0 2.953 21.91H21.443A2.949 2.949 0 0 0 24 17.487m-10.35 1.539h-2.9v-2.9h2.9Zm0-4.169h-2.9V4.967h2.9Z' transform='translate(0 0)' fill='%23e00'/%3E%3C/g%3E%3C/svg%3E");
background-repeat: no-repeat;
background-size: contain;
width: 1.5rem;
height: 1.313rem;
margin-right: 0.5rem;
}
.datepicker {
width: calc(100% - 45px) !important;
float: right !important;
}
.label-left .field-wrap {
align-items: center;
margin-top: 0.25rem;
}
.field-wrap {
margin-top: 0.25rem;
}
.flatpickr-months .flatpickr-prev-month, .flatpickr-months .flatpickr-next-month {
margin-top: 0;
}
.checkbox-wrap .nf-field-element label, .checkbox-wrap .nf-field-label label, .listcheckbox-wrap .nf-field-element label, .listcheckbox-wrap .nf-field-label label {
margin-left: 0 !important;
}
.field-wrap.date-wrap .nf-field-element {
display: flex;
}
.field-wrap.date-wrap .nf-field-element .pikaday__container {
flex-basis: 20%;
min-width: 200px;
margin-right: 1rem;
}
.field-wrap.date-wrap .nf-field-element .extra {
text-align: center;
padding-right: 0;
}
.field-wrap.date-wrap .nf-field-element > .pikaday__container + div {
height: 40px;
display: flex;
align-items: center;
background: white;
margin-right: 1rem;
padding: 0 0.5rem;
}
.field-wrap.date-wrap .nf-field-element > .pikaday__container + div:after {
content: "";
width: 1.15rem;
height: 1rem;
display: block;
background-repeat: no-repeat;
background-position: center;
background-size: 10px 16px;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16.175' height='9.808' viewBox='0 0 16.175 9.808'%3E%3Cpath id='Path_1396' data-name='Path 1396' d='M19.409 190.005c.561-.568 1.11-1.13 1.667-1.686q2-2 4.01-4a.9.9 0 0 1 1.329 0c.254.261.515.516.772.774a.881.881 0 0 1-.005 1.318q-1.8 1.8-3.605 3.606-1.748 1.75-3.495 3.5a.975.975 0 0 1-.654.312.931.931 0 0 1-.719-.31q-1.349-1.354-2.7-2.706-1.836-1.838-3.674-3.675c-.25-.25-.5-.5-.75-.75A.876.876 0 0 1 11.6 185.1l.766-.766a.9.9 0 0 1 1.348 0l3.252 3.24 2.355 2.345C19.339 189.941 19.363 189.962 19.409 190.005Z' transform='translate(-11.305 -184.028)'/%3E%3C/svg%3E") !important;
pointer-events: none;
}
.field-wrap.date-wrap .nf-field-element > .pikaday__container + div + div {
height: 40px;
display: flex;
align-items: center;
background: white;
margin-right: 1rem;
padding: 0 0.5rem;
}
.field-wrap.date-wrap .nf-field-element > .pikaday__container + div + div:after {
content: "";
width: 1.15rem;
height: 1rem;
display: block;
background-repeat: no-repeat;
background-position: center;
background-size: 10px 16px;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16.175' height='9.808' viewBox='0 0 16.175 9.808'%3E%3Cpath id='Path_1396' data-name='Path 1396' d='M19.409 190.005c.561-.568 1.11-1.13 1.667-1.686q2-2 4.01-4a.9.9 0 0 1 1.329 0c.254.261.515.516.772.774a.881.881 0 0 1-.005 1.318q-1.8 1.8-3.605 3.606-1.748 1.75-3.495 3.5a.975.975 0 0 1-.654.312.931.931 0 0 1-.719-.31q-1.349-1.354-2.7-2.706-1.836-1.838-3.674-3.675c-.25-.25-.5-.5-.75-.75A.876.876 0 0 1 11.6 185.1l.766-.766a.9.9 0 0 1 1.348 0l3.252 3.24 2.355 2.345C19.339 189.941 19.363 189.962 19.409 190.005Z' transform='translate(-11.305 -184.028)'/%3E%3C/svg%3E") !important;
pointer-events: none;
}
.field-wrap.date-wrap .nf-field-element > .pikaday__container + div + div + div {
height: 40px;
display: flex;
align-items: center;
background: white;
margin-right: 1rem;
padding: 0 0.5rem;
.html-form input[multiple=multiple], .html-form select[multiple=multiple] {
height: 5.5rem;
}
.field-wrap.date-wrap .nf-field-element > .pikaday__container + div + div + div:after {
.html-form select:after {
content: "";
width: 1.15rem;
height: 1rem;
......@@ -16156,44 +15569,24 @@ nf-cells {
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16.175' height='9.808' viewBox='0 0 16.175 9.808'%3E%3Cpath id='Path_1396' data-name='Path 1396' d='M19.409 190.005c.561-.568 1.11-1.13 1.667-1.686q2-2 4.01-4a.9.9 0 0 1 1.329 0c.254.261.515.516.772.774a.881.881 0 0 1-.005 1.318q-1.8 1.8-3.605 3.606-1.748 1.75-3.495 3.5a.975.975 0 0 1-.654.312.931.931 0 0 1-.719-.31q-1.349-1.354-2.7-2.706-1.836-1.838-3.674-3.675c-.25-.25-.5-.5-.75-.75A.876.876 0 0 1 11.6 185.1l.766-.766a.9.9 0 0 1 1.348 0l3.252 3.24 2.355 2.345C19.339 189.941 19.363 189.962 19.409 190.005Z' transform='translate(-11.305 -184.028)'/%3E%3C/svg%3E") !important;
pointer-events: none;
}
.pikaday__container::before {
content: "";
background-image: url("data:image/svg+xml,%3Csvg id='Component_271_1' data-name='Component 271 %E2%80%93 1' xmlns='http://www.w3.org/2000/svg' width='35' height='35' viewBox='0 0 35 35'%3E%3Crect id='Rectangle_224' data-name='Rectangle 224' width='35' height='35'/%3E%3Cg id='Group_1575' data-name='Group 1575' transform='translate(-83 -842)'%3E%3Cpath id='Path_1397' data-name='Path 1397' d='M73.645 56.3V54.6H71.713v1.7H65.2V54.6H63.268v1.7H58.426V74.353H78.38V56.3Zm2.907 16.224h-16.3v-14.4h16.3Z' transform='translate(32.098 794.427)' fill='%23fff'/%3E%3Crect id='Rectangle_225' data-name='Rectangle 225' width='2.611' height='1.931' transform='translate(95.025 855.357)' fill='%23fff'/%3E%3Crect id='Rectangle_226' data-name='Rectangle 226' width='2.611' height='1.931' transform='translate(99.248 855.357)' fill='%23fff'/%3E%3Crect id='Rectangle_227' data-name='Rectangle 227' width='2.611' height='1.931' transform='translate(103.471 855.357)' fill='%23fff'/%3E%3Crect id='Rectangle_228' data-name='Rectangle 228' width='2.611' height='1.931' transform='translate(95.025 858.663)' fill='%23fff'/%3E%3Crect id='Rectangle_229' data-name='Rectangle 229' width='2.611' height='1.931' transform='translate(99.248 858.663)' fill='%23fff'/%3E%3Crect id='Rectangle_230' data-name='Rectangle 230' width='2.611' height='1.931' transform='translate(103.471 858.663)' fill='%23fff'/%3E%3Crect id='Rectangle_231' data-name='Rectangle 231' width='2.611' height='1.931' transform='translate(95.025 861.969)' fill='%23fff'/%3E%3Crect id='Rectangle_232' data-name='Rectangle 232' width='2.611' height='1.931' transform='translate(99.248 861.969)' fill='%23fff'/%3E%3C/g%3E%3C/svg%3E");
background-repeat: no-repeat;
background-size: contain;
display: inline-block;
height: 2rem;
width: 2rem;
margin: 0;
cursor: pointer;
}
.pikaday__container:hover::before {
background-image: url(../img/cal-hover.png);
}
.flatpickr-day.selected {
background: #669999 !important;
border-color: #669999 !important;
}
.flatpickr-day.today {
border-color: #EE0000 !important;
}
.flatpickr-day:hover {
background: #EE0000 !important;
border-color: #EE0000 !important;
color: #fff !important;
.html-form select[multiple=multiple]:after {
display: none;
}
.content br {
display: none;
}
.appArea.responsive {
margin-top: 2.5rem;
.appArea.responsive .row {
padding-right: 10px;
}
@media only screen and (max-width: 782px) {
.appArea.responsive .row {
padding-right: 0px;
}
}
.appArea.responsive .required-text {
font-style: italic;
}
.appArea.responsive .form-content {
position: relative;
......@@ -16243,9 +15636,6 @@ nf-cells {
.appArea.responsive .sub-section-container > .sub-section-body > div .cons-info-question-container {
flex-basis: 50%;
}
.appArea.responsive > .appArea.responsive {
margin-top: 2.188rem;
}
.appArea.responsive #cons_info_component_container {
max-width: 100%;
width: 1068px;
......@@ -16285,14 +15675,23 @@ nf-cells {
.appArea.responsive p {
margin-top: 0;
}
.appArea.responsive #ACTION_SUBMIT_SURVEY_RESPONSE {
.appArea.responsive label {
padding-left: 0px !important;
}
.appArea.responsive input[type=submit] {
margin-top: 10px;
color: white !important;
padding: 1.25rem 2.125rem !important;
font-size: 1rem !important;
padding: 7px 30px 10px 30px !important;
width: auto !important;
font-size: 14px !important;
line-height: 19px;
font-family: "PT Sans", sans-serif;
font-weight: 700;
border-radius: 25px !important;
background-color: #e00 !important;
margin-right: 0px;
}
.appArea.responsive #ACTION_SUBMIT_SURVEY_RESPONSE:hover {
.appArea.responsive input[type=submit]:hover {
background: #669999 !important;
}
.appArea.responsive legend {
......@@ -16373,10 +15772,6 @@ nf-cells {
row-gap: 0;
}
}
.appArea.responsive #cons_email {
height: auto !important;
}
/******************* * checkboxs ********************/
.checkbox-wrap {
display: block;
......@@ -16687,15 +16082,127 @@ a.skip-link:focus {
opacity: 1;
}
.fr-only {
display: none !important;
h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
font-family: "PT Sans", sans-serif;
font-weight: 700;
margin: 0 0 10px;
padding: 0;
}
html:lang(fr-FR) .en-only {
display: none !important;
h1, .h1 {
font-size: 45px;
line-height: 52px;
}
html:lang(fr-FR) .fr-only {
display: inline-block !important;
h2, .h2 {
font-size: 35px;
line-height: 42px;
}
h3, .h3 {
font-size: 24px;
line-height: 30px;
}
h4, .h4 {
font-size: 20px;
line-height: 25px;
}
ul li {
color: #4D4D4D;
margin-bottom: 8px;
padding: 3px 0 2px 10px;
}
ul li ul {
list-style: none;
margin-top: 8px;
}
ul li ul li:before {
content: "-";
color: #4D4D4D;
font-weight: bold;
display: inline-block;
width: 1.5em;
margin-left: -1.5em;
}
ol li {
color: #4D4D4D;
margin-bottom: 8px;
padding: 3px 0 2px 10px;
}
.wp-block-pullquote {
padding: 2em 0;
margin-bottom: 80px;
}
blockquote {
border-left: 1px solid #EE0000;
border-right: 1px solid #EE0000;
margin: 0 70px 80px 70px;
position: relative;
}
@media only screen and (max-width: 782px) {
blockquote {
margin: 0 20px;
}
}
blockquote p {
font-size: 20px;
line-height: 26px;
font-style: italic;
margin: 0 0 20px;
padding: 0px 25px;
color: #4D4D4D;
text-align: left;
margin-bottom: -20px;
}
blockquote p::before {
content: "“";
display: block;
position: absolute;
top: 0px;
padding-top: 10px;
left: -20px;
font-size: 80px;
line-height: 55px;
color: #e00;
height: 30px;
width: 30px;
background-color: #fff;
}
blockquote p::after {
content: "”";
display: block;
position: absolute;
bottom: 0px;
right: -7px;
font-size: 80px;
line-height: 55px;
padding-top: 10px;
color: #e00;
height: 20px;
background-color: #fff;
}
blockquote cite {
font-size: 16px;
line-height: 20px;
display: block;
color: #4D4D4D;
font-weight: bold;
font-style: normal;
text-align: right;
position: absolute;
right: 30px;
bottom: -40px;
float: right;
}
@media only screen and (max-width: 782px) {
blockquote cite {
max-width: 50%;
}
}
.sh1 {
......@@ -17830,6 +17337,7 @@ ul.sf_date_field .sf-datepicker {
#page-wrapper {
margin-top: 34px;
margin: 34px 40px 0 40px;
}
#page-wrapper .breadcrumb {
margin-bottom: 0px;
......@@ -17855,7 +17363,7 @@ ul.sf_date_field .sf-datepicker {
.side-menu {
list-style: none;
margin-top: 14px;
padding-left: 15px;
padding-left: 0px;
}
.side-menu li {
margin-bottom: 14px;
......@@ -17874,9 +17382,57 @@ ul.sf_date_field .sf-datepicker {
width: 100%;
}
}
.pi {
height: 300px;
min-height: 300px;
}
@media (min-width: 1024px) {
.pi {
min-height: 200px;
text-align: center;
justify-content: center;
width: 100%;
height: auto;
}
}
.pi .recharts-wrapper {
margin: 0 auto;
}
.pi h3, .pi .h3 {
color: #000;
font-family: Gotham, Helvetica, Arial, sans-serif;
font-weight: 700;
margin: 0;
}
.pi svg {
height: 200px;
overflow: visible;
}
.pi svg:lang(en) {
height: 300px;
}
@media (max-width: 768px) {
.pi h3, .pi .h3 {
text-align: center;
}
.pi svg {
height: 200px;
}
.pi svg:lang(en) {
height: 200px;
}
}
#wrapper-footer {
background-color: #F0F0F0;
padding: 33px 0px;
padding: 33px 40px;
}
#wrapper-footer .appArea h2, #wrapper-footer .appArea .h2 {
margin-left: -15px;
}
#wrapper-footer .site-info-menu {
padding-left: 0px;
margin-left: 0px;
}
.chw-title {
......@@ -17887,11 +17443,24 @@ ul.sf_date_field .sf-datepicker {
text-align: left;
}
.chw-widget h2, .chw-widget .h2 {
font-size: 20px;
font-weight: bold;
margin-bottom: 10px;
text-transform: uppercase;
text-align: left;
}
#menu-footer {
list-style: none;
margin-left: 0px;
padding-left: 0px;
}
#menu-footer li {
margin-bottom: 0px;
padding-bottom: 0px;
padding-left: 0px;
}
#menu-footer li a {
color: #000;
font-size: 16px;
......@@ -17900,7 +17469,113 @@ ul.sf_date_field .sf-datepicker {
text-decoration: none;
}
#menu-footer li a:hover {
color: #fff;
color: #000;
text-decoration: underline;
}
.wp-block-pb-accordion-item {
/*
We're overriding the page structure global for this because this
was seen to be different than usual blocks on page #49 in accordion section
*/
padding-bottom: 0.969rem;
border-bottom: #BEBEBE solid 1px;
}
.wp-block-pb-accordion-item.first-accordion {
margin-top: 1.563rem !important;
}
.wp-block-pb-accordion-item.is-open {
padding-bottom: 1.563rem;
}
.wp-block-pb-accordion-item > h1, .wp-block-pb-accordion-item > .h1, .wp-block-pb-accordion-item h2, .wp-block-pb-accordion-item .h2, .wp-block-pb-accordion-item h3, .wp-block-pb-accordion-item .h3, .wp-block-pb-accordion-item h4, .wp-block-pb-accordion-item .h4, .wp-block-pb-accordion-item h5, .wp-block-pb-accordion-item .h5 {
margin-top: 0.969rem !important;
line-height: normal;
}
.wp-block-pb-accordion-item:hover > h1, .wp-block-pb-accordion-item:hover > .h1, .wp-block-pb-accordion-item:hover > h2, .wp-block-pb-accordion-item:hover > .h2, .wp-block-pb-accordion-item:hover > h3, .wp-block-pb-accordion-item:hover > .h3, .wp-block-pb-accordion-item:hover > h4, .wp-block-pb-accordion-item:hover > .h4, .wp-block-pb-accordion-item:hover > h5, .wp-block-pb-accordion-item:hover > .h5 {
text-decoration: underline;
}
.wp-block-pb-accordion-item.first-accordion {
border-top: #bebebe solid 1px;
}
.wp-block-pb-accordion-item.job-app-accordion {
border-top: 0 !important;
border-bottom: 0;
padding-bottom: 0;
margin-top: 0 !important;
}
.wp-block-pb-accordion-item.job-app-accordion > h2, .wp-block-pb-accordion-item.job-app-accordion > .h2 {
margin-left: 2rem;
font-size: 1rem;
text-transform: uppercase;
margin-top: 1.563rem !important;
}
.wp-block-pb-accordion-item.job-app-accordion > h2:after, .wp-block-pb-accordion-item.job-app-accordion > .h2:after {
width: 19px;
height: 12px;
left: -30px;
}
.c-accordion__title {
font-size: 1.25rem;
}
.accordion-header:not(.timeline) {
margin-top: 0 !important;
padding: 1.563rem 0;
font-size: 1.563rem !important;
}
.accordion-header:not(.timeline) + .first-accordion {
margin-top: 0 !important;
}
.c-accordion__title {
position: relative;
}
.c-accordion__title:before {
content: "";
width: 100%;
height: 3.5rem;
position: absolute;
top: -1rem;
}
.c-accordion__title:after {
color: #777;
content: "" !important;
font-weight: 300;
position: absolute;
right: unset;
left: -40px;
top: 50%;
width: 25px;
height: 15px;
background-image: url("./../img/down-arrow.png");
background-size: contain;
background-repeat: no-repeat;
}
.is-open > .c-accordion__title::after {
content: "" !important;
background-image: url("./../img/up-arrow.png");
}
.c-accordion__title.js-accordion-controller {
margin-left: 2.5rem;
}
.c-accordion__content {
padding-left: 2.5rem;
}
.c-accordion__content > *:first-child {
margin-top: 1.156rem;
}
.c-accordion__content #dd-container {
margin-top: 1.156rem;
}
.available-jobs .c-accordion__content {
padding-left: 2rem;
}
.has-blue-color,
......
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
......@@ -21,11 +21,11 @@ $container = get_theme_mod( 'understrap_container_type' );
<div class="row">
<div class="col-md-6 col-sm-12">
<div class="col-md-6 col-sm-12 site-info-menu">
<footer class="site-footer" id="colophon">
<footer class="site-footer">
<div class="site-info">
<div class="">
<?php dynamic_sidebar( 'custom-footer-left-widget' ); ?>
......@@ -36,7 +36,7 @@ $container = get_theme_mod( 'understrap_container_type' );
</div><!-- col -->
<div class="col-md-6 col-sm-12">
<footer class="site-footer" id="colophon">
<footer class="site-footer">
<div class="site-info">
......
......@@ -49,6 +49,9 @@ function theme_enqueue_styles() {
if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) {
wp_enqueue_script( 'comment-reply' );
}
wp_enqueue_script( 'msf-globe-main', get_stylesheet_directory_uri() . '/blocks/react-app/build/static/js/main.a7bb4a96.chunk.js?v=1.222', array(), false, true );
wp_enqueue_script( 'msf-globe-runtime', get_stylesheet_directory_uri() . '/blocks/react-app/build/static/js/2.c3c99db9.chunk.js?v=2.222', array(), false, true );
wp_enqueue_script( 'msf-globe-chunk', get_stylesheet_directory_uri() . '/blocks/react-app/build/static/js/runtime-main.a933fda7.js?v=2.22', array(), false, true );
}
add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles' );
......
......@@ -11,4 +11,18 @@ if( function_exists('acf_add_options_page') ) {
'redirect' => false
));
}
\ No newline at end of file
}
add_action('acf/init', 'my_acf_init_block_types');
function my_acf_init_block_types() {
acf_register_block_type( array(
'title' => __( 'MSF PI Chart', 'client_textdomain' ),
'name' => 'msf-pi',
'render_template' => 'blocks/msf-PI/msf-PI.php',
'mode' => 'edit'
));
}
\ No newline at end of file
......
......@@ -7494,25 +7494,41 @@
}
// Search Filter
jQuery(document).ready(function ($) {
$(".searchandfilter ul li:contains('hidden')").hide();
$('<li class="sf-field-reset"><input type="submit" class="search-filter-reset-custom" value="CLEAR ALL" "></li>').appendTo(jQuery('#advance-search-modal .searchandfilter ul:first-child '));
$(document).on("click", ".search-filter-reset-custom", function (e) {
e.preventDefault();
$(this).closest('.searchandfilter')[0].reset();
return false;
});
$(document).on("click", ".advance-search-button", function (e) {
$('#search-box-content').addClass('show');
$('.search-box').addClass('show');
});
var myModal = document.getElementById('advance-search-modal');
myModal.addEventListener('hidden.bs.modal', function () {
$('#search-box-content').removeClass('show');
$('.search-box').removeClass('show');
});
});
var Search = function ($) {
function init() {
$(".searchandfilter ul li:contains('hidden')").hide();
$('<li class="sf-field-reset"><input type="submit" class="search-filter-reset-custom" value="CLEAR ALL" "></li>').appendTo(jQuery('#advance-search-modal .searchandfilter ul:first-child '));
$(document).on("click", ".search-filter-reset-custom", function (e) {
e.preventDefault();
$(this).closest('.searchandfilter')[0].reset();
return false;
});
$(document).on("click", ".advance-search-button", function (e) {
$('#search-box-content').addClass('show');
$('.search-box').addClass('show');
});
var myModal = document.getElementById('advance-search-modal');
myModal.addEventListener('hidden.bs.modal', function () {
$('#search-box-content').removeClass('show');
$('.search-box').removeClass('show');
});
if ($(window).width() < 960) {
$(".search-result .entry-summary").each(function () {
var yourString = $(this).text();
var maxLength = 160;
if (yourString.length > maxLength) {
var trimmedString = yourString.substr(0, maxLength);
trimmedString = trimmedString.substr(0, Math.min(trimmedString.length, trimmedString.lastIndexOf(" ")));
$(this).text(trimmedString + "...");
}
});
}
}
return {
init: init
};
}(jquery);
jquery(document).ready(Search.init);
var Responsive = function ($) {
// $('.play-pause-btn').on('click', function() {
......@@ -7694,6 +7710,20 @@
// Add your custom JS here.
new LazyLoad();
window.tz_checkVisible = function (elm, evalType, offset, heightBuffer) {
evalType = evalType || "visible";
var vpH = jQuery(window).height(),
// Viewport Height
st = jQuery(window).scrollTop(),
// Scroll Top
y = jQuery(elm).offset().top + offset,
elementHeight = jQuery(elm).height();
if (heightBuffer) {
elementHeight += heightBuffer;
}
if (evalType === "visible") return y < vpH + st && y > st - elementHeight;
if (evalType === "above") return y < vpH + st;
};
exports.Alert = alert;
exports.Button = button;
......
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
......@@ -50,7 +50,7 @@ if($post_type == 'attachment') {
<div class="entry-summary" id='content'>
<?= wp_strip_all_tags(get_the_excerpt(), true) ?>
<?= str_replace("[...]Read More...", "",wp_strip_all_tags(get_the_excerpt(), true)); ?>
</div><!-- .entry-summary -->
......
// Search Filter
jQuery(document).ready(function($){
$(".searchandfilter ul li:contains('hidden')").hide();
$('<li class="sf-field-reset"><input type="submit" class="search-filter-reset-custom" value="CLEAR ALL" "></li>').appendTo( jQuery( '#advance-search-modal .searchandfilter ul:first-child ' ) );
import jquery from 'jquery';
var Search = (function($) {
function init() {
$(".searchandfilter ul li:contains('hidden')").hide();
$('<li class="sf-field-reset"><input type="submit" class="search-filter-reset-custom" value="CLEAR ALL" "></li>').appendTo( jQuery( '#advance-search-modal .searchandfilter ul:first-child ' ) );
$(document).on("click", ".search-filter-reset-custom", function(e){
e.preventDefault();
$(this).closest('.searchandfilter')[0].reset();
return false;
});
$(document).on("click", ".advance-search-button", function(e){
$('#search-box-content').addClass('show');
$('.search-box').addClass('show');
});
var myModal = document.getElementById('advance-search-modal');
myModal.addEventListener('hidden.bs.modal', function () {
$('#search-box-content').removeClass('show');
$('.search-box').removeClass('show');
})
$(document).on("click", ".search-filter-reset-custom", function(e){
e.preventDefault();
$(this).closest('.searchandfilter')[0].reset();
return false;
});
$(document).on("click", ".advance-search-button", function(e){
$('#search-box-content').addClass('show');
$('.search-box').addClass('show');
});
var myModal = document.getElementById('advance-search-modal');
myModal.addEventListener('hidden.bs.modal', function () {
$('#search-box-content').removeClass('show');
$('.search-box').removeClass('show');
})
});
if ($(window).width() < 960) {
$( ".search-result .entry-summary" ).each(function() {
var yourString = $(this).text();
var maxLength = 160;
if (yourString.length > maxLength) {
var trimmedString = yourString.substr(0, maxLength);
trimmedString = trimmedString.substr(0, Math.min(trimmedString.length, trimmedString.lastIndexOf(" ")));
$(this).text(trimmedString + "...");
}
});
}
}
return {
init: init
};
}(jquery));
jquery(document).ready(Search.init);
export { Search };
......
// Add your custom JS here.
import jquery from 'jquery';
import LazyLoad from "vanilla-lazyload";
import "./_menu_mobile";
......@@ -9,3 +10,18 @@ import "./_header_menu";
var myLazyLoad = new LazyLoad();
window.tz_checkVisible = function(elm, evalType , offset, heightBuffer) {
evalType = evalType || "visible";
var vpH = jQuery(window).height(), // Viewport Height
st = jQuery(window).scrollTop(), // Scroll Top
y = jQuery(elm).offset().top + offset,
elementHeight = jQuery(elm).height();
if (heightBuffer) {
elementHeight += heightBuffer;
}
if (evalType === "visible") return ((y < (vpH + st)) && (y > (st - elementHeight)));
if (evalType === "above") return ((y < (vpH + st)));
};
\ No newline at end of file
......
.wp-block-pb-accordion-item{
/*
We're overriding the page structure global for this because this
was seen to be different than usual blocks on page #49 in accordion section
*/
&.first-accordion {
margin-top:1.563rem !important;
}
//This should be the default when it's closed as seen on page #49
padding-bottom:0.969rem;
&.is-open {
//This was seen to be the correct spacing in page #49 in the accordion with the download cards
//And it's only bottom because the header makes the space for the top
padding-bottom:1.563rem;
}
border-bottom:#BEBEBE solid 1px;
//This was seen to be the correct spacing in page #49 in the accordion with the download cards
& > h1, h2, h3, h4, h5 {
margin-top:0.969rem !important;
line-height: normal;
}
&:hover {
& > h1, & > h2, & > h3, & > h4, & > h5 {
text-decoration: underline;
}
}
&.first-accordion {
border-top: #bebebe solid 1px;
}
&.job-app-accordion {
border-top:0 !important;
border-bottom:0;
padding-bottom:0;
margin-top:0 !important;
& > h2 {
margin-left:2rem;
font-size: 1rem;
text-transform: uppercase;
margin-top:1.563rem !important;
&:after {
width: 19px;
height: 12px;
left:-30px;
}
}
}
}
.c-accordion__title{
font-size: 1.25rem;
}
.accordion-header:not(.timeline) {
margin-top:0 !important;
padding:1.563rem 0;
font-size: 1.563rem !important;
& + .first-accordion { //This is for the FAQ pages
margin-top:0 !important;
}
}
.c-accordion__title {
position: relative;
}
.c-accordion__title:before {
content: "";
width: 100%;
height: 3.5rem;
position: absolute;
top: -1rem;
}
.c-accordion__title:after {
color: #777;
content: "" !important;
font-weight: 300;
position: absolute;
right: unset;
left: -40px;
top: 50%;
width: 25px;
height: 15px;
background-image:url("./../img/down-arrow.png") ;
background-size: contain;
background-repeat: no-repeat;
}
.is-open > .c-accordion__title::after {
content: "" !important;
background-image:url("./../img/up-arrow.png") ;
}
.c-accordion__title.js-accordion-controller{
margin-left: 2.5rem;
}
.c-accordion__content {
padding-left: 2.5rem;
//This was set because this was the default space found on page #49 in the accordion section
& > *:first-child {
margin-top:1.156rem;
}
#dd-container {
margin-top:1.156rem;
}
}
.available-jobs {
.c-accordion__content{
padding-left: 2rem;
}
}
\ No newline at end of file
......@@ -13,4 +13,4 @@ body{
@import "front_page";
@import "page";
@import "footer";
@import "accordion";
......
......@@ -18,15 +18,125 @@ a.skip-link {
}
}
.fr-only {
display: none !important;
h1, h2, h3, h4, h5, h6 {
font-family: "PT Sans",sans-serif;
font-weight: 700;
margin: 0 0 10px;
padding: 0;
}
html:lang(fr-FR) {
.en-only {
display: none !important;
h1 {
font-size: 45px;
line-height: 52px;
}
h2{
font-size: 35px;
line-height: 42px;
}
h3 {
font-size: 24px;
line-height: 30px;
}
h4 {
font-size: 20px;
line-height: 25px;
}
ul{
li{
color: #4D4D4D;
margin-bottom: 8px;
padding: 3px 0 2px 10px;
ul{
list-style: none;
margin-top: 8px;
li:before{
content: "-";
color: #4D4D4D;
font-weight: bold;
display: inline-block;
width: 1.5em;
margin-left: -1.5em;
}
}
}
.fr-only {
display: inline-block !important;
}
ol{
li{
color: #4D4D4D;
margin-bottom: 8px;
padding: 3px 0 2px 10px;
}
}
.wp-block-pullquote{
padding: 2em 0;
margin-bottom:80px;
}
blockquote{
border-left: 1px solid #EE0000;
border-right: 1px solid #EE0000;
margin: 0 70px 80px 70px;
@media only screen and (max-width: 782px) {
margin: 0 20px;
}
position: relative;
p{
font-size: 20px;
line-height: 26px;
font-style: italic;
margin: 0 0 20px;
padding: 0px 25px ;
color: #4D4D4D;
text-align: left;
margin-bottom: -20px;
&::before{
content: "“";
display: block;
position: absolute;
top: 0px;
padding-top: 10px;
left: -20px;
font-size: 80px;
line-height: 55px;
color: #e00;
height: 30px;
width: 30px;
background-color: #fff;
}
&::after{
content: "”";
display: block;
position: absolute;
bottom: 0px;
right: -7px;
font-size: 80px;
line-height: 55px;
padding-top: 10px;
color: #e00;
height: 20px;
background-color: #fff;
}
}
cite{
font-size: 16px;
line-height: 20px;
display: block;
color: #4D4D4D;
font-weight: bold;
font-style: normal;
text-align: right;
position: absolute;
right: 30px;
bottom: -40px;
@media only screen and (max-width: 782px) {
max-width: 50%;
}
float: right;
}
}
\ No newline at end of file
......
#wrapper-footer{
background-color: #F0F0F0;
padding: 33px 0px;
padding: 33px 40px;
.appArea{
h2{
margin-left: -15px;
}
}
.site-info-menu{
padding-left: 0px;
margin-left: 0px;
}
}
......@@ -11,11 +20,23 @@
text-transform: uppercase;
text-align: left;
}
.chw-widget h2{
font-size: 20px;
font-weight: bold;
margin-bottom: 10px;
text-transform: uppercase;
text-align: left;
}
#menu-footer{
list-style: none;
margin-left: 0px;
padding-left: 0px;
li{
margin-bottom: 0px;
padding-bottom: 0px;
padding-left: 0px;
a{
color: #000;
font-size: 16px;
......@@ -23,7 +44,8 @@
font-weight: 400;
text-decoration: none;
&:hover{
color: #fff;
color: #000;
text-decoration: underline;
}
}
}
......
......@@ -74,6 +74,8 @@ button, input, optgroup, select, textarea{
height: 2.188rem;
padding:0 12px;
background:white;
margin-right: 20px;
margin-bottom: 5px;
&[multiple="multiple"] {
height: 5.5rem;
}
......@@ -98,742 +100,7 @@ button, input, optgroup, select, textarea{
}
}
.list-checkbox-wrap .nf-field-element li, .list-image-wrap .nf-field-element li, .list-radio-wrap .nf-field-element li{
//float: left;
//padding-right: 30px !important;
}
.nf-form-cont{
background: #F0F0F0 !important;
padding: 30px;
h3{
margin-top: 0px !important;
}
}
.nf-row.required {
&:before {
content:'* Required field';
display: block;
width: 100%;
text-align: right;
font-size: 1rem;
font-family: "PT Sans",sans-serif;
}
}
.number-format {
position: relative;
input {
padding-left:1.525rem!important
}
.nf-field-element {
input {
padding-left:1.525rem!important
}
&:before {
content:'$';
position: absolute;
bottom: 0;
left:0.5rem;
z-index: 9;
font-size: 1.563rem;
font-weight: 700;
}
}
}
.number-format {
&:not(.nf-field-container):before {
content:'$';
position: absolute;
bottom: 0;
left:0.5rem;
color:black;
}
}
html:lang(fr-FR) {
.number-format {
position: relative;
input {
padding-left:0.5rem !important;
}
&:not(.nf-field-container):before {
display: none;
}
&:not(.nf-field-container):after {
content:'$';
position: absolute;
bottom: 0.25rem;
right:0.5rem;
color:black;
z-index: 99;
font-size: 1.563rem;
font-weight: 700;
}
}
.number-format {
position: relative;
.nf-field-element {
&:before {
display: none;
}
&:after {
content:'$';
position: absolute;
bottom: 0;
right:0.5rem;
z-index: 9;
font-size: 1.563rem;
font-weight: 700;
}
}
}
}
#dd-container .lets-check, #dd-container .lets-check.disabled, #dd-container .lets-check[disabled], #dd-container .lets-check.disabled:hover, #dd-container .lets-check[disabled]:hover, #dd-container .lets-check.disabled:focus, #dd-container .lets-check[disabled]:focus, .dtd-plugin .lets-check, .dtd-plugin .lets-check.disabled, .dtd-plugin .lets-check[disabled], .dtd-plugin .lets-check.disabled:hover, .dtd-plugin .lets-check[disabled]:hover, .dtd-plugin .lets-check.disabled:focus, .dtd-plugin .lets-check[disabled]:focus {
background-color: #e00 !important;
font-weight: bold;
}
#content {
.nf-form-cont {
p {
color:black;
}
}
#content .list-checkbox-wrap .nf-field-element li label, #content .list-image-wrap .nf-field-element li label, #content .list-radio-wrap .nf-field-element li label {
margin-top: 0 !important;
}
.nf-form-content .listcheckbox-wrap li, .nf-form-content .listradio-wrap li {
margin-bottom:0 !important;
}
/*
These two are for the required fields floating text..
*/
.nf-row {
position: relative;
}
.nf-field-container {
position: static;
}
.nf-error {
position: static;
}
.checkmark {
border:1px solid #707070;
}
.nf-before-form-content {
display: none;
}
.nf-form-title {
& > h3 {
font-size: 2.188rem !important;
font-family: "PT Sans",sans-serif; font-weight:bold;;
}
}
.checkbox-wrap .nf-field-element label:before, .checkbox-wrap .nf-field-label label:before,
.listcheckbox-wrap .nf-field-element label:before, .listcheckbox-wrap .nf-field-label label:before {
font-size: 1rem;
height: 1.563rem;
width: 1.563rem;
display: flex;
justify-content: center;
align-items: center;
}
.checkbox-container.label-right label:before {
left: -1.8rem;
}
.nf-field-element {
font-size: 1rem;
}
.nf-row:last-of-type {
.field-wrap.html-wrap {
p {
font-size: 0.875rem;
line-height: 1.2;
}
}
}
.nf-before-form-content {
font-family: "PT Sans",sans-serif;
}
.field-wrap.checkbox-wrap {
margin:0.5rem 0;
}
.nf-form-content button, .nf-form-content input[type=button], .nf-form-content input[type=submit] {
transition: none;
font-family: "PT Sans", sans-serif !important;
font-weight:bold;
border-radius: 0 !important;
}
.nf-error.field-wrap .nf-field-element:after {
height: 100%;
top:0;
right:0;
bottom: auto;
font-size: 1rem;
line-height: 2.2rem;
}
.nf-error-msg.nf-error-required-error {
display: none;
}
.nf-field-container.submit-container {
margin:1rem 0;
}
.listradio-wrap .nf-field-element label:after {
top:0;
}
.field-wrap.html-wrap {
p {
margin-bottom:0;
b {
font-size: 1.25rem;
}
}
}
.label-left .nf-field-label {
text-align: left;
flex: none;
}
.list-checkbox-wrap .nf-field-element li label, .list-image-wrap .nf-field-element li label, .list-radio-wrap .nf-field-element li label {
height:1.563rem;
align-items: center;
display: flex;
}
.label-left .nf-field-label {
padding-right:0;
width:9rem;
// max-width: 9rem;
// min-width: 9rem;
// !!! Doesn't work for Host A Fundrasier Form !!!
// padding-right: 1.5rem;
box-sizing: content-box;
}
.label-left .field-wrap.textbox-wrap .nf-field-label {
padding-right:0;
}
.field-wrap.textarea-wrap {
align-items: center;
.nf-field-label {
max-width: 100%;
white-space: nowrap;
margin-bottom:5px;
}
}
.field-wrap.listradio-wrap {
align-items: center;
.nf-field-label {
max-width: 100%;
white-space: nowrap;
}
.nf-field-element {
ul {
gap:2.5rem;
// margin:0 4rem !important;
li {
margin-bottom:0 !important;
input[type='radio'] {
// height: 1.75rem !important;
}
}
}
}
}
.nf-field-container {
margin-bottom:0.25rem;
// &.checkbox-container {
// padding-left:2.5rem; //doesn't work on /ways-to-give/planned-giving/
// }
}
.nf-before-form-content {
text-align: right;
}
}
#div_MainContent {
a.pdf:before {
position: static;
}
}
nf-cells {
display: flex;
gap: 1rem;
}
//Setup in accordance to the gifts of stocks and securities STEP #2
.nf-cell + .nf-cell {
.nf-field-label {
text-align: left !important;
}
}
.nf-multi-cell .nf-cell {
padding: 0 !important;
}
.nf-form-content textarea.ninja-forms-field {
height: 4.688rem !important;
}
.label-left .field-wrap {
flex-wrap: nowrap !important;
}
.field-wrap.listradio-wrap .nf-field-label {
width: 30rem !important;
}
.label-left .nf-field-label {
width: 11rem !important;
}
.label-left .nf-field-label label {
width: auto !important;
}
.checkbox-container.label-right label {
font-family: "PT Sans",sans-serif;
}
.nf-field-element > ul {
display: flex;
}
.nf-form-content {
padding: 0 !important;
max-width: none !important;
margin: 0 !important;
}
.nf-form-content .listselect-wrap .nf-field-element div, .nf-form-content input.ninja-forms-field, .nf-form-content select.ninja-forms-field:not([multiple]) {
height:auto !important;
}
.ninja-forms-field impact-select nf-element {
height:100% !important;
}
.nf-form-content .listselect-wrap .nf-field-element div, .nf-form-content .ninja-forms-field {
padding:0.35rem 0.625rem !important;
color:#000000 !important;
font-family: "PT Sans",sans-serif !important;
}
.nf-form-content .list-select-wrap>.nf-field-element {
position: relative;
background: white;
}
.nf-error-msg, .ninja-forms-req-symbol {
color:#4D4D4D !important;
}
.ninja-forms-req-symbol.req-symbol {
&:before {
position: absolute;
top:0;
right:0;
content:'* Required fields';
display: block;
width: 100%;
text-align: right;
font-size: 1rem;
font-family: "PT Sans",sans-serif;
color:black;
}
}
.nf-form-content .list-select-wrap > .nf-field-element > div {
display: none;
}
.nf-form-content .list-select-wrap>.nf-field-element:after {
content:'' !important;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16.175' height='9.808' viewBox='0 0 16.175 9.808'%3E%3Cpath id='Path_1396' data-name='Path 1396' d='M19.409 190.005c.561-.568 1.11-1.13 1.667-1.686q2-2 4.01-4a.9.9 0 0 1 1.329 0c.254.261.515.516.772.774a.881.881 0 0 1-.005 1.318q-1.8 1.8-3.605 3.606-1.748 1.75-3.495 3.5a.975.975 0 0 1-.654.312.931.931 0 0 1-.719-.31q-1.349-1.354-2.7-2.706-1.836-1.838-3.674-3.675c-.25-.25-.5-.5-.75-.75A.876.876 0 0 1 11.6 185.1l.766-.766a.9.9 0 0 1 1.348 0l3.252 3.24 2.355 2.345C19.339 189.941 19.363 189.962 19.409 190.005Z' transform='translate(-11.305 -184.028)'/%3E%3C/svg%3E") !important;
display: block;
width: 1rem;
height: 0.825rem !important;
background-repeat: no-repeat;
position: absolute;
z-index: 9;
right: 1rem;
top: 1rem;
}
.nf-form-content .label-above .nf-field-label, .nf-form-content .label-below .nf-field-label, .nf-form-content .label-hidden .nf-field-label {
margin-bottom:5px !important;
}
.nf-form-content label{
font-size: 1rem !important;
line-height: 1.2 !important;
font-weight: 300 !important;
color:#000000 !important;
font-family: "PT Sans",sans-serif;
}
.list-select-wrap div:after{
color: #000 !important;
}
.listradio-wrap .nf-element {
appearance: none;
opacity: 0;
}
.submit-wrap {
.nf-field-label {
display: none !important;
}
}
.label-left .nf-field-element {
width: 100% !important;
}
.textarea-container .nf-field .field-wrap {
flex-wrap: wrap !important;
.nf-field-label {
width: 100% !important;
}
.nf-field-element {
width: 100% !important;
}
}
.nf-pass.field-wrap .nf-field-element:after {
line-height: 1.2 !important;
}
.nf-response-msg {
position: fixed;
width: 100%;
height: 100%;
top:0;
left:0;
display: flex;
justify-content: center;
align-items: center;
background: rgba(0,0,0,0.75);
z-index: 9999;
& > div {
background:white;
width: 440px;
position: relative;
padding:2.188rem;
font-size: 1rem;
font-family: "PT Sans",sans-serif;
h1, h2, h3, h4, h5 {
font-family: "PT Sans",sans-serif; font-weight:bold;;
font-size: 2.188rem;
}
}
.close-response-modal {
position: absolute;
top:0;
right:0;
color:transparent;
background-image: url("data:image/svg+xml,%3Csvg id='Component_138_2' data-name='Component 138 %E2%80%93 2' xmlns='http://www.w3.org/2000/svg' width='35' height='35' viewBox='0 0 35 35'%3E%3Crect id='Rectangle_204' data-name='Rectangle 204' width='35' height='35' fill='%23e00'/%3E%3Cg id='Group_1279' data-name='Group 1279' transform='translate(-924.013 -952.05) rotate(45)'%3E%3Cline id='Line_34' data-name='Line 34' y2='19.943' transform='translate(1350.972 9.5)' fill='none' stroke='%23fff' stroke-width='2'/%3E%3Cline id='Line_35' data-name='Line 35' y2='19.943' transform='translate(1360.943 19.472) rotate(90)' fill='none' stroke='%23fff' stroke-width='2'/%3E%3C/g%3E%3C/svg%3E");
background-repeat: no-repeat;
height: 2.188rem;
width: 2.188rem;
&:hover {
background-image: url("data:image/svg+xml,%3Csvg id='Component_138_2' data-name='Component 138 %E2%80%93 2' xmlns='http://www.w3.org/2000/svg' width='35' height='35' viewBox='0 0 35 35'%3E%3Crect id='Rectangle_204' data-name='Rectangle 204' width='35' height='35' fill='%23699'/%3E%3Cg id='Group_1279' data-name='Group 1279' transform='translate(-924.013 -952.05) rotate(45)'%3E%3Cline id='Line_34' data-name='Line 34' y2='19.943' transform='translate(1350.972 9.5)' fill='none' stroke='%23fff' stroke-width='2'/%3E%3Cline id='Line_35' data-name='Line 35' y2='19.943' transform='translate(1360.943 19.472) rotate(90)' fill='none' stroke='%23fff' stroke-width='2'/%3E%3C/g%3E%3C/svg%3E");
}
}
}
.listradio-wrap .nf-field-element label:after{
width: 1.75rem !important;
height: 1.75rem !important;
left: -2.563rem !important;
// margin-top: -0.313rem;
border: 2px solid #fff !important;
background:#fff !important;
}
.listradio-wrap .nf-field-element label.nf-checked-label:before{
height: 1.25rem !important;
width: 1.25rem !important;
left: -2.313rem !important;
// margin-top: -0.313rem;
}
.listradio-wrap .nf-field-element label.nf-checked-label:before{
background: #EE0000 !important;
}
.listradio-wrap .nf-field-element label.nf-checked-label:after{
border-color: #fff !important;
}
.nf-form-cont.full-width {
.nf-field-container.html-container.label-left {
&:first-of-type {
margin-bottom:2.563rem !important;
}
}
.label-left .nf-field-label {
width: auto !important;
padding-right:1.5rem !important;
}
nf-cells {
gap:3rem !important;
}
}
.nf-form-content .list-select-wrap .nf-field-element>div, .nf-form-content input:not([type=button]), .nf-form-content textarea{
border: 0px solid #c4c4c4 !important;
background:#fff !important;
}
.checkbox-wrap .nf-field-element label:after, .checkbox-wrap .nf-field-label label:after, .listcheckbox-wrap .nf-field-element label:after, .listcheckbox-wrap .nf-field-label label:after{
background:#fff !important;
}
.checkbox-wrap .nf-field-element label.nf-checked-label:after, .checkbox-wrap .nf-field-label label.nf-checked-label:after, .listcheckbox-wrap .nf-field-element label.nf-checked-label:after, .listcheckbox-wrap .nf-field-label label.nf-checked-label:after{
border-color: #fff !important;
}
.checkbox-wrap .nf-field-element label:after, .checkbox-wrap .nf-field-label label:after, .listcheckbox-wrap .nf-field-element label:after, .listcheckbox-wrap .nf-field-label label:after{
height: 1.375rem !important;
width: 1.375rem !important;
border-color: #fff !important
}
.checkbox-wrap .nf-field-element label.nf-checked-label:before, .checkbox-wrap .nf-field-label label.nf-checked-label:before, .listcheckbox-wrap .nf-field-element label.nf-checked-label:before, .listcheckbox-wrap .nf-field-label label.nf-checked-label:before{
color: #EE0000 !important;
}
.nf-form-content button, .nf-form-content input[type=button], .nf-form-content input[type=submit]{
background: #EE0000 !important;
padding: 1.25rem 2.813rem !important;
color: #fff !important;
height:unset !important;
font-size: 16px !important;
line-height: 20px !important;
text-transform: uppercase;
color: #fff !important;
&:disabled {
background:#BEBEBE !important;
}
}
.nf-form-content button:hover, .nf-form-content input[type=button]:hover, .nf-form-content input[type=submit]:hover{
background-color: #669999 !important;
color: #fff !important;
&:disabled {
background:#BEBEBE !important;
}
}
.nf-error-msg {
&:before {
content:'';
display: inline-block;
background-image: url("data:image/svg+xml,%3Csvg id='Group_1765' data-name='Group 1765' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='24.396' height='21.911' viewBox='0 0 24.396 21.911'%3E%3Cdefs%3E%3CclipPath id='clip-path'%3E%3Crect id='Rectangle_301' data-name='Rectangle 301' width='24.396' height='21.911' transform='translate(0 0)' fill='%23e00'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg id='Group_1764' data-name='Group 1764' transform='translate(0 0)' clip-path='url(%23clip-path)'%3E%3Cpath id='Path_1451' data-name='Path 1451' d='M24 17.487 14.752 1.474a2.948 2.948 0 0 0-5.107 0L.4 17.487A2.949 2.949 0 0 0 2.953 21.91H21.443A2.949 2.949 0 0 0 24 17.487m-10.35 1.539h-2.9v-2.9h2.9Zm0-4.169h-2.9V4.967h2.9Z' transform='translate(0 0)' fill='%23e00'/%3E%3C/g%3E%3C/svg%3E");
background-repeat: no-repeat;
background-size: contain;
width: 1.5rem;
height: 1.313rem;
margin-right:0.5rem;
}
}
.datepicker{
width: calc(100% - 45px)!important;
float: right !important;
}
.label-left .field-wrap {
align-items: center;
margin-top:0.25rem;
}
.field-wrap {
//Works for the Host a Fundraiser form
margin-top:0.25rem;
}
.flatpickr-months .flatpickr-prev-month, .flatpickr-months .flatpickr-next-month {
margin-top:0;
}
.checkbox-wrap .nf-field-element label, .checkbox-wrap .nf-field-label label, .listcheckbox-wrap .nf-field-element label, .listcheckbox-wrap .nf-field-label label {
margin-left:0 !important;
}
.field-wrap.date-wrap {
.nf-field-element {
.pikaday__container {
flex-basis: 20%;
min-width: 200px;
margin-right:1rem;
}
.extra {
text-align: center;
padding-right: 0;
}
display: flex;
& > .pikaday__container + div {
height:40px;
display: flex;
align-items: center;
background:white;
margin-right:1rem;
padding:0 0.5rem;
&:after {
content: "";
width: 1.15rem;
height: 1rem;
display: block;
background-repeat: no-repeat;
background-position: center;
background-size: 10px 16px;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16.175' height='9.808' viewBox='0 0 16.175 9.808'%3E%3Cpath id='Path_1396' data-name='Path 1396' d='M19.409 190.005c.561-.568 1.11-1.13 1.667-1.686q2-2 4.01-4a.9.9 0 0 1 1.329 0c.254.261.515.516.772.774a.881.881 0 0 1-.005 1.318q-1.8 1.8-3.605 3.606-1.748 1.75-3.495 3.5a.975.975 0 0 1-.654.312.931.931 0 0 1-.719-.31q-1.349-1.354-2.7-2.706-1.836-1.838-3.674-3.675c-.25-.25-.5-.5-.75-.75A.876.876 0 0 1 11.6 185.1l.766-.766a.9.9 0 0 1 1.348 0l3.252 3.24 2.355 2.345C19.339 189.941 19.363 189.962 19.409 190.005Z' transform='translate(-11.305 -184.028)'/%3E%3C/svg%3E") !important;
pointer-events: none;
}
}
& > .pikaday__container + div + div {
height:40px;
display: flex;
align-items: center;
background:white;
margin-right:1rem;
padding:0 0.5rem;
&:after {
content: "";
width: 1.15rem;
height: 1rem;
display: block;
background-repeat: no-repeat;
background-position: center;
background-size: 10px 16px;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16.175' height='9.808' viewBox='0 0 16.175 9.808'%3E%3Cpath id='Path_1396' data-name='Path 1396' d='M19.409 190.005c.561-.568 1.11-1.13 1.667-1.686q2-2 4.01-4a.9.9 0 0 1 1.329 0c.254.261.515.516.772.774a.881.881 0 0 1-.005 1.318q-1.8 1.8-3.605 3.606-1.748 1.75-3.495 3.5a.975.975 0 0 1-.654.312.931.931 0 0 1-.719-.31q-1.349-1.354-2.7-2.706-1.836-1.838-3.674-3.675c-.25-.25-.5-.5-.75-.75A.876.876 0 0 1 11.6 185.1l.766-.766a.9.9 0 0 1 1.348 0l3.252 3.24 2.355 2.345C19.339 189.941 19.363 189.962 19.409 190.005Z' transform='translate(-11.305 -184.028)'/%3E%3C/svg%3E") !important;
pointer-events: none;
}
}
& > .pikaday__container + div + div + div {
height:40px;
display: flex;
align-items: center;
background:white;
margin-right:1rem;
padding:0 0.5rem;
&:after {
content: "";
width: 1.15rem;
height: 1rem;
display: block;
background-repeat: no-repeat;
background-position: center;
background-size: 10px 16px;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16.175' height='9.808' viewBox='0 0 16.175 9.808'%3E%3Cpath id='Path_1396' data-name='Path 1396' d='M19.409 190.005c.561-.568 1.11-1.13 1.667-1.686q2-2 4.01-4a.9.9 0 0 1 1.329 0c.254.261.515.516.772.774a.881.881 0 0 1-.005 1.318q-1.8 1.8-3.605 3.606-1.748 1.75-3.495 3.5a.975.975 0 0 1-.654.312.931.931 0 0 1-.719-.31q-1.349-1.354-2.7-2.706-1.836-1.838-3.674-3.675c-.25-.25-.5-.5-.75-.75A.876.876 0 0 1 11.6 185.1l.766-.766a.9.9 0 0 1 1.348 0l3.252 3.24 2.355 2.345C19.339 189.941 19.363 189.962 19.409 190.005Z' transform='translate(-11.305 -184.028)'/%3E%3C/svg%3E") !important;
pointer-events: none;
}
}
}
}
.pikaday__container::before{
content:'';
background-image: url("data:image/svg+xml,%3Csvg id='Component_271_1' data-name='Component 271 %E2%80%93 1' xmlns='http://www.w3.org/2000/svg' width='35' height='35' viewBox='0 0 35 35'%3E%3Crect id='Rectangle_224' data-name='Rectangle 224' width='35' height='35'/%3E%3Cg id='Group_1575' data-name='Group 1575' transform='translate(-83 -842)'%3E%3Cpath id='Path_1397' data-name='Path 1397' d='M73.645 56.3V54.6H71.713v1.7H65.2V54.6H63.268v1.7H58.426V74.353H78.38V56.3Zm2.907 16.224h-16.3v-14.4h16.3Z' transform='translate(32.098 794.427)' fill='%23fff'/%3E%3Crect id='Rectangle_225' data-name='Rectangle 225' width='2.611' height='1.931' transform='translate(95.025 855.357)' fill='%23fff'/%3E%3Crect id='Rectangle_226' data-name='Rectangle 226' width='2.611' height='1.931' transform='translate(99.248 855.357)' fill='%23fff'/%3E%3Crect id='Rectangle_227' data-name='Rectangle 227' width='2.611' height='1.931' transform='translate(103.471 855.357)' fill='%23fff'/%3E%3Crect id='Rectangle_228' data-name='Rectangle 228' width='2.611' height='1.931' transform='translate(95.025 858.663)' fill='%23fff'/%3E%3Crect id='Rectangle_229' data-name='Rectangle 229' width='2.611' height='1.931' transform='translate(99.248 858.663)' fill='%23fff'/%3E%3Crect id='Rectangle_230' data-name='Rectangle 230' width='2.611' height='1.931' transform='translate(103.471 858.663)' fill='%23fff'/%3E%3Crect id='Rectangle_231' data-name='Rectangle 231' width='2.611' height='1.931' transform='translate(95.025 861.969)' fill='%23fff'/%3E%3Crect id='Rectangle_232' data-name='Rectangle 232' width='2.611' height='1.931' transform='translate(99.248 861.969)' fill='%23fff'/%3E%3C/g%3E%3C/svg%3E");
background-repeat: no-repeat;
background-size: contain;
display: inline-block;
height: 2rem;
width:2rem;
margin:0;
cursor: pointer;
}
.pikaday__container:hover::before{
background-image: url(../img/cal-hover.png);
}
.flatpickr-day.selected{
background: #669999 !important;
border-color: #669999 !important;
}
.flatpickr-day.today{
border-color: #EE0000 !important;
}
.flatpickr-day:hover{
background: #EE0000 !important;
border-color: #EE0000 !important;
color:#fff !important;
}
// .checbox-filter-section {
// input {
// opacity: 0;
// width: 0;
// }
// .checkbox-field {
// position: relative;
// &:before{
// content:'';
// display: inline-block;
// height: 1.375rem!important;
// width: 1.375rem!important;
// border-color: #f0f0f0!important;
// background: #f0f0f0!important;
// }
// }
// input:checked + .checkbox-field {
// &:after {
// content: "\f00c";
// font-family: FontAwesome;
// font-size: 1.125rem;
// // height: 1rem;
// // width: 1rem;
// // background:red;
// display: flex;
// justify-content: center;
// align-items: center;
// font-size: 24px;
// position: absolute;
// bottom: 0;
// left: 0;
// z-index: 2;
// }
// }
// }
//Forms from luminate
......@@ -845,6 +112,16 @@ nf-cells {
}
.appArea.responsive {
.row{
padding-right: 10px;
@media only screen and (max-width: 782px) {
padding-right: 0px;
}
}
.required-text {
font-style: italic;
}
.form-content {
position: relative;
......@@ -853,6 +130,7 @@ nf-cells {
top: 0;
top: -2.5rem;
right: 0;
}
}
......@@ -910,10 +188,9 @@ nf-cells {
}
//Setup as per spacing on newsletter signup on homepage
margin-top:2.5rem;
& > .appArea.responsive {
margin-top:2.188rem;
}
//The newsletter signup on homepage
......@@ -963,12 +240,22 @@ nf-cells {
margin-top:0;
}
#ACTION_SUBMIT_SURVEY_RESPONSE {
label {
padding-left: 0px !important;
}
input[type="submit"] {
margin-top: 10px;
color:white !important;
padding:1.25rem 2.125rem !important;
font-size: 1rem !important;
padding: 7px 30px 10px 30px!important;
width: auto !important;
font-size: 14px !important;
line-height: 19px;
font-family: "PT Sans",sans-serif;
font-weight: 700;
border-radius: 25px !important;
background-color: #e00 !important;
margin-right: 0px;
&:hover {
background:#669999 !important;
}
......@@ -1049,6 +336,7 @@ nf-cells {
border-radius: 0 !important;
height:2.188rem !important;
min-width: 200px;
}
label {
font-size: 1rem!important;
......@@ -1066,7 +354,7 @@ nf-cells {
}
#cons_email {
height: auto !important;
}
}
......
......@@ -172,6 +172,7 @@
}
#page-wrapper{
margin-top: 34px;
margin: 34px 40px 0 40px;
.breadcrumb{
margin-bottom: 0px;
#breadcrumb{
......@@ -196,7 +197,7 @@ h1+p {
.side-menu{
list-style: none;
margin-top: 14px;
padding-left: 15px;
padding-left: 0px;
li{
margin-bottom: 14px;
......@@ -214,4 +215,44 @@ h1+p {
#main{
width: 100%;
}
}
.pi {
height:300px;
min-height:300px;
@media(min-width: 1024px) {
min-height:200px;
text-align: center;
justify-content: center;
width: 100%;
height: auto;
}
.recharts-wrapper {
margin:0 auto;
}
h3 {
color:#000;
font-family:Gotham,Helvetica,Arial,sans-serif;
font-weight: 700;
margin:0;
}
svg {
height:200px;
overflow: visible;
}
svg:lang(en) {
height:300px;
}
@media(max-width: 768px) {
h3 {
text-align:center;
}
svg {
height:200px;
}
svg:lang(en) {
height:200px;
}
}
}
\ No newline at end of file
......