<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">function trade(){
    var divs = document.all.override_txt;
    if(divs.innerHTML.length &gt; 150 )
    {
        divs.innerHTML = divs.innerHTML.substring(0,150)+"&lt;a class='full_txt_close' href='#' onclick=showDiv(this.parentElement);&gt;...show all&lt;/a&gt;&lt;span class='clicktoshow'&gt;&lt;/span&gt;";
    }
};



$(function(){
var divs = document.all.override_txt;
var divs_hidden = document.all.first_hidden_txt;


    if(divs &amp;&amp; divs.innerHTML.length &gt; 150)
    {
    divs.innerHTML = divs.innerHTML.substring(0,150)+"&lt;a class='full_txt_close' href='#' onclick=showDiv(this.parentElement);&gt;...show all&lt;/a&gt;&lt;span class='clicktoshow'&gt;&lt;/span&gt;";
    }
});



function showDiv(div){
    var divs = document.all.override_txt;
var divs_hidden = document.all.first_hidden_txt;

    divs.innerHTML = divs_hidden.innerHTML;//firefox chrome 不支持div.value
};

// $(".hundred_kind").click(function () {
//     var tb = $('#table1');
//     console.log(tb.css("display"))
//
//     var box = $('#table1');
//     if (tb.css("display") == 'none') {
//         tb.css("display", "block");
//     } else {
//         tb.css("display", "none");
//     }
// });

             $("#box").click(function(){
            var tb=$('#table14');
            console.log(tb.css("display"))

            var box=$('#table14');
            if(tb.css("display")=='none'){
                tb.css("display","block");
              }
            else {
              tb.css("display","none");
            }
          });

               $("#box_faq").click(function(){
            var tb=$('#box_faq_table1');
            console.log(tb.css("display"))

            var box=$('#box_faq_table1');
            if(tb.css("display")=='none'){
                tb.css("display","block");
              }
            else {
              tb.css("display","none");
            }
          });

          

              
$(".server_panel").on("click", ".server_panel-header", function() {

   $(this).addClass("current_server").siblings().removeClass("current_server")
 var next = $(this).next();
 next.slideToggle("slow");
 $(".server_panel-body").not(next).slideUp();
});

$(".full_txt").click(function(){
            var divs = document.all.override_txt;
             if(divs.innerHTML.length &gt; 150 )
             {
              divs.innerHTML = divs.innerHTML.substring(0,150)+"&lt;a class='full_txt_close' href='#' onclick=showDiv(this.parentElement);&gt;...show all&lt;/a&gt;&lt;span class='clicktoshow'&gt;&lt;/span&gt;";
             }
          });

//           $(".hundred_kind").click(function(){
//   alert('hundred_kindbeidianji')
// });

	$(".price_panel").on("click", ".toggle_price_head", function() {

   $(this).addClass("current_price").siblings().removeClass("current_price")
 var next = $(this).next();
 next.slideToggle("slow");
 $(".toggle_price_body").not(next).slideUp();
});

$(".price_panel").on("click", ".toggle_price_head1217", function() {

   $(this).addClass("current_price").siblings().removeClass("current_price")
 var next = $(this).next();
 next.slideToggle("slow");
 $(".toggle_price_body").not(next).slideUp();
});

$('.avtivity_0802_title_box_right').click(function () {
  
  //同级元素中除了avtivity_0802_title_box和avtivity_0802_title_box_solid和要展开外的其他元素
  $(this).parent().siblings().not('.avtivity_0802_title_box').not('.avtivity_0802_title_box_solid').not($(this).parent().next()).css({
      'display': 'none'
  })
  $(this).html($(this).css("background")=="rgb(208, 16, 39) none repeat scroll 0% 0% / auto padding-box border-box"?'More +':'Close X')
  $(this).css("background")=="rgb(208, 16, 39) none repeat scroll 0% 0% / auto padding-box border-box"?$(this).css({
        "background":"#CCCCCC",
        "color":"#202020"
      }):$(this).css({
        "background":"#D01027",
        "color":"#F8F8F8"
      });
 $(this).css("background")=="rgb(208, 16, 39) none repeat scroll 0% 0% / auto padding-box border-box"?$(this).parent().next().css({
  'display': 'block'
  }):$(this).parent().next().css({
    'display': 'none'
  }) 
  $(this).parent().siblings().children('.avtivity_0802_title_box_right').css({
      "background":"#CCCCCC",
      "color":"#202020"
  })
  $(this).parent().siblings().children('.avtivity_0802_title_box_right').html('More +')
})


$(".body_system .system").click(function () {
    var system =$ (this).attr('id')
    if($(this).attr('class').indexOf('selected_system')!=-1){
        $(this).attr('class','system')
        $(".systems ." + system).removeClass('expand')
    } else{
        $(this).attr('class','system selected_system')
        $(".systems ." + system).addClass('expand')
    }
})

$(".systems .system_card").click(function () {
    var system =$(this).attr('class').split(' ')[1]
    if($(this).attr('class').indexOf('expand')!=-1){
        $(this).removeClass('expand')
        $("#" + system).attr('class', 'system')
    } else{
        $(this).addClass('expand')
        $("#" + system).attr('class', 'system selected_system')
    }
})

$(".body_system .view_all").click(function () {
    // 如果未全部展开，则全部展开
    if($('.body_system .selected_system').length!=11){
        $(".body_system .system").attr('class', 'system selected_system')
        $(".systems .system_card").addClass('expand')
    } else{
        $(".body_system .system").attr('class', 'system')
        $(".systems .system_card").removeClass('expand')
    }
    // $('.body_system .system').click()
})
// KO引用文献js
$(".papers .paper_item .header .paper_title").click(function (e) {
    var elem = e.target
    // console.log(elem)
    if ($(elem).parent('.paper_title').length !== 0) {
        elem = $(elem).parent('.paper_title')[0]
    }
    $(elem).toggleClass("cur")
    $(elem).parent('.header').siblings('.detail').fadeToggle('slow')
})
// 引用文献js 使左右同高
$(".papers .paper_item .header .paper_title.pc_show").each(function () {
    //  减去上下padding
    let height = $(this).siblings('.paper_if').height() - 23
    console.log(height)

    $(this).css('height', height)
})


// 20240927 300+基因编辑成功细胞 数据在js生成, 便于后续替换数据
var system_cell_datas = {
    //生殖系统
    "Reproductive_System": [
        "Human Amniotic Cell Line(WISH)",
        "Human Highly Metastatic Ovarian Cancer Cell Line(HO-8910PM)",
        "African green monkey kidney cell Line(Marc-145)",
        "Human Cervical Carcinoma Cell Line(Hela)",
        "Human ovarian cancer cell line(OVCAR-3)",
        "Human Ovarian Adenocarcinoma Cell Line(Caov-3)",
        "Mouse Embryonic Fibroblasts(NIH/3T3)",
        "Mouse Fibroblast Cell Line(TM3)",
        "Human Villous Trophoblast(HTR-8/SVneo)",
        "Human Ovarian Granulosa Cell Line(KGN)",
        "Chinese Hamster Ovary Cell Line(CHO-K1)",
        "Human Endometrial Adenocarcinoma Cell Line(MFE-280)",
        "Mouse ovarian epithelial cancer Cell(ID8)",
        "Human&nbsp;endometrial&nbsp;adenocarcinoma&nbsp;cell(HEC-1-B)",
        "Human Endometrial Carcinoma Cell Line (ISHIKAWA)",
        "Human Cervical Carcinoma Cell Line(C-33 A)",
        "Human Cervical Carcinoma Cell Line(Ca Ski)",
        "Human Endometrial Carcinoma Cell Line (KLE)",
        "Mouse Teratocarcinoma Cell Line(P19)",
        "Human Ovarian Clear Cell Carcinoma Cell Line(ES-2)",
        "Human Endometrial Adenocarcinoma Cell Line(AN3 CA)",
        "Human Cervical Carcinoma Cell Line(hela 229)",
        "Human Ovarian Adenocarcinoma Cell Line(SK-OV-3)",
        "Human Choriocarcinoma Cell Line(Bewo)"
    ],
    //血液、淋巴系统
    "Blood_Lymphatic_System": [
        "Mouse Hybridoma Cell Line(AE-1)",
        "Hybridoma (Anti-Cd3) Cell Line(OKT 3)",
        "Human Monocytic Cell Line(THP-1)",
        "Human Histiocytic Lymphoma Cell Line(U-937)",
        "Human T Lymphocyte Cell Line(Jurkat, Clone E6-1)",
        "Human Acute Lymphocyte Cell Line(OCI-Aml-3)",
        "Human myelogenous Leukemia Cell Line(K-562)",
        "Mouse Macrophage Cell Line(RAW 264.7)",
        "Human Acute Promyelocytic Leukemia Cell Line(HL-60)",
        "Human B Lymphoma Cell Line(U-2932)",
        "Mouse B Lymphoma Cell Line(A20)",
        "Human Myelomonocytic Leukemia Cell Line(MV4-11)",
        "Human B Lymphoma Cell Line(SU-DHL-4)",
        "Human Acute Myeloid Leukemia Cell Line(KG-1a)",
        "Human Erythroleukemia Cell Line(HEL)",
        "Mouse Pro B Cell Line(BAF3)",
        "Human acute promyelocytic leukemia cell line(NB4)",
        "Human T-lymphocyte Cell Line(Hut-78)",
        "Human B Lymphocytes Cell Line(GM12878)",
        "Mouse Lymphoma Cell Line(EL4)",
        "Mouse Macrophage Cell Line(Ana-1)",
        "Human Erythroleukemia Cell Line(TF-1)",
        "Human Lymphoma Cell Line(BC-3)",
        "Human Multiple Myeloma Peripheral Blood B Lymphocytes(RPMI 8226)",
        "Human Burkitt's Lymphoma B Lymphocytes(Ramos)",
        "Human B lymphoma cell line(SU-DHL-6)",
        "Human Acute Lymphoblastic Leukemia Cell Line (Non-B Non-T)(Reh)",
        "Human?Acute?Lymphocyte?Cell?Line(Kasumi-1)",
        "Human Mantle Cell Lymphoma Cell Line(JeKo-1)",
        "Human peripheral blood mantle lymphoma Cell Line(Mino)",
        "Human Acute Myeloid Leukemia Cell Line(MOLM13)",
        "Human B lymphocytic leukaemia Cell Line(NALM-6)",
        "Human B lymphoma cell line(SU-DHL-8)"
    ],
    //内分泌系统
    "Endocrine_System": [
        "Human Submandibular Gland Epidermoid Carcinoma Cell Line(A-253)",
        "Human Mammary Epithelial Cell Line(MCF 10A)",
        "Human Breast Cancer Cell Line(MDA-MB-231)",
        "Human Breast Cancer Cell Line(MCF7)",
        "Human Breast Cancer Cell Line(MDA-MB-415)",
        "Human Breast Cancer Cell Line(MDA-MB-468)",
        "Human Breast Epithelial Cell Line Integrating SV40 Gene(HBL-100)",
        "Human Prostate Cancer Cell Line(LNCaP Clone FGC)",
        "Human Prostate Cancer Cell Line(PC-3)",
        "Human Prostate Cancer Cell Line(22RV1)",
        "Human pancreatic cancer cell line(BxPC-3)",
        "Mouse Breast Cancer Cell Line(4T1)",
        "Mouse Acinar Pancreatic Cell Line(266-6)",
        "Human Breast Cancer Cell Line(JIMT-1)",
        "Mouse prostate cancer cell line(RM-1)",
        "Human Breast Cancer Cell Line(SK-BR-3)",
        "Human Breast Cancer Cell Line(HCC1806)",
        "Human Thyroid Normal Cell Line(Nthy-ori 3-1)",
        "Mouse pancreatic cancer cell line(Pan-02)",
        "Human Pancreatic Carcinoma Cell Line(SW1990)",
        "Human&nbsp;acute&nbsp;lymphoblastic&nbsp;leukemia&nbsp;cell&nbsp;line(MOLT4)",
        "Human Pancreatic Carcinoma Cell Line(Panc-1)",
        "Mouse Breast Adenocarcinoma Cell Line(E0771)",
        "Human Thyroid Squamous Cell Carcinoma Cell line(SW579)",
        "Human Breast Cancer Cell Line(HCC1143)",
        "Human breast cancer cell line(BT-549)",
        "Human&nbsp;acute&nbsp;lymphoblastic&nbsp;leukemia&nbsp;cell&nbsp;line(MT-4)",
        "Py230 Cell Line(Py230)",
        "Human Thyroid Cancer Cell Line(TPC-1)",
        "Human Prostate Cancer Cell Line(PC-3M)",
        "Human Burkitt's Lymphoma Cell Line(RAJI)",
        "Human Metastatic Pancreatic Adenocarcinoma Cell Line(AsPC-1)",
        "Human NK Leukemia Cell Line(YT)",
        "Human Prostate Cancer Cell Line(DU145)",
        "Mouse Mammary Epithelial Cell Line(HC11)",
        "Mouse Breast Cancer Cell Line(C127)",
        "Human Thyroid Normal Cell Line(Nthy-ori 3-1)",
        "Human Pancreatic Carcinoma Cell Line(MIA PaCa-2)",
        "Mouse Breast Cancer Cell Line(EMT6)",
        "Human Prostate Cancer Cell Line(VCaP)",
        "Human Breast Cancer Cell Line(SUM-149PT)",
        "Human breast ductal cancer cell Line(BT474)",
        "Human Pancreatic Carcinoma Cell Line(Capan2)"
    ],
    //消化系统
    "Digestive_System": [
        "Human Gallbladder Carcinoma Cell Line(GBC-SD)",
        "Human Hepatoma Cell Line(Hep G2)",
        "Human Hepatoma Cell Line(SNU-387)",
        "Human Hepatoma Cell Line(HuH-7)",
        "Human Hepatoma Cell Line(SK-HEP-1)",
        "Human Hepatoma Cell Line(Hep 3B)",
        "Human Normal Hepatocytes Cell line(L-02)",
        "Human Colon Cancer Cell Line(HCT 116)",
        "Human Colon Cancer Cell Line(HT-29)",
        "Human colorectal adenocarcinoma cell line(RKO)",
        "Human colorectal adenocarcinoma cell line(Caco-2)",
        "Human Esophageal Squamous Carcinoma Cell Line(KYSE-150)",
        "Human gastric cancer cell line(AGS)",
        "Mouse Hepatocarcinoma Cell Line(Hepa 1-6)",
        "Murine colorectal carcinoma cell line(CT26.WT)",
        "Murine colorectal carcinoma cell line(MC38)",
        "Human Esophageal Squamous Carcinoma Cell Line(KYSE-30)",
        "Mouse Hepatocarcinoma Cell Line(H22)",
        "Human Gastric Cancer Cell Line(NCI-N87)",
        "Human colorectal adenocarcinoma cell line(SW480)",
        "Human Hepatoma Cell Line(SMMC-7721)",
        "Porcine intestinal epithelial cell line(IPEC-J2)",
        "Human Gastric Cancer Cell Line(HGC-27)",
        "Human Gastric Cancer Cell Line(MGC-803)",
        "Human renal carcinoma cell line(ACHN)",
        "Human colorectal adenocarcinoma cell line(LS 174T)",
        "Immortalized Human Hepatic Cell Line(C3A)",
        "Human Hepatoma Cell Line(PLC/PRF/5)",
        "Human colorectal adenocarcinoma cell line(SW 48)",
        "Human colorectal adenocarcinoma cell line(SW948)",
        "Human colorectal adenocarcinoma cell line(NCI-H716)",
        "Mouse hepatocyte cell line(AML12)",
        "Human Gastric Cancer Cell Line(SGC-7901)",
        "Human Ileocecal Cancer Cell Line(HRT-18)",
        "Human Colon Cancer Cell Line(LoVo)",
        "Human Hepatoma Cell Line(MHCC97-H)",
        "Human Gastric Cancer Cell Line(MKN-45)",
        "Human Colon Cancer Cell Line(COLO 205)",
        "Rat Liver Cell Line(BRL)",
        "Mouse  Gastric Cancer Cell Line(MFC)",
        "Human Colon Cancer Cell Line(SW620)",
        "Human Hepatoma Cell Line(Li-7)",
        "Mouse Ascites Sarcoma Cell Line(S180)",
        "Rat Liver Cell Line(BRL-3A)",
        "Human Colon Cancer Cell Line(HCT-15)",
        "Human Gastric Cancer Cell Line(KATO III)",
        "Human colorectal adenocarcinoma cell line(SW1463)",
        "Human Gastric Cancer Cell Line(SNU-5)",
        "Human colorectal adenocarcinoma cell line(SW1116 [SW 1116, SW-1116])",
        "Human Hepatic Stellate Cell Line(LX-2)",
        "Human Hepatoma Cell Line(HCCLM3)"
    ],
    //脑和神经系统
    "Brain_Nervous_System": [
        "Rat Glioblastoma Cell Line(C6)",
        "Mouse Hippocampal Neuronal Cell Line(HT-22)",
        "Human Neuroblastoma Cell Line(SK-N-SH)",
        "Human Neuroblastoma Cell Line(SH-SY5Y)",
        "Human glioblastoma cell line(U-87 MG)",
        "Human glioblastoma cell line(U251MG)",
        "Mouse Anterior Parietal Bone Cell Line(MC3T3-E1 Subclone 14)",
        "Mouse microglia cell line(BV2)",
        "Human microglial clone 3 cell line(HMC3)",
        "Mouse neuroblastoma cell line(Neuro-2a)",
        "Human glioblastoma cell line(LN-229)",
        "Mouse Glioblastoma Cell Line(GL261)",
        "Human Glioblastoma Cell Line(T98G)",
        "Human Glioblastoma Cell Line(A-172)",
        "Human Neuroblastoma Cell Line(SK-N-BE(2))",
        "Human Brain Astrocytoma Cell Line(Hs 683)",
        "Rat Glioblastoma Cell Line(RG2)"
    ],
    //眼耳鼻喉口腔系统
    "Nasopharynx_Throat_System": [
        "Human Pharyngeal Carcinoma Cell Line (Pleural Effusion Metastasis)(Detroit 562)",
        "Human retinal pigment epithelial cell line(ARPE-19)",
        "Human Nasopharyngeal Carcinoma Cell Line(CNE1)",
        "Human oral squamous carcinoma cell line(HSC3)",
        "Human nasopharyngeal carcinoma cell line(HK-1)",
        "Human oral squamous carcinoma cell line(CAL-27)",
        "Mouse Cochlear Hair Cell Line(HEI-OC1)",
        "Human Retinoblastoma Cell Line(Y79)",
        "Human Tongue Squamous Carcinoma Cell Line(SCC-9)",
        "Human Pharyngeal Squamous Cell Carcinoma Cell Line(FaDu)"
    ],
    //呼吸系统
    "Respiratory_System": [
        "Human Lung Cancer Cell Line(A549)",
        "Human Lung Cancer Cell Line(NCI-H1299)",
        "Human Lung Cancer Cell Line(NCI-H520)",
        "Human Lung Cancer Cell Line(SK-MES-1)",
        "Mouse Lewis lung carcinoma Cell Line(LLC)",
        "Human Bronchial Epithelial Cell Line(BEAS-2B)",
        "Human Lung Cancer Cell Line(HCC827)",
        "Porcine alveolar macrophage cell line(3D4/21)",
        "Human&nbsp;lung&nbsp;adenocarcinoma&nbsp;cell&nbsp;line(PC9)",
        "Human Lung Cancer Cell Line(NCI-H1650)",
        "Human Lung Cancer Cell Line(NCI-H727)",
        "Human&nbsp;lung&nbsp;adenocarcinoma&nbsp;cell&nbsp;line(NCI-H1975)",
        "Human lung cancer cell line(NCI-H292)",
        "Human Lung Cancer Cell Line(NCI-H23)",
        "Human Lung Cancer Cell Line(MSTO-211H)",
        "Human Lung Cancer Cell Line(NCI-H358)",
        "Human Non-small Cell Lung Carcinoma Cell Line(NCI-H460)",
        "Human&nbsp;lung&nbsp;adenocarcinoma&nbsp;cell&nbsp;line(Calu-3)",
        "Human Fetal Lung Fibroblast Cell Line(MRC-5)",
        "Human Highly Metastatic Lung Cancer Cell Line(95-D)",
        "Human Colon Carcinoma Cell Line(T84)",
        "MLE-12 Cell Complete Medium(MLE-12)",
        "Human Fetal Lung Fibroblast Cell Line(WI-38)",
        "Human Lung Cancer Cell Line(DMS114)",
        "Human&nbsp;lung&nbsp;adenocarcinoma&nbsp;cell&nbsp;line(NCI-H1373)",
        "Human Lung Cancer Cell Line(NCI-H1703)",
        "Human Lung Cancer Cell Line(DMS 53)",
        "Human Small Cell Lung Cancer Cell Line(NCI-H82 [H82])",
        "Human Small Cell Lung Cancer Cell Line(SHP-77)",
        "Human Lung Cancer Cell Line(NCI-H2170)"
    ],
    //泌尿系统
    "Urinary_System": [
        "African green monkey kidney cell(Vero)",
        "African green monkey kidney cell(VERO C1008 (E6))",
        "Dog Kidney Cell Line(MDCK(NBL-2))",
        "Human Embryonic Kidney Cell Line(293T)",
        "Human Embryonic Kidney Cell Line(293T)",
        "Human Embryonic Kidney Cell Line(HEK293)",
        "Rat adrenal pheochromocytoma cell line(Low differentiation)(PC-12)",
        "Human Bladder Transitional Cell Carcinoma Cell Line(T24)",
        "Human bladder carcinoma cell line(5637)",
        "Mouse Bladder Cancer Cell(MB-49)",
        "Human renal cell carcinoma cell line(786-0)",
        "Human renal cell carcinoma cell line(MS751)",
        "Mouse podocyte cell line(MPC-5)",
        "Pig Kidney Cell&nbsp; line(PK-15)",
        "Human Embryonic Kidney Cell Line(2V6.11)",
        "Human Bladder Transitional Cell Carcinoma Cell Line(SW780)",
        "Transformed (SV40) African Green Monkey Kidney Cell Line(COS-1)",
        "Transformed (SV40) African Green Monkey Kidney Cell Line(COS-7)",
        "Rat Kidney Cell Line(NRK-52E)",
        "Mouse Renal Adenocarcinoma Cell Line(RenCa)",
        "Bovine Kidney (MDBK) Cell Line(MDBK (NBL-1))",
        "Hamster Kidney Fibroblasts(BHK-21)",
        "Human Renal Proximal Tubular Epithelial Cell Line(HK-2)",
        "Human Urinary Bladder Squamous Cell Carcinoma Cell Line(SCaBER)",
        "Mouse Renal Adenocarcinoma Cell Line(RAG)",
        "Mouse Bladder Cancer Cell(MBT-2)",
        "Human renal carcinoma cell line(OS-RC-2)"
    ],
    //骨、关节、软组织、皮肤系统
    "Bone_Tissue_Skin_System": [
        "Human Umbilical Vein Cell Line(EA.hy926)",
        "Mouse Lewis lung carcinoma Cell Line(U-2 OS)",
        "Human Osteosarcoma Cell Line(Saos-2)",
        "Human skin squamous carcinoma cell line(A-431)",
        "Murine melanoma cell line(B16-F10)",
        "Human malignant melanoma cell line(A-375)",
        "Human Skin Fibroblast Cell Line(BJ)",
        "Mouse Fibroblast Cell Line(L-929)",
        "Mouse Lewis lung carcinoma Cell Line(SW 1353)",
        "Human fibrosarcoma cell line(HT-1080)",
        "Rat osteosarcoma cell line(UMR-106)",
        "Human Immortalized Keratinocytes Cell line(HaCaT)",
        "Chicken Fibroblast Cell line(DF1)",
        "Human Multiple Myeloma Cell Line(MM.1S)",
        "Human Corneal Epithelial Cell Line(HCE-T)(HCE-T)",
        "Immortalized Human Lens Epithelial Adherent Cell Line(SRA01/04)",
        "Mouse Lewis lung carcinoma Cell Line(MG-63)",
        "Mouse Osteosarcoma Cell Line(K7M2-WT)",
        "Mouse Lewis lung carcinoma Cell Line(143B)",
        "Mouse Subcutaneous Connective Tissue Cell Line(A9)",
        "Mouse squamous carcinoma cell line(SCC-7)",
        "Human Choriocarcinoma Cell Line(JAR)",
        "Human bone osteosarcoma epithelial cell line(KHOS-240S)",
        "Mouse Chondrogenic Cell Line(ATDC5)"
    ],
    //循环系统
    "Circulatory_System": [
        "Rat Cardiac Myocytes(H9c2(2-1))",
        "Mouse Myoblast Cell Line(C2C12)",
        "Human Cardiac Myocytes(AC16)",
        "Mouse Aortic Smooth Muscle Cell Line(MOVAS)"
    ],
    //干细胞
    "Stem_Cell": [
        "Stem Cell(H9)",
        "Human Embryonic Stem Cell(H1)",
        "Induced Pluripotent Stem Cell(ipsc)"
    ]
}

function initSystemCellData() {
    Object.keys(system_cell_datas).forEach(key =&gt; {
        let s = [];
        for (let item of system_cell_datas[key]) {
            s.push(`&lt;span&gt;${item}&lt;/span&gt;`)
        }
        if (key == "Respiratory_System") {
            $(".respiratory_system .cell_lines").html(s.join(""))
        } else if (key == "Circulatory_System") {
            $(".circulatory_system .cell_lines").html(s.join(""))
        } else if (key == "Endocrine_System") {
            $(".endocrine_system .cell_lines").html(s.join(""))
        } else if (key == "Brain_Nervous_System") {
            $(".Brain_and_nervous_system .cell_lines").html(s.join(""))
        } else if (key == "Blood_Lymphatic_System") {
            $(".Blood_lymphatic_system .cell_lines").html(s.join(""))
        } else if (key == "Urinary_System") {
            $(".urinary_system .cell_lines").html(s.join(""))
        } else if (key == "Digestive_System") {
            $(".digestive_system .cell_lines").html(s.join(""))
        } else if (key == "Bone_Tissue_Skin_System") {
            $(".Bone_tissue_skin_system .cell_lines").html(s.join(""))
        } else if (key == "Nasopharynx_Throat_System") {
            $(".Nasopharynx_throat_system .cell_lines").html(s.join(""))
        } else if (key == "Reproductive_System") {
            $(".reproductive_system .cell_lines").html(s.join(""))
        } else if (key == "Stem_Cell") {
            $(".stem_cells .cell_lines").html(s.join(""))
        } else {

        }
    });
}

$(function () {
    setTimeout(() =&gt; {
        initSystemCellData()
    }, 1000)
})


// 20241030 技术专题列表页
var lang = "en";
$(function(){
	// 输入框
	$(".search_input input").keydown(function (event) {
		if (event.keyCode == 13) {
			let keyword = $(".search_input input").val();
			$(".search_result_box .item").removeClass("active");

			if (keyword) {
				get_literature_list(keyword);
			} else {
				$(".search_tips").removeClass("show");
				$(".search_tips .keyword").text("");
				get_literature_list(keyword, "ae00", 1, "pc");
			}
		}
	})

	// 搜索按钮
	$(".search_input button").click(function () {
		let keyword = $(".search_input input").val();
		$(".search_result_box .item").removeClass("active");

		if (keyword) {
			get_literature_list(keyword);
		} else {
			$(".search_tips").removeClass("show");
			$(".search_tips .keyword").text("");
			get_literature_list(keyword, "ae00", 1, "pc");
		}
	});

	// 搜索结果
	$(".search_result_box .item").click(function () {
		$(this).addClass("active").siblings().removeClass("active");
		let keyword = $(".search_input input").val();
		let type = $(this).attr("data-type");
		get_literature_list(keyword, type, 1, "pc");
	});



    // 移动端
    $(".literature_search_box .search_input_wap input").keydown(function (event) {
		if (event.keyCode == 13) {
			let keyword = $(".search_input input").val();
			get_literature(keyword);
		}
	})

	$(".literature_box .panel_item .panel_label").click(function (param) { 
		if ($(this).hasClass("active")) {
			$(this).removeClass("active");
		} else {
			$(this).addClass("active");
		}
		$(this).parent().siblings().children().filter(".panel_label").removeClass("active");

        let keyword = $(".search_input input").val();
        let type = $(this).attr("data-type");
        get_literature_list(keyword, type, 1, "wap");
	});
})


function search_literature() {
    let keyword = $(".search_input input").val();

    get_literature_list(keyword, "ae00", 1, "wap");
}

function get_literature_list(keyword, type="ae00", page=1, site="pc") {
	let url = "http://192.168.1.196:5000/api/market/tools/search_literature";
    url = "https://data.ubigene.com/api/market/tools/search_literature";
	$.ajax(url, {
		method: "GET",
		data: {q: keyword, page: page, t: type, lang: lang},
		success: function (result) {
            console.log("*------ ", result)
			const data = result.data;
            load_literature_search_data(data, keyword, type, page, site);
		},
		error: function (error) {
			console.log("*-- error: ", error);
		}
	});
}


function load_literature_search_data(data, keyword, type, page, site="pc") {
    var literature = data.list || [];
    var total = data.total || 0;
    const search_total = data.search_total || 0;
    var classify = data.classify || {};

    if (site == "pc") {
        $(".search_result_box #ae00").text(search_total);
        $(".search_result_box #ae01").text(classify.ae01);
        $(".search_result_box #ae02").text(classify.ae02);
        $(".search_result_box #ae03").text(classify.ae03);
        $(".search_result_box #ae04").text(classify.ae04);
        $(".search_result_box #ae05").text(classify.ae05);
        $(".search_result_box #ae06").text(classify.ae06);

        if (keyword) {
            $(".search_tips").addClass("show");
            $(".search_tips .keyword").text(keyword);
            $(".search_tips .num").text(total);
        }

        if (type == "ae00") {
            var firstChild = $(".search_result_box").children().eq(0);
            firstChild.addClass("active").siblings().removeClass("active");
        }

        $(".download-list ul").html(gen_literature_li_wap(literature, "pc"));

        if (total &gt; 0) {
            const p = pagenate_new("search_pagenate", `get_literature_list('${keyword}', '${type}', page, '${site}')`, page, 5, total, lang);
			$(".download-box .pagenate_box").html(p);
        }

    } else {
        $(".literature_box .ae01").text(classify.ae01);
        $(".literature_box .ae02").text(classify.ae02);
        $(".literature_box .ae03").text(classify.ae03);
        $(".literature_box .ae04").text(classify.ae04);
        $(".literature_box .ae05").text(classify.ae05);
        $(".literature_box .ae06").text(classify.ae06);

        let target = ".literature_box .item_";
        if (type == "ae00") {
            if (classify.ae01 &gt; 0) {
                target += "ae01";
                total = classify.ae01;
            } else if (classify.ae02 &gt; 0) {
                target += "ae02";
                total = classify.ae02;
            } else if (classify.ae03 &gt; 0) {
                target += "ae03";
                total = classify.ae03;
            } else if (classify.ae04 &gt; 0) {
                target += "ae04";
                total = classify.ae04;
            } else if (classify.ae05 &gt; 0) {
                target += "ae05";
                total = classify.ae05;
            } else {
                target += "ae06";
                total = classify.ae06;
            }
            $(target).children().filter(".panel_label").addClass("active");
            $(target).siblings().children().filter(".panel_label").removeClass("active");

            target += " .panel_body";
            $(target).html(gen_literature_li_wap(literature, site));
        } else {
            target += (type + " .panel_body");
            $(target).html(gen_literature_li_wap(literature, site));
        }

        if (keyword) {
            $(".search_tips").addClass("show");
            $(".search_tips .keyword").text(keyword);
            $(".search_tips .num").text(total);
        }

        if (total &gt; 0) {
            const p = pagenate_new("search_pagenate", `get_literature_list('${keyword}', '${type}', page, '${site}')`, page, 5, total, lang);
            $(target).append(p);
        }
    }
}


function gen_literature_li_wap(literatures, site="pc") {
	let lis = "";
	if (site == "pc") {
        for (item of literatures) {
            let title = item.title;
            let img_url = item.litpic;
            let id = item.id;
            let spec_url = "/application/" + id + ".html";
            let filename = item.filename;
            if (filename) {
                spec_url = "/application/" + filename + ".html";
            }
            let desc = item.description;
            let li = `
            &lt;li&gt;
                &lt;div class="pic" style="background-image: url();"&gt;
                    &lt;a href="${spec_url}"&gt;&lt;img src="${img_url}"  alt="${title}"/&gt;&lt;/a&gt;
                &lt;/div&gt;
                &lt;div class="text clearfix"&gt;
                    &lt;h3&gt;&lt;a href="${spec_url}"&gt;${title}&lt;/a&gt;&lt;/h3&gt;
                    &lt;div class="tag_download"&gt;
                        &lt;span&gt;&lt;a href="${spec_url}#"&gt;&lt;/a&gt;&lt;/span&gt;
                        &lt;span&gt;&lt;a href="${spec_url}#"&gt;&lt;/a&gt;&lt;/span&gt;
                        &lt;span&gt;&lt;a href="${spec_url}#"&gt;&lt;/a&gt;&lt;/span&gt;
                        &lt;span&gt;&lt;a href="${spec_url}#"&gt;&lt;/a&gt;&lt;/span&gt;
                    &lt;/div&gt;
                    &lt;p&gt;${desc}&lt;/p&gt;
                &lt;/div&gt;
                &lt;div class="clear"&gt;&lt;/div&gt;
            &lt;/li&gt;
            `;
            lis += li;
        }
        return lis;
    } else {
        for (item of literatures) {
            let title = item.title;
            let img_url = item.litpic;
            let id = item.id;
            let spec_url = "/application/" + id + ".html";
            let filename = item.filename;
            if (filename) {
                spec_url = "/application/" + filename + ".html";
            }
            let desc = item.description;
            let li = `
            &lt;li&gt;
                &lt;div class="img"&gt;
                    &lt;a href="${spec_url}"&gt;&lt;img src="${img_url}" alt="${title}"&gt;&lt;/a&gt;
                &lt;/div&gt;
                &lt;div&gt;
                    &lt;div class="title"&gt;${title}&lt;/div&gt;
                    &lt;a class="more_detail" href="${spec_url}"&gt;View details&lt;/a&gt;
                &lt;/div&gt;
            &lt;/li&gt;
            `;
            lis += li;
        }
        return `&lt;ul&gt;${lis}&lt;/ul&gt;`;
    }
}


// 根据参数生成对应的分页器html代码
function pagenate_new(id, func, page, pagesize, total, lang="zh"){
    // 计算总页面数
    let total_page = Math.ceil(total/pagesize);

    page_str = page &lt; 5 ? [1,2,3,4,5] : [page-2, page-1,page,page+1,page+2];
    // 调整弹窗宽度
    if ($("body").width() &lt; 450){
        page_str = page &lt; 3 ? [1,2,3] : [page-1,page,page+1];
    }

    page_str = page_str.filter((item)=&gt;{return 0&lt;item &amp;&amp; item&lt;=total_page});

    // 添加最左侧页数
    if (page_str[0]&gt;=2){
        page_str.unshift(1, "...");
    }
    // 生成点击事件
    let func_prev = page&lt;=1 ? "" : func.replace("page", page-1);
    let func_next = page&gt;=total_page ? "" : func.replace("page", page+1);

    let prev_style = "";
    let next_style = "";
    if (page == 1){
        prev_style = `style="cursor: not-allowed"`;
    }
    if (page == total_page){
        next_style = `style="cursor: not-allowed"`;
    }
    // 生成html 并添加
    let html = `&lt;div class="paginate"&gt;`;
    html += `&lt;a class="pager-prev" href="javascript:;" onclick="${func_prev}" ${prev_style}&gt;${i18n.pagenate.prev[lang]}&lt;/a&gt;`;  //上一页
    page_str.forEach((item)=&gt;{
        let cur_class = item == page ? "page_cur" : "";
        let func_num = item == page ? "" : 'onclick="'+func.replace("page", item)+'"';
        html += `&lt;a class="page_num ${cur_class}" href="javascript:;" ${func_num}&gt;${item}&lt;/a&gt;`;
    });

    html += `&lt;a class="pager-next" href="javascript:;" onclick="${func_next}" ${next_style}&gt;${i18n.pagenate.next[lang]}&lt;/a&gt;`;   //下一页
    html += "&lt;/div&gt;";

    return html;
}


// 20250320-点突变服务页的js
function switch_cate_content(el, id) {
    $(el).addClass("cur");
    $(el).siblings().removeClass("cur");

    let class_name = ".section_methods .cate" + id;
    $(class_name).addClass("cur");
    $(class_name).siblings().removeClass("cur");
}

function switch_cate_box(el) {
    $(el).toggleClass("cur");
    $(el).siblings().toggleClass("cur");
}


</pre></body></html>