problema con la configuracion el boton de whatsapp

hola estoy tratando q el link de whatsapp tenga un mensaje predeterminado intento e intento pero me sale alguien que pueda explicar el codigo soy nuevo en programacion

case “whatsapp”: {

$whatsapp = get_post_meta($post->ID, "whatsapp", true);
if($inElementor){
$whatsapp = "+44 123 456";

aca trate de crear que message guarde el texto
$message = “Hola! Me intereso mucho este articulo y creo que a ti también puede llegar a interesarte”;
y aca para que separe las letras para que whatsap lo reconozca
$message = str_replace(” “, “%20”, $message);
}
aqui ya no entiendo mucho
if(strlen($whatsapp==$message) > 2){ ?>

 <a href="https://api.whatsapp.com/send?phone=<?php echo $whatsapp; echo $message;?>" target="_blank" rel="nofollow" class="<?php echo str_replace("btn-primary","",$btnClass); ?> btn-whatsapp mobile-buynow-trigger" data-ppt-btn>
  <i class="fab fa-whatsapp mr-2"></i> <span><?php echo __("WhatsApp","premiumpress") ?></span>
  </a>
  
  <?php 

Mermaid Subgraphs Laid Out Inconsistently

I’m using Mermaid to create a flowchart with subgraphs.

This works okay, except the layout works differently than I expected.

With an LR layout, the subgraphs are laid out top-down, as are the nodes inside each subgraph:

<script src="https://cdn.jsdelivr.net/npm/mermaid/dist/mermaid.min.js"></script>

<div class="mermaid">
flowchart LR

subgraph Subgraph One
  A
  -->B
  -->C
end

subgraph Subgraph Two
  D
  -->E
  -->F
end

subgraph Subgraph Three
  X
  -->Y
  -->Z
end

</div>

But if I use a TD layout, the subgraphs are laid out left-to-right, but the nodes inside each subgraph are top-down.

<script src="https://cdn.jsdelivr.net/npm/mermaid/dist/mermaid.min.js"></script>

<div class="mermaid">
flowchart TD

subgraph Subgraph One
  A
  -->B
  -->C
end

subgraph Subgraph Two
  D
  -->E
  -->F
end

subgraph Subgraph Three
  X
  -->Y
  -->Z
end

</div>

This is surprising to me: I’d expect the subgraphs to be laid out in the direction I specified (either top-down or left-right). Or at the very least, I’d expect them to be orthogonal to the layout, e.g. subgraphs being left-right with nodes that are top-down, or vice-versa.

And in both cases, the subgraphs are showing up in the opposite order I’d expect, with the last subgraph showing first.

And with more complex graphs, I’m actually seeing a mix of top-down and left-right layouts no matter which layout I specify.

How can I use Mermaid to create a graph with subgraphs that are laid out left-to-right, but whose nodes are top-down, in the order I specified them?

Node.js: Is there a way to log invisible characters in a string?

Is there a way to see invisible characters like whitespace, newlines, and other non-printing characters when you run console.log?

I’m asking this because I’m debugging my code for my program and I noticed when I print the text to the console, it’s about 75 length long but then I added an extra console.log to print the length of the text and it said it was 175 length. There are obvious characters that I can’t see so I’m wondering what I can do to see these characters.

navigator.geolocation.getCurrentPosition not working on a certain browser

I’m having a problem with javascript’s:

navigator.geolocation.getCurrentPosition(success_callback,error_callback)

It’s working fine on most machines with most browsers..problem is I have a Mac and by default it prevents browsers accessing locations, unless I manually allow it at the OS level. (As a side note I’m using the Brave browser, chrome doesn’t have the issue)

What is happening at the moment is that Brave asks for permission to access location. I select yes but because at the OS level it isn’t permitted, the success_callback and the error_callback are both not called…thus my site just hangs there.

I should mention, chrome doesn’t have this issue, it somehow knows the os is blocking the permission so the error_callback gets called.

My question is how do I over come this? Partial code is below:

<template>
    <Modal v-if="showModal">
</template>

navigator.geolocation.getCurrentPosition(this.setBrowserLocation, this.errorBrowserLocation)

setBrowserLocation(position) {
    ....
    ....
    ....
    this.showModal = true
}

errorBrowserLocation(error) {
    this.showModal = true
}

I’m thinking that I can do something along the lines of checking if neither one of the call_backs is called. And if they are both not called I can auto set this.showModal. I thought of using watchers but they only detect a change…so nothing changes then I can’t really use it.

Any ideas of how I can deal with this?

Why is toggle active not working in the below code?

I am confused by the steps on how to post code on stackoverflow. Please look at codepen for entire code:

Codepen

        const hamburger = document.querySelector(".hamburger");
        const navMenu = document.querySelector(".nav-menu");

        hamburger.addEventListener("click", () => {
            hamburger.classList.toggle("active");
            navMenu.classList.toggle("active");         
        })

        document.querySelectorAll(".nav-link").forEach(n => n.addEventListener("click", () => {
            hamburger.classList.remove("active");
            navMenu.classList.remove("active");
        }))

Sorry, trying to learn by playing with html, css, and javascript from scratch. I was wondering how to build a hamburger menu from scratch. Looked up some tutorial on youtube. Copied the code. The hamburger menu is clickable and changes to a drop down navigation bar. And clicking it again, returns it back to a hamburger menu. Developer tool shows the hamburger class changes to hamburger active then back to hamburger class. But when I added the grid container code under the navbar class, the hamburger menu no longer responds to clicks. I don’t know why it no longer toggle to active. Can someone please explain. Thanks.

JS – Function returning undefined object while using axios. Log before return is an object, log after return is undefined [duplicate]

So I’ve got two functions. The first function calls the second. The console.log(listDogs) appears to show an object. the console.log(listDogs2) shows as undefined. The idea outcome is that the return from the function is the same as before.

async function listDogs() {
    let listDogs2 = await getListDogs();
    console.log(listDogs2);
}

async function getListDogs(){
    await axios.get(`https://dog.ceo/api/breeds/list/all`)
    .then(response => {
        let listDogs = response.data.message;
        console.log(listDogs);
        return listDogs;
    }).catch((err) => {
        console.log(err);
    });
}

Console Output
line 31 is console.log(listDogs);
line 7 is console.log(listDogs2);

Console output

Any help appreciated. Either a solution, or a pointer about where to read. Have done quite abit of searching and cannot get my head round it. Thanks in advance.

Using JS inside HTML with React

I have the following code:

<div className=''>
  <div className='userLayout'>
  {localMessages.map((localMessage) => (
    <div className={`${userId}` === `${localMessage.uuid}` ? 'fromUserLayout userCurrentLayout' : 'fromUserLayout userOtherLayout'} >
      <div className={`${userId}` === `${localMessage.uuid}` ? 'user userCurrent' : 'user userOther'}>
      <p>{localMessage.content}</p>
      <p>{localMessage.timestamp}</p>
      { localMessage?.image && localMessage.image.length > 0 && <img style={{width: '100%', height: 'auth', marginBottom: 24 }} src={localMessage.image} alt='chat' /> } 
   </div>
  </div>)
  )}
</div>

which works, however, I want to convert my timestamp in localMessage.timestamp back to a date.
I know I could do this with something like:

let theDate = new Date(localMessage.timestamp)

but I can’t remember (or figure out) how to use JS inside the map function.

Node.js Puppeteer setCookie not setting the cookie

I’m trying to set a certain cookie in the browser using Puppeteer, however when I run the code to set the cookie then console.log all the cookies on the page, it doesn’t show up.

I’m running the following:

        const captchaCookie = {
            name: "hc_accessibility",
            value: "drR8A+cddQky0hclwHAG6gjwqk04IGvOhfYMP",
            domain: ".hcaptcha.com",
            path: "/",
            expires: new Date("2022-04-08T09:01:39.010Z").getTime(),
        };

        await page.setCookie(captchaCookie);
        
        await page.waitForTimeout(5000);

        console.log("Writing cookies to file.");
        const cookies = await page.cookies();
        await fs.writeFile('./cookies.json', JSON.stringify(cookies, null, 2));
        console.log("Cookie file written.");

However, when I do this, in my cookies.json file this new cookie I set does not show up for some reason… I suspect this is why the accessibility cookie is not working in the browser for me. This is the JSON output:

[
  {
    "name": "SCSessionId",
    "value": "jijt34hj2xijq4gul5i1fdjx",
    "domain": ".scottycameron.com",
    "path": "/",
    "expires": 1680902482.495723,
    "size": 35,
    "httpOnly": false,
    "secure": false,
    "session": false,
    "sameParty": false,
    "sourceScheme": "Secure",
    "sourcePort": 443
  },
  {
    "name": "isAdmin",
    "value": "False",
    "domain": "www.scottycameron.com",
    "path": "/",
    "expires": -1,
    "size": 12,
    "httpOnly": false,
    "secure": false,
    "session": true,
    "sameParty": false,
    "sourceScheme": "Secure",
    "sourcePort": 443
  },
  {
    "name": ".ASPXAUTH",
    "value": "36268A1E1D2364038C3E1DA55B5D8235E41FAE61D1D8020E4066DB4B01711F9C330386672B7BF44D67388B0032C650E8BA348DB2E8F86E44A4ECFBF1520DB6F0217434729950DA8488724DAB924AC8074C6342355FB76F68C9938A29DFD0AB9CDDEDDF4529B3061816D45AE20578C53CB27FB533EE231BECE07C80BD8B84C777",
    "domain": "www.scottycameron.com",
    "path": "/",
    "expires": 1649367682.495947,
    "size": 265,
    "httpOnly": true,
    "secure": false,
    "session": false,
    "sameSite": "Lax",
    "sameParty": false,
    "sourceScheme": "Secure",
    "sourcePort": 443
  },
  {
    "name": "CookieSession",
    "value": "436212140.47873.0000",
    "domain": "www.scottycameron.com",
    "path": "/",
    "expires": -1,
    "size": 33,
    "httpOnly": true,
    "secure": true,
    "session": true,
    "sameParty": false,
    "sourceScheme": "Secure",
    "sourcePort": 443
  },
  {
    "name": "ak_bmsc",
    "value": "4AA3CEC4D9E6AE9969987921E3ED16D4~000000000000000000000000000000~YAAQaKUQAoiJTwKAAQAAPxDnBQ/UlLIQjcFXA9N21BPy51wlF11AbL3wTqAl/x1xqAu2YMBnMxsfEC3vvlHphkagr+XDeaw6triB1ZTEhcauZXYfnTzjgCAJggjaAncgVFF/c8HKZRit5AKZey4Te9kwzf4uiSbCh+nWArwfa9qK7SG0K6EQ15cRWaPx474UU75/Tba2EEryU5+jk/WTBYsKgHCmk2lpt603TQX4+ySHL82ePh2y894prqsPaxMqmOx+NRsdF8COac1GZpBPYNrtBs9efPuWMkY37a1fCb23/SAHUZ1G6QFjgEBiOtHMJ1C/e5o3cxLeXTa3kv90O33HnuINDMLkomSt6VIkCKwi3+JbLeC/tm7Yxb8obHfOQLv58twashH5tvVOrG9gxYSoPeVyhI61HsEcnZuQAm0HfIoIkcpCGg99e04kp0nhhVvZi/5uLG3Rjpj2bzDkOhVUVWI244uiT6u3DFNcXatUkjU5gkM=",
    "domain": ".scottycameron.com",
    "path": "/",
    "expires": 1649373668.746263,
    "size": 571,
    "httpOnly": true,
    "secure": false,
    "session": false,
    "sameParty": false,
    "sourceScheme": "Secure",
    "sourcePort": 443
  },
  {
    "name": "bm_sv",
    "value": "235148FCE2F3956304D0C4670431EDA5~tnhmy/7Lr4mr9f7Xi0o1zWkbgCgatyrkx2dfx8Gz/fAF5zECmrnLYv3VS6IafZMOvoQyuDIu08DH93uSLJFYDvLNmap5md2HffL44BfYpPK+Ozd3BWkiWgHkiHWfgIqrB3h6g0PWd0MQ5m2ILerHuusjawfALt3gZjheilv631o=",
    "domain": ".scottycameron.com",
    "path": "/",
    "expires": 1649373668.992258,
    "size": 210,
    "httpOnly": true,
    "secure": false,
    "session": false,
    "sameParty": false,
    "sourceScheme": "Secure",
    "sourcePort": 443
  },
  {
    "name": "bm_sz",
    "value": "3A185B1E9853A46DEA0835A9A5F079CC~YAAQaKUQAoKJTwKAAQAADwjnBQ9NLqkc3gkbn/VA3Du7UCAd8q+4TkxdiIREjKDGp+JGCdXnNcdgBwUKfpqUM89zXWa1D1VrKxUwZWsOZmT4WKMpS4tqCIR+FygKJBVRuUOVoT9GaG4jhTykIIip7WUuzXMx8D4+Tasu4h/W8Nv/CFKZczch0VIgTrezor06Kf9IwSQZVQvGUsEA6xKryMp3qUcjS+rSn6skmsDgWBca5evadhdldwlf9q/3n7+7c4Ee8IJDbpyG3e2EMr/yzuc31boAChW52yK5ZL3Q3dJy8OsipxqNBVvF~3356486~4272438",
    "domain": ".scottycameron.com",
    "path": "/",
    "expires": 1649380868.647984,
    "size": 366,
    "httpOnly": false,
    "secure": false,
    "session": false,
    "sameParty": false,
    "sourceScheme": "Secure",
    "sourcePort": 443
  },
  {
    "name": "__RequestVerificationToken_L3N0b3Jl0",
    "value": "zS_1VWV9_bWnKOti2t7JemlrNrzVvmOB0hPJxHEyOcg2uWOhlQndSMbVyGrvWnz6_-o1j3oa9kKMC-Aqhb9KSdmGOZZZSZoCsOS7x8CQenc1",
    "domain": "www.scottycameron.com",
    "path": "/",
    "expires": -1,
    "size": 144,
    "httpOnly": true,
    "secure": false,
    "session": true,
    "sameParty": false,
    "sourceScheme": "Secure",
    "sourcePort": 443
  },
  {
    "name": "_WebStorePublishState",
    "value": "PRODUCTION",
    "domain": "www.scottycameron.com",
    "path": "/",
    "expires": -1,
    "size": 31,
    "httpOnly": false,
    "secure": false,
    "session": true,
    "sameParty": false,
    "sourceScheme": "Secure",
    "sourcePort": 443
  },
  {
    "name": "bm_mi",
    "value": "FB564BF7F20BF5685871930524714CF4~m2sVLAiMcIpi9+0BfDpJCBZ9EUgje/DT0VGyJNyrzwu7xK7fASsax/gW10hEK0ZfRWVwLtIeZgZMg+XLNcI6y9P/ZzyGYUR3taytO+KwuvnLw6x3277wU0yXLqgg59hc7qqCJcLUwNAnWnmJhqsoz3UbOxRCLTCiIymcQBTA2tnDeSHeZzWBTrKYoKF+rYhyuS+iukmM6NhwrLyIW9quQIVp+1O4HImjG/minoGBUnoCahXXU4JlPMua+8GL2KtjXIaFn/hXPfRPfWm+ID7BdQZp5Dn4tdR1loSosuZ4jYCw6h2rSFnWrWhAdGASuE8K",
    "domain": ".scottycameron.com",
    "path": "/",
    "expires": 1649373668.294547,
    "size": 358,
    "httpOnly": true,
    "secure": false,
    "session": false,
    "sameParty": false,
    "sourceScheme": "Secure",
    "sourcePort": 443
  },
  {
    "name": "culture",
    "value": "en",
    "domain": "www.scottycameron.com",
    "path": "/",
    "expires": -1,
    "size": 9,
    "httpOnly": false,
    "secure": false,
    "session": true,
    "sameParty": false,
    "sourceScheme": "Secure",
    "sourcePort": 443
  },
  {
    "name": "_abck",
    "value": "F37856EFEE58F3E50D8E7F3ED56968CC~-1~YAAQaKUQApKJTwKAAQAAG1bnBQdv7FpWhEr/RfbfIJSXfoLJJ4Vry+OWo2Olej8t8TPcjeLCeO2AspHip/dA/JxJQj1rud09kIyWHOA0tVTKpe+l8RHtJN8/0HGVRj9mNMrDcC8cmhtrMWLM+xuVoC2PTRFbzHLtW4qIdsxFzEPfCJ073JN/ImF2a0zijnsdb1kvP6q+wy9zIyemST5oQVMGA3Ov6qXqmGoDGinnKRTSx9s9W9b2U2Ba8DOBNz7Hu+IZFw8xh+Tn5SCiRDKPAjPgk5lnG45Rr9oE4ZpnIFwDBUBU+Fkt76cWajtPkKUmlOX7Q+ZeEQSPOCjJeOT0dCaTtK83YET0ECJiz7sDzVBnJNqYUmIGdNZ6pAqI0b9NFri3epB74Y7EHgTDdVy2EGM=~-1~-1~-1",
    "domain": ".scottycameron.com",
    "path": "/",
    "expires": 1680902488.628089,
    "size": 458,
    "httpOnly": false,
    "secure": true,
    "session": false,
    "sameParty": false,
    "sourceScheme": "Secure",
    "sourcePort": 443
  },
  {
    "name": "_WebStoreculture",
    "value": "1",
    "domain": "www.scottycameron.com",
    "path": "/",
    "expires": -1,
    "size": 17,
    "httpOnly": false,
    "secure": false,
    "session": true,
    "sameParty": false,
    "sourceScheme": "Secure",
    "sourcePort": 443
  },
  {
    "name": "persona",
    "value": "other",
    "domain": "www.scottycameron.com",
    "path": "/",
    "expires": -1,
    "size": 12,
    "httpOnly": false,
    "secure": false,
    "session": true,
    "sameParty": false,
    "sourceScheme": "Secure",
    "sourcePort": 443
  },
  {
    "name": "ASP.NET_SessionId",
    "value": "jijt34hj2xijq4gul5i1fdjx",
    "domain": "www.scottycameron.com",
    "path": "/",
    "expires": -1,
    "size": 41,
    "httpOnly": true,
    "secure": false,
    "session": true,
    "sameSite": "Lax",
    "sameParty": false,
    "sourceScheme": "Secure",
    "sourcePort": 443
  }
]

Would anyone know the reason why this cookie isn’t appearing when I try to get the page’s cookies?

Dynamic js chart display problems

Data from chart don’t showed. Labels – ok, data – nothing)

There is only links for chart.js and canvas initialization in HTML
HTML

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.5.0/Chart.min.js"></script>
    <!-- <script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/3.7.1/chart.js"></script> -->
    <title>Title</title>
</head>
<body>
    <h2>text</h2>
    <canvas id="bar-chart-horizontal" width="800" height="450"></canvas>
</body>


<script src="/Users/***/Documents/django_website/js.js"></script>

</html>

JS code divided bay two parts: the first -creation data for future use in chart, the second – chart creation.
JS

var lineChartData = { labels: ["Australia", "China", "USA", "New Zeland", "Sweden", "Norway", "Finland", "Netherlands"], datasets: [] },
    array = ["[0,0,36,0,0,0,0,0]", "[20,60,15,9,2,3,39,364]"];

function getDataset(index, data) {
return {
  datasets: [{
    backgroundColor: ["#c45850", "#3cba9f","#8e5ea2","#e8c3b9","#e8c3b9","#e8c3b9","#e8c3b9","#e8c3b9"],
    data: data
  }]
};
}


array.forEach(function (a, i) {
lineChartData.datasets.push(getDataset(i, JSON.parse(a)));
});

// -----------------------------------------------------------------------------
new Chart(document.getElementById("bar-chart-horizontal"), {
    type: 'horizontalBar',
    data: {
      labels: ["Australia", "China", "USA", "New Zeland", "Sweden", "Norway", "Finland", "Netherlands"],
      lineChartData
    },
    options: {
      legend: { display: false },
      title: {
        display: true,
        text: ''
      },
      scales: {
        xAxes: [{
          stacked: true,
     }],
        yAxes: [{
          stacked: true
     }]
}
    }
});

It looks like there is a small mistake, but I can’t find it.

convert object keys and values in single Array JS?

I have an object that looks like this:

const dataObj =
{"Tom-29":[ 
    { "number": 12, "string": "hi"},
    { "number": 40, "string": "bye"}
]}

I want something like below and result sorted by number

[
    { Name:"Tom",Age:29,"number": 12, "string": "hi"},
    { Name:"Tom",Age:29,"number": 40, "string": "bye"}
];

How would i do this ? I tried below approach .

 const arr =Object.entries(dataObj).map(itm=>({...itm,Name:itm[0]}));

Please help me to resolve

How to use an API service that sends a cookie auth from a POST request to then you use it with GET requests?

I was playing a bit with fetch then i got stuck into an issue.

There is an API service here in Brazil that responses public bus services traffic. To get the resources you first need to send a POST request that gives you a cookie auth and after that you can make the GET requests.

In this stage i can get de POST auth cookie but when trying to GET data later it returns an 401 error and samesite. I guess it is becouse i am not being able to send the cookie into de GET request, am i right?
Here is the error from console:

XHRGEThttp://api.olhovivo.sptrans.com.br/v2.1/Posicao/Linha?codigoLinha=856
[HTTP/1.1 401 Unauthorized 13ms]
Some cookies are misusing the recommended “SameSite“ attribute 2
Cookie “apiCredentials” has been rejected because it is in a cross-site context and its “SameSite” is “Lax” or “Strict”. Autenticar
Cookie “apiCredentials” has been rejected because it is in a cross-site context and its “SameSite” is “Lax” or “Strict”. Autenticar
<empty string> bust.html:32:28

In python i can do it easily with the session command but i am not being able to do with fetch in javaScript.

Does anyone knows how to manage that code to work and get the response from the API service.

Thank you very much!!!

// this is my code:

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
  <script>

const api_url = 'http://api.olhovivo.sptrans.com.br/v2.1/Posicao/Linha?codigoLinha=856'

const auth_url = 'http://api.olhovivo.sptrans.com.br/v2.1/Login/Autenticar?token=1ce7717aac41a2c9315fb17054b93713459dae903e6914999dcea325dc7baa61'

fetch(auth_url, {
            method: 'POST',
            mode: 'no-cors',
            credentials: 'include',
        })
            .then(response => {
                console.log(response.headers.get('set-cookie')); // undefined
                console.log(document.cookie); // nope
        });



fetch(api_url, {
            mode: 'no-cors',
            credentials: 'include',
        })
            .then(response => response.text())
            .then(result => console.log(result))
            .catch(error => console.log('error', error));


  </script>
    
</body>
</html>

Fancybox Gallery: carousel view error on Multiple galleries

Problem with Fancybox Gallery

Problem with Multiple galleries in the Carousel view

My problem is!
Category1 shows all images in the carousel instead of only Category1.
For Category2 to Category5, everything display correctly.
With All, everything show as it should.
Issue, as already mentioned, only in Category1.
Have tryed many things on the

I hope you can help me here

@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600;700&display=swap");

 /*===== VARIABLES CSS =====*/
 :root {
    --header-height: 3rem;
    --font-medium: 500;
}
/*===== Colores =====*/
:root {
    --first-color: #49A687;
    --complementary-color: #F99D6E;
    --white-color: #FAFAFF;
    --dark-color: #2A3B47;
    --text-color: #697477;
    --white-color-glass: rgba(250, 250, 255, 0.4);
}
/*===== Fuente y tipografia =====*/
:root {
    --body-font: 'Montserrat', sans-serif;
    --big-font-size: 6.25rem;
    --h2-font-size: 1.25rem;
    --normal-font-size: .938rem;
    --small-font-size: .813rem;
}

*
{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family:  'Montserrat', sans-serif;
}
section.res__gallery
{
    padding: 20px;
    width: 100%;
    display: flex;
    justify-self: center;
    align-items: center;
    flex-direction: column;
    margin: 40px auto;
}
section.res__gallery ul
{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
section.res__gallery ul li
{
    list-style: none;
    background: var(--first-color);
    color: var(--white-color);
    font-size: var(--h2-font-size);
    padding: 12px 20px;
    margin: 5px;
    letter-spacing: 1px;
    cursor: pointer;
    -ms-user-select: None;
    -moz-user-select: None;
    -webkit-user-select: None;
    user-select: None;
}
section.res__gallery ul li.active
{
    background: var(--complementary-color);
    color: var(--white-color);
}
.product
{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    -ms-user-select: None;
    -moz-user-select: None;
    -webkit-user-select: None;
    user-select: None;
}
.product .itembox
{
    position: relative;
    width: 200px;
    height: 200px;
    margin: 5px;
    display: block;
}
.product .itembox.hide
{
    display: none;
}
.product .itembox img
{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

a[data-fancybox] img {
    cursor: zoom-in;
  }

 
<!DOCTYPE html>
<html>

    <head>
        <meta charset="UTF-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <title>Responsive Gallery</title>

        <link rel="stylesheet" href="gallery-style.css">
        <link rel="stylesheet" href="tailwind.min.css">
        <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fancyapps/[email protected]/dist/fancybox.css">
    </head>

    <body>
        <section class="res__gallery">
            <ul>
                <li class="list active" data-filter="all">Alles</li>
                <li class="list" data-filter="category1">category1</li>
                <li class="list" data-filter="category2">category2</li>
                <li class="list" data-filter="category3">category3</li>
                <li class="list" data-filter="category4">category4</li>
                <li class="list" data-filter="category5">category5</li>
            </ul>
            <div class="product">
                <div class="itembox" data-item="category1">
                    <a data-mobile="category1" data-caption="Short caption" href="https://mectag-design.com/assets/images/mobile1.jpg">
                        <img src="https://mectag-design.com/assets/images//mobile1.jpg" alt="mobile1" title="Mobile1">
                    </a>
                </div>
                <div class="itembox" data-item="category2">
                    <a data-fancybox="category2" data-caption="Short caption" href="https://mectag-design.com/assets/images/camera1.jpg">
                        <img src="https://mectag-design.com/assets/images/camera1.jpg" alt="camera1">
                    </a>
                </div>
                <div class="itembox" data-item="category3">
                    <a data-fancybox="category3" data-caption="Short caption" href="https://mectag-design.com/assets/images/watch1.jpg">
                        <img src="https://mectag-design.com/assets/images/watch1.jpg" alt="watch1">
                    </a>
                </div>
                <div class="itembox" data-item="category4">
                    <a data-fancybox="category4" data-caption="Short caption" href="https://mectag-design.com/assets/images/shoe1.jpg">
                        <img src="https://mectag-design.com/assets/images/shoe1.jpg" alt="shoe1">
                    </a>
                </div>
                <div class="itembox" data-item="category5">
                    <a data-fancybox="category5" data-caption="Short caption" href="https://mectag-design.com/assets/images/headphone1.jpg">
                        <img src="https://mectag-design.com/assets/images/headphone1.jpg" alt="headphone1">
                    </a>
                </div>
                <div class="itembox" data-item="category1">
                    <a data-mobile="category1" data-caption="Short caption" href="https://mectag-design.com/assets/images/mobile2.jpg">
                        <img src="https://mectag-design.com/assets/images/mobile2.jpg" alt="mobile2">
                    </a>
                </div>
                <div class="itembox" data-item="category2">
                    <a data-fancybox="category2" data-caption="Short caption" href="https://mectag-design.com/assets/images/camera2.jpg">
                        <img src="https://mectag-design.com/assets/images/camera2.jpg" alt="camera2">
                    </a>
                </div>
                <div class="itembox" data-item="category3">
                    <a data-fancybox="category3" data-caption="Short caption" href="https://mectag-design.com/assets/images/watch2.jpg">
                        <img src="https://mectag-design.com/assets/images/watch2.jpg" alt="watch2">
                    </a>
                </div>
                <div class="itembox" data-item="category4">
                    <a data-fancybox="category4" data-caption="Short caption" href="https://mectag-design.com/assets/images/shoe2.jpg">
                        <img src="https://mectag-design.com/assets/images/shoe2.jpg" alt="shoe2">
                    </a>
                </div>
                <div class="itembox" data-item="category5">
                    <a data-fancybox="category5" data-caption="Short caption" href="https://mectag-design.com/assets/images/headphone2.jpg">
                        <img src="https://mectag-design.com/assets/images/headphone2.jpg" alt="headphone2">
                    </a>
                </div>
                <div class="itembox" data-item="category1">
                    <a data-mobile="category1" data-caption="Short caption" href="https://mectag-design.com/assets/images/mobile3.jpg">
                        <img src="https://mectag-design.com/assets/images/mobile3.jpg" alt="mobile3">
                    </a>
                </div>
                <div class="itembox" data-item="category2">
                    <a data-fancybox="category2" data-caption="Short caption" href="https://mectag-design.com/assets/images/camera3.jpg">
                        <img src="https://mectag-design.com/assets/images/camera3.jpg" alt="camera3">
                    </a>
                </div>
                <div class="itembox" data-item="category3">
                    <a data-fancybox="category3" data-caption="Short caption" href="https://mectag-design.com/assets/images/watch3.jpg">
                        <img src="https://mectag-design.com/assets/images/watch3.jpg" alt="watch3">
                    </a>
                </div>
                <div class="itembox" data-item="category4">
                    <a data-fancybox="category4" data-caption="Short caption" href="https://mectag-design.com/assets/images/shoe3.jpg">
                        <img src="https://mectag-design.com/assets/images/shoe3.jpg" alt="shoe3">
                    </a>
                </div>
                <div class="itembox" data-item="category5">
                    <a data-fancybox="category5" data-caption="Short caption" href="https://mectag-design.com/assets/images/headphone3.jpg">
                        <img src="https://mectag-design.com/assets/images/headphone3.jpg" alt="headphone3">
                    </a>
                </div>
                <div class="itembox" data-item="category1">
                    <a data-mobile="category1" data-caption="Short caption" href="https://mectag-design.com/assets/images/mobile4.jpg">
                        <img src="https://mectag-design.com/assets/images/mobile4.jpg" alt="mobile4">
                    </a>
                </div>
                <div class="itembox" data-item="category3">
                    <a data-fancybox="category3" data-caption="Short caption" href="https://mectag-design.com/assets/images/watch4.jpg">
                        <img src="https://mectag-design.com/assets/images/watch4.jpg" alt="watch4">
                    </a>
                </div>
                <div class="itembox" data-item="category4">
                    <a data-fancybox="category4" data-caption="Short caption" href="https://mectag-design.com/assets/images/shoe4.jpg">
                        <img src="https://mectag-design.com/assets/images/shoe4.jpg" alt="shoe4">
                    </a>
                </div>
                <div class="itembox" data-item="category5">
                    <a data-fancybox="category5" data-caption="Short caption" href="https://mectag-design.com/assets/images/headphone4.jpg">
                        <img src="https://mectag-design.com/assets/images/headphone4.jpg" alt="headphone4">
                    </a>
                </div>
                <div class="itembox" data-item="category1">
                    <a data-mobile="category1" data-caption="Short caption" href="https://mectag-design.com/assets/images/mobile5.jpg">
                        <img src="https://mectag-design.com/assets/images/mobile5.jpg" alt="mobile5">
                    </a>
                </div>
            </div>
        </section>


        <script>
            let list = document.querySelectorAll('.list');
            let itemBox = document.querySelectorAll('.itembox');

            for (let i = 0; i < list.length; i++) {
                list[i].addEventListener('click', function () {
                    for (let j = 0; j < list.length; j++) {
                        list[j].classList.remove('active');
                    }
                    this.classList.add('active');

                    let dataFilter = this.getAttribute('data-filter');

                    for (let k = 0; k < itemBox.length; k++) {
                        itemBox[k].classList.remove('active');
                        itemBox[k].classList.add('hide');
                        Fancybox.bind(
                            '[data-mobile="category0"],[data-mobile="category1"],[data-fancybox="category2"],[data-fancybox="category3"],[data-fancybox="category4"],[data-fancybox="category5"]',
                            {
                                groupAll: false,
                            }
                        );


                        if (itemBox[k].getAttribute('data-item') == dataFilter ||
                            dataFilter == "all") {
                            itemBox[k].classList.remove('hide');
                            itemBox[k].classList.add('active');
                            Fancybox.bind(
                                '[data-mobile="category0"],[data-mobile="category1"],[data-fancybox="category2"],[data-fancybox="category3"],[data-fancybox="category4"],[data-fancybox="category5"]',
                                {
                                    groupAll: true,
                                }
                            );
                        }

                    }
                })
            }


        </script>
        <script src="/fancybox.umd.js"></script>

    </body>

</html><!DOCTYPE html>
<html>

    <head>
        <meta charset="UTF-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <title>Responsive Gallery</title>

        <link rel="stylesheet" href="gallery-style.css">
        <link rel="stylesheet" href="tailwind.min.css">
        <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fancyapps/[email protected]/dist/fancybox.css">
    </head>

    <body>
        <section class="res__gallery">
            <ul>
                <li class="list active" data-filter="all">All</li>
                <li class="list" data-filter="category1">Category1</li>
                <li class="list" data-filter="category2">Category2</li>
                <li class="list" data-filter="category3">Category3</li>
                <li class="list" data-filter="category4">Category4</li>
                <li class="list" data-filter="category5">Category5</li>
            </ul>
            <div class="product">
                <div class="itembox" data-item="category1">
                    <a data-mobile="category1" data-caption="Short caption" href="https://mectag-design.com/assets/images/mobile1.jpg">
                        <img src="https://mectag-design.com/assets/images//mobile1.jpg" alt="mobile1" title="Mobile1">
                    </a>
                </div>
                <div class="itembox" data-item="category2">
                    <a data-fancybox="category2" data-caption="Short caption" href="https://mectag-design.com/assets/images/camera1.jpg">
                        <img src="https://mectag-design.com/assets/images/camera1.jpg" alt="camera1">
                    </a>
                </div>
                <div class="itembox" data-item="category3">
                    <a data-fancybox="category3" data-caption="Short caption" href="https://mectag-design.com/assets/images/watch1.jpg">
                        <img src="https://mectag-design.com/assets/images/watch1.jpg" alt="watch1">
                    </a>
                </div>
                <div class="itembox" data-item="category4">
                    <a data-fancybox="category4" data-caption="Short caption" href="https://mectag-design.com/assets/images/shoe1.jpg">
                        <img src="https://mectag-design.com/assets/images/shoe1.jpg" alt="shoe1">
                    </a>
                </div>
                <div class="itembox" data-item="category5">
                    <a data-fancybox="category5" data-caption="Short caption" href="https://mectag-design.com/assets/images/headphone1.jpg">
                        <img src="https://mectag-design.com/assets/images/headphone1.jpg" alt="headphone1">
                    </a>
                </div>
                <div class="itembox" data-item="category1">
                    <a data-mobile="category1" data-caption="Short caption" href="https://mectag-design.com/assets/images/mobile2.jpg">
                        <img src="https://mectag-design.com/assets/images/mobile2.jpg" alt="mobile2">
                    </a>
                </div>
                <div class="itembox" data-item="category2">
                    <a data-fancybox="category2" data-caption="Short caption" href="https://mectag-design.com/assets/images/camera2.jpg">
                        <img src="https://mectag-design.com/assets/images/camera2.jpg" alt="camera2">
                    </a>
                </div>
                <div class="itembox" data-item="category3">
                    <a data-fancybox="category3" data-caption="Short caption" href="https://mectag-design.com/assets/images/watch2.jpg">
                        <img src="https://mectag-design.com/assets/images/watch2.jpg" alt="watch2">
                    </a>
                </div>
                <div class="itembox" data-item="category4">
                    <a data-fancybox="category4" data-caption="Short caption" href="https://mectag-design.com/assets/images/shoe2.jpg">
                        <img src="https://mectag-design.com/assets/images/shoe2.jpg" alt="shoe2">
                    </a>
                </div>
                <div class="itembox" data-item="category5">
                    <a data-fancybox="category5" data-caption="Short caption" href="https://mectag-design.com/assets/images/headphone2.jpg">
                        <img src="https://mectag-design.com/assets/images/headphone2.jpg" alt="headphone2">
                    </a>
                </div>
                <div class="itembox" data-item="category1">
                    <a data-mobile="category1" data-caption="Short caption" href="https://mectag-design.com/assets/images/mobile3.jpg">
                        <img src="https://mectag-design.com/assets/images/mobile3.jpg" alt="mobile3">
                    </a>
                </div>
                <div class="itembox" data-item="category2">
                    <a data-fancybox="category2" data-caption="Short caption" href="https://mectag-design.com/assets/images/camera3.jpg">
                        <img src="https://mectag-design.com/assets/images/camera3.jpg" alt="camera3">
                    </a>
                </div>
                <div class="itembox" data-item="category3">
                    <a data-fancybox="category3" data-caption="Short caption" href="https://mectag-design.com/assets/images/watch3.jpg">
                        <img src="https://mectag-design.com/assets/images/watch3.jpg" alt="watch3">
                    </a>
                </div>
                <div class="itembox" data-item="category4">
                    <a data-fancybox="category4" data-caption="Short caption" href="https://mectag-design.com/assets/images/shoe3.jpg">
                        <img src="https://mectag-design.com/assets/images/shoe3.jpg" alt="shoe3">
                    </a>
                </div>
                <div class="itembox" data-item="category5">
                    <a data-fancybox="category5" data-caption="Short caption" href="https://mectag-design.com/assets/images/headphone3.jpg">
                        <img src="https://mectag-design.com/assets/images/headphone3.jpg" alt="headphone3">
                    </a>
                </div>
                <div class="itembox" data-item="category1">
                    <a data-mobile="category1" data-caption="Short caption" href="https://mectag-design.com/assets/images/mobile4.jpg">
                        <img src="https://mectag-design.com/assets/images/mobile4.jpg" alt="mobile4">
                    </a>
                </div>
                <div class="itembox" data-item="category3">
                    <a data-fancybox="category3" data-caption="Short caption" href="https://mectag-design.com/assets/images/watch4.jpg">
                        <img src="https://mectag-design.com/assets/images/watch4.jpg" alt="watch4">
                    </a>
                </div>
                <div class="itembox" data-item="category4">
                    <a data-fancybox="category4" data-caption="Short caption" href="https://mectag-design.com/assets/images/shoe4.jpg">
                        <img src="https://mectag-design.com/assets/images/shoe4.jpg" alt="shoe4">
                    </a>
                </div>
                <div class="itembox" data-item="category5">
                    <a data-fancybox="category5" data-caption="Short caption" href="https://mectag-design.com/assets/images/headphone4.jpg">
                        <img src="https://mectag-design.com/assets/images/headphone4.jpg" alt="headphone4">
                    </a>
                </div>
                <div class="itembox" data-item="category1">
                    <a data-mobile="category1" data-caption="Short caption" href="https://mectag-design.com/assets/images/mobile5.jpg">
                        <img src="https://mectag-design.com/assets/images/mobile5.jpg" alt="mobile5">
                    </a>
                </div>
            </div>
        </section>


        <script>
            let list = document.querySelectorAll('.list');
            let itemBox = document.querySelectorAll('.itembox');

            for (let i = 0; i < list.length; i++) {
                list[i].addEventListener('click', function () {
                    for (let j = 0; j < list.length; j++) {
                        list[j].classList.remove('active');
                    }
                    this.classList.add('active');

                    let dataFilter = this.getAttribute('data-filter');

                    for (let k = 0; k < itemBox.length; k++) {
                        itemBox[k].classList.remove('active');
                        itemBox[k].classList.add('hide');
                        Fancybox.bind(
                            '[data-mobile="category0"],[data-mobile="category1"],[data-fancybox="category2"],[data-fancybox="category3"],[data-fancybox="category4"],[data-fancybox="category5"]',
                            {
                                groupAll: false,
                            }
                        );


                        if (itemBox[k].getAttribute('data-item') == dataFilter ||
                            dataFilter == "all") {
                            itemBox[k].classList.remove('hide');
                            itemBox[k].classList.add('active');
                            Fancybox.bind(
                                '[data-mobile="category0"],[data-mobile="category1"],[data-fancybox="category2"],[data-fancybox="category3"],[data-fancybox="category4"],[data-fancybox="category5"]',
                                {
                                    groupAll: true,
                                }
                            );
                        }

                    }
                })
            }


        </script>
        <script src="https://cdn.jsdelivr.net/npm/@fancyapps/[email protected]/dist/fancybox.umd.js"></script>

    </body>

</html>

unable to create checkbox using react-table

import React, { useState } from "react";
import styled from "styled-components";
import { useTable, usePagination, useRowSelect } from "react-table";
import { useQuery } from "react-query";
import { fetchPokemonData } from "./fetchData";

const TableContainer = styled.div`
  padding: 1rem;

  table {
    border-spacing: 0;
    border: 1px solid black;

    tr {
      :last-child {
        td {
          border-bottom: 0;
        }
      }
    }

    th,
    td {
      margin: 0;
      padding: 0.5rem;
      border-bottom: 1px solid black;
      border-right: 1px solid black;

      :last-child {
        border-right: 0;
      }
    }
  }

  .pagination {
    padding: 0.5rem;
  }
`;

const columns = [
  {
    Header: "Name",
    accessor: "name"
  },
  {
    Header: "Url",
    accessor: "url"
  }
];

const trimData = (data = []) =>
  data.map(({ name, url }) => ({
    name,
    url
  }));

const initialState = {
  queryPageIndex: 0,
  queryPageSize: 100,
  totalCount: null
};

const PAGE_CHANGED = "PAGE_CHANGED";
const PAGE_SIZE_CHANGED = "PAGE_SIZE_CHANGED";
const TOTAL_COUNT_CHANGED = "TOTAL_COUNT_CHANGED";

const reducer = (state, { type, payload }) => {
  switch (type) {
    case PAGE_CHANGED:
      return {
        ...state,
        queryPageIndex: payload
      };
    case PAGE_SIZE_CHANGED:
      return {
        ...state,
        queryPageSize: payload
      };
    case TOTAL_COUNT_CHANGED:
      return {
        ...state,
        totalCount: payload
      };
    default:
      throw new Error(`Unhandled action type: ${type}`);
  }
};

const IndeterminateCheckbox = React.forwardRef(
  ({ indeterminate, ...rest }, ref) => {
    const defaultRef = React.useRef();
    const resolvedRef = ref || defaultRef;

    React.useEffect(() => {
      resolvedRef.current.indeterminate = indeterminate;
    }, [resolvedRef, indeterminate]);

    return (
      <>
        <input type="checkbox" ref={resolvedRef} {...rest} />
      </>
    );
  }
);

function PokemonTable() {
  const [
    { queryPageIndex, queryPageSize, totalCount },
    dispatch
  ] = React.useReducer(reducer, initialState);

  const { isLoading, error, data, isSuccess } = useQuery(
    [queryPageIndex, queryPageSize],
    () => fetchPokemonData(queryPageIndex, queryPageSize),
    {
      keepPreviousData: false,
      staleTime: Infinity
    }
  );

  const [search, setSearch] = useState("");

  const {
    getTableProps,
    getTableBodyProps,
    headerGroups,
    prepareRow,
    selectedFlatRows,
    toggleAllRowsSelected,
    page,
    canPreviousPage,
    canNextPage,
    pageOptions,
    pageCount,
    gotoPage,
    nextPage,
    previousPage,
    setPageSize,
    // Get the state from the instance
    state: { pageIndex, pageSize, selectedRowIds }
  } = useTable(
    {
      columns,
      data: isSuccess ? trimData(data.results) : [],
      initialState: {
        pageIndex: queryPageIndex,
        pageSize: queryPageSize
      },
      manualPagination: true, // Tell the usePagination
      // hook that we'll handle our own data fetching
      // This means we'll also have to provide our own
      // pageCount.
      pageCount: isSuccess ? Math.ceil(totalCount / queryPageSize) : null
    },
    usePagination
    // useRowSelect,
    // (hooks) => {
    //   hooks.visibleColumns.push((columns) => [
    //     {
    //       id: "selection",
    //       Header: ({ getToggleAllPageRowsSelectedProps }) => (
    //         <div>
    //           <IndeterminateCheckbox {...getToggleAllPageRowsSelectedProps()} />
    //         </div>
    //       ),
    //       Cell: ({ row }) => (
    //         <div>
    //           <IndeterminateCheckbox {...row.getToggleRowSelectedProps()} />
    //         </div>
    //       )
    //     },
    //     ...columns
    //   ]);
    // }
  );

  React.useEffect(() => {
    dispatch({ type: PAGE_CHANGED, payload: pageIndex });
  }, [pageIndex]);

  React.useEffect(() => {
    dispatch({ type: PAGE_SIZE_CHANGED, payload: pageSize });
    gotoPage(0);
  }, [pageSize, gotoPage]);

  React.useEffect(() => {
    if (data?.count) {
      dispatch({
        type: TOTAL_COUNT_CHANGED,
        payload: data.count
      });
    }
  }, [data?.count]);

  if (error) {
    return <p>Error</p>;
  }

  if (isLoading) {
    return <p>Loading...</p>;
  }
  // This method is used for searching.
  const searchFilter = (search) => {};

  return (
    <TableContainer>
      <input
        aria-describedby="basic-addon1"
        type="search"
        id="search-input"
        placeholder="search"
        value={search}
        onChange={(e) => searchFilter(e.target.value)}
      />
      {isSuccess ? (
        <>
          <table {...getTableProps()}>
            <thead>
              {headerGroups.map((headerGroup) => (
                <tr {...headerGroup.getHeaderGroupProps()}>
                  {headerGroup.headers.map((column) => (
                    <th {...column.getHeaderProps()}>
                      {column.render("Header")}
                    </th>
                  ))}
                </tr>
              ))}
            </thead>
            <tbody {...getTableBodyProps()}>
              {page.map((row) => {
                prepareRow(row);
                return (
                  <tr {...row.getRowProps()}>
                    {row.cells.map((cell) => (
                      <td {...cell.getCellProps()}>{cell.render("Cell")}</td> // fix return statement
                    ))}
                  </tr>
                );
              })}
            </tbody>
          </table>
          <div className="pagination">
            <button onClick={() => gotoPage(0)} disabled={!canPreviousPage}>
              {"<<"}
            </button>{" "}
            <button onClick={() => previousPage()} disabled={!canPreviousPage}>
              {"<"}
            </button>{" "}
            <button onClick={() => nextPage()} disabled={!canNextPage}>
              {">"}
            </button>{" "}
            <button
              onClick={() => gotoPage(pageCount - 1)}
              disabled={!canNextPage}
            >
              {">>"}
            </button>{" "}
            <span>
              Page{" "}
              <strong>
                {pageIndex + 1} of {pageOptions.length}
              </strong>{" "}
            </span>
            <span>
              | Go to page:{" "}
              <input
                type="number"
                value={pageIndex + 1}
                onChange={(e) => {
                  const page = e.target.value ? Number(e.target.value) - 1 : 0;
                  gotoPage(page);
                }}
                style={{ width: "100px" }}
              />
            </span>{" "}
            <select
              value={pageSize}
              onChange={(e) => {
                setPageSize(Number(e.target.value));
              }}
            >
              {[100, 20, 30, 40, 50].map((pageSize) => (
                <option key={pageSize} value={pageSize}>
                  Show {pageSize}
                </option>
              ))}
            </select>
          </div>
        </>
      ) : null}
    </TableContainer>
  );
}

export default PokemonTable;

.
I have implemented server-side pagination. where I wanted to use the checkbox.
I have tried to use useRowSelect but it’s giving maximum depth reached an error.

please find the code link below.

https://codesandbox.io/s/determined-voice-b0n991?file=/src/PokemonTable.js

please uncomment the following code in the link so that the error is reproduced.

// useRowSelect,
    // (hooks) => {
    //   hooks.visibleColumns.push((columns) => [
    //     {
    //       id: "selection",
    //       Header: ({ getToggleAllPageRowsSelectedProps }) => (
    //         <div>
    //           <IndeterminateCheckbox {...getToggleAllPageRowsSelectedProps()} />
    //         </div>
    //       ),
    //       Cell: ({ row }) => (
    //         <div>
    //           <IndeterminateCheckbox {...row.getToggleRowSelectedProps()} />
    //         </div>
    //       )
    //     },
    //     ...columns
    //   ]);
    // }

Highcharts Packed Bubble Not Scaling Properly

I have a working version of my issue here:

https://jsfiddle.net/upcheezy/45ps3j9t/4/

{
        "name": "Normal",
        "data": [
            {
                "name": "Additional Info",
                "value": 286
            },
            {
                "name": "Add Service Area",
                "value": 117
            },
            {
                "name": "Cancel",
                "value": 13168
            },
            {
                "name": "Multiple",
                "value": 600
            },
            {
                "name": "New",
                "value": 721391
            },
            {
                "name": "No Show",
                "value": 32872
            },
            {
                "name": "Remark",
                "value": 38699
            },
            {
                "name": "Resend",
                "value": 14160
            },
            {
                "name": "Update",
                "value": 224260
            }
        ]
    }

This chart doesn’t check out visually because the scale of the bubbles does not accurately reflect the data. For example, it seems like all of the “Normal” category data values are the exact same size, when within the data array, the values are not even close! Can someone please tell me if this is normal behavior with HighCharts?