{"id":8954,"date":"2025-05-28T16:58:18","date_gmt":"2025-05-28T14:58:18","guid":{"rendered":"https:\/\/projectes.xtec.cat\/recerca\/?page_id=8954"},"modified":"2025-12-04T11:01:49","modified_gmt":"2025-12-04T10:01:49","slug":"aplicacions-ia","status":"publish","type":"page","link":"https:\/\/projectes.xtec.cat\/recerca\/aplicacions-ia\/","title":{"rendered":"Aplicacions digitals i IA"},"content":{"rendered":"\n<p>La intel\u00b7lig\u00e8ncia artificial ofereix <strong>noves oportunitats<\/strong> per impulsar la recerca educativa i facilitar l\u2019aplicaci\u00f3 d\u2019evid\u00e8ncies al centre. En aquest apartat presentem una selecci\u00f3 d\u2019<strong>eines digitals<\/strong> basades en IA que poden ser \u00fatils tant per dur a terme projectes de recerca educativa com per fer la transfer\u00e8ncia dels seus resultats i aplicar estrat\u00e8gies docents d\u2019alt impacte (HITS) al centre.<\/p>\n\n\n\n<p>Aquestes aplicacions<strong> faciliten<\/strong> tasques com la revisi\u00f3 de literatura, l\u2019an\u00e0lisi de dades, la formulaci\u00f3 de preguntes de recerca, la generaci\u00f3 de citacions o l\u2019exploraci\u00f3 de bones pr\u00e0ctiques internacionals, tot contribuint a una doc\u00e8ncia m\u00e9s informada, col\u00b7laborativa i connectada amb l\u2019evid\u00e8ncia cient\u00edfica.<\/p>\n\n\n    <div class=\"cercador\" x-data=\"cercador()\">\n        <aside class=\"cercador__filters\">\n            <p class=\"cercador__filtres__title\">Filtres de cerca<\/p>\n            <template x-for=\"filter in filters\" :key=\"filter.name\">\n                <div class=\"filter\" x-bind:class=\"{ 'filter--open': filter.open }\">\n                    <header @click=\"filter.open = !filter.open\" class=\"filter__header\" x-text=\"filter.label\">\n                    <\/header>\n                    <ul class=\"filter__list\" x-show=\"filter.open\" x-transition>\n                        <template x-for=\"document in filter.values\" :key=\"document.id\">\n                            <li class=\"filter__item\">\n                                <!-- Parent category -->\n                                <div class=\"filter__parent\" :class=\"{ 'has-children': document.children && document.children.length > 0 }\">\n                                    <label :for=\"document.id\" class=\"filter__label\">\n                                        <input :id=\"document.id\" type=\"checkbox\" x-model=\"activeFilters[filter.name]\" @change=\"applyFilters()\" :value=\"document.id\">\n                                        <span x-text=\"document.name + ' (' + document.count + ')'\"><\/span>\n                                    <\/label>\n                                    <!-- Expand\/Collapse arrow for parent with children -->\n                                    <button \n                                        x-show=\"document.children && document.children.length > 0\"\n                                        @click=\"document.expanded = !document.expanded\"\n                                        class=\"filter__toggle\"\n                                        :class=\"{ 'filter__toggle--expanded': document.expanded }\"\n                                        type=\"button\"\n                                        :aria-label=\"document.expanded ? 'Collapse subcategories' : 'Expand subcategories'\"\n                                    >\n                                        <svg width=\"12\" height=\"12\" viewBox=\"0 0 12 12\" fill=\"none\">\n                                            <path d=\"M3 5L6 8L9 5\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"\/>\n                                        <\/svg>\n                                    <\/button>\n                                <\/div>\n                                \n                                <!-- Children categories -->\n                                <ul \n                                    x-show=\"document.expanded && document.children && document.children.length > 0\" \n                                    x-transition:enter=\"transition ease-out duration-200\"\n                                    x-transition:enter-start=\"opacity-0 transform scale-95\"\n                                    x-transition:enter-end=\"opacity-100 transform scale-100\"\n                                    x-transition:leave=\"transition ease-in duration-150\"\n                                    x-transition:leave-start=\"opacity-100 transform scale-100\"\n                                    x-transition:leave-end=\"opacity-0 transform scale-95\"\n                                    class=\"filter__list filter__list--children filter__children\"\n                                >\n                                    <template x-for=\"child in document.children\" :key=\"child.id\">\n                                        <li class=\"filter__child-item\">\n                                            <label :for=\"child.id\" class=\"filter__label filter__label--child\">\n                                                <input :id=\"child.id\" type=\"checkbox\" x-model=\"activeFilters[filter.name]\" @change=\"applyFilters()\" :value=\"child.id\">\n                                                <span x-text=\"child.name + ' (' + child.count + ')'\"><\/span>\n                                            <\/label>\n                                        <\/li>\n                                    <\/template>\n                                <\/ul>\n                            <\/li>\n                        <\/template>\n                    <\/ul>\n                <\/div>\n            <\/template>\n        <\/aside>\n        <div>\n            <div class=\"cercador__search\">\n                <!--<input type=\"text\" placeholder=\"Cerca\" x-model=\"search\" @keyup=\"filterTags()\" @click=\"displaySearchTags = true\">-->\n                <input type=\"text\" placeholder=\"Cerca\" x-model=\"activeFilters.search\" @keyup=\"applyFilters()\">\n                <button class=\"cercador__search__reset\" @click=\"resetSearch()\" x-show=\"activeFilters.search.length > 0\">Esborrar<\/button>\n                <!--\n                <ul class=\"cercador__tags\" x-show=\"search.length > 0 && displaySearchTags\">\n                    <template x-for=\"tag in filteredTags\" :key=\"tag.id\">\n                        <li @click=\"filterByTag(tag.id, tag.name)\" x-text=\"tag.name\"><\/li>\n                    <\/template>\n                    <li @click=\"filterBySearch()\">\n                        Cercar per \u00ab<strong x-text=\"search\"><\/strong>\u00bb\n                    <\/li>\n                <\/ul>-->\n            <\/div>\n            <p class=\"cercador__count\"><span x-text=\"stats.total\">176<\/span> recursos disponibles<\/p>\n            <div class=\"cercador__list\" x-show=\"isLoading()\">\n                <template x-for=\"i in 12\">\n                    <div class=\"cercador__list__loading\">\n                        <div class=\"cercador__list__loading__image\"><\/div>\n                        <div class=\"cercador__list__loading__body\">\n                            <div class=\"cercador__list__loading__body__subtitle\"><\/div>\n                            <div class=\"cercador__list__loading__body__title\"><\/div>\n                            <div class=\"cercador__list__loading__body__meta\">\n                                <div class=\"cercador__list__loading__body__meta__item\">\n                                    <div class=\"cercador__list__loading__body__meta__item__line\"><\/div>\n                                    <div class=\"cercador__list__loading__body__meta__item__line\"><\/div>\n                                <\/div>\n                                <div class=\"cercador__list__loading__body__meta__item\">\n                                    <div class=\"cercador__list__loading__body__meta__item__line\"><\/div>\n                                    <div class=\"cercador__list__loading__body__meta__item__line\"><\/div>\n                                <\/div>\n                                <div class=\"cercador__list__loading__body__meta__item\">\n                                    <div class=\"cercador__list__loading__body__meta__item__line\"><\/div>\n                                    <div class=\"cercador__list__loading__body__meta__item__line\"><\/div>\n                                <\/div>\n                            <\/div>\n                        <\/div>\n                    <\/div>\n                <\/template>\n            <\/div>\n            <div class=\"cercador__list\" x-html=\"content\">\n                                Robots entre iguals. Una experi\u00e8ncia formativa d\u2019\u00e8xit en l\u2019aplicaci\u00f3 de la rob\u00f2tica a l\u2019aula                                    Inter\u00e8s del professorat d\u2019ensenyaments no universitaris en projectes de recerca educativa                                    Understanding AI adoption among secondary education teachers: A pls-sem approach                                    Els adolescents s\u00f3n els m\u00e9s perjudicats per les xarxes socials, per\u00f2 el problema \u00e9s que els adults hem creat un m\u00f3n accelerat &#8211; Entrevista a David Bueno                                    Per qu\u00e8 deixen d\u2019estudiar? Entendre l\u2019abandonament escolar, per combatre\u2019l                                    Research in real time: engaging in education research as a nursery                                    What goes up, must come down: Promoting pupil independence through scaffolding. Our new scaffolding framework                                    Personalized learning through AI: Pedagogical approaches and critical insights.                                    Del GAMAR a la escuela: Principios sobre el uso de materiales manipulativos en el aula de matem\u00e1ticas                                    Teacher collaborative knowledge building in Reciprocal Peer Observation                                    Exposici\u00f3 oral: pautes d&#8217;avaluaci\u00f3 i coavaluaci\u00f3 per treballar amb l&#8217;alumnat                                    Artificial intelligence for personalized learning: a systematic literature review                                    La cadira Jo\u00eblette: una mesura i suport addicional que promou la inclusi\u00f3 de l\u2019alumnat amb discapacitat motriu als camps d\u2019aprenentatge                                    Mapping the intelligent classroom: Examining the emergence of personalized learning solutions in the digital age                                    Cultivating school-based ecosystems for belonging: the SchoolWeavers case study in Catalonia, Spain                                    La compet\u00e8ncia digital docent a Catalunya sota la mirada del professorat                                    Situaciones de aprendizaje para desarrollar el sentido estoc\u00e1stico Contribuyendo a formar una ciudadan\u00eda cr\u00edtica desde la educaci\u00f3n matem\u00e1tica                                    Nuevos materiales manipulativos para mejorar la comprensi\u00f3n de las fases del ciclo de investigaci\u00f3n estad\u00edstica en Educaci\u00f3n Infantil                                    Generative AI and Its Impact on Personalized Intelligent Tutoring Systems                                    \u00bfC\u00f3mo contribuye la tutor\u00eda entre iguales al desarrollo de la comprensi\u00f3n lectora? Evidencias de diez a\u00f1os de pr\u00e1ctica                                    Patrones en el aula de matem\u00e1ticas (3-12 a\u00f1os)\u00bfPara qu\u00e9 y c\u00f3mo promover su aprendizaje?                                    Personalised learning and artificial intelligence in science education: current state and future perspectives.                                    El uso de la tecnolog\u00eda en la educaci\u00f3n inclusiva                                    L\u2019observaci\u00f3 entre iguals, una pr\u00e0ctica per fomentar la col\u00b7laboraci\u00f3 i professionalitzaci\u00f3 docents                            <\/div>\n            <div x-intersect=\"getMore()\" class=\"cercador__loader\" x-cloak>\n                <img decoding=\"async\" src=\"\" x-show=\"loading\">\n                <span x-text=\"loading ? 'Loading' : ''\"><\/span>\n            <\/div>\n        <\/div>\n    <\/div>\n\n    <script>\n        \n        var documents = [];\n        var etapes = [];\n        var ambits = [];\n        var arees = [];\n        var tags = [{\"id\":\"analisi\",\"name\":\"An\u00e0lisi\",\"count\":2,\"children\":[]},{\"id\":\"analisi-de-textos\",\"name\":\"an\u00e0lisi de textos\",\"count\":1,\"children\":[]},{\"id\":\"analisi-textual\",\"name\":\"an\u00e0lisi textual\",\"count\":1,\"children\":[]},{\"id\":\"apa-mla-chicago\",\"name\":\"APA\\\/MLA\\\/Chicago\",\"count\":1,\"children\":[]},{\"id\":\"aplicacio-transversal-hits\",\"name\":\"Aplicaci\u00f3 transversal \\\/ HITS\",\"count\":1,\"children\":[]},{\"id\":\"articles\",\"name\":\"articles\",\"count\":1,\"children\":[]},{\"id\":\"articles-academics\",\"name\":\"articles acad\u00e8mics\",\"count\":2,\"children\":[]},{\"id\":\"autoaprenentatge\",\"name\":\"Autoaprenentatge\",\"count\":1,\"children\":[]},{\"id\":\"bibliografia\",\"name\":\"bibliografia\",\"count\":4,\"children\":[]},{\"id\":\"bibliometria\",\"name\":\"bibliometria\",\"count\":1,\"children\":[]},{\"id\":\"cerca-avancada\",\"name\":\"cerca avan\u00e7ada\",\"count\":1,\"children\":[]},{\"id\":\"citacions\",\"name\":\"Citacions\",\"count\":2,\"children\":[]},{\"id\":\"coherencia-metodologica\",\"name\":\"coher\u00e8ncia metodol\u00f2gica\",\"count\":1,\"children\":[]},{\"id\":\"comparacio-articles\",\"name\":\"Comparaci\u00f3 articles\",\"count\":1,\"children\":[]},{\"id\":\"comprensio-lectora\",\"name\":\"Comprensi\u00f3 lectora\",\"count\":1,\"children\":[]},{\"id\":\"correccio-automatica\",\"name\":\"Correcci\u00f3 autom\u00e0tica\",\"count\":1,\"children\":[]},{\"id\":\"dades\",\"name\":\"Dades\",\"count\":2,\"children\":[]},{\"id\":\"dialeg-socratic\",\"name\":\"Di\u00e0leg Socr\u00e0tic\",\"count\":1,\"children\":[]},{\"id\":\"estadistica\",\"name\":\"Estad\u00edstica\",\"count\":2,\"children\":[]},{\"id\":\"estadistica-inferencial\",\"name\":\"Estad\u00edstica inferencial\",\"count\":1,\"children\":[]},{\"id\":\"estructuracio\",\"name\":\"estructuraci\u00f3\",\"count\":1,\"children\":[]},{\"id\":\"evidencia\",\"name\":\"Evid\u00e8ncia\",\"count\":1,\"children\":[]},{\"id\":\"evidencia-cientifica\",\"name\":\"evid\u00e8ncia cient\u00edfica\",\"count\":1,\"children\":[]},{\"id\":\"extraccio-dinformacio\",\"name\":\"extracci\u00f3 d\u2019informaci\u00f3\",\"count\":1,\"children\":[]},{\"id\":\"fonts-fiables\",\"name\":\"fonts fiables\",\"count\":1,\"children\":[]},{\"id\":\"guiatge\",\"name\":\"guiatge\",\"count\":1,\"children\":[]},{\"id\":\"ia\",\"name\":\"IA\",\"count\":4,\"children\":[]},{\"id\":\"ia-educativa\",\"name\":\"IA educativa\",\"count\":1,\"children\":[]},{\"id\":\"ia-generativa\",\"name\":\"IA generativa\",\"count\":1,\"children\":[]},{\"id\":\"ideacio\",\"name\":\"ideaci\u00f3\",\"count\":1,\"children\":[]},{\"id\":\"lectura\",\"name\":\"lectura\",\"count\":1,\"children\":[]},{\"id\":\"literatura-cientifica\",\"name\":\"literatura cient\u00edfica\",\"count\":1,\"children\":[]},{\"id\":\"mapes-visuals\",\"name\":\"mapes visuals\",\"count\":1,\"children\":[]},{\"id\":\"matematiques\",\"name\":\"Matem\u00e0tiques\",\"count\":1,\"children\":[]},{\"id\":\"materials-didactics\",\"name\":\"Materials did\u00e0ctics\",\"count\":1,\"children\":[]},{\"id\":\"motor-de-cerca\",\"name\":\"motor de cerca\",\"count\":1,\"children\":[]},{\"id\":\"objectius\",\"name\":\"objectius\",\"count\":1,\"children\":[]},{\"id\":\"pdf\",\"name\":\"PDF\",\"count\":1,\"children\":[]},{\"id\":\"pensament-critic\",\"name\":\"pensament cr\u00edtic.\",\"count\":1,\"children\":[]},{\"id\":\"planificacio-docent\",\"name\":\"Planificaci\u00f3 docent\",\"count\":1,\"children\":[]},{\"id\":\"preguntes-efectives\",\"name\":\"Preguntes efectives\",\"count\":1,\"children\":[]},{\"id\":\"programari-lliure\",\"name\":\"Programari lliure\",\"count\":2,\"children\":[]},{\"id\":\"questionaris-ia\",\"name\":\"Q\u00fcestionaris IA\",\"count\":1,\"children\":[]},{\"id\":\"recerca\",\"name\":\"recerca\",\"count\":4,\"children\":[]},{\"id\":\"recerca-bibliografica\",\"name\":\"Recerca bibliogr\u00e0fica\",\"count\":1,\"children\":[]},{\"id\":\"redaccio\",\"name\":\"redacci\u00f3\",\"count\":1,\"children\":[]},{\"id\":\"redaccio-academica\",\"name\":\"redacci\u00f3 acad\u00e8mica\",\"count\":1,\"children\":[]},{\"id\":\"referencies\",\"name\":\"refer\u00e8ncies\",\"count\":1,\"children\":[]},{\"id\":\"resolucio-de-problemes\",\"name\":\"Resoluci\u00f3 de problemes\",\"count\":1,\"children\":[]},{\"id\":\"resum\",\"name\":\"Resum\",\"count\":1,\"children\":[]},{\"id\":\"resums\",\"name\":\"resums\",\"count\":1,\"children\":[]},{\"id\":\"revisio\",\"name\":\"revisi\u00f3\",\"count\":1,\"children\":[]},{\"id\":\"revisio-bibliografica\",\"name\":\"revisi\u00f3 bibliogr\u00e0fica\",\"count\":1,\"children\":[]},{\"id\":\"revisio-critica\",\"name\":\"revisi\u00f3 cr\u00edtica\",\"count\":1,\"children\":[]},{\"id\":\"revisio-sistematica\",\"name\":\"revisi\u00f3 sistem\u00e0tica\",\"count\":1,\"children\":[]},{\"id\":\"secundaria\",\"name\":\"Secund\u00e0ria\",\"count\":1,\"children\":[]},{\"id\":\"seleccio\",\"name\":\"selecci\u00f3\",\"count\":1,\"children\":[]},{\"id\":\"sintesi\",\"name\":\"s\u00edntesi\",\"count\":1,\"children\":[]},{\"id\":\"sintesi-devidencies\",\"name\":\"s\u00edntesi d\u2019evid\u00e8ncies\",\"count\":1,\"children\":[]},{\"id\":\"spss\",\"name\":\"SPSS\",\"count\":2,\"children\":[]},{\"id\":\"xarxa-darticles\",\"name\":\"Xarxa d\u2019articles\",\"count\":1,\"children\":[]}];\n        var hits = [{\"id\":\"5-aprenentatge-collaboratiu\",\"name\":\"Aprenentatge col\u00b7laboratiu\",\"count\":1,\"children\":[]},{\"id\":\"9-estrategies-metacognitives\",\"name\":\"Estrat\u00e8gies metacognitives\",\"count\":1,\"children\":[]},{\"id\":\"2-estructuracio-de-classes\",\"name\":\"Estructuraci\u00f3 de classes\",\"count\":2,\"children\":[]},{\"id\":\"4-exemplificacio-i-modelatge\",\"name\":\"Exemplificaci\u00f3 i modelatge\",\"count\":2,\"children\":[]},{\"id\":\"exposicions-multiples\",\"name\":\"Exposicions m\u00faltiples\",\"count\":1,\"children\":[]},{\"id\":\"10-personalitzacio-daprenentatges\",\"name\":\"Personalitzaci\u00f3 d'aprenentatges\",\"count\":1,\"children\":[]},{\"id\":\"7-fer-se-preguntes\",\"name\":\"Preguntes efectives\",\"count\":1,\"children\":[]}];\n        var recerca_educativa = [{\"id\":\"aplicacio-educativa-i-transferencia\",\"name\":\"Aplicaci\u00f3 educativa i transfer\u00e8ncia\",\"count\":1,\"children\":[]},{\"id\":\"cerca-i-revisio-de-literatura\",\"name\":\"Cerca i revisi\u00f3 de literatura\",\"count\":9,\"children\":[]},{\"id\":\"citacio-bibliografica\",\"name\":\"Citaci\u00f3 bibliogr\u00e0fica\",\"count\":4,\"children\":[]},{\"id\":\"disseny-metodologic-i-analisi-de-dades\",\"name\":\"Disseny metodol\u00f2gic i an\u00e0lisi de dades\",\"count\":3,\"children\":[]},{\"id\":\"suport-a-la-redaccio-cientifica\",\"name\":\"Suport a la redacci\u00f3 cient\u00edfica\",\"count\":2,\"children\":[]},{\"id\":\"visualitzacio-i-presentacio-de-resultats\",\"name\":\"Visualitzaci\u00f3 i presentaci\u00f3 de resultats\",\"count\":3,\"children\":[]}];\n        var tipus_anunci = [];\n        var serveis_territorials = [];\n        function cercador() {\n            return {\n                type: 'aplicacio-ia',\n                \/\/ Search query\n                loading: false,\n                \/\/ documents\n                filters: [],\n                \/\/ Selected documents\n                activeFilters: {\n                    enrollment: false,\n                    document: [],\n                    etapa: [],\n                    area: [],\n                    ambit: [],\n                    document: [],\n                    hit: [],\n                    tag: '',\n                    search: '',\n                    recerca_educativa: [],\n                    tipus_anunci: [],\n                    serveis_territorials: [],\n                },\n                search: '',\n                stats: {\n                    total: 0,\n                    page: 1,\n                    totalPages: 1\n                },\n                content : \"\",\n                filteredTags: [],\n                displaySearchTags: false,\n                \/\/ Search function\n                init() {\n                    console.log(this.type);\n\n                    if( this.type == 'recurs' ) {\n                        this.filters.push({\n                            open: true,\n                            name: 'ambit',\n                            label: '\u00c0mbits',\n                            values: this.initializeExpandedState(ambits)\n                        });\n                        this.filters.push({\n                            open: true,\n                            name: 'area',\n                            label: \"\u00c0rees d'inter\u00e8s\",\n                            values: this.initializeExpandedState(arees)\n                        });\n                    }\n\n                    if( this.type == 'recercaula') {\n                        \/*this.filters.push({\n                            open: true,\n                            name: 'hit',\n                            label: \"Estrat\u00e8gies docents d'alt impacte (HITS)\",\n                            values: this.initializeExpandedState(hits)\n                        });*\/\n                        this.filters.push({\n                            open: true,\n                            name: 'ambit',\n                            label: '\u00c0mbits',\n                            values: this.initializeExpandedState(ambits)\n                        });\n                        this.filters.push({\n                            open: true,\n                            name: 'etapa',\n                            label: 'Etapes',\n                            values: this.initializeExpandedState(etapes)\n                        });\n                        this.filters.push({\n                            open: true,\n                            name: 'area',\n                            label: \"\u00c0rees d'inter\u00e8s\",\n                            values: this.initializeExpandedState(arees)\n                        });\n                        this.filters.push({\n                            open: true,\n                            name: 'document',\n                            label: 'Tipus de document',\n                            values: this.initializeExpandedState(documents)\n                        });\n                        this.filters.push({\n                            open: true,\n                            name: 'serveis_territorials',\n                            label: 'Serveis Territorials',\n                            values: this.initializeExpandedState(serveis_territorials)\n                        });\n                    }\n\n                    if( this.type == 'aplicacio-ia') {\n                        this.filters.push({\n                            open: true,\n                            name: 'hit',\n                            label: \"Estrat\u00e8gies docents d'alt impacte (HITS)\",\n                            values: this.initializeExpandedState(hits)\n                        });\n                        this.filters.push({\n                            open: true,\n                            name: 'recerca_educativa',\n                            label: \"Recerca educativa\",\n                            values: this.initializeExpandedState(recerca_educativa)\n                        });\n                    }\n\n                    \n                    if( this.type == 'recerca_de_prop' ) {\n                        this.filters.push({\n                            open: true,\n                            name: 'ambit',\n                            label: '\u00c0mbits',\n                            values: this.initializeExpandedState(ambits)\n                        });\n                        this.filters.push({\n                            open: true,\n                            name: 'etapa',\n                            label: 'Etapes',\n                            values: this.initializeExpandedState(etapes)\n                        });\n                        this.filters.push({\n                            open: true,\n                            name: 'area',\n                            label: \"\u00c0rees d'inter\u00e8s\",\n                            values: this.initializeExpandedState(arees)\n                        });\n                        this.filters.push({\n                            open: true,\n                            name: 'document',\n                            label: 'Tipus de document',\n                            values: this.initializeExpandedState(documents)\n                        });\n                    }    \n                    \n                    if( this.type == 'recurs' ) {\n                        this.filters.push({\n                            open: true,\n                            name: 'etapa',\n                            label: 'Etapes',\n                            values: this.initializeExpandedState(etapes)\n                        });\n                        this.filters.push({\n                            open: true,\n                            name: 'document',\n                            label: 'Documents',\n                            values: this.initializeExpandedState(documents)\n                        });\n                    }    \n                    \n                    if( this.type == 'participa' ) {\n                        this.filters.push({\n                            open: true,\n                            name: 'tipus_anunci',\n                            label: 'Vull veure anuncis de',\n                            values: this.initializeExpandedState(tipus_anunci)\n                        });\n                        this.filters.push({\n                            open: true,\n                            name: 'ambit',\n                            label: '\u00c0mbits',\n                            values: this.initializeExpandedState(ambits)\n                        });\n                        this.filters.push({\n                            open: true,\n                            name: 'area',\n                            label: \"\u00c0rees d'inter\u00e8s\",\n                            values: this.initializeExpandedState(arees)\n                        });\n                        this.filters.push({\n                            open: true,\n                            name: 'etapa',\n                            label: 'Etapes',\n                            values: this.initializeExpandedState(etapes)\n                        });\n                        this.filters.push({\n                            open: true,\n                            name: 'serveis_territorials',\n                            label: 'Serveis Territorials',\n                            values: this.initializeExpandedState(serveis_territorials)\n                        });\n                    }      \n                    \n\n                    \/\/ Get filters state from URL\n                    const queryString = window.location.search;\n                    const urlParams = new URLSearchParams(queryString);\n                    const entries = urlParams.entries();\n\n                    \/\/ Loop throught entries and set filters\n                    for(const entry of entries) {\n                        console.log(entry);\n                        if( entry[1] != '' ) {\n                            var filter = entry[0];\n                            var value = entry[1].split(',');\n                            this.activeFilters[filter] = value;\n                            if( filter == 'search' ) {\n                                this.search = value;\n                            }\n                        }\n                    }\n\n                    \/\/ Watch for changes in filters to store it in URL\n                    this.$watch('activeFilters', (value, oldValue) => {\n                        \/\/ Get current URL\n                        const url = new URL(window.location.href);\n                        \/\/ Clear parameters\n                        url.search = '';\n                        \/\/ Loop URL params\n                        for (const key in this.activeFilters) {\n                            if( this.activeFilters[key] != '' ) {\n                                url.searchParams.set(key, this.activeFilters[key]);\n                            }\n                        }\n                        \/\/ Push to history\n                        history.pushState(null, document.title, url.toString());\n                    });\n\n                    this.get();\n                },\n                initializeExpandedState(items) {\n                    \/\/ Initialize expanded property for each parent item that has children\n                    return items.map(item => {\n                        return {\n                            ...item,\n                            expanded: false \/\/ Start collapsed by default\n                        };\n                    });\n                },\n                applyFilters() {\n                    this.resetPagination();\n                    this.get();\n                },\n                resetPagination() {\n                    this.stats.page = 1;\n                    this.stats.totalPages = 1;\n                    this.content = '';\n                },\n                filterBySearch() {\n                    this.activeFilters.search = this.search;\n                    this.activeFilters.tag = null;\n                    this.displaySearchTags = false;\n                    this.applyFilters();\n                },\n                filterByTag(tag, label) {\n                    console.log(tag);\n                    this.activeFilters.tag = tag;\n                    this.search = label;\n                    this.activeFilters.search = '';\n                    this.displaySearchTags = false;\n                    this.applyFilters();\n                },\n                resetSearch() {\n                    this.search = '';\n                    this.activeFilters.search = '';\n                    this.activeFilters.tag = '';\n                    this.displaySearchTags = false;\n                    this.applyFilters();\n                },\n                filterTags() {\n                    if (this.search.trim() === '') {\n                        this.filteredTags = [];\n                        return;\n                    }\n                    this.filteredTags = tags.filter(tag => tag.name.toLowerCase().includes(this.search.toLowerCase()));\n                },\n                isLoading() {\n                    return this.loading && this.content == '';\n                },\n                getMore() {\n                    if( this.stats.page < this.stats.totalPages ) {\n                        this.stats.page++;\n                        this.get();\n                    }\n                },\n                get() {\n                    this.loading = true;\n                    const paramsObj = {\n                        \/\/lang: ''\n                    };\n                    const searchParams = new URLSearchParams(paramsObj);\n\n                    console.log('Getting resources', this.activeFilters);\n\n                    const data = {\n                        action: 'utrans_get_recursos',\n                        type: this.type,\n                        page: this.stats.page,\n                        document: this.activeFilters.document,\n                        etapa: this.activeFilters.etapa,\n                        ambit: this.activeFilters.ambit,\n                        area: this.activeFilters.area,\n                        enrollment: this.activeFilters.enrollment ? 1 : 0,\n                        search: this.activeFilters.search,\n                        tag: this.activeFilters.tag,\n                        hit: this.activeFilters.hit,\n                        recerca_educativa: this.activeFilters.recerca_educativa,\n                        tipus_anunci: this.activeFilters.tipus_anunci,\n                        serveis_territorials: this.activeFilters.serveis_territorials,\n                    };\n\n                    fetch('https:\/\/projectes.xtec.cat\/recerca\/wp-admin\/admin-ajax.php', {\n                        method: 'POST',\n                        headers: {\n                            'Content-Type': 'application\/x-www-form-urlencoded; charset=UTF-8'\n                        },\n                        body: new URLSearchParams(data).toString()\n                    }).then((response) => {\n                        this.loading = false;\n                        var response = response.json().then((json) => {\n                            this.stats = json.data.stats;\n                            this.content = this.content + json.data.content;\n                            \/\/this.data = [...this.data, ...json.data];\n                        });\n\n                    }).catch((error) => {\n                        this.loading = false;\n                        console.log(error)\n                    })\n\n                },\n            }\n        }\n    <\/script>\n        \n","protected":false},"excerpt":{"rendered":"<p>La intel\u00b7lig\u00e8ncia artificial ofereix noves oportunitats per impulsar la recerca educativa i facilitar l\u2019aplicaci\u00f3 d\u2019evid\u00e8ncies al centre. En aquest apartat [&hellip;]<\/p>\n","protected":false},"author":10,"featured_media":9150,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"close","template":"","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"set","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"class_list":["post-8954","page","type-page","status-publish","has-post-thumbnail","hentry"],"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/projectes.xtec.cat\/recerca\/wp-json\/wp\/v2\/pages\/8954","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/projectes.xtec.cat\/recerca\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/projectes.xtec.cat\/recerca\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/projectes.xtec.cat\/recerca\/wp-json\/wp\/v2\/users\/10"}],"replies":[{"embeddable":true,"href":"https:\/\/projectes.xtec.cat\/recerca\/wp-json\/wp\/v2\/comments?post=8954"}],"version-history":[{"count":4,"href":"https:\/\/projectes.xtec.cat\/recerca\/wp-json\/wp\/v2\/pages\/8954\/revisions"}],"predecessor-version":[{"id":11697,"href":"https:\/\/projectes.xtec.cat\/recerca\/wp-json\/wp\/v2\/pages\/8954\/revisions\/11697"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/projectes.xtec.cat\/recerca\/wp-json\/wp\/v2\/media\/9150"}],"wp:attachment":[{"href":"https:\/\/projectes.xtec.cat\/recerca\/wp-json\/wp\/v2\/media?parent=8954"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}